You are not logged in.

#1 2023-12-22 23:58:29

aksh53
Member
Registered: 2023-12-22
Posts: 3

PC wakes up but screen not waking up from suspend | Nvidia graphics

Hi everyone,

My screen is not waking up after I run the command "systemctl suspend". It says "No signal, going to sleep".
PC wakes up as I move my mouse or press any key on the keyboard. It goes to sleep again as well when i press "sleep" key combination on keyboard.

I am using nvidia-lts and linux-lts

I have tried the option  "use Nvidia graphics only" from this wiki: https://wiki.archlinux.org/title/NVIDIA … phics_only
I have tried adding "preserve memory after suspend" from this wiki: https://wiki.archlinux.org/title/NVIDIA … er_suspend

Finally I need to restart my PC to get the screen back. Can someone please support in resolving this issue?

Below are the details:

OS: Arch Linux x86_64
Kernel: 6.1.69-1-lts
Shell: bash 5.2.21
CPU: Intel i3-4130 (4) @ 3.400GHz
GPU: NVIDIA GeForce GTX 970

dmesg saved before suspend: http://0x0.st/Hgfn.txt
dmesg saved after suspend: http://0x0.st/Hgf7.txt

xinitrc : http://0x0.st/HgOf.txt

"journalctl -b" output: http://0x0.st/HgOX.txt
journalctl of past 6 hours : http://0x0.st/HgOb.txt

2 modprobe files:
nvidia-disable-nouveau: http://0x0.st/oRVM.txt
nvidia-power-management: http://0x0.st/HgOS.txt

"lspci -v | grep nvidia" output:
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

Please let me know if any other details are needed.

Thanks

Offline

#2 2023-12-23 08:19:34

seth
Member
Registered: 2012-09-03
Posts: 63,326

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

xrander --setprovideroutputsource modesetting NVIDIA-0

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Do you run a compositor next to dwm?

Offline

#3 2023-12-23 11:48:45

aksh53
Member
Registered: 2023-12-22
Posts: 3

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

Yes, I am running a compositor. Should I remove that ?

I have two files in ".local/share/xorg:

Xorg.0.log:  http://0x0.st/HgJ4.txt
Xorg.1.log:  http://0x0.st/HgJJ.txt

Offline

#4 2023-12-23 13:57:58

obap74
Member
Registered: 2021-03-18
Posts: 97

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

Was it working fine before? If so, sounds very similar to this (ignore the original PreserveVideoMemoryAllocations discussion).

A couple of GTX 970 users including myself reported that resuming from suspend is broken with NVIDIA 545 drivers and 6.6 kernel.

For now I've been using linux-lts with these NVIDIA packages instead of nvidia-lts:

and resuming from suspend works consistently. This isn't specific to Arch because I'm getting the exact behavior on my Gentoo install (same machine).

Offline

#5 2023-12-23 23:28:24

seth
Member
Registered: 2012-09-03
Posts: 63,326

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

Should I remove that?

Yes. Also try whether instead of sending the system to sleep you can switch the TTY.
If neither of that works, try the downgrade as suggested by obap74

Offline

#6 2023-12-24 21:48:06

aksh53
Member
Registered: 2023-12-22
Posts: 3

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

1. I removed compositor and then tried to wake up from suspend - screen did not wake up.
2. I can change TTY BEFORE suspend.
3. I am not able to tell if TTY is changing when PC wakes up from suspend as screen still does not wake up when i try to change TTY AFTER suspend.
4. I am trying to install the packages suggested by obap74 but the process fails and nvidia is not able to load kernel modules due to some conflict.

I am guessing the conflict is due to "nouveau" because Nvidia installer suggested that.

I have not installed nouveau or xf86-video-nouveau but I do have below mesa packages:
1. lib32-mesa 1:23.3.1-1
2. mesa 1:23.3.1-1
3. mesa-utils 9.0.0-3

I am using mesa because it is required by zoom.

"lspci -v | grep nvidia" output:
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

Is it possible that "nouveau" in kernel modules might be causing the issue ?

I am still running linux-lts and nvidia-lts.

Offline

#7 2023-12-24 22:02:24

seth
Member
Registered: 2012-09-03
Posts: 63,326

Re: PC wakes up but screen not waking up from suspend | Nvidia graphics

but the process fails and nvidia is not able to load kernel modules due to some conflict.

is contradicted by

"lspci -v | grep nvidia" output:
Kernel driver in use: nvidia

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual issues you're facing with the driver downgrade, the commands you run and the errors/messages you get. Verbatim.

Edit: https://wiki.archlinux.org/title/Dynami … le_Support
nb. that you'll need dkms and the header packages of all relevant kernels (eg. linux-lts-headers)

Last edited by seth (2023-12-24 22:03:29)

Offline

Board footer

Powered by FluxBB