You are not logged in.

#1 2023-08-18 15:49:48

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

[SOLVED] Monitors don't turn on after suspend

I'm running `systemctl suspend` from a TTY and when I wake my computer my monitors don't come back. I hear the fans turn on and my keyboard lights come back. Not really sure what info to post but I'm running an NVIDIA card on the latest nvidia-open drivers.

Last edited by Xenfo (2023-08-19 21:09:44)

Offline

#2 2023-08-18 18:30:03

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

Re: [SOLVED] Monitors don't turn on after suspend

nvidia-open

https://github.com/NVIDIA/open-gpu-kern … ue+suspend

Use the not-open nvidia driver.

Offline

#3 2023-08-18 23:29:28

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Monitors don't turn on after suspend

Nope, didn't work. I should mention that suspend was working before on both drivers, I'm not sure what happened.

Offline

#4 2023-08-19 05:42:16

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

Re: [SOLVED] Monitors don't turn on after suspend

Make sure this isn't just a compositor, try to switch the TTY; in general try to suspend/resume from the multi-user.target (2nd link below) and get a journal for that boot: don't reboot w/ the power button, try ctrl+alt+del (frenetically press it until systemd restarts) or in doubt the https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

Offline

#5 2023-08-19 16:39:56

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Monitors don't turn on after suspend

I tried many tty's and multi-user.target without success. This is my journal: https://0x0.st/HLJe.txt.

Offline

#6 2023-08-19 19:51:14

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

Re: [SOLVED] Monitors don't turn on after suspend

Aug 19 12:33:17 arch kernel: NVRM kbusVerifyBar2_GM107: MMUTest BAR0 window offset 0x702000 returned garbage 0x0
Aug 19 12:33:17 arch kernel: NVRM nvAssertOkFailedNoLog: Assertion failed: Generic memory error [NV_ERR_MEMORY_ERROR] (0x00000072) returned from kbusVerifyBar2_HAL(pGpu, pKernelBus, NULL, NULL, 0, 0) @ kern_bus_gm107.c:457
Aug 19 12:33:17 arch kernel: NVRM nvAssertOkFailedNoLog: Assertion failed: Generic memory error [NV_ERR_MEMORY_ERROR] (0x00000072) returned from gpuStateLoad(pGpu, IS_GPU_GC6_STATE_EXITING(pGpu) ? GPU_STATE_FLAGS_PRESERVING | GPU_STATE_FLAGS_PM_TRANSITION | GPU_STATE_FLAGS_GC6_TRANSITION : GPU_STATE_FLAGS_PRESERVING | GPU_STATE_FLAGS_PM_TRANSITION) @ gpu_suspend.c:247
Aug 19 12:33:17 arch kernel: NVRM: GPU at PCI:0000:01:00: GPU-e78e4f3f-ebfb-6aa4-fc87-8e4a60eb99b3
Aug 19 12:33:17 arch kernel: NVRM: Xid (PCI:0000:01:00): 45, pid=231, name=modprobe, Ch 00000000
Aug 19 12:33:17 arch kernel: NVRM: Xid (PCI:0000:01:00): 45, pid=231, name=modprobe, Ch 00000001
Aug 19 12:33:17 arch kernel: NVRM rpcRmApiAlloc_GSP: GspRmAlloc failed: hClient=0xc1d00000; hParent=0x00010001; hObject=0x00010011; hClass=0x0000c670; paramsSize=0x00000000; paramsStatus=0x00000062; status=0x00000062
Aug 19 12:33:17 arch kernel: nvidia-modeset: ERROR: GPU:0: Failed to initialize display engine: 0x62 (Reset required [NV_ERR_RESET_REQUIRED])
Aug 19 12:33:17 arch kernel: NVRM serverFreeResourceTree: hObject 0x10011 not found for client 0xc1d00000
Aug 19 12:33:17 arch kernel: NVRM rpcRmApiAlloc_GSP: GspRmAlloc failed: hClient=0xc1d00000; hParent=0x00010001; hObject=0x00010011; hClass=0x0000c670; paramsSize=0x00000000; paramsStatus=0x00000062; status=0x00000062
Aug 19 12:33:17 arch kernel: nvidia-modeset: ERROR: GPU:0: Failed to initialize display engine: 0x62 (Reset required [NV_ERR_RESET_REQUIRED])
Aug 19 12:33:17 arch kernel: NVRM serverFreeResourceTree: hObject 0x10011 not found for client 0xc1d00000

https://github.com/NVIDIA/open-gpu-kern … issues/472
And now w/ the non-open variant, please - or at least try to disable that parameter.

Offline

#7 2023-08-19 20:29:51

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Monitors don't turn on after suspend

This is on proprietary drivers with preserve video memory off.
http://0x0.st/HLy3.txt

Offline

#8 2023-08-19 20:31:30

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

Re: [SOLVED] Monitors don't turn on after suspend

Aug 19 16:25:34 arch kernel: NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64  535.98  Release Build  (archlinux-builder@)  

No, it's not.

Edit: you clearly have the nvidia-open kernels in the initramfs and I'll bet your left and right arm that you're not getting this w/ the binary only drivers.

Last edited by seth (2023-08-19 20:32:51)

Offline

#9 2023-08-19 20:40:55

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Monitors don't turn on after suspend

Thank you, I didn't realize I had to regenerate the initramfs manually. Isn't it supposed to be auto regenerated by Pacman when installing the nvidia package?

Last edited by Xenfo (2023-08-19 20:41:33)

Offline

#10 2023-08-19 20:55:43

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

Re: [SOLVED] Monitors don't turn on after suspend

https://wiki.archlinux.org/title/NVIDIA#pacman_hook

Is the original problem gone?
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB