Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting nvidia drivers to load automatically..
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chatgris
Guru
Guru


Joined: 14 Oct 2002
Posts: 383
Location: Canada

PostPosted: Tue Jan 28, 2003 9:16 pm    Post subject: getting nvidia drivers to load automatically.. Reply with quote

Ok, First off, I don't know which forum this really belongs in being torn between Hardware, Multimedia and Desktop environment, but I chose here since in my eyes NVidia drivers are very closely related to X..

Anyways, a few days ago I updated and stupidly overwrote my modules.autoload file.

In there I remember seeing something about nvidia...

Now, I have since unmerged and emerged nvidia kernel and glx, and I haven't been able to get them to load automatically.. every time I have to manually run insmod NVdriver

How can I get the NVidia module automatically loaded?

Before running this into dups, I read posts where some people put modprobe NVdriver, others with insmod driver in their modules.autoload, but I remember seeing something kinda charset thing which didn't look like jsut commmands to run in modules.autoload and I'm wondering what's the *right* way to do this.

Josh.
_________________
Open your mind. Open your source.

Due credit for avatar from http://www.aikida.net
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 323
Location: Australia

PostPosted: Tue Jan 28, 2003 9:36 pm    Post subject: Reply with quote

I am pretty sure all you need to add in your modules.autoload file is NVdriver for it to load up on startup.

Check out the Gentoo Linux Desktop guide, and the Nvidia Troubleshooting to get yourself squared away on how it all works.
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
blofeld
n00b
n00b


Joined: 21 Jan 2003
Posts: 36
Location: Vienna

PostPosted: Wed Jan 29, 2003 12:41 am    Post subject: Reply with quote

If you've emerged nvidia-kernel and nvidia-glx there should be
a /etc/modules.d/nvidia

The contents should be

alias char-major-195 NVdriver
alias /dev/nvidiactl char-major-195

probably if you've tried the 4191 drivers and then went back to the 3123 drivers the line would say

alias char-major-195 nvidia

change this back to NVdriver and run update-modules.

hth
Back to top
View user's profile Send private message
chatgris
Guru
Guru


Joined: 14 Oct 2002
Posts: 383
Location: Canada

PostPosted: Wed Jan 29, 2003 1:18 am    Post subject: Reply with quote

I already had

alias char-major-195 NVdriver

but not


alias /dev/nvidiactl char-major-195

As soon as KDE is done compiling (even though the words soon and KDE compile should never appear in the same sentence :wink: ) I'll try restarting and see if that helped.
_________________
Open your mind. Open your source.

Due credit for avatar from http://www.aikida.net
Back to top
View user's profile Send private message
nalin
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 172
Location: Long Beach

PostPosted: Wed Jan 29, 2003 5:19 am    Post subject: Reply with quote

I had the same problem, screwed some things up, reinstalled a bunch of crap and suddonly nvidia required modprobe NVdriver or x wouldnt launch.

The fix worked great for me, thx
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 29, 2003 5:28 am    Post subject: Reply with quote

I just started having the same problem and I'm almost wondering if X has problems about the warning of the nvidia module tainting the kernel...
Is there anyway to turn those messages off? I don't care if it fixes this or not they are just annoying and I really don't care ;)
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
chatgris
Guru
Guru


Joined: 14 Oct 2002
Posts: 383
Location: Canada

PostPosted: Wed Jan 29, 2003 5:30 am    Post subject: Reply with quote

I don't think you can turn the error messages off at all..

In addition, I remember reading somewhere that the 2.6 series of kernels were not going to allow "tainted" modules to access the new high performance internals.
_________________
Open your mind. Open your source.

Due credit for avatar from http://www.aikida.net
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Wed Jan 29, 2003 5:34 am    Post subject: Reply with quote

chatgris wrote:
I don't think you can turn the error messages off at all..

In addition, I remember reading somewhere that the 2.6 series of kernels were not going to allow "tainted" modules to access the new high performance internals.


That seems like a horrible idea to me. I get the idea that they want to try to get the modules to be open sourced, but all crippling things for non-open modules does is restrict what linux users can do.

After all, isn't it better to have a company supporting their hardware with closed source modules, than not having any support at all?

</angry rant>
_________________
Shoot Pixels Not People

My GPG/PGP Public key
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum