TL;DR After closing my laptop lid and reopening it, the laptop freezes.
The screen shows this when I open it. The longer the lid remains closed, the more times these four lines are repeated. Exact same message, nothing changes except the time stamp at the beginning.
[11282.178642) PM: Some devices failed to suspend, or early wake event detected
[11285.420596] nvidia 0000:01:00.0: PM: pc1_pm_suspend () : nv_pmops_suspend+0xo/o×30 [nvidial returns -5
[11285.420795]. nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend+ox0/Ox1b0 returns -5
(11285.420809] nvidia 0000:01:00,0: PM: falled to suspend async: error -5
I have:
DELL XPS 17 w/Intel & Nvidia GTX3060
5.19.0-29-generic
Ubuntu 22.10
My GPU is working fine, I finally managed to fine-tune it and it is delivering high FPS in several programs. I also have CUDA installed.
systemctl | grep nvidia output:
sys-bus-pci-drivers-nvidia.device loaded active plugged /sys/bus/pci/drivers/nvidia
nvidia-persistenced.service loaded active running NVIDIA Persistence Daemon
nvidia-powerd.service loaded active running nvidia-powerd service
systemctl status nvidia-powerd output:
● nvidia-powerd.service - nvidia-powerd service
Loaded: loaded (/lib/systemd/system/nvidia-powerd.service; enabled; preset: enabled)
Active: active (running) since Sun 2023-02-26 15:22:42 +08; 1h 36min ago
Main PID: 1192 (nvidia-powerd)
Tasks: 3 (limit: 18790)
Memory: 30.2M
CPU: 1min 1.823s
CGroup: /system.slice/nvidia-powerd.service
└─1192 /usr/bin/nvidia-powerd
Feb 26 15:22:42 alex-XPS-17-9710 systemd[1]: Starting nvidia-powerd service...
Feb 26 15:22:42 alex-XPS-17-9710 /usr/bin/nvidia-powerd[1192]: nvidia-powerd version:1.0(buil>
Feb 26 15:22:42 alex-XPS-17-9710 /usr/bin/nvidia-powerd[1192]: Dbus Connection is established
Feb 26 15:22:42 alex-XPS-17-9710 systemd[1]: Started nvidia-powerd service.
nvidia-smi output:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.12 Driver Version: 525.85.12 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 Off | N/A |
| N/A 50C P8 10W / 60W | 376MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2413 G /usr/lib/xorg/Xorg 189MiB |
| 0 N/A N/A 2630 G /usr/bin/gnome-shell 43MiB |
| 0 N/A N/A 3506 G ...874833159661528172,131072 140MiB |
+-----------------------------------------------------------------------------+
inxi -Gxxx output:
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Dell
driver: nvidia v: 525.85.12 arch: Ampere pcie: speed: 2.5 GT/s lanes: 8
ports: active: none empty: DP-5, DP-6, DP-7, DP-8 bus-ID: 01:00.0
chip-ID: 10de:2520 class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-11:3 chip-ID: 0c45:6a11 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: gnome-shell v: 43.1 driver: X: loaded: modesetting,nvidia
gpu: i915 display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 102 s-size: 480x300mm (18.90x11.81")
s-diag: 566mm (22.28")
Monitor-1: eDP-1 mapped: eDP-1-1 model: Sharp 0x1518 res: 1920x1200
hz: 60 dpi: 133 size: 366x229mm (14.41x9.02") diag: 432mm (17")
modes: 1920x1200
OpenGL: renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 v: 4.6.0
NVIDIA 525.85.12 direct render: Yes
cat /proc/driver/nvidia/gpus/0000:01:00.0/power output:
Runtime D3 status: Enabled (fine-grained)
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Supported
Video Memory Off: Supported
I’ve done hours of research, and most of the information out there is outdated. The most recent one does not address my problem.
Can anyone help, please?
Thanks,
Alex