Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
✅ SDDM hangs with kernel 6.14 when resuming from hibernation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
acarstoiu
Apprentice
Apprentice


Joined: 20 Oct 2004
Posts: 205

PostPosted: Tue May 20, 2025 5:00 pm    Post subject: ✅ SDDM hangs with kernel 6.14 when resuming from hibernation Reply with quote

Context
I use Plasma as desktop environment and SDDM as display manager and I also compile my own kernels. The computer is an older Lenovo with an AMD Ryzen processor.
Quote:
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.3.5
Kernel Version: 6.13.12-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Graphics Processor: AMD Radeon Graphics

The system is up to date, with KDE and related packages keyworded as ~amd64 (and a few other packages that I want to keep close to the upstream versions).

Problem
After I upgraded from the last 6.13 kernel to the current 6.14 I noticed that resuming from hibernation was no longer working, with the process being stopped at the phase where the SDDM's lock screen (i.e. with my user name on it and waiting for my password) should be displayed. In /var/log/everything I can even find the line
Code:
[e-hibernate] System returned from sleep operation 'hibernate'.

But the computer freezes completely with a black screen - not even the Ctrl+Alt+Fn combinations have an effect, I have to power off the hard way and reboot.
I also noticed that during startup and shutdown, the 6.14.7 kernel spits this error about 30 times (with no other intervening messages):
Code:
amdgpu 0000:04:00.0: amdgpu: [drm] amdgpu: AUX reply command not ACK: 0x01.

I revisited the SDDM guide and except for not having a hand-written config file for SDDM on my system (but it has always worked out of the box), I am compliant with the guide. So I switched back to the 6.13.12 kernel and it works as expected (yes, it is gone from the Portage tree but I always keep an older version around, just in case :wink:).
There's also somebody else complaining about a very similar thing, as well as someone pointing to an amdgpu issue exhibited by the same kernel, so I'd say it is indeed a kernel problem.

I must also add that regardless of kernel I see in SDDM's log message groups like this:
Code:
[13:39:38.396] (WW) DAEMON: Error from greeter session: "Process crashed"
[13:39:38.396] (WW) DAEMON: Auth: sddm-helper (--socket /tmp/sddm-auth-1b4ab015-ac14-476a-a2ee-11bcdc6f513c --id 2 --start /usr/bin/sddm-greeter-qt6 --
socket /tmp/sddm-:0-WxgkHl --theme /usr/share/sddm/themes/breeze --user sddm --greeter) crashed (exit code 1)
[13:39:38.396] (WW) DAEMON: Error from greeter session: "Process crashed"
[13:39:38.396] (WW) DAEMON: Auth: sddm-helper exited with 9


Last edited by acarstoiu on Tue May 27, 2025 11:49 am; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5906
Location: Bavaria

PostPosted: Tue May 20, 2025 10:29 pm    Post subject: Reply with quote

Maybe this could be related:
https://www.reddit.com/r/Fedora/comments/1kqyhyf/warning_for_amdgpu_users_dont_update_to_6147_or/

(At the moment 6.14.7 is masked; please go back to 6.14.6)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
acarstoiu
Apprentice
Apprentice


Joined: 20 Oct 2004
Posts: 205

PostPosted: Thu May 22, 2025 3:25 pm    Post subject: Reply with quote

Thank you, this comment says exactly what I experience.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5906
Location: Bavaria

PostPosted: Thu May 22, 2025 5:41 pm    Post subject: Reply with quote

Hmmm ... 2 patches amdgpu + 2 patches amd/display + 1 revert amd/display in 6.14.8 ... worth a try?

( https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-6.14.y )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
acarstoiu
Apprentice
Apprentice


Joined: 20 Oct 2004
Posts: 205

PostPosted: Fri May 23, 2025 2:01 pm    Post subject: Reply with quote

I looked at those commits and they didn't bring me much hope. And rightfully so: I tried 6.14.8 and it does not work.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5906
Location: Bavaria

PostPosted: Fri May 23, 2025 5:15 pm    Post subject: Reply with quote

Maybe take a look in https://forums.gentoo.org/viewtopic-p-8862585.html#8862585
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
acarstoiu
Apprentice
Apprentice


Joined: 20 Oct 2004
Posts: 205

PostPosted: Tue May 27, 2025 11:57 am    Post subject: Reply with quote

I did notice that quite a few guys revert the offending commit and report success, but I waited for the issue to be actually solved, not circumvented and it has been (the part I was interested in).
I'm running on 6.15.0 now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum