Public bug reported:

Ubuntu 24.04, kernel 7.0.0-30-generic, nvidia-driver-580 580.173.02,
Quadro P1000, GNOME Wayland.

mem_sleep_default=deep is active and cat /sys/power/mem_sleep reports
s2idle [deep].

Deep suspend normally works and completed successfully twice on the same
boot. On a later suspend attempt, userspace freezing timed out after 20
seconds because gnome-shell was executing inside the proprietary NVIDIA
DRM/NVKMS stack:

Freezing user space processes failed after 20.005 seconds
task:gnome-shell
...
nvkms_call_rm
__nv_drm_gem_nvkms_map
__nv_drm_gem_nvkms_mmap
nv_drm_mmap

Subsequently nvidia-sleep.sh became blocked on an NVIDIA rw-semaphore
reported by the kernel as likely owned by gnome-shell, followed by:

Failed to map NvKmsKapiMemory
Lost display notification
Idling display engine timed out

Suspend then failed and required SysRq REISUB.

Switching from s2idle to deep fixed a separate reliable NVIDIA resume
failure, but this intermittent pre-suspend GNOME/NVKMS deadlock still
occurs with deep.

NVIDIA upstream thread: https://forums.developer.nvidia.com/t/sometimes-
unable-to-suspend-os-failed-to-map-nvkmskapimemory/332167/12

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 7.0.0-30.30~24.04.1-generic 7.0.12
Uname: Linux 7.0.0-30-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.fabric-imex-mgmt:
 DeviceFileMinor: 4323
 DeviceFileMode: 256
 DeviceFileModify: 1
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.02.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.173.02  Tue Jun 23 
08:38:17 UTC 2026
 GCC version:
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 27 14:16:00 2026
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
GraphicsCard:
 NVIDIA Corporation GP107GL [Quadro P1000] [10de:1cb1] (rev a1) (prog-if 00 
[VGA controller])
   Subsystem: NVIDIA Corporation GP107GL [Quadro P1000] [10de:11bc]
InstallationDate: Installed on 2025-04-03 (511 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
MachineType: Supermicro SYS-5038A-I
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-30-generic 
root=UUID=4f4d4aae-6400-42f9-98aa-a38f25f0f639 ro quiet splash 
nvidia-drm.modeset=1 usbcore.autosuspend=-1 mem_sleep_default=deep vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/24/2018
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2.1a
dmi.board.asset.tag: Default string
dmi.board.name: X10SRA
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 1
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2.1a:bd10/24/2018:br5.11:svnSupermicro:pnSYS-5038A-I:pvr0123456789:rvnSupermicro:rnX10SRA:rvr1.01:cvnSupermicro:ct1:cvr0123456789:skuDefaultstring:pfaDefaultstring:
dmi.product.family: Default string
dmi.product.name: SYS-5038A-I
dmi.product.sku: Default string
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.125-1ubuntu0.1~24.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 25.2.8-0ubuntu0.24.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2ubuntu0.1

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


** Tags: amd64 apport-bug noble ubuntu wayland-session

** Description changed:

  Ubuntu 24.04, kernel 7.0.0-30-generic, nvidia-driver-580 580.173.02,
  Quadro P1000, GNOME Wayland.
  
  mem_sleep_default=deep is active and cat /sys/power/mem_sleep reports
  s2idle [deep].
  
  Deep suspend normally works and completed successfully twice on the same
  boot. On a later suspend attempt, userspace freezing timed out after 20
  seconds because gnome-shell was executing inside the proprietary NVIDIA
  DRM/NVKMS stack:
  
  Freezing user space processes failed after 20.005 seconds
  task:gnome-shell
  ...
  nvkms_call_rm
  __nv_drm_gem_nvkms_map
  __nv_drm_gem_nvkms_mmap
  nv_drm_mmap
  
  Subsequently nvidia-sleep.sh became blocked on an NVIDIA rw-semaphore
  reported by the kernel as likely owned by gnome-shell, followed by:
  
  Failed to map NvKmsKapiMemory
  Lost display notification
  Idling display engine timed out
  
  Suspend then failed and required SysRq REISUB.
  
  Switching from s2idle to deep fixed a separate reliable NVIDIA resume
  failure, but this intermittent pre-suspend GNOME/NVKMS deadlock still
  occurs with deep.
  
- NVIDIA upstream thread: https://forums.developer.nvidia.com/t/trouble-
- suspending-with-510-39-01-linux-5-16-0-freezing-of-tasks-failed-
- after-20-009-seconds/200933
+ NVIDIA upstream thread: https://forums.developer.nvidia.com/t/sometimes-
+ unable-to-suspend-os-failed-to-map-nvkmskapimemory/332167/12
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 7.0.0-30.30~24.04.1-generic 7.0.12
  Uname: Linux 7.0.0-30-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.capabilities.fabric-imex-mgmt:
-  DeviceFileMinor: 4323
-  DeviceFileMode: 256
-  DeviceFileModify: 1
+  DeviceFileMinor: 4323
+  DeviceFileMode: 256
+  DeviceFileModify: 1
  .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
  .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
  .proc.driver.nvidia.gpus.0000.02.00.0: Error: path was not a regular file.
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
-  NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.173.02  Tue Jun 23 
08:38:17 UTC 2026
-  GCC version:
+  NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.173.02  Tue Jun 23 
08:38:17 UTC 2026
+  GCC version:
  ApportVersion: 2.28.3-0ubuntu0.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Aug 27 14:16:00 2026
  DistUpgraded: Fresh install
  DistroCodename: noble
  DistroVariant: ubuntu
  GraphicsCard:
-  NVIDIA Corporation GP107GL [Quadro P1000] [10de:1cb1] (rev a1) (prog-if 00 
[VGA controller])
-    Subsystem: NVIDIA Corporation GP107GL [Quadro P1000] [10de:11bc]
+  NVIDIA Corporation GP107GL [Quadro P1000] [10de:1cb1] (rev a1) (prog-if 00 
[VGA controller])
+    Subsystem: NVIDIA Corporation GP107GL [Quadro P1000] [10de:11bc]
  InstallationDate: Installed on 2025-04-03 (511 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: Supermicro SYS-5038A-I
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-30-generic 
root=UUID=4f4d4aae-6400-42f9-98aa-a38f25f0f639 ro quiet splash 
nvidia-drm.modeset=1 usbcore.autosuspend=-1 mem_sleep_default=deep vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/24/2018
  dmi.bios.release: 5.11
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2.1a
  dmi.board.asset.tag: Default string
  dmi.board.name: X10SRA
  dmi.board.vendor: Supermicro
  dmi.board.version: 1.01
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 1
  dmi.chassis.vendor: Supermicro
  dmi.chassis.version: 0123456789
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2.1a:bd10/24/2018:br5.11:svnSupermicro:pnSYS-5038A-I:pvr0123456789:rvnSupermicro:rnX10SRA:rvr1.01:cvnSupermicro:ct1:cvr0123456789:skuDefaultstring:pfaDefaultstring:
  dmi.product.family: Default string
  dmi.product.name: SYS-5038A-I
  dmi.product.sku: Default string
  dmi.product.version: 0123456789
  dmi.sys.vendor: Supermicro
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.125-1ubuntu0.1~24.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 25.2.8-0ubuntu0.24.04.2
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2ubuntu0.1

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

Title:
  GNOME Shell intermittently refuses to freeze during suspend while
  blocked in NVIDIA NVKMS with nvidia-driver-580

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2165319/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to