Thread: mplayer vdpau
View Single Post
Old 11-19-08, 09:29 AM   #111
Registered User
Join Date: Nov 2008
Posts: 3
Default Re: mplayer vdpau

Originally Posted by Stephen Warren View Post
bexbier, tx2rx,

When you got this error:

coder.o loader/dmo/buffer.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o stream/ai_oss.o libmpeg2/idct_mmx.o libmpeg2/motion_comp_mmx.o mp3lib/decode_i586.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o mp3lib/dct64_mmx.o libswscale/libswscale.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a  -Wl,-z,noexecstack    -lz -lpthread -ldl -rdynamic  -lm   
libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.c:(.text+0x25d): undefined reference to `h264_vdpau_decoder'
allcodecs.c:(.text+0x64d): undefined reference to `vc1_vdpau_decoder'
allcodecs.c:(.text+0x701): undefined reference to `wmv3_vdpau_decoder'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1
Did you run the MPlayer patch script *before* installing the 180.06 driver?

MPlayer with VDPAU patches requires the NVIDIA driver to be installed before configure/make is run. I *suspect* that what happened is: You both attempted to build MPlayer before installing the NVIDIA driver, so the VDPAU auto-detection failed, and hence the build failed with the errors above(1). However, later you installed the NVIDIA driver, and/or added the flag to force VDPAU to be enabled, and everything worked. If this is the case, you should now be able to re-run configure without the force flag, and rebuild MPlayer, and it should all just work now.

(1) Those errors (which occur when MPlayer is patched to support VDPAU, configure attempted to autodetect VDPAU, but failed) are now fixed in our code-base, and will be included whenever a new MPlayer patch is released.
I tried to compile with the mplayer script in a P4 3ghz socket 775 system with a 8400GS card, but I get that same error.

I have installed the 180.08 driver and rebooted the machine, so all new configurations should have been applied. Running ubuntu 8.10.
cat /proc/driver/nvidia/version 
NVRM version: NVIDIA UNIX x86 Kernel Module  180.08  Sat Nov 15 10:41:20 PST 2008
GCC version:  gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)
crispy_chunks is offline   Reply With Quote