Plug in the dxr3 card
run lspci - there it is
01:09.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02)
01:09.0 0480: 1105:8300 (rev 02)
emerge =mplayer-1.0_rc2_p26753-r1
(because I have an overlay with dxr3 forced on)
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
The autodection failed.
No kernel support or firmware is loaded yet. Just plug in the card.
Nasty side effect. I don't have the loop through cable connected and my nVidia
with the binary driver is convinced its a secondary display, so I see nothing
on the monitor in Xorg. Console is ok though.
The build log contains
Config files successfully generated by ./configure --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --enable-menu --enable-network --disable-tv-bsdbt848 --disable-faad-external --disable-ivtv --disable-pvr --disable-fribidi --disable-enca --disable-nemesi --disable-libcdio --disable-libdv
--disable-x264 --disable-x264-lavc --disable-ass --charset=UTF-8 --disable-lirc --disable-lircc --disable-joystick --disable-smb --disable-dvb --disable-dvbhead --disable-tv-teletext --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-live --disable-musepack --disable-pnm --disable-speex --disable-libamr_nb --disable-libamr_wb --disable-twolame --disable-toolame --xanimcodecsdir=/usr/lib/xanim/mods --realcodecsdir=/opt/RealPlayer/codecs --disable-directfb --disable-ggi --disable-aa --disable-zr --enable-gui --enable-xvmc --with-xvmclib=XvMCW --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-arts --disable-jack --disable-ladspa --disable-nas --disable-openal --disable-pulse --disable-sse2 --disable-ssse3 --disable-altivec !
Install prefix: /usr
Data directory: /usr/share/mplayer
Config direct.: /etc/mplayer
Byte order: little-endian
Optimizing for: native
Languages:
Messages/GUI: en
Manual pages: en en
Enabled optional drivers:
Input: ftp tv-v4l2 tv-v4l tv cddb cdda libdvdcss(internal) dvdread(internal) vcd network
Codecs: xvid libavcodec qtx real xanim win32 faad2 faac libmpeg2 libdca liba52 mp3lib libtheora tremor(internal) libmad liblzo gif
Audio output: alsa esd oss v4l2 sdl mpegpes(file)
Video output: v4l2 sdl gif89a jpeg png mpegpes(file) fbdev svga caca xvidix cvidix opengl dga xvmc xv x11 xover md5sum tga
Disabled optional drivers:
Input: dvdnav vstream pvr radio tv-teletext tv-dshow live555 nemesi dvb smb
Codecs: x264 libdv libamr_wb libamr_nb musepack speex toolame twolame
Audio output: sun openal jack pulse arts ivtv dxr2 nas
Video output: zr zr2 ivtv dxr3 dxr2 vesa pnm aa ggi xmga mga winvidix 3dfx dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
dxr3 is in the Disabled optional drivers list but its not got a --disable config flag. That reads as if mplayer is not being
consistant in the way it treats dxr3. i.e. some bits assume its off, some on, unless its explictly stated.
configure.log says
============ Checking for DXR3/H+ ============
#include
int main(void) { return 0; }
i686-pc-linux-gnu-gcc -march=athlon-xp -pipe -O2 -fomit-frame-pointer -D__STDC_LIMIT_MACROS -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -lncurses -lpng -lz -ljpeg -lgif -lXext -lX11 -lpthread -lXss -lXv -lXvMC -lXvMCW -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -L/usr/lib -lcaca -lcucul -lvga -lSDL -lpthread -o /var/tmp/portage/media-video/mplayer-1.0_rc2_p26753-r1/temp/mplayer-conf-24052-4402 /var/tmp/portage/media-video/mplayer-1.0_rc2_p26753-r1/temp/mplayer-conf-8164-4402.c
/var/tmp/portage/media-video/mplayer-1.0_rc2_p26753-r1/temp/mplayer-conf-8164-4402.c:1:26: error: linux/em8300.h: No such file or directory
Result is: no
So its looking for em8300.h which is one of the files provided by the driver for the card and on my system,
its not there anyway, so thats ok.
Next step - install the driver.
emerge media-video/em8300-modules gets me media-video/em8300-modules-0.16.4-r1
That installed agaist Linux spike 2.6.23-gentoo-r6 #2 PREEMPT Sun Jan 20 11:26:25 GMT 2008 i686 AMD Athlon(tm) XP 3200+
AuthenticAMD GNU/Linux
That means my linux symlink is broken but its ok for the investigation - I just need to use that kernel.
emerge =mplayer-1.0_rc2_p26753-r1 still shows
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
So its not detecting linux/em8300.h
Add in media-video/em8300-libraries, get media-video/em8300-libraries-0.16.4
emerge belongs em8300 fails to find em8300.h
So either Gentoo does not install it but should, or its been removed but mplayer still looks for it.