Skip to content

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.

22 points20 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
22 ยท 100% up
Kind
Text
ID
f7oti1

Author

13
posts
14
comments
0
media
View profile

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.

5 points

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

2 points

I haven't found one. I don't even know what to search tbh, I was just lucky to have seen your post today ๐Ÿ˜‹

2 points

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.

2 points

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)

1 points

Still experiencing this issue atm on a Ryzen 3500U.

1 points

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

1 points

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 ?

1 points

After suspend when screen is still black are you able to jump into tty? I mean, does going into tty make screen active again?

1 points

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

1 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

โ†orโ†’
Previous / next file
โ†‘orโ†“
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.