It seems to not login automatically or get X session after installing Nvidia-driver

Bug #1995618 reported by Kevin Yeh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.15 (Ubuntu)
New
High
Unassigned
Bionic
New
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
nvidia-graphics-drivers-520 (Ubuntu)
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned
ubuntu-drivers-common (Ubuntu)
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
New
Undecided
Unassigned

Bug Description

During SRU testing, I found some machines kept failing to run switching graphic card test.
According to the output from the test run, those machines seem to not login automatically or can't get X session somehow.

Now I can't check the status of machines directly, but my guessing is base on the output from our test case, it showed "Can't open display :0" and "Gtk couldn't be initialized. Use Gtk.init_check() ".

I met this issue on there different machine which I can get log from them so far, there are other machines have this issue but I can't get the log.

Our testing always use ubuntu-driver install to install nvidia-driver.

https://certification.canonical.com/hardware/202004-27810/
https://certification.canonical.com/hardware/202004-27811/
https://certification.canonical.com/hardware/201904-26941/

Kernel version:5.15.0-53-generic
Nvidia driver: nvidia-driver-520-open

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.15.0-53-generic 5.15.0-53.59~20.04.1
ProcVersionSignature: Ubuntu 5.15.0-53.59~20.04.1-generic 5.15.64
Uname: Linux 5.15.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Nov 3 10:55:26 2022
InstallationDate: Installed on 2020-08-03 (821 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-5.15
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :
summary: - It seems not to auto login or get X session after installing Nvidia-
- driver
+ It seems to now login automatically or get X session after installing
+ Nvidia-driver
summary: - It seems to now login automatically or get X session after installing
+ It seems to not login automatically or get X session after installing
Nvidia-driver
Revision history for this message
Alberto Milone (albertomilone) wrote :

Hi Kevin, the 520-open driver does not support running a desktop environment yet. Can you attach the output of the following command, please?

ubuntu-drivers debug

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Kevin Yeh (kevinyeh) wrote :

Hi Alberto
Please find the log and console-log in our test job in the attachment.

Revision history for this message
Alberto Milone (albertomilone) wrote :

The problem here is that ubuntu-drivers-common in Focal is too old, and does not include code to handle the -open driver series. This needs an SRU.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.