When I emerge nvidia-glx (version 1.0.6111 and upper), it will not run the nvidia installer, and instead copy _most_ of the files into the tree. Here is the list: >>> Merging media-video/nvidia-glx-1.0.6111 to / --- /usr/ --- /usr/bin/ >>> /usr/bin/nvidia-bug-report.sh --- /usr/lib/ --- /usr/lib/misc/ >>> /usr/lib/misc/tls_test_dso.so >>> /usr/lib/misc/tls_test --- /usr/lib/opengl/ --- /usr/lib/opengl/nvidia/ >>> /usr/lib/opengl/nvidia/lib/ >>> /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libnvidia-tls.so -> libnvidia-tls.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libGL.la >>> /usr/lib/opengl/nvidia/lib/libGL.so -> libGL.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6111 >>> /usr/lib/opengl/nvidia/tls/ >>> /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.6111 >>> /usr/lib/opengl/nvidia/tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.6111 >>> /usr/lib/opengl/nvidia/extensions/ >>> /usr/lib/opengl/nvidia/extensions/libglx.so >>> /usr/lib/opengl/nvidia/include/ >>> /usr/lib/opengl/nvidia/include/glxtokens.h >>> /usr/lib/opengl/nvidia/include/gl.h >>> /usr/lib/opengl/nvidia/include/glx.h --- /usr/X11R6/ --- /usr/X11R6/lib/ >>> /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6111 --- /usr/X11R6/lib/modules/ --- /usr/X11R6/lib/modules/drivers/ >>> /usr/X11R6/lib/modules/drivers/nvidia_drv.o >>> /usr/X11R6/lib/libXvMCNVIDIA.a --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/nvidia-glx-1.0.6111/ >>> /usr/share/doc/nvidia-glx-1.0.6111/README.gz >>> /usr/share/doc/nvidia-glx-1.0.6111/XF86Config.sample.gz >>> /usr/share/doc/nvidia-glx-1.0.6111/README.DE.gz >>> /usr/share/doc/nvidia-glx-1.0.6111/NVIDIA_Changelog.gz >>> /usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.1.0.6111 >>> /usr/lib/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.1.0.6111 >>> /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6111 >>> Safely unmerging already-installed instance... --- !mtime obj /usr/share/doc/nvidia-glx-1.0.6111/XF86Config.sample.gz --- !mtime obj /usr/share/doc/nvidia-glx-1.0.6111/README.gz --- !mtime obj /usr/share/doc/nvidia-glx-1.0.6111/README.DE.gz --- !mtime obj /usr/share/doc/nvidia-glx-1.0.6111/NVIDIA_Changelog.gz --- !mtime obj /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1.0.6111 --- !mtime obj /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1.0.6111 --- !mtime obj /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6111 --- !mtime obj /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6111 --- !mtime obj /usr/lib/opengl/nvidia/lib/libGL.la --- !mtime obj /usr/lib/opengl/nvidia/include/glxtokens.h --- !mtime obj /usr/lib/opengl/nvidia/include/glx.h --- !mtime obj /usr/lib/opengl/nvidia/include/gl.h --- !mtime obj /usr/lib/opengl/nvidia/extensions/libglx.so --- !mtime obj /usr/lib/misc/tls_test_dso.so --- !mtime obj /usr/lib/misc/tls_test --- !mtime obj /usr/bin/nvidia-bug-report.sh --- !mtime obj /usr/X11R6/lib/modules/drivers/nvidia_drv.o --- !mtime obj /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6111 --- !mtime obj /usr/X11R6/lib/libXvMCNVIDIA.a --- !empty dir /usr/share/doc/nvidia-glx-1.0.6111 --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/lib/opengl/nvidia/tls --- !empty dir /usr/lib/opengl/nvidia/lib --- !empty dir /usr/lib/opengl/nvidia/include --- !empty dir /usr/lib/opengl/nvidia/extensions --- !empty dir /usr/lib/opengl/nvidia --- !empty dir /usr/lib/opengl --- !empty dir /usr/lib/misc --- !empty dir /usr/lib --- !empty dir /usr/bin --- !empty dir /usr/X11R6/lib/modules/drivers --- !empty dir /usr/X11R6/lib/modules --- !empty dir /usr/X11R6/lib --- !empty dir /usr/X11R6 --- !empty dir /usr --- !targe sym /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.1 --- !targe sym /usr/lib/opengl/nvidia/tls/libnvidia-tls.so --- !targe sym /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 --- !targe sym /usr/lib/opengl/nvidia/lib/libnvidia-tls.so --- !targe sym /usr/lib/opengl/nvidia/lib/libGLcore.so.1 --- !targe sym /usr/lib/opengl/nvidia/lib/libGLcore.so --- !targe sym /usr/lib/opengl/nvidia/lib/libGL.so.1 --- !targe sym /usr/lib/opengl/nvidia/lib/libGL.so >>> original instance of package unmerged safely. However, header files (/usr/include/GL/*) and X drivers aren't copied. X won't load the glx module, claiming it was not found, and applications which depend on opengl won't compile (for example, xscreensaver). I managed to work around this second by manually copying those includes from /var/tmp/portage/....../include/GL to /usr/include/GL, but I couldn't get X to work with glx. Maybe I'll give it another try tomorrow. Reproducible: Always Steps to Reproduce: 1. emerge nvidia-kernel 2. emerge nvidia-glx 3. no header/X driver Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 x86_64) ================================================================= System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 18:05:56)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 16bit X aac acpi acpi4linux aim alsa apache2 asm avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups dga divx4linux dvd esd exif f77 fam font-server fortran ftp gd gdbm gif gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imlib jabber jp2 jpeg lzw lzw-tiff maildir mikmod mozilla moznocompose moznoirc moznomail mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis opengl oss pam perl png readline sasl sdl ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xpm xrandr xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
It's working right now. Even though when I filed this bug I have called 'opengl-update nvidia', it wouldn't copy (or symlink, whatever) those files. Now I see it's working. Kinda strange, might have been my installation.
Changing the severity... someone ought to at least have a look on this.
It installed them: >>> /usr/lib/opengl/nvidia/include/glxtokens.h >>> /usr/lib/opengl/nvidia/include/gl.h >>> /usr/lib/opengl/nvidia/include/glx.h >>> /usr/lib/opengl/nvidia/extensions/ >>> /usr/lib/opengl/nvidia/extensions/libglx.so >>> /usr/X11R6/lib/modules/drivers/nvidia_drv.o Use 'opengl-update nvidia' to switch to the nvidia opengl profile.