0

I recently got a rx 560 for my computer running ubuntu 22.04 and installed the amdgpu drivers which worked. Though now when I try to suspend my computer the monitor goes blank for a second, then comes right back on like nothing even happened. Before I had an gtx 650 ti installed in the computer which worked fine when tryng to suspend, but now with the rx 560 it does not suspend. I then tried the pm-suspend command and it worked just fine so now I need to know how to either implement the pm-suspend command or just fix suspend.

I have a desktop computer and I use the power button on it to suspend and also have a shortcut I made that uses systemctl suspend. Both of those have the same exact thing happen as described above.

My System

  • What do you mean by "installed the amdgpu drivers"?. That sounds awfully suspicious. Btw I assume this OS had previously running the NV card? – Matias N Goldberg Nov 19 '22 at 21:50
  • like if I run lshw -c video in the configuration tab it says driver=amdgpu and yes before I upgraded I had the NV card running just fine. – Zach Jordan Nov 19 '22 at 22:37
  • The thing is amdgpu is already included in any modern Linux distro and automatically activated for any compatible hardware. You DON'T need to install the AMD proprietary drivers (AKA amdgpu-pr). – ChanganAuto Nov 19 '22 at 23:57
  • I know that and I think I am using that, the only reason I don't know for sure is because I tried to install the proprietary drivers, and that caused problems, but I think I'm on the default ones – Zach Jordan Nov 20 '22 at 00:07
  • Ok first make sure suspend is also broken in a Live USB environment. I say this, because you previously had NV, and NV drivers tend to mess up the system. If the problem persists, make sure your BIOS is not in CSM but rather in pure UEFI, and then check https://askubuntu.com/questions/16239/how-to-debug-suspend and check https://wiki.ubuntu.com/DebuggingKernelSuspend – Matias N Goldberg Nov 20 '22 at 01:20
  • So in a live boot suspend works just fine, so like you said how do I get rid of the NV drivers and stuff. Also what information about the debugging suspend would be useful to you @MatiasNGoldberg – Zach Jordan Nov 20 '22 at 02:37
  • Honestly IDK because it could be a million things (misbehaving USB device, a lingering monitor xorg conf file, Wake on Lan). The first thing you should do is run sudo dmesg as soon as it resumes to see if some useful error rings a bell. But probably formatting and reinstalling is going to be faster. – Matias N Goldberg Nov 20 '22 at 03:40
  • @MatiasNGoldberg what about the NV drivers that could be the problem. I wouldn't know what to look for or how to get rid of them. – Zach Jordan Nov 20 '22 at 04:09
  • Also just looking at the logs it seems when I execute systemctl suspend the computer goes to sleep for a second but just then just wake back up.

    Here part of the log

    – Zach Jordan Nov 20 '22 at 04:16

1 Answers1

0

So it turns out just updating my kernel from 5.13 to 5.15 solved the suspend problem.

Instructions to install 5.15 kernel: here