After emerging Xorg-x11 6.8, X no longer loads when trying to use the nvidia-supplied drivers. I remerged nvidia-kernel and nvidia-glx, no luck. The X log is in the url. X loads fine using the Xorg supplied "nv" driver (or "vesa"). Reproducible: Always Steps to Reproduce: 1. emerge xorg-x11 2. emerge nvidia-kernel nvidia-glx 3. startx Actual Results: X tries to start, but then returns to the terminal with the error "no devices detected" Expected Results: Started X, with devices found. Portage 2.0.50-r11 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4) ================================================================= System uname: 2.6.8-gentoo-r4 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=opteron -O2 -ftracer -fweb -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -O2 -ftracer -fweb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apm audiofile avi berkdb bitmap-fonts bonobo bzlib calendar cdr crypt cups dga dio divx4linux dvd dvdr encode ethereal evo exif fam fftw flac flash foomaticdb ftp gdbm gif ginac gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imlib jabber jack java joystick jpeg junit ladcca lcms ldap libg++ libwww mad mcal mikmod ming mmap motif mozilla mpeg msn multilib ncurses nls nocd oggvorbis opengl oscar oss pam pcre pda pdflib perl png posix ppds python qt quicktime readline samba sasl sdl shared slang spell ssl static svg svgalib szip tcltk tcpd theora tiff truetype usb videos wxwindows xinerama xml xml2 xmms xosd xprint xsl xv xvid yahoo zlib" Something that is not noted above is that it's a dual opteron system.
I isn't only amd64 related. here on athlon xp + nvidia geforce2 mx 200 crashes too.
sebastien, you forgot to paste the output of `emerge info` in your comment, can you please do so now?
Sorry. I wasnt on my computer: emerge info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.9-rc1-love2) ================================================================= System uname: 2.6.9-rc1-love2 i686 AMD Athlon(tm) 4 processor Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/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/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://128.213.5.34/gentoo/ http://gentoo.noved.org/ http://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/var/tmp/portage-pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib acl acpi alsa apm avi berkdb bitmap-fonts bzlib cdr crypt cups directfb encode esd fam fbcon foomaticdb ftp gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod mime mmx motif mozilla mpeg mpi mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype video_cards_ati128 video_cards_i810 video_cards_nvidia video_cards_radeon x86 xinerama xml2 xmms xprint xv zlib" glibc GNU C Library stable release version 2.3.3, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6). Compiled on a Linux 2.6.7 system on 2004-08-09. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others NPTL 0.61 by Ulrich Drepper BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. Report bugs using the `glibcbug' script to <bugs@gnu.org>. gcc 3.3.4 gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Hi , I have 6.8 running on a athlon with nvidia without any problem, I have nvidia in xorg.conf instead of nv, for the rest runs fine her is cpuinfo and emergeinfo Hope this helps a bit, Rgds Daxomatic@gmail.com cpuinfo***** processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1145.202 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 2260.99 emerge info*****emerge info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/tmp/portage.dax" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups doc encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk+ gtk2 guile imlib jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd threads truetype x86 xml2 xmms xprint xv zlib"
Could you post your xorg.conf? thaks
Created attachment 39528 [details] Xorg Config File
Now i am trying to emerge xorg with default CFLAGS="-O2 -mcpu=i686 -pipe"
still same error
Can you please provide the output of "lspci", and also the section relating to your nvidia card of "lspci -v" (dont need the lot just that section). Richard are you sure about your monitor details? Also can you try changing the following line (that is uncomment and change PCI -> AGP) # BusID "PCI:0:2:0" to BusID "AGP:0:2:0"
It seems that the xorg-x11 use flag dlloader was the flaw. Now it does work
Re: Sebastien Using "USE=-dlloader emerge xorg-x11" didn't help for me. Re: Andrew I tried to change PCI to AGP (and I did uncomment it ;)); didn't help. Monitor settings are correct (at least they worked before my upgrade to 6.8, and I'm sure the refresh rates/resolution are within spec). lspci -v (nvidia relevent output): 0000:02:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4600] (rev a3) (prog-if 00 [VGA]) Subsystem: Chaintech Computer Co. Ltd: Unknown device 1901 Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 16 Memory at fd000000 (32-bit, non-prefetchable) [size=feae0000] Memory at e0000000 (32-bit, prefetchable) [size=128M] Memory at ec680000 (32-bit, prefetchable) [size=512K] Expansion ROM at 00020000 [disabled] Capabilities: [60] Power Management version 2 Capabilities: [44] AGP version 2.0
maybe my error were different to yours, i dont have an amd64.
No problems here on a Toshiba laptop with the nvidia drivers and a GeForce4 graphics card, Pentium 4 Mobile CPU 1.8Ghz, and the synaptics touchpad driver installed as well except that TwinView refused to recognize any frequency ranges I set for the second monitor, but I expect that is Nvidia's problem.
why does dllloader break it? I have had the same problem with it causing unresolved symbols in the nvidia_drv module. -- which is nto the same problem as the reporter, I think.
I do not know why, i just did correct that use flag to not use it, and all worked out.
Because nvidia provides binary drivers for the ELF module loader, not dlloader. You can't interchange the two.
Lesson being (I guess if there is one), done USE="dllloader" build xorg-x11 if using nvidia.
Need a better resolution -- nothing's fixed. It doesn't work with dlloader.
How about this, till they provide .so's.
for me at least, even with -dlloader, it still doesn't work (so the reason why it's not working on my system still is not resolved).
Please reopen the bug when you say something like that, in the future.
Did you try with the patch from http://www.minion.de/files/1.0-6629/ ?
http://bugs.gentoo.org/show_bug.cgi?id=63894 I now also have the problem, exactly since my last emerge =media-video/nvidia-kernel-1.0.6629-r1 # modprobe nvidia FATAL: Error inserting nvidia (/lib/modules/2.6.10-rc3/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg) nvidia: Unknown symbol _smp_processor_id this is a dual opteron with smp support in kernel 1.0.6111-r3 does load fine, but the nvidia module loader thinks that it's not a good idea to load it: Error: API mismatch: the NVIDIA kernel module is version 1.0.6111, but this X module is version 1.0.6629. Please be sure that your kernel module and all NVIDIA driver files have the same driver version.
oh, forgot my emerge info :( blubb@aqua ~ $ emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc3 x86_64) ================================================================= System uname: 2.6.10-rc3 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Aug 28 2004, 19:51:48)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.4_p6, 1.9.3, 1.8.5-r2, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d" CXXFLAGS="-O3 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks sandbox userpriv" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/blubb/gentoo/gentoo-x86 /usr/local/portage" SYNC="rsync://buggy/gentoo-portage" USE="amd64 X aalib acpi alsa bitmap-fonts bonobo bzlib cdr chroot crypt cups divx4linux dvd encode esd f77 fam flac ftp gdbm gif gimp glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java jp2 jpeg libwww lzw lzw-tiff mad mikmod mng motif mozdomi mozilla moznoirc moznomail moznoxft mozp3p mozsvg mp3 mpeg msn multilib mysql ncurses network nls nptl oggvorbis opengl pam perl png posix python readline samba sdl sematicfix speex sqlite ssl svg tcltk tcpd tetex threads tiff truetype usb userlocales utf8 xinerama xml xml2 xmms xpm xrandr xsl xv zlib"
after a bit googling i found this here: http://www.michaeldolan.com/Tutorials/gentoo1.php "I'll warn you that if you use the nvidia-kernel-6629-r1, you'll get a failed to initialize error on the nvidia driver. If you check dmesg, you'll see "nvidia: Unknown symbol _smp_processor_id". What you need to do is go into /usr/portage/media-video/nvidia-kernel, open the nvidia-...-6629-r1.ebuild file and comment out this line: # Fix calling of smp_processor_id() when preempt is enabled epatch ${FILESDIR}/${PV}/nv-disable-preempt-on-smp_processor_id-2.patch Final: # Fix calling of smp_processor_id() when preempt is enabled # epatch ${FILESDIR}/${PV}/nv-disable-preempt-on-smp_processor_id-2.patch i couldn't test it yet, but it compiles fine so far
Simon, sync up your tree, commited fix or that a while ago. As for the 6111-r3 issue, thats more likely to be caused by an old module hanging around (or not being unloaded properly).
I've done a clean install of gentoo, and am not experiencing the problem I originally, so this bug is good to close if no one has any objections.
Please wait a day! I also did a clean 2004.3 install of gentoo, switch to the 2.6 kernerl (gentoo-dev-sources-2.6.9-r13), installed nvidia-driver and nvidia-glx and used my old (Nov.2004) xorg.conf (at this time I was running a 2.4.x gentoo kernel) And I've some minor problems! Using the "nv" driver I can enter X -> but this is the vesa driver and not NVIDIA. Using the "nvidia" driver - X crashes and complains about some errors. When I'm back in front of the machine I will post my finds and complete error messages and possible solutions I tried!
Okay, for me it was also the "dlloader" in Xorg. Recompiling it with "-dlloader" and (forcefully) removing agpgart did load the nvidia module and made it work again. It seems that the dlloader use flag of xorg doesn't place nice with nvidia-kernel.
I think this one is resolved. dlloader cannot be used with binary drivers (i.e. nvidia) at the present time.