[MPlayer-dev-eng] VIDIX on PPC (was: Re: [MPlayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c, 1.24, 1.25)
Sascha Sommer
saschasommer at freenet.de
Wed Sep 7 20:32:12 CEST 2005
On Wednesday 07 September 2005 10:16, Diego Biurrun wrote:
> On Wed, Sep 07, 2005 at 07:01:31AM +0200, Sascha Sommer wrote:
> > On Tuesday 06 September 2005 22:21, Diego Biurrun wrote:
> > > Moving this thread to dev-eng where I believe it is more appropiate...
> > >
> > > On Sat, Sep 03, 2005 at 12:45:20PM +0200, Sascha Sommer wrote:
> > > > On Saturday 03 September 2005 12:27, Sascha Sommer CVS wrote:
> > > > > Modified Files:
> > > > > nvidia_vid.c
> > > > > Log Message:
> > > > > initial endianess fixes
> > > >
> > > > Diego,
> > > > can you test this when Reimars patches went in?
> > >
> > > It's still not working quite correctly:
> > >
> > > vidixlib: dlopen error: /usr/local/lib/libdha.so.1.0: undefined symbol:
> > > inb vosub_vidix: Couldn't find working VIDIX driver
> > > Error opening/initializing the selected video_out (-vo) device.
> > >
> > > After applying the "patch" below, which you came up with on LinuxTag, I
> > > get a little further, but MPlayer crashes in decode_video.
> >
> > Could you post -v log and a backtrace?
>
> Here's the -v log, I'm in a hurry right now, if you need the backtrace
> as well, just tell me. A problem seems to be that libdha (?) does not
> detect the RAM size correctly:
>
> [nvidia_vid] detected memory size 0 MB
>
> If I hardcode it to 32000000 in nvidia_vid.c it suddenly works, but I
> get a green window instead of the video. If I force the VIDIX driver
> via -vo xvidix:nvidia_vid.so I get the following confusing message:
>
I guess -nocolorkey does not fix it?
You could also try to remove the le2me_32 from the VID_RD32 /VID_WR32 macros.
I just read that nvidia cards can byteswap the config registers.
[nvidia_vid] arch 30 register base 0x30130000
[nvidia_vid] detected memory size 0 MB
[nvidia_vid] unable to setup MTRR: Function not implemented
[nvidia_vid] video mode: 16x770 at 32
Hm, video mode gets calculated from values from the 8-bit VGA regs. Maybe we
can't use these on ppc. Depth looks sane, though.
Sascha
More information about the MPlayer-dev-eng
mailing list