Ubuntu – What do you do when Nvidia-CUDA drivers break Ubuntu

cudanvidianvidia-optimusunity

I wanted to try some CUDA programming, so natually I installed all the Nvidia-CUDA* packages. After reboot, I can log in, but then there is only a black screen, and the cursor.

Even after I remove the packages from ctrl+alt+F2 terminal and reboot, I can't see anything after logging in – even as guest account.

Best Answer

The answer here copied from the wiki worked to fix it.

The question is, why do Ubuntu's official CUDA packages break everything? I filed a bug.