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 10-27-2020, 10:31 PM   #1
satur9nine
LQ Newbie
 
Registered: Sep 2020
Posts: 5

Rep: Reputation: Disabled
Ryzen suspend locked


I am running:

Ubuntu 9.3.0-17ubuntu1~20.04
Linux version 5.4.0-52
AMD Ryzen 9 3900X
ASUS X570 Prime Pro

When I attempt to suspend my machine about 75% of the time it locks up before entering suspend. The CPU fan continues to run and the power light is full on but nothing is shown on the display. Pressing the power button or keyboard has no effect, only long pressing the power button to power off can exit this state.

Are other people experiencing this suspend problem? Is there any chance a new kernel version will fix this issue or are there any suggested workarounds?

I am running the latest BIOS available Version 2802 from 2020/10/23.

I was also having intermittent lockups while running normally, I use the follow boot options to resolve this trouble: processor.max_cstate=5 rcu_nocbs=0-11

Last edited by satur9nine; 10-27-2020 at 10:34 PM.
 
Old 10-28-2020, 03:08 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Does hibernate work?
 
Old 10-28-2020, 03:51 PM   #3
satur9nine
LQ Newbie
 
Registered: Sep 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
I haven't tried hibernate, but considering I've got 64GB of RAM it seems like it would consume non-trivial time so I'd prefer to just suspend. I also had to disable the ACPI feature in my BIOS to prevent lockup issues as well. Overall it seems linux kernel 5.4 is very unstable on AMD Ryzen processors without a lot of tweaking. I decided to go ahead and update to Ubuntu 20.10 which uses linux kernel 5.8 to see if that works.
 
Old 10-29-2020, 05:06 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
As well as ACPI, there's systemd, and a 'Power Manager' in your DE to deal with. Disabling ACPI is not always wise as that links with the BIOS pretty well, and looks after things like CPU cooling.

As you aren't providing half the infdormation required to offer help with this issue, I can't advise you beyond going at those parts yourself.
 
Old 02-04-2021, 03:19 PM   #5
satur9nine
LQ Newbie
 
Registered: Sep 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
I've determined the problem is this: https://bugzilla.kernel.org/show_bug.cgi?id=210241

So the problem has nothing to do with ryzen but instead that I am using a recent kernel with Magic Trackpad 2. If I do not attach the Magic Trackpad 2 to my desktop suspend and resume works fine.
 
Old 02-05-2021, 04:35 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
For the next time you post: How_To_Ask_a_Question
There's a good few helpful things stuck in the Tutorials.
 
  


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
XFCE: network suspend when locked overlord73 Linux - Networking 5 09-13-2019 04:26 AM
LXer: Overclock your AMD Ryzen Mobile on Linux with Ryzen Controller LXer Syndicated Linux News 0 08-27-2019 06:31 PM
pm-suspend vs. alternatives. gnome vs. enlightenment suspend. mkultra329 Linux - Newbie 1 02-19-2010 10:56 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
difference between "suspend to standby" and "suspend to ram" nappaji Linux - Hardware 1 08-23-2006 08:17 PM

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

All times are GMT -5. The time now is 10:08 AM.

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