[SOLVED] Issue with laptop using ATI Radeon RX 580.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Working with an HP laptop containing a Radeon RX 580 video card, I encountered an issue wherein the screen would not turn back on when the laptop lid is closed and reopened. I have opened a bug report with the kernel folks. I can work around the issue by blacklisting the amdgpu video driver. I am currently running Linux 4.19.5. I will update this thread with any new developments.
I suspect that the new amd display code (in amdgpu) loads upon booting your machine.
It has various problems. One of them is when /sbin/setterm is switching on consoleblanking
in /etc/rc.d/rc.M. I changed it to /sbin/setterm -blank 0. Everything seem to work okay with
my AMD Vega64 now. Before the system chrashed whenever the console or desktop blanked the monitor.
I also could not reboot or shut down normally, it would stay on until i pressed reset.
This might be the same problem as yours.
I'm not sure if the new display code is even needed for your card.
If it's not, you can just pass amdgpu.dc=0 to the kernel and everything should work just fine.
Regardless of hardware; I have tested this on three different machines with three
different graphics cards, I get the same amdgpu warnings and chrash trace from the
new display code as you if I let line 25 in rc.M run.
Update: with the kernel built from drm-next-4.21-wip, loading the amdgpu module with dc=1, and the latest kernel firmware from git, the display wakes up on resume. I'll test this for a few days: if it still works, I'll mark this as solved.
Just tried with 4.19.11: does not work. When loading the module, the screen goes blank.
Last edited by alex14641; 12-20-2018 at 02:46 PM.
Reason: Add info about 4.19
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.