[nvidia340] display hangs 10s on boot with nvidia-340

Bug #1973604 reported by ysfr
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
New
Undecided
Unassigned
ubuntu-drivers-common (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Since ubuntu-drivers-common 1:0.9.0~0.20.04.6,
system running kernel 5.4 & nvidia-340 will experience
10s useless delay on boot because
gpu-manager is waiting for nvidia-drm to load
& nvidia-drm is not built in with nvidia-340.

Several legacy nvidia cards are stuck to nvidia-340 & Kernel 5.4 as detailled in:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142/%7E/support-timeframes-for-unix-legacy-gpu-releases

See prior investigation in comments of
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1958488

Tags: focal nvidia
ysfr (ysfr)
affects: gdm3 (Ubuntu) → ubuntu-drivers-common (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: added: focal
tags: added: nvidia
Revision history for this message
jeremyszu (os369510) wrote :

Hi ysfr,

Would you please help to test this version?
https://launchpad.net/~os369510/+archive/ubuntu/lp1973604

Revision history for this message
ysfr (ysfr) wrote :

Hi jeremyszu,

your update proposal works like a charm !
Boot time is back to normal
(no more 10s delay stuck with gpu-manager.service/plymouth-quit-wait.service)

/var/log/gpu-manager.log exhibits
Has the system changed? No
can't access /run/u-d-c-nvidia-drm-was-loaded file
Takes 0ms to wait for nvidia udev rules completed.

instead of many "can't access /run/u-d-c-nvidia-drm-was-loaded file" lines
and Takes 10000ms to wait for nvidia udev rules completed.

Sounds VALID for me !

Revision history for this message
jeremyszu (os369510) wrote (last edit ):
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-drivers-common - 1:0.9.6.2

---------------
ubuntu-drivers-common (1:0.9.6.2) kinetic; urgency=medium

  [ Jeremy Szu ]
  * share/hybrid/gpu-manager.c:
    - Don't wait for nvidia-drm when dealing with nvidia-340
      (LP: #1973604).

  [ Ēriks Remess ]
  * UbuntuDrivers/kerneldetection.py:
    - Detect unsigned kernel images correctly.

  [ Alberto Milone ]
  * UbuntuDrivers/detect.py:
    - Make sure -open drivers have a lower priority.

 -- Alberto Milone <email address hidden> Thu, 11 Aug 2022 15:09:46 +0000

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Fix Released
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.