You are not logged in.

#1 2023-12-24 22:33:17

nachopro
Member
Registered: 2013-08-23
Posts: 78

[SOLVED] My PC doesn't wakeup from sleep.

Hello! I own a new computer from two weeks ago. An Arch install from scratch with XFCE4

CPU: AMD Ryzen 5 5600G (with iGPU disabled from BIOS)
Mobo: Gigabyte A520I AC
GPU: Nvidia Quadro P400
SSD: Crucial P3 500GB

The problem came when I installed the Nvidia Quadro P400. The system goes to sleep fine: The displays goes off, the keyboard backlight too and the case power led starts to blink.
When wakeup the computer (from keyboard or case power buttom) the power LED goes on, the CPU and GPU fan starts to spin, the keyboard backlight goes on but my displays keeps in sleep mode.
The system appears to be freezed, I can't switch to ttys nor restart it making a blind login and typing reboot nor poweroff.

I'm using the "nvidia" drivers, never installed the "nvidia-open".

Any advice? I'm stuck

Last edited by nachopro (2023-12-25 14:11:37)

Offline

#2 2023-12-24 23:09:31

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: [SOLVED] My PC doesn't wakeup from sleep.

I'm interested in where this thread goes.
I've reproduced this issue on Arch and Gentoo without finding a solution.

How do you put your system to sleep?

Running

echo mem > /sys/power/state

puts my system to sleep and hardware input wakes it up successfully in X11, even the screen.
Oddly though, this does not work from the TTY. The TTY doesn't wake up but running

startx

to start up my WM makes the screen wake up.

Something something Nvidia...

Offline

#3 2023-12-24 23:32:49

nachopro
Member
Registered: 2013-08-23
Posts: 78

Re: [SOLVED] My PC doesn't wakeup from sleep.

I put my system to sleep with XFCE Users Menu > Suspend or issuing systemctl suspend.

I enabled nvidia-suspend.service and nvidia-resume.service recommended here without success.

Sometimes I can wake up the system after 30 seconds or so, but the interface (xfce) loses window decorations or elements making it unsuable, as if the vram is corrupted.

Here installed packages:

linux 6.6.8.arch1-1
linux-headers 6.6.8.arch1-1
nvidia 545.29.06-7

Offline

#4 2023-12-25 10:03:47

seth
Member
Registered: 2012-09-03
Posts: 53,890

Re: [SOLVED] My PC doesn't wakeup from sleep.

There're multiple reports about most likely 545xx causing S3 issues, try to install the 535xx versions of nvidia-dkms and -utils from the https://wiki.archlinux.org/title/Ala

Offline

#5 2023-12-25 14:11:18

nachopro
Member
Registered: 2013-08-23
Posts: 78

Re: [SOLVED] My PC doesn't wakeup from sleep.

Thank you Seth!

I executed:

sudo pacman -U https://archive.archlinux.org/packages/n/nvidia-dkms/nvidia-dkms-535.98-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/n/nvidia-utils/nvidia-utils-535.98-1-x86_64.pkg.tar.zst

And now suspend works fine!

The only issue is related to the TTY, It doesn't detect the correct resolution but I guess that i can solve it reading a little more!

Thank you again!

Offline

Board footer

Powered by FluxBB