You are not logged in.

#1 2023-05-21 17:57:23

xannieto
Member
From: Caldas de Reis, Spain
Registered: 2023-05-19
Posts: 4

[SOLVED] AmdGPU crashed after resume from suspend

Hi everyone!

I'm new in the forum but I've been using Arch Linux for at least two years and most of the problems that I had I could resolve by myself, but I'm not able to find a solution for this issue. I have installed Gnome 44 (clean install, because it was the last thing I've done to try solving this) and when I suspend my MSI Laptop for a time, when I resume the screen turns like these old TV when they didn't find a signal. However, it's possible to change to some of the available TTY (via Ctrl + Alt + Fx) and I can reboot the system without problems.

I've revised the journal and I found a trace related with the amdgpu driver. I've left an output of my journal in https://0x0.st/Hq8_.txt from the last suspend. If you need more information, let me now please. I've left some information about my system:

Kernel: 6.3.2
APU: AMD Ryzen 7 4700U with Radeon Graphics
xf86-video-amdgpu: 23.0.0-1

Regards.

Disclaimer: English is not my first language and it's my first post in the forum, so I apologize for my possible mistakes.

Last edited by xannieto (2023-05-22 15:02:44)

Offline

#2 2023-05-21 18:34:33

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] AmdGPU crashed after resume from suspend

I also had problems with the screen not waking up after suspend with amdgpu and the 6.x kernel (on a desktop PC with an RX 580). I simply downgraded the kernel to the old pre-6.x version that worked (5.18.3.arch1-1) and also downgraded linux-firmware (20220708.be7798e-1) just in case because I was unsure if this is a firmware or kernel issue.

So maybe you could give the 5.x kernel a try too. Something seems to be broken in Linux 6.x regarding amdgpu.

P.S. You can find older kernel packages at https://archive.archlinux.org/packages/l/linux/

Last edited by Morn (2023-05-21 18:36:18)

Offline

#3 2023-05-21 23:00:36

xannieto
Member
From: Caldas de Reis, Spain
Registered: 2023-05-19
Posts: 4

Re: [SOLVED] AmdGPU crashed after resume from suspend

Ok, I'm going to try downgrading the kernel because I remember that this issue had started a few months ago and it had never happened to me before.

Thank you.

PS: I have to change the title to put at the beginning "[SOLVED]", don't I?

Last edited by xannieto (2023-05-21 23:01:31)

Offline

#4 2023-05-22 09:34:11

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] AmdGPU crashed after resume from suspend

xannieto wrote:

PS: I have to change the title to put at the beginning "[SOLVED]", don't I?

Yes, if the solution works for you. A package downgrade is only a temporary solution, so I hope this gets fixed upstream. I think I will try to upgrade linux and linux-firmware in a few months to see if the issue is fixed...

Offline

#5 2023-05-22 09:54:47

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] AmdGPU crashed after resume from suspend

The warning messages in the journal should be resolved in 6.3.3 https://gitlab.freedesktop.org/drm/amd/-/issues/2522 which leaves nothing to go on as to why resume is failing.
Edit:
Is the 5.19.Y series affected or the issue was introduced in 6.0.Y?

Last edited by loqs (2023-05-22 10:03:27)

Offline

#6 2023-05-22 10:12:10

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] AmdGPU crashed after resume from suspend

loqs wrote:

Is the 5.19.Y series affected or the issue was introduced in 6.0.Y?

I don't know. I upgraded directly from 5.18 to 6.0 last November and experienced the freezing issue a few times, then downgraded:

[2022-11-14T17:39:14+0100] upgraded linux (5.18.3.arch1-1 -> 6.0.8.arch1-1)
[2022-11-19T21:36:12+0100] upgraded linux (6.0.8.arch1-1 -> 6.0.9.arch1-1)
[2022-12-01T18:00:17+0100] upgraded linux (6.0.9.arch1-1 -> 6.0.10.arch2-1)
[2022-12-09T10:19:43+0100] upgraded linux (6.0.10.arch2-1 -> 6.0.11.arch1-1)
[2022-12-10T19:30:23+0100] upgraded linux (6.0.11.arch1-1 -> 6.0.12.arch1-1)
[2022-12-12T10:48:24+0100] downgraded linux (6.0.12.arch1-1 -> 5.18.3.arch1-1)

P.S. And here is my dance with linux-firmware. :-)

[2022-09-01T13:45:53+0200] upgraded linux-firmware (20220708.be7798e-1 -> 20220815.8413c63-1)
[2022-09-26T13:43:52+0200] upgraded linux-firmware (20220815.8413c63-1 -> 20220913.f09bebf-1)
[2022-11-11T16:41:08+0100] upgraded linux-firmware (20220913.f09bebf-1 -> 20221109.60310c2-1)
[2022-11-22T16:48:07+0100] upgraded linux-firmware (20221109.60310c2-1 -> 20221109.60310c2-2)
[2022-12-12T10:49:12+0100] downgraded linux-firmware (20221109.60310c2-2 -> 20220708.be7798e-1)

Last edited by Morn (2023-05-22 10:16:50)

Offline

#7 2023-05-22 10:16:50

xannieto
Member
From: Caldas de Reis, Spain
Registered: 2023-05-19
Posts: 4

Re: [SOLVED] AmdGPU crashed after resume from suspend

loqs wrote:

The warning messages in the journal should be resolved in 6.3.3 https://gitlab.freedesktop.org/drm/amd/-/issues/2522 which leaves nothing to go on as to why resume is failing.
Edit:
Is the 5.19.Y series affected or the issue was introduced in 6.0.Y?

It's started with Linux 6 series, I think. I've just upgraded the kernel and I've made a couple of checks suspending the laptop. Now, it seems to be working fine.

Offline

#8 2023-05-22 10:17:15

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] AmdGPU crashed after resume from suspend

Would you mind trying https://archive.archlinux.org/packages/ … kg.tar.zst which is the last 5.19 release Arch packaged.  Once you have determined which series introduced the issue I can produce bisection kernels for you to test to identify the commit that introduced the issue so you can then report that upstream.
Edit:
Good to read the issue is resolved in 6.3.3.

Last edited by loqs (2023-05-22 10:18:02)

Offline

#9 2023-05-22 10:19:22

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] AmdGPU crashed after resume from suspend

xannieto wrote:

It's started with Linux 6 series, I think. I've just upgraded the kernel and I've made a couple of checks suspending the laptop. Now, it seems to be working fine.

I only got the freeze once or twice a week, so the issue might still exist.

I will try the kernel and firmware upgrade then...

Offline

#10 2023-05-22 14:58:21

xannieto
Member
From: Caldas de Reis, Spain
Registered: 2023-05-19
Posts: 4

Re: [SOLVED] AmdGPU crashed after resume from suspend

Morn wrote:
xannieto wrote:

It's started with Linux 6 series, I think. I've just upgraded the kernel and I've made a couple of checks suspending the laptop. Now, it seems to be working fine.

I only got the freeze once or twice a week, so the issue might still exist.

I will try the kernel and firmware upgrade then...

Since I upgraded to 6.3.3 this morning, it hasn't happened to me again.

Offline

Board footer

Powered by FluxBB