View previous topic :: View next topic |
Author |
Message |
krumpf Apprentice

Joined: 15 Jul 2018 Posts: 203
|
Posted: Sat Mar 01, 2025 6:11 pm Post subject: Random freezes when using kernel 6.12 (clang?) |
|
|
Hi,
the kernel 6.12 is causing random freezes on my desktop, only solved by hard reset.
E.g. :
- just after I entered my password in lightdm, desktop (xfce) appears and instantly freezes
- I'm just reading mail, or watching a youtube video, and everything freezes
So just random freezes, kern.log doesn't show any error messages.
Previous kernel (6.6) works flawlessly.
My main suspect is the amdgpu module, and it seems there are a lot of similar issue :
https://gitlab.freedesktop.org/drm/amd/-/issues/3787
https://gitlab.freedesktop.org/drm/amd/-/issues/4002
https://gitlab.freedesktop.org/drm/amd/-/issues/3925
https://gitlab.freedesktop.org/drm/amd/-/issues/3943
I've also seen talks about a mesa bug, or a firmware issue :s
I was wondering, is anyone facing the same kind of freezes since upgrade to kernel 6.12 ?
P.S. : I'm using a rdna3 7900xtx
Edit : I was wrong suspecting amdgpu ! _________________ Dragon Princess Music Games Heroes and villains
Last edited by krumpf on Mon Mar 03, 2025 7:21 pm; edited 2 times in total |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9916 Location: almost Mile High in the USA
|
Posted: Sun Mar 02, 2025 2:27 am Post subject: |
|
|
I'm having random freezes as well with my old R7-250 and W2100 GPUs unsure relation...
Maybe related topic
Might be different, I'm using a old kernel 6.6.67 but mesa-24.3.4-r1. Which is bad because mesa should be userland and userland bugs shouldn't cause machine freezes like this... I was running dual monitor on both, unsure if that makes a difference.
I have not tested my V3900 or my intel GPU system enough to say if it's reproducible on different driver paths... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
krumpf Apprentice

Joined: 15 Jul 2018 Posts: 203
|
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1909 Location: Germany
|
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9916 Location: almost Mile High in the USA
|
Posted: Sun Mar 02, 2025 10:00 am Post subject: |
|
|
really suspicious that all these cards started failing around the same time ...
not even sure if they have any similarities. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
krumpf Apprentice

Joined: 15 Jul 2018 Posts: 203
|
Posted: Sun Mar 02, 2025 10:15 am Post subject: |
|
|
I'll start by quoting a mesa dev
Quote: | "random" issues are often power management related, for example they can happen when an overclock / undervolt is applied or when the power limit is set too high. We've also seen bugs when the kernel simply sets incorrect / unstable frequencies and voltages to the GPU. |
Now, link that to this drm/amd bug thread, and you'll understand why I believe the culprit is amdgpu module. I once read (on phoronix iirc) that amd had planned better RDNA power management for kernel 6.13, but a few people already report issues with that kernel too :-/ _________________ Dragon Princess Music Games Heroes and villains |
|
Back to top |
|
 |
keekkenen n00b

Joined: 05 Oct 2024 Posts: 42
|
Posted: Sun Mar 02, 2025 10:53 am Post subject: Re: Random freezes when using kernel 6.12 (amdgpu?) |
|
|
krumpf wrote: |
I was wondering, is anyone facing the same kind of freezes since upgrade to kernel 6.12 ?
|
My system works fine, and I didn't see any changes after migration from 6.6.x to 6.12.x kernel version. _________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
 |
Goverp Advocate


Joined: 07 Mar 2007 Posts: 2211
|
Posted: Sun Mar 02, 2025 12:05 pm Post subject: |
|
|
I've two AMD systems, an old AMD A9 laptop with integrated GPU, and a less old AMD Zen3 desktop with X570 graphics card. Both using AMDGPU.
Both ran kernel 6.12.x happily, now both on 6.13.x, no problems with freezes.
FWIW mesa version 24.3.4-r1 _________________ Greybeard |
|
Back to top |
|
 |
krumpf Apprentice

Joined: 15 Jul 2018 Posts: 203
|
Posted: Mon Mar 03, 2025 7:42 pm Post subject: |
|
|
I was wrong, it seems amdgpu is not the culprit.
I've recompiled kernel 6.12 again, and so far, no freezes.
What did I change ? Well, I was wearing my lucky socks.
And I compiled using gcc instead of clang.
To sum up my experiments :
kernel 6.6 compiled with
gcc ---> works
clang ---> untested
clang+thinLTO ---> works
kernel 6.12 compiled with
gcc ---> works
clang ---> random freezes
clang+thinLTO ---> random freezes
So it seems the new suspect is clang. Or maybe one of the new clang specific options in kernel config. _________________ Dragon Princess Music Games Heroes and villains |
|
Back to top |
|
 |
|