I’m using the amdgpu driver on a laptop with an integrated ryzen amd gpu. I’ve noticed that after some update from 20240418 I got worse graphics performance. I rolled back and updated a few times to different versions but graphics performance was worse on all versions up to the one available on 2024-05-05. I tried updating Mesa itself on the working 20240418 snapshot but there were some graphics glitches like transparent kde task manager (I only updated Mesa without other packages so maybe that’s why).
I’m not sure what I should write in a bug report. The problem is finding the culprit of the issue. Did somebody have a similar issue and knows what causes the performance degradation?
Thanks for helping
System info:
Operating System: openSUSE Tumbleweed 20240418
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5625U with Radeon Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82SG
System Version: IdeaPad 5 15ABA7
I ran zypper dup to update, but all versions newer than 20240418 cause a performance loss. I’m now on Mesa 24.0.3 from the working snapshot. I can update only mesa itself from the snapshot but doing so causes visual glitches.
The 20240503 version of tumbleweed also causes a delay in bash completion on my system for some apps like mpv (it has a lot of options, but on the old snapshot it’s instant). I don’t know if mesa has anything to do with virtual terminals, but the bash completion is also slow there.
I found something interesting. To test the performance I’m playing a video with mpv in a virtual terminal with output as terminal half blocks (mpv --vo=tct). That’s the way I discovered that something is wrong.
When I start the system normally and switch to a virtual terminal without logging in through sddm (so I don’t start a desktop session), the video playback works properly and bash completion seems faster.
But when I log in through sddm and switch to a virtual terminal with kde plasmashell running, I get the slow bash completion and mpv drops frames. Logging out of kde doesn’t fix the issue. Sddm also crashed when I tried to log out (black screen with just mouse pointer after logging out), but I’m not sure if it’s related.
I guess it could be not directly related to mesa but more to something from kde.
To see whether the problem could be in Plasma rather than X11 or Wayland, try opening an IceWM session from SDDM to run mpv. To see whether it could be X11 rather than Wayland, try opening Plasma in Wayland instead of X11 to run mpv.
Videos play fine with mpv in a graphical session in normal mode. They don’t play well in text mode (I know that nobody watches videos that way, but it shows the frame dropping behavior after the update).
The new snapshots also seem to have stutter when cycling through tabs in firefox (hold ctrl + tab). On the old snapshot it works normally.
Sorry for the late reply. I’ve tested IceWM and all combinations with x11 and wayland and here’s what I’ve discovered:
Boot, sddm loads, I don’t start any desktop session and switch to virtual console. No frame drops here.
Boot, sddm loads, start IceWM desktop session, switch to virtual console. No frame drops here.
Boot, sddm loads, start IceWM desktop session and log out of it, switch to virtual console. No frame drops here.
Boot, sddm loads, start X11 or Wayland Plasma desktop session, switch to virtual console. Frame drops happen.
Boot, sddm loads, start Wayland or X11 Plasma desktop session and log out of it, switch to virtual console. Frame drops happen the same as with Plasma running.
So it seems that the issue is related to plasma and it could be something that still runs after logging out of it.