Can't maintain 60Hz with 4k monitor and 5500 XT
Affected version
Although this issue has occurred across at least Fedora 34 and 35 and multiple versions of mutter, I'm currently using:
- Fedora 35
- mutter 41.4
- Kernel 5.16.15-201.fc35 (using amdgpu driver)
- Mesa 21.3.7-1.fc35
Relevant hardware:
- Dell P2415Q 4k monitor
- Sapphire Pulse Radeon 5500 XT 8GB
This issue appears in GNOME on Wayland only. It does not appear with GNOME on Xorg or with Sway.
Bug summary
The framerate on my desktop seems to vary between 30 and 50-something Hz, despite being set to 60Hz.
Steps to reproduce
- Run glxgears. (This alone results in varying framerates in the 50s rather than locked near 59.9/60Hz.)
- Play a 60Hz YouTube video in Firefox and force the resolution to 720p or above (lower than that is not 60Hz). Click on the "stats for nerds" and note the large number of dropped frames. glxgears may also drop to 30-40 fps.
That is not to imply that this only happens when playing videos or with Firefox, it is just easiest to see here.
Another way to see this:
- Install and run Retroarch from Flathub.
- Click on Settings -> Video -> Output and note the Estimated Screen Refresh Rate.
Frame rates were inconsistent overall, but consistently below 60Hz.
Relevant logs, screenshots, screencasts etc.
I have attached screenshots of GNOME on Xorg:
and GNOME on Wayland:
Starting radeontop seems to bring framerates up, although not all the way to 60Hz:
CPU usage, memory usage, and GPU usage are fairly low.
Edited by Andrew Duffey