How to ensure nvidia_current module loads during boot

Posted by Aras on Ask Ubuntu See other posts from Ask Ubuntu or by Aras
Published on 2012-10-26T09:38:55Z Indexed on 2012/10/26 11:17 UTC
Read the original article Hit count: 235

Filed under:
|

I am running Ubuntu 12.10 on an Asus G75V laptop with nvidia gforce GTX 660M. I first run 12.04 on this machine and was able to install nvidia_current drivers from swat ppa:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current 

This worked in 12.04 and after rebooting the machine my graphics where working properly. After upgrade to 12.10 however, the machine boots into a low resolution desktop which I can not really interact with. I suspect this is due to the driver not being loaded properly. To fix this, I have to switch to ctrl+alt+F1 session and manually load the nvidia_current module and restart the desktop manager:

sudo modprobe nvidia_current
sudo service lightdm restart

Now everything works fine again. However, I would like not to have to do this every time I reboot the machine. I also dont want to hack an script to do this on load. Basically, if things are setup currectly, the nvidia_current driver which is installed should load. How can I make sure nvidia_current driver module loads properly when system starts?

© Ask Ubuntu or respective owner

Related posts about nvidia

Related posts about 12.10