You are not logged in.

#1 2023-03-09 17:31:46

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 138
Website

AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

Hello, a few week ago, I encountered system freezes when returning from standby mode: Black screen with just my mouse, frozen. AMD Radeon RX 5700 XT, KDE Plasma 5.26/27 on X.org, starting with Linux 6.1.4. Since it doesn’t happen every time, I had to test each kernel version since for several days. These are my findings:

6.1.3: Stable
6.1.4: Freeze after standby
6.1.5: Seemingly stable again, but now my monitor LG 27GP950-B lost several refresh rate options… But this is a secondary problem for now… From 144, 120, 96, 72, 60, 50, 48 Hz down to just 144, 95, 60 Hz, still through Linux 6.2.x.
6.1.6: Again freezes
6.1.7: Freezes
6.1.8: Stable again
6.1.9: Still stable
6.1.10: Seemingly not the old freeze after standby but now strange freezes when I initiate standby; another time freeze after standby with the lockscreen visible (with lockscreen UI etc. visible).
6.1.11: Again the older freeze with black screen and mouse after standby
6.1.12: Same Freeze
6.2.0: Same Freeze

This is exhausting, I shouldn’t need to debug AMD’s driver but here we are. I need to bisect the kernels. First question: Where should I start? 6.1.4 or 6.1.11? Or 6.1.10?
Second question: Which PKGBUILD should I use? My last kernel bisects needed a customized file and I’m still a novice in this area.

Last edited by frumble (2023-03-09 17:35:30)

Offline

#2 2023-03-09 21:24:39

mearkat7
Member
Registered: 2023-03-07
Posts: 19

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

It sounds like a similar issue to what i'm getting (thread here: https://bbs.archlinux.org/viewtopic.php?id=284076). I've gone back a few kernels but not as far back as you, on your findings i've currently switched to 6.1.9 to see if stability improves for me.

I'm new to all of this but let me know if I can help in any way.

Last edited by mearkat7 (2023-03-09 21:26:58)

Offline

#3 2023-03-09 21:36:09

loqs
Member
Registered: 2014-03-06
Posts: 15,840

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

I would suggest bisecting 6.1 to 6.2 as that would be where the issue was introduced upstream or 6.1.3 to 6.1.4 as that is the first stable with the issue.
You can find some prebuilt bisection kernels for 6.1 to 6.2 in https://bugs.archlinux.org/task/77632#comment215509

Offline

#4 2023-03-10 09:21:35

seth
Member
Registered: 2012-09-03
Posts: 36,837

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

Do you get similar stack traces as https://bbs.archlinux.org/viewtopic.php … 8#p2089168 ?
@mearkat7, do you also encounter those freezes (only) after S3 cycles?

Offline

#5 2023-03-12 20:46:15

mearkat7
Member
Registered: 2023-03-07
Posts: 19

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

seth wrote:

Do you get similar stack traces as https://bbs.archlinux.org/viewtopic.php … 8#p2089168 ?
@mearkat7, do you also encounter those freezes (only) after S3 cycles?

I have tried both 6.1.3, 6.1.8 and 6.1.9 and still get freezes on all of the above so it must be a different issue unfortunately. Forgive my ignorance but what is an S3 cycle?

Offline

#6 2023-03-12 21:23:49

seth
Member
Registered: 2012-09-03
Posts: 36,837

Offline

#7 2023-03-14 00:51:27

mearkat7
Member
Registered: 2023-03-07
Posts: 19

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

Not from suspend for me no.

The freezes will occur at any random time from boot but from what i've noticed my PC will only restart and fully crash when my display has gone to sleep.

Offline

#8 2023-03-14 10:23:19

seth
Member
Registered: 2012-09-03
Posts: 36,837

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

That would be dpms, https://bbs.archlinux.org/viewtopic.php … 7#p2089127

Last edited by seth (2023-03-14 10:25:15)

Offline

#9 2023-03-15 03:38:59

mearkat7
Member
Registered: 2023-03-07
Posts: 19

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

Sadly i've tried turning dpms off and the issue still occurs.

Offline

#10 2023-03-15 07:35:21

seth
Member
Registered: 2012-09-03
Posts: 36,837

Re: AMDGPU freeze problems with Linux 6.1.4+, need kernel bisection

So

i've noticed my PC will only restart and fully crash when my display has gone to sleep.

does no longer hold?
Does something else (screensaver) trigger DPMS?
Is it maybe not DPMS but some fancy screensaver animation that just co-incided w/ "display has gone to sleep"?

Offline

Board footer

Powered by FluxBB