Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Possible to load updated nvidia module w/o rebooting?
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
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Thu Feb 12, 2009 8:27 pm    Post subject: Possible to load updated nvidia module w/o rebooting? Reply with quote

Is there a way to load an updated nvidia driver module without having to reboot? There's been a good pace of updates to nvidia-drivers recently, and while I usually just reboot to get the updated nvidia.ko module loaded, I'd like to avoid rebooting if unnecessary.

I should add that I run a KDE-3.5.10 desktop on top of Xorg.
Back to top
View user's profile Send private message
alunduil
Retired Dev
Retired Dev


Joined: 13 Mar 2005
Posts: 96
Location: San Antonio, TX, USA

PostPosted: Thu Feb 12, 2009 8:39 pm    Post subject: Reply with quote

If I'm not mistaken you should be able to just:

Code:
modprobe -r nvidia && modprobe nvidia


Then restart X and you should be in the new driver.

Regards,

Alunduil
Back to top
View user's profile Send private message
jettjunker
Apprentice
Apprentice


Joined: 10 Sep 2005
Posts: 267

PostPosted: Thu Feb 12, 2009 8:40 pm    Post subject: Reply with quote

I think if you just exit X (and stop KDM if you use that), then rmmod nvidia & modprobe nvidia, then restart X (or kdm and reenter KDE) you'll be good.
_________________
Core2Duo T7100 1.8 ghz mini-itx, Nvidia FX220: Gentoo/Gnome/CompizFusion:XGL
CoreDuo 1.83 ghz 13" Macbook, GMA 950: Ubuntu/Gnome/CompizFusion:AIGLX
Back to top
View user's profile Send private message
kite14
Apprentice
Apprentice


Joined: 07 Nov 2006
Posts: 216
Location: Italy

PostPosted: Thu Feb 12, 2009 9:33 pm    Post subject: Reply with quote

According to the "Gentoo Linux nVidia Guide", you just need to:
Code:
# lsmod | grep nvidia && rmmod nvidia
# modprobe nvidia
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Fri Feb 13, 2009 3:33 am    Post subject: Reply with quote

I think jettjunker has it right. If I try to unload or reload the nvidia module while in KDE and X, then I get a "Module nvidia is in use." error. I have to logout of KDE, stop KDM and X, reload the module, then jump back in to KDE. Which I was guessing would be the case. Just as well reboot then in most cases. It's only a workstation that can be rebooted. Just hate to give up that uptime. :)
Back to top
View user's profile Send private message
doctork
Guru
Guru


Joined: 25 Apr 2004
Posts: 370
Location: Cleveland, OH

PostPosted: Fri Feb 13, 2009 5:12 am    Post subject: Reply with quote

I used the procedure described by jetjunker about two hours ago. It worked fine, as witness I'm typing this message on that system.

doc
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