LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-10-2004, 10:08 AM   #1
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Rep: Reputation: 30
Loading nVidia Module


I am having some trouble with the nVidia drivers. It installed and I was able to "startx" after the installation but after rebooting, I could no longer do it. I got an error saying that the module couldn't be used or found or something (I can't remember.) Using "insmod nvidia" before "startx" fixes the problem so I assume that the module just isn't getting loaded. So, how and where would I go to add a module at startup? Also, when I installed the drivers, I got a warning about a possible conflict with a module called rivafb. I am thinking that may be why the nVidia driver is not loading at startup. How would I go about disable it?

-Brandon
 
Old 12-10-2004, 11:32 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
An XF86Config file would probably be very useful here?
 
Old 12-10-2004, 02:50 PM   #3
acefreely
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Add the following line to your /etc/rc.local file.... substitute the name of your kernel

/sbin/insmod /lib/modules/2.6.9-1.681_FC3/kernel/drivers/video/nvidia.ko

That should do the trick...

-Ace
 
Old 12-10-2004, 06:58 PM   #4
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acefreely
Add the following line to your /etc/rc.local file.... substitute the name of your kernel

/sbin/insmod /lib/modules/2.6.9-1.681_FC3/kernel/drivers/video/nvidia.ko

That should do the trick...
With a little editing, that did work... kind of. Through a little trial and error, I ended up using "insmod nvidia" just like I used in the console. However, apparently rc.local doesn't get used early enough in the startup process for FC3's graphic startup to work. Everything starts up in text mode and then it automatically restarts X11 when it get to the login screen. It works and I hate to knit pick but is there somewhere else to put the command where the module will be loaded before it switches to runlevel 5?

-Brandon
 
Old 12-10-2004, 11:20 PM   #5
acefreely
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
The solution that I gave you was a workaround to an issue with the latest Nvidia drivers. That said, there are ways to make the module load earlier in the startup process (you could create a startup shell script and place it in /etc/rc.d/rc1.d, make sure to make it executable (chmod 771 filename) and begins with a capital S), but that would not make the gui load earlier. I have to defer on that one... : (

-Ace
 
Old 12-11-2004, 02:18 PM   #6
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acefreely
The solution that I gave you was a workaround to an issue with the latest Nvidia drivers. That said, there are ways to make the module load earlier in the startup process (you could create a startup shell script and place it in /etc/rc.d/rc1.d, make sure to make it executable (chmod 771 filename) and begins with a capital S), but that would not make the gui load earlier. I have to defer on that one... : (

-Ace
Okay. I'll give the shell workaround a try and see if that does what I'm looking for. But with that said, incase it isn't really clear what I am trying to do, know that I am not trying to launch the GUI earlier that it should. The "problem" (ie: annoyance) that I am having is that using the "nv" graphics driver, once FC3 gets past the udev startup, it enters the graphic startup with the progress bar and the little picture of the computer and whatnot. Using the "nvidia" driver, the module isn't loaded early enough in the startup process so when it should go the graphic startup screen, it tries (the screen goes blank for a couple seconds) but fails and continues on with the text only startup process. I guess what I really want to know is where does the system load the "nv" module? If I could add a line to load "nvidia" right after "nv", I think that would fix it. Or is it built into the kernel? If so, I might be interested in rebuilding the kernel with "nvidia" included if someone could point me to a good step-by-step FC3-specific HOWTO.
 
  


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
nvidia module not loading Wartz Linux - Hardware 3 02-09-2005 06:31 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
'nvidia' module doesn't persist for nVidia GeForce2 DDR card dude_a_b_c Mandriva 8 05-19-2004 02:50 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:21 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