ryzen 5 2500u - matebook D suspend and ibernate problem

hi guys, i took a few days a matebook d with ryzen 2500u and integrated vega 8 graphics. I put on tumbleweed, everything is ok, except for a not inconsiderable problem: after going into suspension, the screen remains totally black when I restore it, and as far as I can see, even the system, while resuming power, does not seem to respond to the keys. instead with hibernation, after a short time it restarts by itself. I’m trying to investigate but I haven’t found the cause yet …

Tanks!

Hi, I’m sorry that I won’t help you, but I think you may consider yourself lucky, that tumbleweed runs on this system. I’d bet ubuntu (or any non rolling distro without latest kernel) won’t even boot :wink:

Hi again, today I accidentally hit sleep instead of shutdown, so I can confirm, that my ryzen 5 2400g also fails to resume from suspend, tested with latest tumbleweed. Otherwise it is stable and fine. Ryzens are supported somewhere from kernel 5.something, and I have had tumbleweed on this system for more than 1,5 years now. In the beginning I had accidental freezes here and there (even on windows), but for about half a year I did not have any lockups. Maybe bios updates, maybe kernel and tumbleweed updates, but it definitively got better, maybe even sleep function will work one day, but my system boots in about 15 seconds, so it is not a big deal, I did not even notice :slight_smile:

a friend with debian 10 and the same pc, confirms to me that the suspension works correctly! :frowning:

Thanks for sharing.

Hello guys!

I have done other tests:

kernel 5.4.10 problem still present!

wayland or fullwayland suspension work perfectly !! (but wayland not work very well!)

I think the problem is limited between xorg whith plasma and amdgpu

do you have any ideas or tests that i can do?

I have weird issues with sleep too.
It deserves a bug report, I think.

Acer A315-41, Ryzen 2500U
Leap 15.1 (Kernel 4.12.14-lp151.28.36-default ) - it doesn’t work at all. I2C touchpad works fine.
Tumbleweed (I don’t remember which kernel it was, since I switched to Leap, I bet early 5 something ) - sleep works, but sometimes. I2C touchpad never worked properly.

I have installed TW, and I have same problem. No hibernation (it won’t shut down), but sleep seems to work.
So, what should I include in bug report/did anyone report this bug already?

After disabling kwin composition ad look screen (after resume from suspension) it works!!!

for a test: can you try if the same option resolve your problems?

Tests Summary (plasma desktop):

x session + kwin openGL 2.0 + lock screen after resuming = no work

x session + kwin openGL 3.1 + lock screen after resuming = no work

wayland session + kwin openGL 2.0 + lock screen after resuming = work

x session + kwin xreader + lock screen after resuming = work

x session + kwin xreader + no lock screen after resuming = work

x session + kwin openGL 2.0 + no lock screen after resuming = no work

x session + kwin openGL 3.1 + no lock screen after resuming = random work

x session + kwin no comp. + lock screen after resuming = work

after searcing on internet i found this:

https://bugs.launchpad.net/ubuntu/+source/plasma-desktop/+bug/1849084

In my case it still doesn’t hibernate properly. Sleep seems to be working fine.

Tumbleweed: sleep and hibernation don’t work.

x session + kwin openGL 2.0 + lock screen after resuming = no work

x session + kwin openGL 3.1 + lock screen after resuming = no work

wayland session + kwin openGL 2.0 + lock screen after resuming = work

x session + kwin xreader + lock screen after resuming = work

x session + kwin xreader + no lock screen after resuming = work

x session + kwin openGL 2.0 + no lock screen after resuming = no work

x session + kwin openGL 3.1 + no lock screen after resuming = random work

x session + kwin no comp. + lock screen after resuming = work

Exactly the same + hibernation doesn’t work at all.