LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-27-2018, 07:42 PM   #1
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Rep: Reputation: Disabled
Issue with laptop using ATI Radeon RX 580.


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.
 
Old 11-30-2018, 01:46 PM   #2
rogan
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 216

Rep: Reputation: 117Reputation: 117
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.
 
Old 11-30-2018, 04:59 PM   #3
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
setterm -blank 0 didn't work. Nor does dc=0.
 
Old 12-02-2018, 01:50 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,838
Blog Entries: 1

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
try consoleblank=0
 
Old 12-02-2018, 06:12 PM   #5
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
It didn't work.
 
Old 12-02-2018, 10:35 PM   #6
rogan
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 216

Rep: Reputation: 117Reputation: 117
A little more information might be very helpful...
Output of /sbin/lspci -v and dmesg is a start.
 
Old 12-03-2018, 06:22 PM   #7
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rogan View Post
A little more information might be very helpful...
Output of /sbin/lspci -v and dmesg is a start.
https://bugzilla.kernel.org/show_bug.cgi?id=201535
 
Old 12-03-2018, 10:49 PM   #8
rogan
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 216

Rep: Reputation: 117Reputation: 117
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.
 
Old 12-14-2018, 06:19 PM   #9
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by alex14641 View Post
If anyone has experienced this issue, please add yourself to the bug report via the link above.
 
Old 12-19-2018, 07:21 PM   #10
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-23-2018, 04:42 PM   #11
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
On further thought, I will wait until a fix appears in a released kernel before I mark this as solved.
 
Old 12-28-2018, 04:46 PM   #12
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
Turns out passing dc=1 to the module is not necessary.
 
Old 01-13-2019, 03:51 PM   #13
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 322

Original Poster
Rep: Reputation: Disabled
The screen wakes up on resume with 4.20.2. Marking this solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAPPHIRE Radeon RX 580 NITRO+ 4 GB remma12 Linux - Hardware 1 10-14-2017 01:16 PM
[SOLVED] A MTRR/Geforce GTX 580 issue ? aihaike Slackware 11 12-04-2011 04:24 PM
SOLVED: Problems to Internet Using Sierra Wireless AirCard 580 Dennola4 Linux - Newbie 1 01-28-2009 03:17 AM
SOLVED: Problems Connecting to Internet Using Sierra Wireless AirCard 580 Dennola4 Linux - Newbie 1 01-28-2009 03:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration