[nvidia] Screen freeze or corrupted/missing textures when switching users, switching VTs or resuming from suspend
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| GNOME Shell |
New
|
Unknown
|
|||
| GTK+ |
New
|
Unknown
|
|||
| Mutter |
Fix Released
|
Unknown
|
|||
| OEM Priority Project |
Confirmed
|
Critical
|
Unassigned | ||
| Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Daniel van Vugt | ||
| gnome-shell (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
| Noble |
Fix Released
|
Undecided
|
Unassigned | ||
| gtk4 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
| Noble |
Confirmed
|
Undecided
|
Unassigned | ||
| mutter (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
| Noble |
Fix Released
|
Undecided
|
Daniel van Vugt | ||
| nvidia-graphics-drivers-535 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
| Noble |
Triaged
|
High
|
Unassigned | ||
| nvidia-graphics-drivers-570 (Ubuntu) |
Fix Released
|
High
|
Alessandro Astone | ||
| Noble |
Triaged
|
High
|
Unassigned | ||
| Plucky |
Won't Fix
|
Undecided
|
Unassigned | ||
| Questing |
Fix Released
|
High
|
Alessandro Astone | ||
| nvidia-graphics-drivers-575 (Ubuntu) |
Fix Released
|
High
|
Alessandro Astone | ||
| Noble |
Invalid
|
Undecided
|
Unassigned | ||
| Plucky |
Invalid
|
Undecided
|
Unassigned | ||
| Questing |
Fix Released
|
High
|
Alessandro Astone | ||
| nvidia-graphics-drivers-580 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Noble |
Fix Released
|
High
|
Unassigned | ||
Bug Description
[Impact]
The Nvidia driver corrupts and/or forgets its textures when resuming from suspend, by design. Documented here:
https:/
*NOTE* that this is actually not a common problem because the system must be using Nvidia as the primary GPU to be affected. So generally only desktop users will encounter the bug, not laptops. And even then, only desktops that use suspend/resume or VT switching may trigger it, if ever.
Some components of the desktop implement the OpenGL extension which would signal that it is necessary to re-load the textures into memory.
Some other components, namely GTK4 and Flutter applications, do not implement this extension, and thus display graphical artifacts after resuming from suspend.
To address the problem at a driver level, we are going to enable the driver option "PreserveVideoM
There is no risk of other processes messing with the stored memory contents, because it is saved to an unlinked file, and only the driver has its inode open.
[Test Plan]
1. Set up Ubuntu 24.04 on a desktop machine with an NVIDIA GPU
2. Install the driver version being tested, for example:
$ sudo apt install nvidia-driver-570
3. Reboot the system
4. Log-in to Ubuntu
+ Ensure that you logged-in to an X.org session, by verifying that
`echo $XDG_SESSION_TYPE` returns the string "x11"
5. Open Nautilus and App Center
7. Suspend the machine
8. Resume
9. Verify that the previously opened Nautilus and App Center windows do not show
any graphical artifacts
[Where problems could occur]
When testing in Sept 2024, the "PreserveVideoM
The driver would crash upon resume, locking the system, possibly even preventing ssh access. The only recovery option would be to forcefully reboot the system.
[Original Bug Report]
I recently installed ubuntu 20.04 on my computer, and I am running into an issue when I do the following:
* Login with a user on desktop
* Select switch user, and login as second user
* Switch user again, and return to original user
At this point, text and icons in the menubar / sidebar are corrupted. Text and icons in normal windows appear correctly. I have attached a screenshot of what this looks like.
Screenshots: https:/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-28-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
GCC version:
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun May 3 18:12:45 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:85a0]
InstallationDate: Installed on 2020-05-03 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Gigabyte Technology Co., Ltd. AX370-Gaming
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/19/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F3
dmi.board.
dmi.board.name: AX370-Gaming-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: se1
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: AX370-Gaming
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
| summary: |
- Corrupted fonts in display output when using multiple users + [nvidia] Corrupted fonts in display output when using multiple users |
| affects: | xorg (Ubuntu) → mutter (Ubuntu) |
| tags: | added: nvidia |
| summary: |
- [nvidia] Corrupted fonts in display output when using multiple users + [nvidia] Corrupted shell textures when using multiple users |
| summary: |
- [nvidia] Corrupted shell textures when using multiple users + [nvidia] Corrupted shell textures when switching users or resuming from + suspend |
| Changed in gnome-shell (Ubuntu): | |
| status: | New → Confirmed |
| Changed in mutter (Ubuntu): | |
| status: | New → Confirmed |
| Changed in gnome-shell (Ubuntu): | |
| status: | Confirmed → Invalid |
| Changed in mutter (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Triaged |
| Changed in gnome-shell (Ubuntu): | |
| status: | Invalid → Triaged |
| Changed in gnome-shell (Ubuntu): | |
| importance: | Undecided → High |
| Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
| status: | New → Confirmed |
| summary: |
- [nvidia] Corrupted shell textures when switching users or resuming from - suspend + [nvidia] Corrupted/missing shell textures when switching users or + resuming from suspend |
| Changed in nvidia-graphics-drivers-510 (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: resume suspend-resume |
| description: | updated |
| description: | updated |
| Changed in nvidia-graphics-drivers-510 (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Triaged |
| Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Triaged |
| Changed in nvidia-graphics-drivers-440 (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | Undecided → High |
| Changed in nvidia-graphics-drivers-460 (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Triaged |
| description: | updated |
| description: | updated |
| description: | updated |
| description: | updated |
| description: | updated |
| tags: | added: jammy |
| description: | updated |
| Changed in oem-priority: | |
| importance: | Undecided → Critical |
| status: | New → Confirmed |
| tags: | added: oem-priority |
| Changed in mutter: | |
| status: | Unknown → New |
| tags: | added: jellyfish-edge-staging |
| Changed in gnome-shell: | |
| status: | Unknown → New |
| Changed in mutter: | |
| status: | New → Fix Released |
| tags: | added: nvidia-wayland |
| tags: | added: kinetic |
| Changed in nvidia-graphics-drivers-525 (Ubuntu): | |
| importance: | Undecided → High |
| tags: | added: nvidia-wayland |
| tags: | removed: nvidia-wayland |
| Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in nvidia-graphics-drivers-525 (Ubuntu): | |
| status: | Confirmed → Triaged |
| summary: |
- [nvidia] Corrupted/missing shell textures when switching users or - resuming from suspend + [nvidia] Corrupted/missing shell textures when switching users, + switching VTs or resuming from suspend |
| Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| Changed in nvidia-graphics-drivers-525 (Ubuntu): | |
| status: | Triaged → Won't Fix |
| Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| Changed in nvidia-graphics-drivers-550 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in nvidia-graphics-drivers-560 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| importance: | Undecided → High |
| status: | New → Triaged |
| tags: | added: udeng-4774 |
| summary: |
- [nvidia] Corrupted/missing shell textures when switching users, - switching VTs or resuming from suspend + [nvidia] Corrupted/missing textures when switching users, switching VTs + or resuming from suspend |
| tags: | added: oracular |
| Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
| status: | Triaged → Won't Fix |
| description: | updated |
| Changed in nvidia-graphics-drivers-570 (Ubuntu): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| tags: | added: plucky |
| tags: | removed: kinetic |
| Changed in mutter (Ubuntu): | |
| assignee: | nobody → Daniel van Vugt (vanvugt) |
| status: | Triaged → In Progress |
| Changed in nvidia-graphics-drivers-570 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| tags: | added: nvidia-wayland |
| description: | updated |
| Changed in ubuntu-release-notes: | |
| status: | New → Fix Released |
| assignee: | nobody → Daniel van Vugt (vanvugt) |
| Changed in nvidia-graphics-drivers-570 (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in nvidia-graphics-drivers-470 (Ubuntu): | |
| assignee: | Alessandro Astone (aleasto) → nobody |
| Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
| assignee: | Alessandro Astone (aleasto) → nobody |
| status: | Triaged → Won't Fix |
| Changed in nvidia-graphics-drivers-550 (Ubuntu): | |
| assignee: | Alessandro Astone (aleasto) → nobody |
| status: | Triaged → Won't Fix |
| Changed in nvidia-graphics-drivers-560 (Ubuntu): | |
| assignee: | Alessandro Astone (aleasto) → nobody |
| status: | Triaged → Won't Fix |
| no longer affects: | nvidia-graphics-drivers-440 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-460 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-510 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-525 (Ubuntu) |
| Changed in nvidia-graphics-drivers-570 (Ubuntu): | |
| milestone: | none → ubuntu-25.10 |
| summary: |
- [nvidia] Corrupted/missing textures when switching users, switching VTs - or resuming from suspend + [nvidia] Screen freeze or corrupted/missing textures when switching + users, switching VTs or resuming from suspend |
| Changed in nvidia-graphics-drivers-575 (Ubuntu): | |
| assignee: | nobody → Alessandro Astone (aleasto) |
| importance: | Undecided → High |
| status: | New → Triaged |
| milestone: | none → ubuntu-25.10 |
| Changed in nvidia-graphics-drivers-575 (Ubuntu): | |
| status: | Triaged → Fix Committed |
| no longer affects: | nvidia-graphics-drivers-470 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-535 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-550 (Ubuntu) |
| no longer affects: | nvidia-graphics-drivers-560 (Ubuntu) |
| Changed in nvidia-graphics-drivers-575 (Ubuntu Questing): | |
| status: | Fix Committed → Fix Released |
| Changed in nvidia-graphics-drivers-535 (Ubuntu): | |
| status: | New → Invalid |
| Changed in nvidia-graphics-drivers-535 (Ubuntu Noble): | |
| milestone: | none → ubuntu-24.04.4 |
| Changed in nvidia-graphics-drivers-580 (Ubuntu Noble): | |
| milestone: | noble-updates → ubuntu-24.04.4 |
| Changed in nvidia-graphics-drivers-570 (Ubuntu Noble): | |
| milestone: | none → ubuntu-24.04.4 |
| Changed in nvidia-graphics-drivers-575 (Ubuntu Noble): | |
| status: | New → Invalid |
| Changed in nvidia-graphics-drivers-570 (Ubuntu Plucky): | |
| status: | Triaged → Won't Fix |
| status: | Won't Fix → Invalid |
| status: | Invalid → Won't Fix |
| Changed in nvidia-graphics-drivers-575 (Ubuntu Plucky): | |
| status: | Triaged → Invalid |
| Changed in mutter (Ubuntu Noble): | |
| status: | New → Invalid |
| Changed in gnome-shell (Ubuntu Noble): | |
| status: | New → Invalid |
| Changed in nvidia-graphics-drivers-570 (Ubuntu Noble): | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| Changed in gtk: | |
| status: | Unknown → New |
| Changed in gnome-shell (Ubuntu Noble): | |
| status: | Invalid → Fix Released |
| Changed in mutter (Ubuntu Noble): | |
| assignee: | nobody → Daniel van Vugt (vanvugt) |
| status: | Invalid → Fix Released |
| Changed in nvidia-graphics-drivers-570 (Ubuntu Noble): | |
| status: | Confirmed → Triaged |
| Changed in nvidia-graphics-drivers-580 (Ubuntu Noble): | |
| status: | New → Triaged |
| Changed in nvidia-graphics-drivers-535 (Ubuntu Noble): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| description: | updated |
| description: | updated |
| tags: | added: jira-somerville-1372 |

I've seen the same issue with focal and System76 Stable PPA's 460.32. 03-1pop0~ 1611601564~ 20.04~11a4029~ dev nvidia packaging. All text was corrupted after waking from suspend but it has only occurred once so far.