I have a custom-built workstation (from early 2018) with NVIDIA GeForce GTX 1080 Ti. It's connected to one screen and a few USB devices.
It came with Ubuntu 16.04 preinstalled. The kernel I'm using is 4.15.0-66-generic. If I remember correctly I was using NVIDIA driver version 390 before; I've updated it to 440.26 since this problem started.
The setup was working fine until I recently updated to Ubuntu 18.04, and now it just hangs every time I boot. After the splash screen (ubuntu with 5 dots), it gets stuck with a bunch of log text (all "OK") blinking, with the last line:
[ OK ] Started GNOME Display Manager.aemon.ring daemon.rnel crash signatures.
(the part after "Display Manager" seems to be some garbled text from previous lines.)
The boot gets stuck with this screen blinking
What I've tried:
- Purging and reinstalling the NVIDIA driver. I did
apt-get remove --purge nvidia-*thenadd-apt-repository ppa:graphics-drivers/ppaandapt-get update,ubuntu-drivers autoinstall. What I have now,nvidia-440, is the recommended version for my GPU according toubuntu-drivers devices. - Purging and reinstalling
xorg-*xserver-xorg. - Enabling DRM mode setting. I added
nvidia-drm.modeset=1to the lineGRUB_CMDLINE_LINUX_DEFAULTin my/etc/default/gruband didupdate-grub. I've also triednomodeset, to no avail. - Using lightdm instead of gdm3, with
dpkg-reconfigure lightdm. When I reboot after this, the boot doesn't hang and I can reach the login screen, but then I get stuck in a login loop; permission settings of.Xauthoritywere fine, so I don't know what's wrong. (xdm gave me the same problem) - Checking
/etc/X11/xorg.conf. I initially didn't have one; creating one withnvidia-xconfigmade no difference. - Selecting a previous kernel
4.15.0-65-generic.
I still cannot boot or log in successfully.
My problem appears to be similar to gdm3 display manager hangs after booting with Ubuntu 18.10; however, I cannot disable my NVIDIA GPU because I need to use it for work (also, unlike that post lightdm doesn't work for me, as stated above). I also need the GUI for work.
This machine is indispensable to my work and I really need to fix this problem as soon as possible, but I am still quite inexperienced with Ubuntu and am at a loss what to do. Any help would be greatly appreciated.