issue with resume from suspend (black backlit screen) on 5.5.x kernels [amdgpu?]
Edit2: fixed in 5.6 stable branch
Edit1: Issue seemingly fixed in linux-mainline 5.6
Hello,
Ever since the 5.5.x kernel bump I have been having an issue with suspend on my laptop (HP amd integrated graphics) in that I get a black screen upon resuming. The 5.4.x kernels were fine for me, and ended up switching to LTS in the mean time until I can figure out what is going on.
Does anyone know of a solution or what is going on? I thought it was Xorg possibly so I switched to Wayland and the issue remains. I tried a solution found on the forums by adding these to my kernel parameters:
amdgpu.dc=0 amdgpu.gpu_recovery=1
This worked temporarily but ended up failing after a few lid closes as well, so I reverted the changes and went back to LTS.
Any input would be greatly appreciated; this has been bugging me.
Thanks
Edited 13 Apr 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 22 ยท 100% up
- Kind
- Text
- ID
- f7oti1
25 comments
Yep I have this too. My monitor won't display a screen when waking up from suspend and just stays black with an error about an improper screen resolution in the center.
I too am using the AMDGPU driver with an r9 290. The only thing that worked so far was reverting to 4.4 with the lts kernel. I have no other ideas other than thinking it's a kernel bug
I also tried those kernel arguments and they did nothing.
bummer, I have my fingers crossed with each update haha ... I might have to file a bug report when I have the time unless it's already out there
I haven't found one. I don't even know what to search tbh, I was just lucky to have seen your post today ๐
I have to problem on my ThinkPad e 495 as well. I thought it was because it's relatively new.
Interestingly some things work:
Suspend from tty even when xorg is running on another tty(do you call it like this?)
Suspend from lightdms login screen.
What doesn't work:
Suspend from a terminal emulator/any other suspend triggered from within a running logged in X session.
My solution to this problem was running lightlocker in the background which switches to lightdm when suspend is called before actually suspending. This works like a charm. It is not really a solution to the problem but a workaround.
I just got the e495 as well, and also had this problem. I was able to figure part of it out from here:
https://wiki.archlinux.org/index.php/Kernel_mode_setting#Early_KMS_start
, which I got to from here:
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Troubleshooting
I'm using XFCE4 and LXDM, no lightdm on my system.
EDIT: I added two items to the default /etc/mkinitcpio.conf:
MODULES=(amdgpu)
HOOKS=(base udev autodetect modconf block filesystems keyboard resume fsck)
Okay thank you I'll try that as well
Here's the upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=206575
that's good news.. thanks for the follow-up
Hello, I have the same problem, which still persists with kernel 5.6.6
this is my system
https://pastebin.com/XtXG9BDq
In line 17 it says:
Is that the problem? Please help
Still experiencing this issue atm on a Ryzen 3500U.
Issue is fixed in the 5.6 kernels if you want to update to the latest stable
Oddly I'm still getting the issue on 5.6 kernels..'
just fixed it on my 3700U, here's what solved the problem for me:
https://bbs.archlinux.org/viewtopic.php?pid=1901687#p1901687
i had added the amdgpu module, but not the xorg config file in the post. creating it fixed the problem, i'm back on the newer kernel now
I really appreciate the message, I've tried this and seen some improvements (screen turns on on resume from suspend, mouse cursor can be moved) however the system is still mainly broken. This could have something to do with using wayland though. Not sure.
What DE/WM are you on, out of curiosity ?
After suspend when screen is still black are you able to jump into tty? I mean, does going into tty make screen active again?
For me, no. The monitor is in a weird state complaining about an improper resolution and nothing will change it. Not even unplugging the monitor and plugging it back in
I'm not able to enter tty, at least the screen remains black
Could you try the mainline kernel from http://arch.miffe.org/x86_64/ and take a look if the issue persists?
Mainline works! Thanks for the advice.. for some reason my dkms modules wont load but that's not a big deal. At least we know it is fixed for 5.6
This is a known issue, and there are multiple bug reports concerning it. Sadly very few users have confirmed they are experiencing the issue.
โ
If you want to see it addressed, I would recommend informing devs that you are also experiencing the issue. Here is a list of bug reports on the issue you can look through and comment on. On launchpad, clicking "this bug also affects me" will make it more likely to be addressed.
โ
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1849084
โ
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1842785
โ
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813820
โ
https://bugs.freedesktop.org/show_bug.cgi?id=110258
โ
https://gitlab.freedesktop.org/drm/amd/issues/734
โ
https://bugzilla.kernel.org/show_bug.cgi?id=204241
โ
https://bugs.archlinux.org/task/59271
โ
https://bugzilla.redhat.com/show_bug.cgi?id=1704792
โ
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/1089720-amdgpu-laptop-suspend-hang
โ
https://gitlab.freedesktop.org/drm/amd/issues/919
โ
https://www.reddit.com/r/archlinux/comments/f7oti1/issue_with_resume_from_suspend_black_backlit/
โ
https://bbs.archlinux.org/viewtopic.php?id=247761