[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-sparc] Update on mplayer support for Linux/SPARC



On Fri, 3 Oct 2003, David S. Miller wrote:

> On Thu, 2 Oct 2003 14:27:48 +0200 (CEST)
> Erwann Abalea <erwann.abalea@certplus.com> wrote:
>
> > On Thu, 2 Oct 2003, Antonello wrote:
> >
> > > If you haven't enabled mlib yet, I advice you to do it, since the
> > > performance boost (at no additional cost) is remarkable. I posted a
> > > pico-howto on this subject some time ago (with the precious help of Mr.
> > > Miller), you can find it in the mailing list archives.
> >
> > I found your pico-howto, and I'll test it. I'm downloading the libmlib
> > packages, I'll test them later. Thanks.

I downloaded the SUNWmlib 2.2 packages, and installed the sparcv8plus+vis
library and headers in the proper places (and done a symbolic link from
libmlib.so to libmlib.so.2).

I can't compile mplayer with mlib support, I tried with both
mplayer-1.0pre1 and pre2. Sometimes mplayer crashes, sometimes I can't
even start it (when I try to execute it or simply when I try a 'ldd
mplayer', I get: "Inconsistency detected by ld.so: dynamic-link.h: 62:
elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!"). When this
happens, the linker told me just before that libmlib.so depends on
libc.so.1 and libm.so.1, which don't exist on my system. I tried making
symbolic links to libc.so.6 and libm.so.6, with no luck.

I use CFLAGS="-O4 -mcpu=v9 -mtune=ultrasparc -ffast-math
-fomit-frame-pointer -pipe", and without mlib, I can get a decent speed
(I still must drop frames, though).

Antonello, I also have weird colors on my Creator3D card when playing DIVX
movies. Here's what I do to solve this:
 - if you run gmplayer, run it with an additional: "-vf rgb2bgr=swap"
 - if you run mplayer, run it with the same line as above, but also
   decrease the contrast manually (key 1, not the one from the keypad); I
   can't change it by a command line

That works for me, and drops a little more frames.
I use the x11 video output driver, not sdl (which is slower for me).

-- 
Erwann ABALEA <eabalea@certplus.com> - RSA PGP Key ID: 0x2D0EABD5
-----
Think carefully before wishing, it might just come true.



Reply to: