You are not logged in.

#651 2025-03-01 06:41:42

nium
Member
Registered: 2018-03-21
Posts: 2

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

AMD Radeon RX7600
kernel 6.12.17-arch1-1 (6.13.5-arch1-1 also affected)
mesa 1:24.3.4-1

uptime 30min, black screen, non responsive...

kernel: amdgpu 0000:09:00.0: [drm] *ERROR* [CRTC:79:crtc-0] flip_done timed out
kernel: amdgpu 0000:09:00.0: amdgpu: Dumping IP State
kernel: amdgpu 0000:09:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
kernel: amdgpu 0000:09:00.0: amdgpu: Failed to disable gfxoff!
kernel: amdgpu 0000:09:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
kernel: amdgpu 0000:09:00.0: amdgpu: Failed to disable gfxoff!
kernel: amdgpu 0000:09:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
kernel: amdgpu 0000:09:00.0: amdgpu: Failed to disable gfxoff!
kernel: amdgpu 0000:09:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
kernel: amdgpu 0000:09:00.0: amdgpu: Failed to disable gfxoff!
kernel: amdgpu 0000:09:00.0: amdgpu: Dumping IP State Completed
kernel: amdgpu 0000:09:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=13407, emitted seq=13409
kernel: amdgpu 0000:09:00.0: amdgpu: Process information: process Xwayland pid 2107 thread Xwayland:cs0 pid 2171
kernel: amdgpu 0000:09:00.0: amdgpu: MES failed to respond to msg=RESET
kernel: [drm:amdgpu_mes_reset_legacy_queue [amdgpu]] *ERROR* failed to reset legacy queue
kernel: amdgpu 0000:09:00.0: amdgpu: GPU reset begin!
kernel: amdgpu 0000:09:00.0: amdgpu: device lost from bus!
kernel: amdgpu 0000:09:00.0: amdgpu: GPU reset end with ret = -19
kernel: amdgpu 0000:09:00.0: amdgpu: GPU Recovery Failed: -19
kernel: amdgpu 0000:09:00.0: amdgpu: SMU: response:0xFFFFFFFF for index:41 param:0x00000000 message:DisallowGfxOff?
kernel: amdgpu 0000:09:00.0: amdgpu: Failed to disable gfxoff!

Last edited by nium (2025-03-01 13:50:02)

Offline

#652 2025-03-01 11:52:39

Mechanicus
Member
Registered: 2025-01-13
Posts: 119

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

AMDGPU stable GFX9 + RDNA1.0 & RDNA 3.0

glibc 2.41+r9+ga900dbaf70f0-1
Build: linux-amdgpu-stable-6.13.5.arch1-1
This build contains patches from stable linux-amdgpu-testing-6.13.4.arch1-18 + reverted mainstream workaround, so it can be compared to the original 6.13.5.arch1.

Fixes the freeze for Raven + RDNA 1.0 and RDNA 3.0:
https://www.techpowerup.com/gpu-specs/? … generation
https://www.techpowerup.com/gpu-specs/? … generation

GitHub

Last edited by Mechanicus (2025-03-01 16:20:04)

Offline

#653 2025-03-02 09:03:16

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 148

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

So, after about 25 days of stable uptime with patched mesa mesa-test-git-25.0.0_devel.200908.66775c89fce-1 and linux 6.12.8, I upgraded the system to linux 6.13.4 and newer patched mesa mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 and got two freezes after a day or so. This time I could not reach the system over SSH. I see nothing relevant in the logs. Upgraded again to  linux 6.13.5 and switched to repo's mesa 24.3.4. (AMD Ryzen 5 3400G with Radeon Vega Graphics)


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#654 2025-03-02 09:54:23

OJaksch
Member
From: Germany
Registered: 2016-02-23
Posts: 38

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

Nicky726 wrote:

So, after about 25 days of stable uptime with patched mesa mesa-test-git-25.0.0_devel.200908.66775c89fce-1 and linux 6.12.8, I upgraded the system to linux 6.13.4 and newer patched mesa mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 and got two freezes after a day or so. This time I could not reach the system over SSH. I see nothing relevant in the logs. Upgraded again to  linux 6.13.5 and switched to repo's mesa 24.3.4. (AMD Ryzen 5 3400G with Radeon Vega Graphics)


