*** This bug is a duplicate of bug 1876632 ***
https://bugs.launchpad.net/bugs/1876632
Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 1876632, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.
** This bug has been marked a duplicate of bug 1876632
[nvidia] Corrupted/missing shell textures when switching users or resuming
from suspend
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1969142
Title:
Display glitch after resume on Wayland if boot vga is nvidia
Status in OEM Priority Project:
Confirmed
Status in gdm3 package in Ubuntu:
Fix Released
Status in ubuntu-drivers-common package in Ubuntu:
New
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-ec00-4588-ca5f-15ab24136974
四 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://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
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1969142/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp