LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   nvidia drivers (again) ! :( (https://www.linuxquestions.org/questions/mandriva-30/nvidia-drivers-again-255156/)

gazza 11-15-2004 11:53 AM

nvidia drivers (again) ! :(
 
I downloaded and installed the latest nvidia drivers 6629, install went ok .

I edited my XF86Config file and changed the "nv" to "nvidia"

I then tried to startx which didnt work. I checked /var/log/Xorg.0.log i found this error :

(EE) Failed to initialize GLX extension (NVIDIA X driver not found)

And oddly i also have a /var/log/xorg.9.log file as well ??? which reports:


(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screen(s) found, but none have a usable configuration.

So I did as root "modprobe nvidia"

Then tried again to startx, which started but all my display was screwed up and the nvidia splash screen just stayed there !

So i had to change the "nvidia" back to "nv" to get X back again, but now im stumped ??

What did i do wrong ?

and why do i have 2 xorg log files ??

colinisation 11-15-2004 08:14 PM

I beleive it is a bug with the nvidia drivers as I have the same problem, except I can move the mouse which leaves a trail of duplicate mice on the screen. Looking at the linux forums at nvnews led me to beleive that some others were currently having this problem and there is little knowledge of a solution. So I guess we will just have to use older drivers, 6111, for now till a new version is released.

PDR60 11-16-2004 12:32 AM

This how to will get you the 6629 drivers installed. its pretty easy also.

http://www.linuxloader.com/modules.p...howpage&pid=17

gazza 11-16-2004 12:21 PM

Ok ive looked at the above tutorial and in my xorg.conf file in the "module" section I dont seem to have an entry that says :

"Load "glx" # 3D layer"

Mine is as follows :

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"

Could this be the reason why im experiencing problems ?

Do i need to delete the line :

Load "/usr/X11R6/lib/modules/extensions/libglx.so"

and replace it with : "Load "glx" # 3D layer"

or should it be : Load "glx 3D layer"

or Load "glx" "3D layer"

(notice the quotes)

caladbolg 11-16-2004 04:04 PM

The nvidia readme says to put

Load "glx"

I'd try that

And I also have the problem with the cursor trail using the new driver :(

gazza 11-16-2004 05:22 PM

Ok Ive been doing some more reading of the README file at the Nvidia site. It's all so damn confusing what with libGL and GLcore and sim links all over the place, I feel sure that this is where the problem is (in my case anyway), just thought id post this section from the README file just in case anyone wished to study it further.

I *havn't* checked all of this yet with my set up but I will when time allows.

Here it is anyway it may help others too.
===============================================================

If you think there may be something awry
in your installation, check that the following files are in place
(these are all the files of the NVIDIA Accelerated Linux Driver Set,
plus their symlinks):
/usr/X11R6/lib/modules/drivers/nvidia_drv.o
/usr/X11/lib/modules/extensions/libglx.so.x.y.z
/usr/X11/lib/modules/extensions/libglx.so -> libglx.so.x.y.z
/usr/lib/libGL.so.x.y.z
/usr/lib/libGL.so.x -> libGL.so.x.y.z
/usr/lib/libGL.so -> libGL.so.x
/usr/lib/libGLcore.so.x.y.z
/usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z
/lib/modules/[kernel version]/video/NVdriver, or
/lib/modules/[kernel version]/kernel/drivers/video/NVdriver
Installation of the NVIDIA_kernel package will also create the /dev files:
crw-rw-rw- 1 root root 195, 0 Feb 15 17:21 nvidia0
crw-rw-rw- 1 root root 195, 1 Feb 15 17:21 nvidia1
crw-rw-rw- 1 root root 195, 2 Feb 15 17:21 nvidia2
crw-rw-rw- 1 root root 195, 3 Feb 15 17:21 nvidia3
crw-rw-rw- 1 root root 195, 255 Feb 15 17:21 nvidiactl
If there are other libraries whose "soname" conflicts with that of
the NVIDIA libraries, ldconfig may create the wrong symlinks. It is
recommended that you manually remove or rename (be sure to rename
clashing libraries to something that ldconfig won't look at -- we've
found that prepending "XXX" to a library name generally does the trick)
conflicting libraries, rerun 'ldconfig', and check that the correct
symlinks were made. Some libraries that often create conflicts are
"/usr/X11R6/lib/libGL.so*" and "/usr/X11R6/lib/libGLcore.so*".
If the libraries checks out, then verify that the application is using
the correct libraries. For example, to check that the application
/usr/X11R6/bin/gears is using the NVIDIA libraries, you would do:
$ ldd /usr/X11R6/bin/gears
libglut.so.3 => /usr/lib/libglut.so.3 (0x40014000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40046000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x40062000)
libc.so.6 => /lib/libc.so.6 (0x4009f000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4018d000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40196000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401ac000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401c0000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x401cd000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401d6000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402ab000)
libm.so.6 => /lib/libm.so.6 (0x4048d000)
libdl.so.2 => /lib/libdl.so.2 (0x404a9000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x404ac000)
Note the files being used for libGL and libGLcore -- if they are something
other than the NVIDIA libraries, then you will need to either remove the
libraries that are getting in the way, or adjust your ld search path.
If any of this seems foreign to you, then you may want to read the man
pages for "ldconfig" and "ldd" for pointers.

===============================================================

cheers


All times are GMT -5. The time now is 11:50 AM.