Comment 9 for bug 1876632

Revision history for this message
jeremyszu (os369510) wrote : Re: [nvidia] Corrupted/missing shell textures when switching users or resuming from suspend

Copied the finding from https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969142 since this bug is created long time.

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 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.

Tried 510.60 as well and the problem is persistent.