I've had Ubuntu running for the past few days without any issues. I was prompted by the built-in software updater to update some Nvidia drivers so I shrugged and went ahead with the update. When the update was done, I was told that there were some firmware changes made and I had to set a password which I then had to re-enter when the device boots. I went ahead, rebooted, entered the password (once).
When the device booted up, I could no longer log in. The desktop environment (running GNOME) crashes immediately and I'm back to the login screen.
After some messing around, the following brought me back to the desktop and fixes the issue. (Its a optimus laptop)
$ sudo prime-select intel
Switching it back to nvidia
reintroduces the issue. I've reinstalled the drivers from the nvidia ppa (396.54) but the issue persists. I'm currently running 396.54.
Running $ nvidia-settings
while on prime-select intel
, I get the output:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
and on prime-select nvidia
(in the tty), I get something along the lines of:
Unable to init server: Could not connect: Connection refused
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
At the moment, I cannot utilize my discrete GPU at all. Should I somehow go about a full purge of all nvidia related packages? Here are my Xorg.0.logs if it helps: https://pastebin.com/9CAaTiUq.
I'm running Ubuntu 18.04 LTS on my Surface Book 2 with some custom kernels from Jakeday https://github.com/jakeday/linux-surface.