Skip to contentSkip to conversation

possible bug with RDNA4 and AMS

DISCUSSION Malte Schröder 3 participants 4 messages Apr 21, 2025 – Apr 23, 2025

lore
Share & tools
lore
#0 lore raw

Hi,

finally found this list, I hope it's the right place for this. I recently swapped my trusty RX 6900 XT with a shiny new RX 9070 XT (aka RDNA2 to 4). Now, when I start kwin_wayland my desktop is a flickering mess. As a workaround I can set KWIN_DRM_NO_AMS, it is working with this. Afaik this disables the use of atomic mode setting. So I guess there is a bug in either amdgpu kernel side, libdrm or mesa.

Versions are kernel 6.15-rc2 + drm-fixes-6.15, libdrm is from git (2.4.124 fdf384d4), mesa is 25.1-rc and kwin is 6.3.4.

I am happy to provide debug, but I need some guidance to it.

Regards

Malte

#1 lore raw
Quoted 10 lines · Malte Schröder

Hi,

finally found this list, I hope it's the right place for this. I recently swapped my trusty RX 6900 XT with a shiny new RX 9070 XT (aka RDNA2 to 4). Now, when I start kwin_wayland my desktop is a flickering mess. As a workaround I can set KWIN_DRM_NO_AMS, it is working with this. Afaik this disables the use of atomic mode setting. So I guess there is a bug in either amdgpu kernel side, libdrm or mesa.

Quoted 4 lines

Versions are kernel 6.15-rc2 + drm-fixes-6.15, libdrm is from git (2.4.124 fdf384d4), mesa is 25.1-rc and kwin is 6.3.4.

I am happy to provide debug, but I need some guidance to it.

Please file a bug here:
https://gitlab.freedesktop.org/drm/amd/-/issues/
and attach your dmesg output.

Alex

Quoted 6 lines

Regards

Malte

#2 lore raw
In reply to Malte Schröder
Quoted 8 lines · Malte Schröder

Hi,

finally found this list, I hope it's the right place for this. I recently swapped my trusty RX 6900 XT with a shiny new RX 9070 XT (aka RDNA2 to 4). Now, when I start kwin_wayland my desktop is a flickering mess. As a workaround I can set KWIN_DRM_NO_AMS, it is working with this. Afaik this disables the use of atomic mode setting. So I guess there is a bug in either amdgpu kernel side, libdrm or mesa.

FWIW, if it's a user-space issue, it's most likely in kwin. Mesa doesn't use KMS directly in this scenario, and libdrm is just a thin wrapper around KMS ioctls.

Signature · 2 lines
Earthling Michel Dänzer       \        GNOME / Xwayland / Mesa developer
https://redhat.com             \               Libre software enthusiast
#3 lore raw
Quoted 11 lines · Michel Dänzer
Quoted 8 lines · Malte Schröder

Hi,

finally found this list, I hope it's the right place for this. I recently swapped my trusty RX 6900 XT with a shiny new RX 9070 XT (aka RDNA2 to 4). Now, when I start kwin_wayland my desktop is a flickering mess. As a workaround I can set KWIN_DRM_NO_AMS, it is working with this. Afaik this disables the use of atomic mode setting. So I guess there is a bug in either amdgpu kernel side, libdrm or mesa.

FWIW, if it's a user-space issue, it's most likely in kwin. Mesa doesn't use KMS directly in this scenario, and libdrm is just a thin wrapper around KMS ioctls.

I only encountered this issue after upgrading my GPU. My config has been running fine with the Navi21 GPU.

Anyways, I found there is already an open ticket:

https://gitlab.freedesktop.org/drm/amd/-/issues/4057

I also was hitting https://gitlab.freedesktop.org/drm/amd/-/issues/4144.

Strange that I didn't manage to find these. My search engine foo must have been weak...

Regards

Malte