Interesting... My setup is up to date but with mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 and running stable for almost three weeks now. Never had any issue.

Device: AMD Radeon Vega 11 Graphics (radeonsi, raven, ACO, DRM 3.61, 6.13.5-arch1-1) (0x15d8)

Offline

#655 2025-03-02 11:49:36

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 380
Website

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

Nicky726 wrote:

I upgraded the system to linux 6.13.4 and newer patched mesa mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 and got two freezes after a day or so.

My OS is stable.

[2025-02-22T12:39:32+0200] [ALPM] upgraded mesa-test-git (25.0.0_devel.200729.61e289d0ca0-1 -> 25.0.0_rc3.201182.3a8abfa39b7-1)
linux 6.13.2.arch1-1
linux-headers 6.13.2.arch1-1
linux-firmware 20250109.7673dffd-1
glibc 2.41+r6+gcf88351b685d-1

we are not condemned to write ugly code

Offline

#656 2025-03-02 15:12:27

grayich
Member
Registered: 2012-02-24
Posts: 7

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

Nicky726 wrote:

Interesting... My setup is up to date but with mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 and running stable for almost three weeks now. Never had any issue.

the same
mesa-test-git-25.0.0_rc3.201182.3a8abfa39b7-1 - works stably
Ryzen 3 3200G, Vega8

Last edited by grayich (2025-03-02 15:13:18)

Offline

#657 Yesterday 16:22:11

orbit-oc
Member
Registered: 2024-12-15
Posts: 77

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

#649
After the release of linux 6.13.5 and linux-lts 6.12.17 I am now back to the current mesa 24.3.4 with the current linux-lts.
First I test if there are actually no more crashes (freezes).

With the current kernel (here: lts), mesa 24.3.4 has been running stably for about 30 hours now.

So mesa can wait another month with another release (joke). Mesa 24.3.5 was announced for Feb 05. Yes, I know: the fix is not supposed to be included in that version. But it would have been easy to release a separate version 24.3.4.1 with that gfx9-fix for Raven/Raven2, because the severity of the bug is well known.

So anyway ...
After 3 months, things seem to be back to normal for me.
The second question still remains...

Offline

#658 Today 02:00:11

NuSkool
Member
Registered: 2015-03-23
Posts: 257

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

My system has been 99.5% reliable since I updated the kernel to 'linux 6.13.5' when it was in testing repo, now in core.
The 0.5% glitches are a result of the user....

beroal wrote:

My OS is stable.

Wait, what OS though, or are you holding back on updates? All those packages have been updated on my system, and it's been around a week since I've updated.
Have you tried updating?

Prep4ud report : Mar 03 2025 10:00 AM
Last update    : 7 days, 22 hours, 30 minutes ago
Last reboot    : 2 days, 1 hour, 0 minute ago

