Issues with hibernation and resume

Andrea Borgia andrea at borgia.bo.it
Fri Oct 4 17:56:24 UTC 2019


Martin wrote:

> Dear AMD Developers,
> I am building your amd-staging-drm-next kernels for more than 2 years now and patch this up with the official kernel patches and ubuntu's sauce patches: [1]
> One of the kernel users reports about hibernation problems since quite a while and he gives detailed feedback but I am not a hibernation user and had no time to bisect this. Could you please look into this issue and try to help: [2]
> Thanks for your great work about open-source linux graphics and keep it up!
> Many regards, Martin (M-bab)

Hello, Martin and all, that user would be me :)


Once I managed to reproduce the issue with the kernel currently in 
Debian / testing (5.2.0) I figured it would make sense to try and ask 
for help myself.


I'll give a quick summary here then I can answer requests for more 
information in followups:

* I have a Ryzen3 2200G on a Debian/testing system with a HDMI TV as 
display / audio sink.

* until end of august, I was using Martin's 5.0.1 kernel, with xfce4 as 
desktop environment, and I could hibernate and resume multiple times 
with no issues

* beginning roughly with 5.0.2, I started running into issues with 
poweroff at the end of hibernation (not happening) or corrupted graphics 
on resume, so I stuck with Martin's 5.0.1

* once I got back from my holidays at the end of september and upgraded 
the system, I always get a corrupted greenish display when resuming. If 
I use xfce4 I get this green screen right at first login (unless I clear 
the config), whereas with KDE the first login is usable but hibernate / 
resume gives a green screen (system is reachable via ssh, though)

* I have checked and rechecked the HW and it seems to be fine, since I 
can dualboot Windows and it runs just ok.



I'm not saying it is a kernel issue: I thought it was until the old 
trusty 5.0.1 no longer worked but it looks like some kind of weird 
interaction between kernel and (possibly) xserver and I'm hoping to find 
somehere who has already encountered a similar issue and could provide 
guidance.


Thanks,
Andrea.

[1] https://github.com/M-Bab/linux-kernel-amdgpu-binaries
[2] https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/81


More information about the amd-gfx mailing list