Tuesday, November 21, 2017

nvidia drivers cause black screen on login on optimus laptop


I've been attempting to use caffe on my laptop and have been having problems installing the nvidia drivers (needed for the CUDA toolkit).


Unfortunately after switching to nvidia drivers in the "additional drivers" menu and rebooting, I get a black screen. I can still open the tty, however none of the solutions posted online have actually worked. (Most of them weren't even accepted by the OP too.)


Supposedly what I am supposed to do is install bumblebee, which installs fine without breaking ubuntu, but according to other threads here the proprietary nvidia drivers are needed to use cuda.


What am I doing wrong here?



My issue was that I was a,) not blacklisting nouveau correctly (probably not rebooting after blacklisting. I should read the docs better.)


In addition, the main culprit was that I did not set --no-opengl-libs. Since my machine has a switchable graphics card, having the runfile install them is apparently screwy. IDK why though.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...