Updates available:
1   ca-certificates-mozilla       3.108-1              ->  3.109-1
2   chromium                      133.0.6943.126-2     ->  133.0.6943.141-1
3   coreutils                     9.6-2                ->  9.6-3
4   dbus                          1.16.0-1             ->  1.16.2-1
5   device-mapper                 2.03.30-1            ->  2.03.31-1
6   diffutils                     3.10-1               ->  3.11-1
7   fzf                           0.60.0-1             ->  0.60.2-1
8   gettext                       0.23.1-2             ->  0.24-1
9   glow                          2.0.0-1              ->  2.1.0-1
10  grub                          2:2.12-3             ->  2:2.12.r226.g56ccc5ed-1
11  gsmartcontrol                 1.1.4-1              ->  2.0.2-1
12  harfbuzz                      10.3.0-1             ->  10.4.0-1
13  harfbuzz-icu                  10.3.0-1             ->  10.4.0-1
14  iana-etc                      20241206-1           ->  20250213-1
15  kmod                          33-3                 ->  34-1
16  labwc                         0.8.2-2              ->  0.8.3-1
17  libavif                       1.1.1-2              ->  1.2.0-1
18  libedit                       20240808_3.1-1       ->  20250104_3.1-1
19  libheif                       1.19.5-1             ->  1.19.7-1
20  libnghttp2                    1.64.0-1             ->  1.65.0-1
21  libnghttp3                    1.7.0-1              ->  1.8.0-1
22  libnm                         1.50.2-1             ->  1.52.0-1
23  libreoffice-still             24.8.5-1             ->  24.8.5-3
24  libspeechd                    0.11.5-3             ->  0.12.0-1
25  liburcu                       0.15.0-1             ->  0.15.1-1
26  libxml2                       2.13.6-2             ->  2.13.6-3
27  mtools                        1:4.0.47-1           ->  1:4.0.48-1
28  networkmanager                1.50.2-1             ->  1.52.0-1
29  noto-fonts                    1:2025.02.01-1       ->  1:2025.03.01-1
30  nss                           3.108-1              ->  3.109-1
31  os-prober                     1.81-2               ->  1.83-1
32  pacman                        7.0.0.r6.gc685ae6-1  ->  7.0.0.r6.gc685ae6-2
33  parallel                      20250122-1           ->  20250222-1
34  pcre2                         10.44-1              ->  10.45-1
35  pkgfile                       22-1                 ->  24-1
36  python-dulwich                0.22.7-1             ->  0.22.8-1
37  python-more-itertools         10.5.0-1             ->  10.6.0-1
38  python-pyopenssl              24.3.0-1             ->  25.0.0-1
39  python-sphinx                 8.1.3-2              ->  8.2.3-1
40  sdl2-compat                   2.32.50-1            ->  2.32.52-1
41  sdl2_image                    2.8.5-1              ->  2.8.6-1
42  sdl3                          3.2.4-1              ->  3.2.6-1
43  shadow                        4.16.0-1             ->  4.17.3-1
44  spirv-llvm-translator         19.1.4-1             ->  19.1.5-1
45  spirv-tools                   2024.4.rc2-1         ->  1:1.4.304.1-2
46  suitesparse                   7.8.3-1              ->  7.10.0-1
47  virtualbox-host-modules-arch  7.1.6-9              ->  7.1.6-10
48  vte-common                    0.78.3-2             ->  0.78.4-1
49  vte3                          0.78.3-2             ->  0.78.4-1
50  vulkan-headers                1:1.4.303-1          ->  1:1.4.304.1-2
51  vulkan-icd-loader             1.4.303-1            ->  1.4.304.1-1
52  vulkan-tools                  1.4.303-2            ->  1.4.304.1-1
53  which                         2.21-6               ->  2.23-1
54  xorg-server                   21.1.15-1            ->  21.1.16-1
55  xorg-server-common            21.1.15-1            ->  21.1.16-1
56  xorg-xwayland                 24.1.5-1             ->  24.1.6-1
57  zstd                          1.5.6-1              ->  1.5.7-2

Updates available, not downloaded:

