Public bug reported:

[Steps to reproduce]
1. Install Jammy and dist-ugprade
2. systemctl suspend
3. press power button to resume

[Expect result]
system resume smoothly

[Actual result]
display glitch (please see the attachment)

For GDM, it needs at least
https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/171#note_1429657
to protect issue happens.

For Mutter, a related patch is
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2341/diffs
could cover if nvidia is secondary GPU.

For nvidia-driver, u-d-c, we need to follow
https://download.nvidia.com/XFree86/Linux-x86_64/510.54/README/powermanagement.html
to setup the parameters after some checks.

I appended the parameters:
options nvidia NVreg_TemporaryFilePath=/run
options nvidia NVreg_PreserveVideoMemoryAllocations=1

and then the problem solved.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Apr 14 23:51:06 2022
InstallationDate: Installed on 2022-04-14 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.gdm3.custom.conf: 2022-04-14T22:23:09.064003

** Affects: oem-priority
     Importance: Critical
     Assignee: jeremyszu (os369510)
         Status: Confirmed

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy jiayi nvidia oem-priority wayland

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969142

Title:
  Display glitch after resume on Wayland if boot vga is nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1969142/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to