As far as I know, x11-libs/libXvMC does not work with the binary nvidia drivers -- and is, in fact, wholly unnecessary here -- the only file that could possibly be useful is /usr/include/X11/extensions/XvMClib.h x11-drivers/nvidia-drivers-1.0.8776 installs /usr/lib64/libXvMCNVIDIA.so whether xvmc is in USE or not -- and this is the library that should be used. media-video/mplayer-1.0_pre8 follows the nvidia USE flag, and links against that, giving me a flawlessly working mplayer -- but media-video/mplayer-1.0_rc1 ignores that flag and depends on libXvMC, making it entirely useless for XvMC playback on nvidia devices. It's possible that I'm entirely wrong, and there's a new way of doing XvMC, or there's some sort of trick with eselect -- though I did check eselect modules. If this is the case, please update http://www.gentoo.org/doc/en/nvidia-guide.xml to reflect the right way of getting XvMC working. Reproducible: Always Steps to Reproduce: 1. USE="xvmc nvidia" emerge mplayer 2. mplayer -vo xvmc -vc ffmpeg12mc /some/file.vob 3. notice that somebody broke mplayer's XvMC support Expected Results: Either: mplayer should honor USE="nvidia" like it has in the past mplayer probably should not depend on x11-libs/libXvMC if USE="xvmc nvidia" OR: documentation should be updated to explain how this is supposed to work obligatory "emerge --info": elite ~ # emerge --info Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18.5 x86_64) ================================================================= System uname: 2.6.18.5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Sat, 20 Jan 2007 00:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.tds.net/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/layman/sunrise /usr/local/overlays/layman/break-my-gentoo-main /usr/local/overlays/layman/haskell" SYNC="rsync://rsync.slaphack.com/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acpi adns aim alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr apache2 audiofile avahi avi bash-completion berkdb bitmap-fonts bonjour browserplugin bzip2 cairo calendar cddb cdparanoia cli cracklib crypt cups daap dbus dedicated divx4linux dlloader dmi doc dri dts dvb dvd dvdread elibc_glibc emul-linux-x86 enca encode exif ffmpeg filepicker firefox flac flash fpx ftp gcj gdbm ghc-extralibs gif gitsendemail glut gnome gnutls gpm grammar graphviz gs gstreamer gtk gtk2 gtkhtml hal howl-compat iconv icq imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber jack java javascript jpeg jpeg2k kde kernel_linux ladcca lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms libcaca libg++ libgda libnotify live lm_sensors lua mad maildir math matroska meanwhile mikmod mime ming mmap mng mod modplug mozbranding mp3 mp4 mpeg msn musepack music mysql nas ncurses nls nocd nptl nptlonly nsplugin nvidia ocaml offensive ofx ogg oggvorbis openal openexr opengl pam pcre pdf pdflib perl pg-intdatetime png postgres ppds pppd python qq qt qt3 qt4 quicktime readline reflection rtsp samba sdl server session shorten slang sndfile socks5 speex spell spl ssl stream svg szip t1lib tcl tcltk tcpd theora thesaurus threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utempter vcd vhosts video_cards_nvidia video_cards_vga videos vorbis webdav wma wmf wordperfect wxwindows x264 xanim xforms xine xml xml2 xorg xosd xpm xprint xscreensaver xv xvid xvmc yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Seems like media-libs/xine-lib is similarly changed. Nothing in either ebuild, or in the changelogs, suggests that XvMC support is any different... Am I reading this wrong? Is x11-libs/libXvMC the "wrapper library", that magically finds XvMCNVIDIA? Aha. Finally found it. /etc/X11/XvMCConfig, which exists on my system, was set to libXVMCNVIDIA.so -- needed to be libXvMCNVIDIA.so. Yes, it was the v in XvMC. Sometimes I hate Unix case-sensitivity. Anyway, changing "product" to "documentation" -- would be nice if there was some warning, somewhere -- or better, if x11-libs/libXvMC would notice video card USE flags and set its config file appropriately, when installed.
What installed /etc/X11/XvMCConfig? Has nothing to do with documentation...
(In reply to comment #2) > What installed /etc/X11/XvMCConfig? Has nothing to do with documentation... Has everything to do with documentation. But I just checked: elite ~ # equery b /etc/X11/XvMCConfig [ Searching for file(s) /etc/X11/XvMCConfig in *... ] elite ~ # Apparently, I put XvMCConfig there earlier, and forgot about it. Maybe the library itself changed case, or maybe XvMCConfig never worked. Or maybe it was a postinstall script. Whatever the case, how is this not a documentation issue? Have you read the website I sent you to? This is a config file -- it should be documented like every other config file. Or, put another way: elite ~ # man xorg.conf Formatting page, please wait... elite ~ # man XvMCConfig No manual entry for XvMCConfig elite ~ # The bug in documentation is that there is no documentation, even though it's a mind-numbingly simple file (or setting). It should be there in the nVidia guide, at the very least -- and if the file is modified via USE flags, it should say so. I'll gladly write the documentation if you like, it would be less than a page, but surely there should be something, right?
Just FYI: without that file you only get XvMCWrapper: Could not open config file "/etc/X11/XvMCConfig". So I actually think this is a bug in x11-libs/libXvMC which IMO preferably should at least try to create a somewhat useful default configuration.
(In reply to comment #4) > Just FYI: without that file you only get > XvMCWrapper: Could not open config file "/etc/X11/XvMCConfig". > So I actually think this is a bug in x11-libs/libXvMC which IMO preferably > should at least try to create a somewhat useful default configuration. > I agree. Anyone want to write such a patch? :)
*** Bug 173901 has been marked as a duplicate of this bug. ***
try to give app-admin/eselect-xvmc a whirl. I just added it.
Doug's eselect-xvmc should indeed make everything simpler. Please don't hesitate to open a new bug if eselect-xvmc gives you any trouble. Thanks