Updates available locally:
1   chromium-133.0.6943.141-1-x86_64.pkg.tar.zst
2   coreutils-9.6-3-x86_64.pkg.tar.zst
3   device-mapper-2.03.31-1-x86_64.pkg.tar.zst
4   diffutils-3.11-1-x86_64.pkg.tar.zst
5   fzf-0.60.2-1-x86_64.pkg.tar.zst
6   gettext-0.24-1-x86_64.pkg.tar.zst
7   glow-2.1.0-1-x86_64.pkg.tar.zst
8   grub-2:2.12.r226.g56ccc5ed-1-x86_64.pkg.tar.zst
9   gsmartcontrol-2.0.2-1-x86_64.pkg.tar.zst
10  harfbuzz-10.4.0-1-x86_64.pkg.tar.zst
11  harfbuzz-icu-10.4.0-1-x86_64.pkg.tar.zst
12  iana-etc-20250213-1-any.pkg.tar.zst
13  kmod-34-1-x86_64.pkg.tar.zst
14  labwc-0.8.3-1-x86_64.pkg.tar.zst
15  libavif-1.2.0-1-x86_64.pkg.tar.zst
16  libedit-20250104_3.1-1-x86_64.pkg.tar.zst
17  libnghttp3-1.8.0-1-x86_64.pkg.tar.zst
18  libnm-1.52.0-1-x86_64.pkg.tar.zst
19  libreoffice-still-24.8.5-3-x86_64.pkg.tar.zst
20  libspeechd-0.12.0-1-x86_64.pkg.tar.zst
21  liburcu-0.15.1-1-x86_64.pkg.tar.zst
22  libxml2-2.13.6-3-x86_64.pkg.tar.zst
23  mtools-1:4.0.48-1-x86_64.pkg.tar.zst
24  networkmanager-1.52.0-1-x86_64.pkg.tar.zst
25  noto-fonts-1:2025.03.01-1-any.pkg.tar.zst
26  os-prober-1.83-1-x86_64.pkg.tar.zst
27  pacman-7.0.0.r6.gc685ae6-2-x86_64.pkg.tar.zst
28  parallel-20250222-1-any.pkg.tar.zst
29  pcre2-10.45-1-x86_64.pkg.tar.zst
30  pkgfile-24-1-x86_64.pkg.tar.zst
31  python-more-itertools-10.6.0-1-any.pkg.tar.zst
32  python-pyopenssl-25.0.0-1-any.pkg.tar.zst
33  python-roman-numerals-py-3.1.0-1-any.pkg.tar.zst
34  shadow-4.17.3-1-x86_64.pkg.tar.zst
35  spirv-llvm-translator-19.1.5-1-x86_64.pkg.tar.zst
36  spirv-tools-1:1.4.304.1-2-x86_64.pkg.tar.zst
37  virtualbox-host-modules-arch-7.1.6-10-x86_64.pkg.tar.zst
38  vte3-0.78.4-1-x86_64.pkg.tar.zst
39  vte-common-0.78.4-1-x86_64.pkg.tar.zst
40  vulkan-headers-1:1.4.304.1-2-any.pkg.tar.zst
41  vulkan-icd-loader-1.4.304.1-1-x86_64.pkg.tar.zst
42  vulkan-tools-1.4.304.1-1-x86_64.pkg.tar.zst
43  which-2.23-1-x86_64.pkg.tar.zst
44  xorg-server-21.1.16-1-x86_64.pkg.tar.zst
45  xorg-server-common-21.1.16-1-x86_64.pkg.tar.zst
46  xorg-xwayland-24.1.6-1-x86_64.pkg.tar.zst
47  zstd-1.5.7-2-x86_64.pkg.tar.zst

Downloaded packages:
1   ca-certificates-mozilla-3.109-1-x86_64 downloading...
2   dbus-1.16.2-1-x86_64 downloading...
3   libheif-1.19.7-1-x86_64 downloading...
4   libnghttp2-1.65.0-1-x86_64 downloading...
5   nss-3.109-1-x86_64 downloading...
6   python-dulwich-0.22.8-1-x86_64 downloading...
7   python-sphinx-8.2.3-1-any downloading...
8   sdl2-compat-2.32.52-1-x86_64 downloading...
9   sdl2_image-2.8.6-1-x86_64 downloading...
10  sdl3-3.2.6-1-x86_64 downloading...
11  suitesparse-7.10.0-1-x86_64 downloading...

Last edited by NuSkool (Today 02:00:53)


Scripts I use: https://github.com/Cody-Learner
$ glxinfo | grep Device                                Device: AMD Radeon Vega 11 Graphics (radeonsi, raven, LLVM 19.1.7, DRM 3.60, 6.13.3-arch1-1.1) (0x15dd)
$ sudo dmesg | awk '/drm/ && /gfx/'       [    6.427009] [drm] add ip block number 6 <gfx_v9_0>

Offline

#659 Today 08:13:15

lpr1
Member
Registered: 2017-10-08
Posts: 113

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

orbit-oc wrote:

#649
After the release of linux 6.13.5 and linux-lts 6.12.17 I am now back to the current mesa 24.3.4 with the current linux-lts.
First I test if there are actually no more crashes (freezes).

