You are not logged in.

#1 2021-02-11 06:45:45

napion
Member
Registered: 2015-04-11
Posts: 4

cannot resume from systemctl suspend

I've a desktop with the following configuration:
CPU: AMD 3600X
GPU: AMD RX 5700
GPU Driver: amdgpu
Display Server: sway - driving two external monitors through display ports

When I run 'systemctl suspend' the displays go blank and I see that the power led button on the CPU case starts blinking. However, when I press the power button to resume the machine, the displays remain blank. I have to hit the 'reset' button the CPU case to reboot the machine to get the displays working again. The suspend and resume feature works on Windows 10.

I do not know what logs are required to debug this, so please let me know I will post them (I can still ssh into the machine when the displays are blank). I've attached the log from `journalctl -b -k` in a follow-up response.

Last edited by napion (2021-02-11 12:03:08)

Offline

#2 2021-02-11 08:53:55

seth
Member
Registered: 2012-09-03
Posts: 19,769

Re: cannot resume from systemctl suspend

See 3rd link in my signature.
If you *believe* it's disabled, check it. Windows occasionally re-enables it on updates…

Offline

#3 2021-02-11 11:32:08

napion
Member
Registered: 2015-04-11
Posts: 4

Re: cannot resume from systemctl suspend

seth wrote:

If you *believe* it's disabled, check it. Windows occasionally re-enables it on updates…

I booted into Windows to check this. Fast Boot is disabled.

Log from 'journalctl -b -k' after the power button is pressed to resume the machine: resume.log. There is a line which says:

Feb 11 13:28:32 tantra kernel: BUG: kernel NULL pointer dereference, address: 0000000000000018

Offline

#4 2021-02-11 15:22:29

seth
Member
Registered: 2012-09-03
Posts: 19,769

Re: cannot resume from systemctl suspend

The amdgpu module crashes.
Try booting w/

amdgpu.dc=0 amdgpu.audio=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

as kernel paramters.
If this works, see whether you can narrow the offender down (from the backtrace, dc=0 and dpm=0 should be the best contenders)

Offline

Board footer

Powered by FluxBB