You are not logged in.

#1 2024-07-08 10:01:09

Drack
Member
Registered: 2023-11-08
Posts: 4

Kernel crash while resuming from suspend

Since the beginning of July after updating my system, I cannot resume from sleep successfully while it was working properly since the Arch installation.

Here is an image of the log displayed on the screen:
PXL-20240707-015143045.jpg

I believe the problem lies into the Nvidia driver (I have a GTX 1060), because of the message:

BUG: scheduling while atomic: irq/54-nvidia/1209/0x00000000

I currently have the v555.58.02-1 installed (nvidia and nvidia-utils packages).

I would be glad if someone have a suggestion. May a good idea to try downgrading the driver?

Offline

#2 2024-07-08 14:57:45

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: Kernel crash while resuming from suspend

SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0 ?
https://bbs.archlinux.org/viewtopic.php?id=296954

Offline

#3 2024-07-08 20:51:53

Drack
Member
Registered: 2023-11-08
Posts: 4

Re: Kernel crash while resuming from suspend

Thanks for the suggestion Seth, I don't know how I didn't noticed this issue before (I've now seen also the ticket and the Reddit post about it).
However, I find out that this fix is already installed on my system... Since the date this issue appears and my problem are matching, I suppose that my issue is related to systemd or nvidia, but I've no clue on how to investigate this more.

Offline

#4 2024-07-08 21:06:58

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: Kernel crash while resuming from suspend

Feel free to downgrade nvidia or go straight for the 535xx-dkms driver from the AUR to sidestep the prevalent issues in the 550xx drivers, https://bbs.archlinux.org/viewtopic.php … 2#p2181442
(you'll need to establish the SYSTEMD_SLEEP_FREEZE_USER_SESSIONS fix in either case)

The backtrace says it's a recursive fault, can you still scroll up the console buffer?

Offline

#5 2024-07-09 07:29:29

Drack
Member
Registered: 2023-11-08
Posts: 4

Re: Kernel crash while resuming from suspend

I tried to downgrade from nvidia 555.58.02-1 to 545.29.06-19 using Pacman cache, but after rebooting, another graphical problem occurred (that was not present before).
Moreover, I was not able to scroll back the console buffer, the system was entirely frozen.
So I run an update (full-system) to re-install 555, and I planned to go for 535xx-dkms driver from there. But ! Surprisingly, with the nvidia 555.58.02-2 from 2024-07-07 and the kernel 6.9.8.arch1-1 which has also been upgraded, my issue disappeared: no more graphical problem nor resuming problem!

Thanks for the suggestions!

Last edited by Drack (2024-07-09 07:33:27)

Offline

#6 2024-07-10 20:59:17

Drack
Member
Registered: 2023-11-08
Posts: 4

Re: Kernel crash while resuming from suspend

Finally, after a successful first resume, the second one failed again with the same issue... I'll have to investigate.

Offline

#7 2024-07-10 21:58:22

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: Kernel crash while resuming from suspend

When you suspend/resume (you can inspect an older log from a successful cycle) does systemd complain that you're not supposed to set SYSTEMD_SLEEP_FREEZE_USER_SESSIONS?
If yes, try the 535xx behavior.

Offline

Board footer

Powered by FluxBB