You are not logged in.

#1 2023-10-20 02:12:24

odror
Member
Registered: 2015-03-17
Posts: 147

[solved] System "Almost" crash" when waking up from suspend

I have new installation  of arch with all the latest updates. I use arch on zfs. The desktop is gnome

CPU: i9-13900k, MB: Asus Z790

Almost every  time the system does not wakeup properly from suspend. Sometimes I have to ssh from another computer to restart gdm. sometimes I have to reboot. On other times I cannot access the system from ssh. I have to force shutdown.

I have Ubuntu (on zfs) on another drive running on the same system with no suspend issues. It is clearly a software or setup issue.

I am seeing this issue almost always now, possibly because of the lasted kernel 6.5 update and gnome 45 update.

As far as I can tell I cannot see any useful information in journalctl.

Any ideas how to debug, solve or workaround this issue.

Thanks

Last edited by odror (2023-10-23 00:05:33)

Offline

#2 2023-10-20 06:52:23

seth
Member
Registered: 2012-09-03
Posts: 61,570

Re: [solved] System "Almost" crash" when waking up from suspend

As far as I can tell I cannot see any useful information in journalctl.

Neither can we…
There's not gonna be anything relevant after rebooting w/ the power button, https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
But if you get away w/ restarting GDM, the journal for that boot might still hint at the issue.

possibly because of the lasted kernel 6.5 update and gnome 45 update

Can you reliably suspend and resume from the multi-user.target (no GDM or gnome, 2nd link below)

Offline

#3 2023-10-21 00:00:11

odror
Member
Registered: 2015-03-17
Posts: 147

Re: [solved] System "Almost" crash" when waking up from suspend

When disabling graphical target  I do not have the issue.

So it is  most likely related to GDM or gnome.  I disabled the gnome extensions. It did not solve the issue.

I also noticed that when I reboot after failed suspend. The reboot takes longer, because of re-initializing udev devices.

Offline

#4 2023-10-21 06:47:47

seth
Member
Registered: 2012-09-03
Posts: 61,570

Re: [solved] System "Almost" crash" when waking up from suspend

The reboot most likely takes longer b/c the unclean shutdown triggers an fsck.

When the resume fails, can you
* switch to a different TTY?
* reboot w/ the sysreq REISUB ?

Is this gnome/GDM on X11 or wayland?
Does the problem remain when switching the display server for both?

Offline

#5 2023-10-21 22:25:34

odror
Member
Registered: 2015-03-17
Posts: 147

Re: [solved] System "Almost" crash" when waking up from suspend

I think that I fixed the issue.

I had to enable Nvidia specific services (which I disabled when trying single GPU passthrough)

The following Might have fix the issue. I need to test it for a few days.

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

While researching this issue I found out that I am not able to switch to wayland as suggested in the post above by Seth. I would appreciate help with that. I have the latest up to date archlinux.

Last edited by odror (2023-10-21 22:26:17)

Offline

#6 2023-10-21 22:30:54

seth
Member
Registered: 2012-09-03
Posts: 61,570

Offline

Board footer

Powered by FluxBB