Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90776 - xine-lib nvidia USE flag does not work
Summary: xine-lib nvidia USE flag does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 15:43 UTC by Jim Faulkner
Modified: 2005-04-28 19:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Faulkner 2005-04-28 15:43:41 UTC
The "nvidia" USE flag is supposed to enable support for Nvidia's XvMC flags in xine-lib.

However, it does not work.  Neither the x86 nor the ~x86 xine-lib ebuilds actually enable support for the Nvidia XvMC libraries.

Here is the relevant output for the x86 version:
delta-9 root # emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-libs/xine-lib-1.0-r2  +X +aac -aalib +alsa (-altivec) -arts -cle266 -debug -directfb +dvd -dxr3 -esd +fbcon +ffmpeg +flac +gnome -i8x0 -ipv6 -libcaca +mng -nls +nvidia +opengl +oss +png +samba +sdl -speex -theora +v4l -vidix +vorbis +win32codecs -xinerama +xv +xvmc 0 kB

Total size of downloads: 0 kB
delta-9 root # emerge xine-lib
...
checking for XvMCPutSlice in -lXvMCNVIDIA... no
*** Could not link with -lXvMCNVIDIA -lXvMC for vld extensions.
checking for XvMCCreateContext in -lXvMCNVIDIA... yes
checking X11/extensions/XvMC.h usability... yes
checking X11/extensions/XvMC.h presence... yes
checking for X11/extensions/XvMC.h... yes
*** Enabling xxmc plugin for standard XvMC *only*.
checking whether to enable the xvmc plugin...
checking for XvMCCreateContext in -lXvMCNVIDIA... (cached) yes
checking for X11/extensions/XvMC.h... (cached) yes
*** Enabling old xvmc plugin.

Here is the relevant output for the ~x86 version:
delta-9 root # ACCEPT_KEYWORDS="~x86" emerge -pv xine-lib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-libs/xine-lib-1.0.1  +X +aac -aalib +alsa (-altivec) -arts -cle266 -debug -directfb +dvd -dxr3 -esd +fbcon +ffmpeg +flac +gnome -i8x0 -ipv6 -libcaca +mng -nls +nvidia +opengl +oss +png +samba +sdl -speex -theora +v4l +vcd -vidix +vorbis +win32codecs -xinerama +xv +xvmc 0 kB

Total size of downloads: 0 kB
delta-9 lib # ACCEPT_KEYWORDS="~x86" emerge xine-lib
...
checking whether to enable the xxmc plugin with vld extensions...
checking for XvMCPutSlice in -lXvMCNVIDIA... no
*** Could not link with -lXvMCNVIDIA -lXvMC for vld extensions.
checking for XvMCCreateContext in -lXvMCNVIDIA... yes
checking /X11/extensions/XvMC.h usability... no
checking /X11/extensions/XvMC.h presence... no
checking for /X11/extensions/XvMC.h... no
*** Disabling xxmc plugin due to above errors.
checking whether to enable the xvmc plugin...
checking for XvMCCreateContext in -lXvMCNVIDIA... (cached) yes
checking for /X11/extensions/XvMC.h... (cached) no
*** Disabling old xvmc plugin due to above errors.

Additionally, it looks like the "xvmc" USE flag is broken in xine-lib-1.0.1, as you can see.

FYI, I am using the unstable versions of the nvidia stuff:
delta-9 lib # qpkg -I -nc -v | grep nvidia
media-video/nvidia-glx-1.0.7174-r3
media-video/nvidia-kernel-1.0.7174
media-video/nvidia-settings-1.0.7167


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 AMD Athlon(tm) MP 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 21:36:18)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -mfpmath=sse -pipe -s -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -mfpmath=sse -pipe -s -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://jove.eng.yale.edu/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X a52 aac acpi acpi4linux alsa apache2 avi
bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr crypt curl dga
dio divx4linux dts dv dvd emboss encode exif fam fbcon ffmpeg flac foomaticdb
fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib
ithreads jpeg kdeenablefinal libg++ libwww lirc lm_sensors lzo mad mikmod mmap
mmx mmxext mng monkey motif mozilla mp3 mpeg mysql ncurses network nptl nptlonly
nvidia offensive ogg oggvorbis openal opengl oss pam pdflib perl pic png posix
python qt quicktime readline real rtc samba sblive sdl sharedmem shorten spell
sse ssl svga sysfs threads tiff truetype truetype-fonts type1-fonts usb v4l v4l2
vcd vorbis win32codecs wmf xine xml2 xmms xosd xpm xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-28 18:08:18 UTC

*** This bug has been marked as a duplicate of 82571 ***
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-28 18:10:03 UTC
Sorry wrong bug number to duplicate to
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-28 18:38:51 UTC
Ok seems like xine-lib upstream said to have fixed this but actually messed it up more and more.
I'm working on a new patch.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-28 19:07:45 UTC
Thanks for reporting, fixed in CVS.