惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
U
Unit 42
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog
C
Check Point Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
Vercel News
Vercel News
腾讯CDC
GbyAI
GbyAI
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
Microsoft Security Blog
Microsoft Security Blog
小众软件
小众软件

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
System fails to suspend: NVIDIA GPU PM error -5 (Preserve...
seth · 2026-06-11 · via Arch Linux Forums

#1 2026-06-11 05:10:03

besstsoft@gmail.com
Member
Registered: 2026-02-22
Posts: 22

System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

Hello everyone,

I'm experiencing an issue with my laptop failing to suspend. I left it on battery power for 15 minutes, and instead of sleeping, the screen froze with kernel panic/errors. This started happening after I enabled early KMS by adding nvidia nvidia_modeset nvidia_uvm nvidia_drm to the MODULES array in /etc/mkinitcpio.conf.

Hardware & Setup:

Laptop: ASUS VivoBook 15 X510UF

CPU: Intel Core i5-8250U

GPU: NVIDIA GeForce MX130 (Optimus)

OS/DE: Arch Linux, KDE Plasma 6 (Wayland)

[ 1283.710603] NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management' section in the driver README.
[ 1283.710620] nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
[ 1283.712651] nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
[ 1283.712670] nvidia 0000:01:00.0: PM: failed to suspend async: error -5
[ 1283.733727] PM: Some devices failed to suspend, or early wake event detected

Has anyone encountered this specific suspend issue after configuring Early KMS? The nvidia-suspend, nvidia-hibernate, and nvidia-resume services are enabled. Any guidance would be appreciated!

#2 2026-06-11 06:44:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

Please post your complete system journal for the boot:

sudo journalctl -b |  curl -s -H "Accept: application/json, */*" --upload-file - 'https://paste.c-net.org/'

https://wiki.archlinux.org/title/NVIDIA … er_suspend
nb.

The wiki wrote:

NVreg_PreserveVideoMemoryAllocations in the 430-590 series drivers), it enables saving all video memory (given enough space on disk or RAM). With 595+ drivers, it has been succeeded by the NVreg_UseKernelSuspendNotifiers=1

#3 2026-06-11 13:45:31

besstsoft@gmail.com
Member
Registered: 2026-02-22
Posts: 22

Re: System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

seth wrote:

Please post your complete system journal for the boot:

https://paste.c-net.org/ShuttersPlace/

#4 2026-06-11 15:02:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,030

Re: System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

smile
The implication was "covering such incident" - the journal doesn't contain a sleep attempt.

чер 11 16:23:27 archlinux kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  580.159.04  Wed Apr 29 17:32:45 UTC 2026
чер 11 16:23:26 archlinux kernel: Kernel command line: root=PARTUUID=4a94c7ce-f378-4b0d-9ed9-1e026506aa3b zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs quiet splash loglevel=3 usbcore.quirks=13d3:5a07:i acpi_osi="Windows 2015" nvidia_drm.modeset=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1

If would thus see the userspace services are not enbaled?

#5 Today 05:23:15

besstsoft@gmail.com
Member
Registered: 2026-02-22
Posts: 22

Re: System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

Thanks for the help earlier! I wanted to post an update because I just ran into a related system freeze during suspend.

I was watching a video on YouTube, stepped away from my laptop for about 30-40 minutes, and when I returned, it was stuck on a black screen. The system was completely unresponsive, and I had to perform a hard reset using the power button.

Here are the exact errors that were printed on the screen (I managed to take a photo):

NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
nvidia 0000:01:00.0: PM: failed to suspend async: error -5
PM: Some devices failed to suspend, or early wake event detected

The strange part is that after the hard reboot, I tried to check the journal for the previous boot to see what happened right before the freeze. I ran:

sudo journalctl -b -1 -k | grep -i "failed to suspend async"

...and the output was completely empty. Nothing about this kernel panic was written to the journal.

Has anyone experienced this specific issue where the NVIDIA suspend process fails like this but doesn't log the error? Any ideas why the journal would be empty in this case?

#6 Today 05:27:44

besstsoft@gmail.com
Member
Registered: 2026-02-22
Posts: 22

Re: System fails to suspend: NVIDIA GPU PM error -5 (PreserveVideoMemoryAl

After reading through the wiki link provided, I did some digging into my current setup.

First, I checked /proc/driver/nvidia/params and it turns out PreserveVideoMemoryAllocations is indeed already set to 1 out of the box by Arch Linux.

Regarding the required systemd services (nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service), I'm honestly not 100% sure if they were properly enabled at the time of the freeze. To be absolutely safe and rule this out, I have explicitly enabled them now:

sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service

I'll monitor the system over the next few days to see if ensuring these services are active completely resolves the random black screen issue during suspend. Thanks again for pointing me to that wiki section!