I have installed CUDA 6.5 in Ubuntu 14.04 and am using NVIDIA driver version 346.35 [Graphics Card NVIDIA GTX 960]. I have successfully compiled the sample codes that come with CUDA and they have been running perfectly. But today I did an auto update and after that Unity Desktop was running blank after login. I tried all suggestions given in the below post and it did not help me get back my desktop:
I also tried un-installing and re-installing lightdm
, Ubuntu desktop
, etc.... but nothing seems to work.
Most of the posts ask to purge everything related to NVIDIA and then reinstall NVIDIA driver again. Now for someone running CUDA it is my understanding that doing a purge on nvidia-* will remove the Nvidia driver as well as the CUDA installation, which would mean reinstalling everything all over again which is highly undesirable.
I have somehow managed to work around it by uninstalling the NVIDIA 346.35 driver and then reinstalling it again. But I am having to do this every time I update Ubuntu, which is again not handy at all. Can someone suggest a better solution which does not involve tinkering with the NVIDIA drivers or my CUDA installation?
To just unistall NVIDIA driver, I dropped to command console on login window by pressing Ctrl+Alt+F1 and ran the below command:
sudo ./NVIDIA-Linux-x86_64-346.35.run --uninstall
After it uninstalls run again:
sudo ./NVIDIA-Linux-x86_64-346.35.run
restart. This seems to have fixed the issue for now.
/
should be fine, keep/home
out of it. – Fabby Feb 26 '15 at 01:35.run
file with the command from your system withsudo ./NVIDIA-Linux-x86_64-346.35.run --uninstall
then do asudo add-apt-repository ppa:xorg-edgers/ppa
Thensudo apt-get update
to get the PPA's software list and then you're ready to install the 346 driver by:sudo apt-get install nvidia-346
... :-) – Fabby Mar 01 '15 at 07:05