LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2006, 10:15 AM   #16
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Original Poster
Rep: Reputation: 15

X must not be running: How I do it is "killall gdm". When doing that I thought the X was stopped. But anyway I did a reboot (and the creationtime of the nvidia.ko module is the same as the time the compilation happened, so it's ok ... I guessed ).
1) I will try it with booting to lvl2 this evening.

Can you explain me how I can "run a driver"? And what do I need to watch? Xorg.0.log? messages? dmesg |tail -f?

Oh, I compiled as root (the nVidia setup won't you let it compile as non-root).

2) I will check if all the directories have at least world readable.
 
Old 05-23-2006, 11:25 AM   #17
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
Sorry, I should have written driver-installer.

so cd to your download directory and run ./NVIDIA-Linux-x86-1.0-8756-pkg1.run

The log file is in /var/log/nvidia-installer.log

Note that there is a newer driver:1.0-8762 available. Might have a fix for your problem.
 
Old 05-23-2006, 12:12 PM   #18
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
I think that it is because something changed in X 6.9/7.0 that the NVIDIA drivers were using. The 8756 version worked for me, after installing it twice due to a warning the first time that libGL.so wasn't a symlink. I also had to recompile the kernel because my version of gcc changed.
 
Old 05-23-2006, 03:46 PM   #19
illiadum
Member
 
Registered: May 2006
Location: Arizona...where its unreasonably hot.
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
nvidia.ko

Similar thing happened to me. On compile, it fails to compile the actual module "nvidia.ko" and then the module obviously isn't found when I try to load X. I don't have access to the log spew right now, but yours does say:

(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)

I found all "ps -A | grep x" and "grep kdm" and killed all those, still no go for my compile. Definitely root... whatever the problem is, I bet you and I are experiencing the same compile issue!
http://images.linuxquestions.org/que...s/confused.gif

http://images.linuxquestions.org/que...milies/cry.gif
 
Old 05-23-2006, 03:57 PM   #20
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Original Poster
Rep: Reputation: 15
Well, it's not exactly the same. Before my upgrade yesterday night (Ubuntu 5.10) I couldn't get it compiling (or at least difficult to compile). Now (Ubuntu 6.06), everything is happy and shining (concerning compiling).

It creates the .ko module, it even copies it to the modules directory with all the other kernel modules. But when I change to 'nvidia' in my xorg.conf it gives the similar errors.

Now I am using 'nv' and it works (before my upgrade it didn't).

Later today after I made a release of my TradeAnalyzer (hidden advertisement ), I will go for runlevel 2 and try to recompile and relink and reinsert and stuff like 'davcefai' suggested.

Will keep you guys updated

BTW, my kernel is now 2.6.15


davcefai:
/etc/inittab has "id:2:initdefault:" ... So I am already running in lvl 2? So I changed it to 1 (it says 'single-user mode', and as I don't need network, I don't mind).

I will reboot and see what happens

*edit*
Actually what I did was easier then changing the inittab . I just started recovery mode... That's somewhere before initlevel 1. With absolutely very little programs running.

1) Now I first tried uninstalling everything, then installing the latest drivers. Reboot. No luck.
2) Reboot in recovery mode. uninstalling, installing 7856 (previous ones). Reboot. No luck either...

Reverted back to 'nv' for the moment .

Anyone who might have a guess why X can't find my module?

Last edited by G00fy; 05-23-2006 at 05:09 PM.
 
Old 05-23-2006, 05:32 PM   #21
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Original Poster
Rep: Reputation: 15
Ok people... I solved it... I don't know exactly what part solved it, but I am under X... With nvidia module.

For your (and mine probably ) reference:

Code:
sh NVIDIA-Linux-x86-1.0-8762-pkg1.run --x-prefix=/usr/lib/xorg --x-module-path=/usr/lib/xorg/modules/
Everything works like a charm now... It was not a problem of X, not a problem of NVIDIA... But as usual in this world a problem of people (namely: me) not understanding . The NVIDIA setup was always installing inside the wrong path.

Thanks for all your help!

Last edited by G00fy; 05-23-2006 at 05:53 PM.
 
Old 02-18-2007, 10:31 AM   #22
amaltemara
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Another FIX to the problem of X crashing when glx is used

I had that exact same problem in Fedora Core 6, with the nvidia-x11-drv-96xx-1.0.9631-1 drivers.

X was crashing every time I tried to run a glx program. glxinfo, glxgears, glx screensavers, etc...


The problem was that there were 2 copies of the libglx.so file, one at:
/usr/lib/xorg/modules/extensions/libglx.so

and one at:
usr/lib/xorg/modules/extensions/nvidia/libglx.so

and X was trying to use the first one.


To fix this, I moved the original one to a backup, and linked to the one in the nvidia directory. Restarted X, and viola!, glx works!



to recap, as root (or using sudo)...

# cd /usr/lib/xorg/modules/extensions
# mv libglx.so libglx.so.orig
# ln -s nvidia/libglx.so

restart X, and you're using the correct libglx.so.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.3 Kernal doesn't allow for latest nVidia drivers Newb_Linux_Geek Linux - Hardware 18 07-13-2006 04:49 PM
Problems with latest nVidia Drivers jawaking00 Linux - Hardware 1 11-16-2005 04:12 PM
Latest Nvidia Drivers and 2.6.11.2 stealth_banana Linux - Hardware 2 03-11-2005 08:48 PM
resolution problems with latest nvidia drivers glorenfeld Linux - Newbie 5 03-23-2004 10:57 AM
UT + latest nvidia drivers -> Any success story?? Disruptor Linux - Software 1 08-31-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration