Different behavior between automatic and manual hibernation

Hello! I am trying to investigate a bug in which my laptop fails to hibernate. After a few seconds, the screen turns back on in a frozen state. Opening a different virtual terminal and looking at logs shows that the amdgpu driver logs some errors, leading to it and the X or Wayland server crashing. As such, I think it’s likely the bug originates in amdgpu.

However, this bug only seems to occur when hibernation is triggered automatically through the Power Management settings (“when inactive”, “when power button is pressed”, “when laptop lid is closed”).

When hibernation is triggered manually using the “Hibernate” button in the Application Launcher, or a “systemctl hibernate” command, everything works as expected.

Is this likely to be a bug in the way the Power Management Settings trigger hibernation? If not, are there known differences between these different methods of triggering hibernation that might help narrow down the root cause?

Hi.

I had the same problem, if I understood you correctly. I have a video card from nvidia and manual installation of drivers helped me. Try to find info about this.

You can also share your system info here via

kinfo

Maybe I could find for you what you need to do specifically.

You can also try to put in your terminal this:

sudo ubuntu-drivers list
sudo ubuntu-drivers install

It could help

hi, welcome.

i have this issue in plasma 5 and i’ve heard that others in in plasma 6 have also experienced this “disconnect”

in kubuntu 22.04 there used to be a checkbox something like [ ] After some time hibernate and the time depended on your setting for HibernateDelaySec=3h in /etc/systemd/sleep.conf

but now in 24.04 that checkbox is no longer present and the delay setting no long has any affect.

so i have taken to writing a script and running that instead of relying on the plasma power settings to handle it.

see this recent thread on the topic…

Sorry, I forgot to give any information about my setup… Here is the output of kinfo:

Operating System: EndeavourOS
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.2-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics

Note that I’ve seen the same behavior with X instead of Wayland.

(Of course, since I don’t use Ubuntu, ubuntu-drivers isn’t available.)

Sorry for late reply, mate

Yeah, I thought you also use ubuntu or some flavour of it, but no luck.

I still think that the problem is in the drivers. I searched some things and I guessed you need to install or reinstall xf86-video-amdgpu.

It could be wrong solution so I highly recommend to recheck things by yourself. I try to help from the position of my experience, not the real knowledge.

If you have found solution already, you can share it here to help others with this problem on this forum in the future.