I emerged the latest media-video/nvidia-kernel-1.0.8178 and of course it's broken... Xorg.log says the module isn't loaded, but it is... speedy je_fro # grep EE /var/log/Xorg.0.log Current Operating System: Linux speedy 2.6.14-gentoo-r5 #1 SMP PREEMPT Fri Dec 23 12:31:04 CST 2005 x86_64 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) Failed to load module "nvidia" (module does not exist, 0) (EE) No devices detected. speedy je_fro # lsmod | grep nv nvidia 4855856 0 # emerge info Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64) ================================================================= System uname: 2.6.14-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 3xnowex X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 canvas cdr crypt cups curl directfb divx4linux dts dvd dvdr dvdread effects emboss encode esd ethereal exif expat extensions f77 fam fbcon ffmpeg fftw flac foomaticdb fortran gb gd gdbm gif glut gnome gnutls gpm gtk gtk2 gtkhtml h323 i8x0 idn imagemagick imlib inkjar insecure-savers ithreads java jce jpeg jpg junit kqemu lcms libgda libwww lirc live logitech-mouse logrotate lzw lzw-tiff mad maildir mjpeg mng motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mpqc mysql mythtv ncurses netcdf network new-login nls no_wxgtk1 nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils plugin png pnp ppds python quicktime readline recode rtc samba sasl sdl smp spell ssl startup-notification svg tcltk tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xchattext xinetd xml xml2 xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
the same problem here on amd64, xorg-x11-6.8.2-r6. The _kernel_ module is loaded but not the X module (nvidia_drv). The Xorg.0.log says (II) LoadModule: "nvidia" (WW) Warning, couldn't open module nvidia (II) UnloadModule: "nvidia" (EE) Failed to load module "nvidia" (module does not exist, 0) Here is my emerge -info: Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64) ================================================================= System uname: 2.6.14-gentoo-r5 x86_64 AMD Opteron(tm) Processor 252 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://128.213.5.34/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dv dvd dvdr dvdread eds emacs emboss encode exif expat fam ffmpeg flash font-server foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 idn ieee1394 imagemagick imap imlib ipv6 java jpeg kde lcms libwww live lua lzw lzw-tiff mad mjpeg mng motif mp3 mpeg ncurses nls nptl odbc ogg opengl pam pcre pdflib perl plotutils png postgres ppds python qt quicktime readline samba sdl spell ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xinerama xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Broken on x86, too. Getting following messages: (II) LoadModule: "nvidia" (WW) Warning, couldn't open module nvidia (II) UnloadModule: "nvidia" (EE) Failed to load module "nvidia" (module does not exist, 0) (EE) No drivers available.
copying /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.8178.ebuild over to /usr/local/portage/media-video/nvidia-glx/nvidia-glx-1.0.8178-r1.ebuild and running ebuild /usr/local/portage/media-video/nvidia-glx/nvidia-glx-1.0.8178-r1.ebuild digest && emerge nvidia-glx nvidia-kernel fixed it for me.
Created attachment 75404 [details, diff] nvidia-glx-1.0.8178-r1.ebuild.patch Here is a fix for the ebuild.
changing local libdir=usr/${pkglibdir} to local libdir=usr/X11R6/${pkglibdir} in /usr/portage/media-video/nvidia-glx/nvidia-glx-1.0.8178.ebuild then running ebuild /usr/portage/media-video/nvidia-glx/nvidia-glx-1.0.8178.ebuild digest fixed it up for me
Checked in fix that should work. No version bump since the last one didn't work. remergen vidia-glx-1.0.8178
*** Bug 116532 has been marked as a duplicate of this bug. ***
*** Bug 116540 has been marked as a duplicate of this bug. ***
I encountered the same problem and was able to fix it using the patch provided. As of my latest emerge sync (2006-01-15), nvidia-glx-1.0.8178 has not been applied the patch and is _NOT_ fixed.
No one else is reporting a problem. If you still are, please post your 'emerge info' so we can see what's going on.
$ emerge info Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-covracer-r4 i686) ================================================================= System uname: 2.6.14-covracer-r4 i686 Intel(R) Celeron(R) CPU 1.70GHz Gentoo Base System version 1.12.0_pre13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.math.bme.hu http://mirror.datapipe.net/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3ds X a52 aac aalib acpi aim alsa amd apache2 asm asterisk audiofile avi bash-completion berkdb bitmap-fonts bl bonobo bzip2 calendar cddb cdparanoia cdr chroot crypt css cups curl curlwrappers dbase dbus dga directfb doc dts dv dvd dvdr dvdread editor eds emboss encode esd exif expat fam fbcon festival ffmpeg firefox flac font-server foomaticdb fortran fpx ftp fuse gcj gdbm geoip gif gimp glep glut glx gmp gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal http httpd idn image imagemagick imlib ipv6 irc jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit lcms libcaca libclamav libg++ libwww lua mad mapeditor maps mbrola md5sum mikmod ming mixer mjpeg mng motif mp3 mpeg mplayer msn music musicbrainz mysql nas ncurses net network nls no-old-linux nocd nptl nptlonly nsplugin ntlm nvidia oav offensive ofx ogg oggvorbis openal openexr opengl oscar oss pam pam-mysql pcre pdflib perl plotutils png posix ppds python qt quicktime rar readline real recode reiserfs rhythmbox rogue rss ruby samba scanner screen sdl server sharedmem shorten silc simplexml skey slang slp smime snmp sockets speex spell sql sqlite ssl subtitles svg symlink syslog sysvipc tcltk tcpd tga theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd videos vorbis win32codecs wmf wxwindows xml xml2 xmms xpm xv xvid xvmc yahoo zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS $ eix nvidia-glx * media-video/nvidia-glx Available versions: 1.0.6111-r2 1.0.6111-r3 1.0.6629-r6 1.0.6629-r7 1.0.7167-r2 1.0.7167-r3 1.0.7174-r5 1.0.7667-r1 1.0.7676-r1 1.0.7676-r2 1.0.8174 1.0.8174-r1 1.0.8178 1.0.8178-r1[1] Installed: 1.0.8178-r1 [1] /usr/local/portage $ eix xorg-x11 * x11-base/xorg-x11 Available versions: 6.8.2-r4 6.8.2-r6 [M]6.8.99.15-r4 7.0 Installed: 6.8.2-r6 $ cat /etc/conf.d/local.start if [ ! -e /dev/nvidia0 ]; then mknod /dev/nvidia0 c 195 0 fi if [ ! -e /dev/nvidiactl ]; then mknod /dev/nvidiactl c 195 255 fi
(In reply to comment #11) There is no nvidia-glx-1.0.8178-r1 in portage. Perhaps you need to resync, remove the 1.0.8178-r1 ebuild you have in your overlay and then install 1.0.8178 from the actual portage tree. Any problems you have could be attributed from using a non-standard ebuild.
(In reply to comment #12) > Any problems you have could be attributed from using a non-standard ebuild. The ebuild I have in my overlay is actually the one that works. Sorry if it wasn't clear enough from what I said in comment #9. The difference between the ebuild in portage (that doesn't work for me) and my -r1 (that seems to work quite well) is just the stuff mentioned in comment #4 and comment #5. I ran "emerge =nvidia-glx-8178" today before syncing and fired up X but to no avail: (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) NVIDIA(0): log file that the GLX module has been loaded in your X (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) NVIDIA(0): you continue to encounter problems, Please try (EE) NVIDIA(0): reinstalling the NVIDIA driver. This is a differen't message than what I've gotten before but that's perhaps because I was starting X from inside another X session using, "startx -- :2". In addition, the X session I launched it from was started before the reemerge (bad idea?). Or maybe the different message is because of an X upgrade or something but the grammar of the message isn't important--it seems to be the exact same error. After syncing, however, the ebuild from portage seems to be in perfect working order. Good work!