With the current kernel (here: lts), mesa 24.3.4 has been running stably for about 30 hours now.

So mesa can wait another month with another release (joke). Mesa 24.3.5 was announced for Feb 05. Yes, I know: the fix is not supposed to be included in that version. But it would have been easy to release a separate version 24.3.4.1 with that gfx9-fix for Raven/Raven2, because the severity of the bug is well known.

So anyway ...
After 3 months, things seem to be back to normal for me.
The second question still remains...

There's no change for non-LTS kernel, issue is still present. I'm now at:
linux 6.13.5.arch1-1
mesa 1:24.3.4-1

Using workaround amdgpu.ppfeaturemask=0xfff73fff to make it stable.

Offline

#660 Today 08:41:32

orbit-oc
Member
Registered: 2024-12-15
Posts: 77

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

lpr1 wrote:

There's no change for non-LTS kernel, issue is still present. I'm now at:
linux 6.13.5.arch1-1
mesa 1:24.3.4-1

Will this never end?

Offline

#661 Today 10:09:49

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 148

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

I have 2 day ok uptime (which I don't consider sufficiently long, as it usually took some days of normal usage for me to freeze it) with:

linux 6.13.5.arch1-1
amd-ucode 20250210.5bc5868b-1
linux-firmware 20250210.5bc5868b-1
linux-api-headers 6.13-1
mesa 1:24.3.4-1
glibc 2.41+r9+ga900dbaf70f0-1

And looking into logs, the configuration that froze for me twice had:

linux 6.13.4.arch1-1
amd-ucode 20250210.5bc5868b-1
linux-firmware 20250210.5bc5868b-1
linux-api-headers 6.13-1
mesa-test-git (25.0.0_rc3.201182.3a8abfa39b7-1)
glibc 2.41+r9+ga900dbaf70f0-1

"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#662 Today 10:09:52

Mechanicus
Member
Registered: 2025-01-13
Posts: 119

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

@lpr1 You can use  linux-amdgpu-stable-6.13.5.arch1-1 as well. It would be good to get your performance metrics compared to LTS/mainline kernels.

Offline

#663 Today 12:20:09

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 380
Website

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

NuSkool wrote:
beroal wrote:

My OS is stable.

Wait, what OS though, or are you holding back on updates? All those packages have been updated on my system, and it's been around a week since I've updated.

Yes, I update not too often. Otherwise, how do you guarantee that a specific combination of package versions is stable for a week?


we are not condemned to write ugly code

Offline

#664 Today 12:23:57

lpr1
Member
Registered: 2017-10-08
Posts: 113

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

orbit-oc wrote:
lpr1 wrote:

There's no change for non-LTS kernel, issue is still present. I'm now at:
linux 6.13.5.arch1-1
mesa 1:24.3.4-1

Will this never end?

Once mesa gets updated since I doubt kernel will.

Offline

#665 Today 12:26:58

lpr1
Member
Registered: 2017-10-08
Posts: 113

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

Mechanicus wrote:

@lpr1 You can use  linux-amdgpu-stable-6.13.5.arch1-1 as well. It would be good to get your performance metrics compared to LTS/mainline kernels.

Honestly I got lost with all the versions and, well, basically, I needed stable system for work, so that's the main reason I moved to repository versions. As for performance metrics, I honestly don't really test that, simply lacking time, so it's kinda pointless as long as you have solid metrics to go by from others.

Offline

#666 Today 12:44:13

Mechanicus
Member
Registered: 2025-01-13
Posts: 119

Re: Issues with Mesa 24.3.x and amdgpu Vega graphics

lpr1 wrote:

Honestly I got lost with all the versions and, well, basically, I needed stable system for work, so that's the main reason I moved to repository versions. As for performance metrics, I honestly don't really test that, simply lacking time, so it's kinda pointless as long as you have solid metrics to go by from others.

I understand. Well, the link I posted above is my best stable build at the moment. It will be useful for RDNA 1.0 and 3.0 graphics cards owners as well.

Offline

Board footer

Powered by FluxBB