PDA

View Full Version : NVDriver not autoloading on boot


jeff
11-21-02, 11:29 PM
Ok, a very basic question ... I have the nvidia stuff working for my RH 6.1 system (compiled from sources available from nvidia). The problem is that I need to /sbin/insmod NVdriver after every reboot (as su) or NVdriver doesn't get loaded. The stuff about putting an alias in conf.modules to NVdriver mentioned in the nvidia guide doesn't work for my system. Any hints greatly appreciated.

Jeff

Chalnoth
11-22-02, 01:43 AM
I've never had to do that. All I ever did, after installing the source RPMs, was to change the driver in XF86Config-4 to "nvidia"

I was under the impression that the driver wasn't run at boot, but when X starts. I could be way off base here, of course...

moali
11-26-02, 05:51 AM
Is the problem still there?

Did you mean, adding the line

alias char-major-195 NVdriver (may be that I messed up the capitol-letters here)

does not change anything?

Did you run depmod -a afer changing the conf.modules (resolve the dependencies between the modules)?

moali

bwkaz
11-26-02, 03:16 PM
Yeah, try alias char-major-195 NVdriver

Otherwise, try alias /dev/nvidia* NVdriver, though I'm pretty sure that one isn't it.

Run depmod -a (as suggested above), and try to startx. If it doesn't work, post your X log.

Chalnoth
11-26-02, 04:57 PM
Btw, if you can't find a better way, you can just put the line:

/sbin/smod NVdriver

...in the /etc/rc.d/rc.local file. This script is exectued at boot after everything else, just before login.