Monday, October 07, 2019

X windows issues after CUDA install, resolved

Since my machine is supposed to have a GeForce GT 330M according to lspci, I thought I could try out the old version of CUDA SDK - apparently version 6.5 is the last one to support the GT 330M. The deb was supposed to be for Ubuntu 14.04, and I was running Linux Mint 18.1 based on Ubuntu 16.04. The deb and the apt-get install ran without any complaints. But ...

The build of examples worked, but the the cuda compatible nvidia card was not detected. And, after a restart, X did not come up.

Possible culprit was the NVidia driver for the older 14.04 kernel, which probably needed to be removed and so on. After some googling and some trial and error, the following method worked -

sudo apt purge nvidia*
sudo apt-get update 
sudo apt-get autoremove
sudo apt-get upgrade
sudo apt-get install --reinstall xserver-xorg-core
sudo apt-get install --reinstall xserver-xorg-video-nouveau

and a reboot. 

No comments:

Post a Comment