Ubuntu 18.04 Login Loop with nvidia-440.44 and gdm3


After I would type in my password the screen goes black and after a while it jumps back to the login screen. I have Ubuntu 18.04, with an RTX 2080, and I installed nvidia-driver-440, and the current version is 440.44. nvidia-smi works fine. I have gdm3 but I have also tried lightdm

I have tried solutions from other posts of the same problem but to no avail. Here are things I have tried:

sudo prime-select nvidia

added nogpumanager to kernel

I’ve added /etc/X11/xorg.conf
Section “Device”
Identifier “intel”
Driver “modesetting”
BusID “PCI:0:2:0”

Commented out
#blacklist nouveau
#options nouveau modeset=0
in nvidia-installer-disable-nouveau.conf in /etc/modprobe.d

Updated hwe:
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

Would appreciate the help.
nvidia-bug-report.log.gz (280 KB)