Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32516 - X doesn't register nvidia drivers (in /usr/X11R6/lib/modules/drivers, but won't use)
Summary: X doesn't register nvidia drivers (in /usr/X11R6/lib/modules/drivers, but won...
Status: RESOLVED DUPLICATE of bug 24095
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-01 22:26 UTC by Jack Miller
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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 Jack Miller 2003-11-01 22:26:50 UTC
I emerged the latest nvidia-kernel and nvidia-GLX packages under the
2.6.0-test9-mm1 kernel, 2.6.0-test8-mm1, and 2.4.20-gentoo-r8 kernels and in
every case, the emerging would go fantastically (no errors, no problems, just
started and walked away) but upon editing my XF86Config to use nvidia instead of
nv and to load GLX without GLCore or DRI, X wouldn't start. Upon looking through
the /var/log/XFree86.0.log, I realized that when it lists all of the drivers X
is trying to use, NVIDIA wasn't on there.

The specific error I got was: no devices found.

Reproducible: Always
Steps to Reproduce:
1.emerge nvidia-kernel and nvidia-glx
2.edit XF86Config
3.try to startx

Actual Results:  
Failure, no devices found

Expected Results:  
Started X, at least.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.6.0-test9-mm1)=================================================================
System uname: 2.6.0-test9-mm1 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm crypt cups encode foomaticdb gif kde libg++ libwww mad mikmod
mpeg ncurses nls pdflib quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline arts aalib bonobo svga tcltk sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis qt motif opengl mozilla X gtk gnome avi smpeg png
jpeg dvd"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-01 22:50:46 UTC
Not games related, throwing back to bug-wranglers.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-01 23:38:02 UTC
Did you run opengl-update nvidia.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-02 00:23:24 UTC
Run as root:

 # NVmakedevices.sh
Comment 4 Jack Miller 2003-11-02 10:08:57 UTC
Yep, both NVmakedevices and opengl-update nvidia were run and executed with
no problems. X still won't start, (EE) No devices found
Comment 5 Jack Miller 2003-11-02 10:22:00 UTC
Actually, I'm really starting to think that it's a problem with the X server
being b0rked for a few simple reasons. A) All four steps run without errors
or complaints, the nvidia module is loaded without complaints too B) the
nvidia_drv was put into /usr/X11R6/lib/modules/drivers, where the nvidia
readme for the current drivers says it will be put, C) X isn't even registering
the driver, not only because the log doesn't list it, but because I could
put "sdajjksa" in instead of "nvidia" and would give the same error. 

I don't think it's got anything to do with nvidia-glx either, nor opengl-update
nvidia because it's not even getting to GLX initialization.

Therefore, I'm going to attempt to strip and recompile XFree86 and associated
libs then report back. Be back in a few hours.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-02 10:23:01 UTC
Try masked 4.3.99.14 - works great here with 2.6 and nvidia.
Comment 7 Jack Miller 2003-11-02 12:30:57 UTC
Well, too late for that, just finished compiling the latest unmasked X11
and it works just fine...why this bug happened I don't know...perhaps because
I had the debug USE flag when I compiled the last one?
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-13 20:47:25 UTC
Jack, yep that's it. debug flag used to build statically, so it couldn't load modules.

*** This bug has been marked as a duplicate of 24095 ***