Display glitch after resume on Wayland if boot vga is nvidia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Confirmed
|
Critical
|
jeremyszu | ||
gdm3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-drivers-common (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[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)
Pieces of log
```
四 14 22:55:10 kernel: NVRM: GPU at PCI:0000:01:00: GPU-581d669f-
四 14 22:55:10 kernel: NVRM: Xid (PCI:0000:01:00): 13, pid=798, Graphics Exception: Shader Program Header 18 Error
四 14 22:55:10 kernel: NVRM: Xid (PCI:0000:01:00): 13, pid=798, Graphics Exception: ESR 0x405840=0x82040000
四 14 22:55:10 kernel: NVRM: Xid (PCI:0000:01:00): 13, pid=798, Graphics Exception: ESR 0x405848=0x80000000
四 14 22:55:10 kernel: NVRM: Xid (PCI:0000:01:00): 13, pid=1270, Graphics Exception: ChID 0010, Class 0000c597, Offset 00000000, Data 00000000
```
For GDM, it needs at least
https:/
to protect issue happens.
For Mutter, a related patch is
https:/
could cover if nvidia is secondary GPU.
For nvidia-driver, u-d-c, we need to follow
https:/
to setup the parameters after some checks.
I appended the parameters:
options nvidia NVreg_Temporary
options nvidia NVreg_PreserveV
and then the problem solved.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
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.
This was worked around with gdm3 42.0-1ubuntu4 (which caused a regression but will be fixed in 42.0-1ubuntu5)
Maybe we want to use a different bug to track the Nvidia drivers needing to be updated to support suspend and resume correctly so that Wayland can be offered again? I suggest https:/ /launchpad. net/bugs/ 1968929