LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-06-2020, 02:37 AM   #1
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63
Blog Entries: 10

Rep: Reputation: 16
Xorg 1.20.8 and 1.20.9 with Ryzen Raven GPU aborting on power saving event


After upgrading the system (Slackware-current), I've ran into an issue of Xorg server aborting on power saving event (10 minutes of inactivity, which is the default value I guess).
Screen switches off, but after reactivation I don't get the screen as I left it, but the display manager's login screen is presented instead. In xdm.log there are stack traces pointing to Xorg and its libraries, in Xorg.log there are messages on GPU sort of resetting (?) several times, once per 5 seconds.

The Xorg packages are at 1.20.9. I've tried downgrading back to May 2020 snapshot (Xorg 1.20.8), no luck. The diagnostic is somewhat different, and the issue doesn't come up every time I leave for 10+ minutes, but happens pretty often all the same.

The issue definitely WASN'T there with January 2020 snapshot of Slackware-current, which had Xorg at either 1.20.6 or 1.20.7 versions. I don't have snapshots for dates before May 2020, and so I can't pinpoint the offending modification more precisely.

I'm thinking about submitting a ticket at Xorg bugzilla, is it worth it?

That's what FlyGoat's RyzenAdj tells me:
Detected Raven
CPU Family: Raven
SMU BIOS Interface Version: 7
 
Old 09-11-2020, 11:16 PM   #2
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63

Original Poster
Blog Entries: 10

Rep: Reputation: 16
Well, the issue might have solved itself, after upgrading the kernel part to 5.4.63. Or it has just got more elusive...
 
Old 05-09-2021, 06:19 AM   #3
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63

Original Poster
Blog Entries: 10

Rep: Reputation: 16
That's getting silly.
Now I'm experiencing somewhat similar-looking issue with Xorg switching off the display after somewhat long inactivity and not putting power back on keyboard/mouse events. Virtual consoles work.

Slackware 64 bits, kernel 5.10.35, hardware's the same.

System logs contain strings of the following kind:
May 9 12:41:05 sandys acpid: 1 client rule loaded
May 9 12:41:05 sandys root: ACPI group jack / action lineout is not defined
May 9 12:41:05 sandys root: ACPI group jack / action videoout is not defined

Xorg log contains tons of "probed modes", like those are checked and re-checked.
 
Old 05-10-2021, 12:06 AM   #4
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63

Original Poster
Blog Entries: 10

Rep: Reputation: 16
I've narrowed it down to my Ryzen graphics or monitor or both being unable to come out correctly of 'Off' phase of DPMS.
The stopgap solution which seems to work is to disable 'Off' phase completely:
Quote:
xset dpms 600 600 0 # the 3rd 0 switches 'Off' phase off
or put the following file (naming it like 99-ryzen-dpms-off-phase.conf) in /etc/X11/xorg.conf.d/:
Quote:
Section "ServerFlags"
Option "OffTime" "0"
EndSection
UPDATED: This doesn't work reliably every time though, there's some random factor.
At the moment I've had to disable any dpms on the monitor:
Quote:
xset -dpms

Last edited by Yury_T; 05-10-2021 at 03:32 PM.
 
Old 07-03-2021, 08:40 AM   #5
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63

Original Poster
Blog Entries: 10

Rep: Reputation: 16
And moving to kernel 5.12 brought the old problem back - X won't start.
This time I knew where to look and found fairly quickly that any touching Power Management in xorg.conf/ xorg.conf.d is out. So, previously described 99-ryzen-dpms-off-phase.conf had to go.
 
Old 07-03-2021, 10:31 AM   #6
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 73
try
slackpkg new-config over write old ones.
seems your getting hung up on a runlevel
if you have a proprietary gpu driver this will also cause it.
rebuild the module that is link to the xorg.
I found the 5.13.0 kernel has solved my usb disconnect issues.
and yes I have the latest bios on my x570 board for my 3700X
 
Old 07-11-2021, 11:03 AM   #7
Yury_T
Member
 
Registered: Aug 2008
Distribution: Slackware
Posts: 63

Original Poster
Blog Entries: 10

Rep: Reputation: 16
Quote:
Originally Posted by lovemeslk View Post
try
slackpkg new-config over write old ones.
seems your getting hung up on a runlevel
if you have a proprietary gpu driver this will also cause it.
rebuild the module that is link to the xorg.
I found the 5.13.0 kernel has solved my usb disconnect issues.
and yes I have the latest bios on my x570 board for my 3700X
Thanks.
Like I said, what worked for me this time (on kernel 5.12) was removing any modifications regarding power management from Xorg configuration.
 
  


Reply

Tags
amdgpu, ryzen, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Screen power off doesn't power off GPU Geremia Slackware 8 04-27-2021 07:39 PM
LXer: Overclock your AMD Ryzen Mobile on Linux with Ryzen Controller LXer Syndicated Linux News 0 08-27-2019 06:31 PM
Xorg -configure error: Caught signal 11 (Segmentation fault). Server aborting Braveheart Gentoo 3 01-29-2014 07:16 PM
Gentoo: Xorg blanks out - Caught signal 11 Server aborting Thaidog Linux - Distributions 2 12-17-2006 11:40 AM
Raven Shield and Cedega/Wine mikedeatworld Linux - Games 0 06-20-2005 07:21 AM

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

All times are GMT -5. The time now is 10:39 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