Glitches in Gnome animations and effects as well as in the steam window and in games at high framerates on a AMD Ryzen 7 7840HS APU in a Tuxedo Pulse 14 Gen3 Notebook
Brief summary of the problem:
I reported this bug first here: https://gitlab.gnome.org/GNOME/mutter/-/issues/3299 because I thought it was probably a Mutter problem. There, it was suggested that I should try the kernel command line parameter amdgpu.dcdebugmask=0x10
, which makes the problem disappear. A suggestion which I am very thankful for. It was also said, that this is most likely a kernel bug and should be reported here.
The glitches kind of resemble tearing, but more severe than tearing. I will attach examples that show the glitches. They can not be seen in a screenrecording, which I have tried with the GNOME screenrecording tool. Changing the scaling from 200% to 100% makes no difference. Changing the refresh rate of the display from 120Hz to 60Hz makes no difference.
The glitches happen about 50% of the time when I use the window overview feature of gnome (left upper corner or meta key). Here, they tend to appear in the lower half of the screen. They happen also about 50% of the time when I open or close the logout dialogue. The glitches also appear in the window of Steam.
In games (I've only tested Shadow of the Tomb Raider), the glitches only appear when the game runs at high framerates. I had to turn the resolution as well as the graphics settings to the minimum to achieve this. They do not appear when the game runs with low framerates, for example when using a higher resolution and higher graphics settings.
If there are any other steps or things I can do to help with finding the source of this bug, I would be very glad to help.
Hardware description:
- Tuxedo Pulse 14 Gen3 Notebook
- lshw.log
- CPU: AMD Ryzen 7 7840HS
- GPU: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c7)
- System Memory: 32 GB LPDDR5-6400 (4x 8GB; Dual-Channel; soldered; Not upgradable)
- I have tested the RAM with memtest86, which ran it's tests successfully and did not report any errors.
- Display(s): 2880 x 1800 ; 120 Hz
- Type of Display Connection: Integrated (Laptop)
Since the glitches do not appear on the same Laptop and the same distribution in the same use cases when running KDE (I've tested Fedora 39 with KDE and Tuxedo OS with KDE, both of which didn't exhibit the glitches), I think it is most probably not a hardware problem.
System information:
These are the versions which I have tested where the glitches happen. I have not tested other GNOME versions on the hardware other than the ones listed below, which means, every version I tested has this bug. The Bug does not appear when KDE is used instead of GNOME. I have tried Fedora 39 KDE and Tuxedo OS KDE.
- Fedora 40 Pre Release (nightly from 2024-02-18) with GNOME 46 beta and Kernel 6.8-rc4
- I've tested the Gnome Shell on Wayland session, which is the default on the live iso.
- Fedora 39 with GNOME 45.4 and Kernel 6.7.4
- The glitches happen in the Gnome Shell on both Wayland and Xorg
- The Gnome Classic Session also has the glitches, I have tested Gnome Classic on Wayland
- OpenSUSE Tumbleweed with GNOME 45.3-2.2 and Kernel 6.7.4
- I've tested the Gnome Shell on Wayland session, which is the default on the live iso.
How to reproduce the issue:
- Start a live CD, or install a distribution out of the ones I have listed in the "System Information" section on a Tuxedo Pulse 14 Gen3 Notebook with a AMD Ryzen 7 7840HS APU
- Use the window overview feature (left upper corner or meta key)
- Or start Steam, where the glitches randomly appear inside the window
- Or start a game which renders at high framerates (I have only tested Shadow of the Tomb Raider)
Attached files:
Screenshots/video files
Unfortunately, if I just do a screenrecording with the default GNOME screencapture tool, the glitches are not visible, so I had to film the screen with my phone. Since the comment in this field says "Prefer screenshots over videos" I took still images from the videos I made. What you can not see in the images is that the glitches appear and disappear very fast. They do not stay on the screen, they pop up and then disappear.
Log files (for system lockups / game freezes / crashes)
- Dmesg log (full log)
- This is how I made the dmesg logs. I have removed the WiFi log entries for privacy reasons:
- journalctl --dmesg | awk '$6 != "wlp2s0:"' > dmesg.log
- dmesg.log
- This is how I made the dmesg logs. I have removed the WiFi log entries for privacy reasons:
If I open a terminal and let "journalctl -f" run while I provoke the bug, no errors or any other logs appear.