After upgrading to ubuntu 20.04 and installing nvidia driver, i can’t log in because of the endless login loop.
(lightDM, GTX 970, kernel 5.4.0-64)
before os upgrading, opengl and vulkan programs were working without any problems under ubuntu 14.4 and driver 364.
After upgrading to ubuntu 20.04, I tested 3 drivers, nvidia-390, 450 and 460. (460 is the recommended one by ubuntu-drivers)
commands used : $ sudo ubuntu-drivers autoinstall ( for 460)
$ sudo apt install nvidia-xxx ( for 450, 390 )
< Issue 1 > Endless login loop (except xfce4)
If i chose Unity, GNOME3, Ubuntu, … , All my login attempts are stuck in endless login loop.
But if i chose only XFCE4, login process worked. but the driver doesn’t seem to be installed properly.
$ glxinfo | grep "direct rendering"
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 99
Current serial number in output stream: 100
< Issue 2 > Missing package(s)
when I installed driver-460, nvidia-dkms package was not installed.
and when I installed driver-390 and 450, I found linux-modules-nvidia packages were not installed.
to sum up,
-
nvidia-driver-460
linux-modules-nvidia-460-5.4.0-64-generic (OK)
linux-modules-nvidia-460-generic (OK)
nvidia-dkms package (Not built) -
nvidia-driver-450
linux-modules-nvidia-450-5.4.0-64-generic (Not built)
linux-modules-nvidia-450-generic (Not built)
nvidia-dkms package (OK) -
nvidia-driver-390
linux-modules-nvidia-390-5.4.0-64-generic (Not built)
linux-modules-nvidia-390-generic (Not built)
nvidia-dkms package (OK)
So, I had to install the missing packages later myself. (sudo apt install xxx)
I tested with 2 kernel versions(5.4.0-62, 5.4.0-64), and the results were the same.
for the test, i rebuilt build essentials, and purge and install the related packages(dkms, lightdm, and all the gnome packages).
I attached the bug report for all the three cases. nvidia-smi result is also attached.
thanks,
jaden.
nvidia-bug-report_v460p.log.gz (343.2 KB)
nvidia-bug-report_v450.log.gz (359.5 KB)
nvidia-bug-report_v390.log.gz (195.0 KB)
nvidia-smi.txt (1.5 KB)