PDA

View Full Version : [ubuntu] Pwned System with Nvidia OpenCL drivers



Buttink
November 23rd, 2009, 08:16 PM
Ok. I wanted to try and do some OpenCL stuff because it looks cool. So, I downloaded the driver and the SDK. I went to the recovery mode and logged into myself(so i didnt have xserver). Then, I ran the nvidia driver file. Now, my system cant do anything with graphics. When I start up, it will complain about xserver failing because of nvidia drivers.

GAR! Iv tried all sorts of stuff like ...

dpkg-reconfigure -phigh xserver-xorg
and something else that involved nvidia-kernel (i cant find the page anymore)

Iv read some stuff like in this forum there is the "Latest Nvidia Drivers" but idk if that applies to me. Well if anyone has actually done this or knows how to fix this, help would be awesome.

Buttink
November 24th, 2009, 05:33 AM
nobody? anything just to revert after nvidia driver install

richiekAL
November 25th, 2009, 12:23 PM
The issue here is that Ubuntu is still trying to override the Hardware Drivers settings even though you've already installed your own version. So, you've got two options:
1. Fix the custom installation
* log in with whatever graphics mode is necessary.
* Go to System -> Administration -> Hardware Drivers, and deactivate the Ubuntu-maintained driver installation.
* Now kill your xsession and re-install the custom nvidia driver. All should work!

2. Revert back to Ubuntu-maintained driver
Any of these steps may be redundant, but this worked for me.
Firstly, uninstall the nvidia driver (be sure to kill the xserver first)
% sudo sh {nvidia-driver-installation-file}.run --uninstall
Now, in my case I used to be runnint v185 of the drivers, but this has recently upgraded to v190.
Try:
% sudo apt-get --reinstall install nvidia-glx-190-dev
and hopefully it will work.
Next do:
% sudo nvidia-xconfig -A
% sudo reboot

And hopefully now you're back in business... either way!