Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264672

Summary: media-video/mplayer-1.0_rc2_p20090322 USE="vdpau": --enable-vdpau needs --enable-x11
Product: Gentoo Linux Reporter: Alexander <logorus>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander 2009-04-02 19:07:20 UTC
From my svn:
MPlayer SVN-r29107-4.1.2 (C) 2000-2009 MPlayer Team
Available video output drivers:
	xv	X11/Xv
	vdpau	VDPAU with X11
	x11	X11 ( XImage/Shm )
	xover	General X11 driver for overlay capable video output drivers
	gl	X11 (OpenGL)
	gl2	X11 (OpenGL) - multiple textures version
	null	Null video output
	mpegpes	MPEG-PES file
	yuv4mpeg	yuv4mpeg output for mjpegtools
	png	PNG file

Support- vdpau YES

media-video/mplayer-1.0_rc2_p20090322:
MPlayer 29040-4.1.2 (C) 2000-2009 MPlayer Team
Available video output drivers:
	xv	X11/Xv
	x11	X11 ( XImage/Shm )
	xover	General X11 driver for overlay capable video output drivers
	gl	X11 (OpenGL)
	gl2	X11 (OpenGL) - multiple textures version
	null	Null video output
	mpegpes	MPEG-PES file
	yuv4mpeg	yuv4mpeg output for mjpegtools
	png	PNG file

Support- vdpau NO

dhcppc0 / # emerge mplayer -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0_rc2_p20090322  USE="X a52 aac alsa ass enca faac faad mmx mp2 mp3 opengl png quicktime sse sse2 truetype unicode vdpau vorbis x264 xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -custom-cpuopts -debug -dga -dirac -directfb -doc -dts -dv -dvb -dvd -dvdnav -dxr3 -encode -esd -fbcon -ftp -ggi -gif -gtk -iconv -ipv6 -jack -joystick -jpeg -ladspa -libcaca -lirc -live -lzo -mad -md5sum -mmxext -mng -musepack -nas -nemesi -network -openal -oss -pnm -pulseaudio -pvr -radio -rar -real -rtc -samba -schroedinger -sdl -speex -ssse3 (-svga) -teletext -tga -theora -tremor -v4l -v4l2 (-vidix) (-win32codecs) -xanim -xinerama -xvmc -zoran" VIDEO_CARDS="-mga -nvidia -s3virge -tdfx -vesa" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

This not work (not add vdpau support) because --enable-vdpau need --enable-x11 on ./configure! 
For example:
./configure --enable-vdpau --enable-x11 ...

Reproducible: Always

Steps to Reproduce:




media-video/mplayer-1.0_rc2_p20090322 Configure:
Configuration: --cc=x86_64-pc-linux-gnu-gcc --host-cc=x86_64-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib64 --enable-menu --disable-network --disable-fribidi --disable-mencoder --disable-ftp --disable-inet6 --disable-lirc --disable-lircc --disable-nemesi --disable-unrarexec --disable-rtc --disable-smb --disable-joystick --disable-libcdio --disable-cdparanoia --disable-cddb --disable-dvdnav --disable-dvdread --disable-dvdread-internal --disable-libdvdcss-internal --disable-tv-bsdbt848 --disable-ivtv --disable-tv --disable-tv-v4l1 --disable-tv-v4l2 --disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb --disable-dvbhead --disable-tv-teletext --disable-v4l2 --disable-pvr --disable-liba52 --disable-libamr_nb --disable-libamr_wb --disable-libdirac-lavc --disable-libdca --disable-libdv --disable-liblzo --disable-libschroedinger-lavc --disable-gif --disable-jpeg --disable-live --disable-mad --disable-mng --disable-musepack --disable-pnm --disable-speex --disable-tga --disable-theora --disable-xanim --disable-tremor-internal --disable-faac-lavc --disable-faac --disable-x264 --disable-xvid --disable-x264-lavc --disable-xvid-lavc --disable-twolame --disable-toolame --disable-real --disable-win32dll --disable-directfb --disable-ggi --disable-md5sum --disable-sdl --disable-xinerama --disable-aa --disable-dga1 --disable-dga2 --disable-fbdev --disable-caca --disable-vesa --disable-vdpau --disable-vidix --disable-vidix-pcidb --disable-zr --disable-dxr3 --disable-gui --disable-xvmc --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-arts --disable-esd --disable-jack --disable-ladspa --disable-nas --disable-openal --disable-pulse --disable-ossaudio --disable-altivec
This is have not --enable-x11.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-04-04 13:01:46 UTC
You are missing VIDEO_CARDS="nvidia" in make.conf, without it vdpau support for nvidia cannot be built.
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2009-04-07 20:09:58 UTC

*** This bug has been marked as a duplicate of bug 222627 ***
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2009-04-07 20:11:22 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 222627 ***
> 

Marking as a dupe because it's pretty much along the same lines -- lots of stuff depends on X, it's a minor task to go through and accurately fix it so it checks for the real, correct deps ... simpler to assume that if a user wants any graphical output, they need to have X enabled.