Frame drops on Asahi Linux
Affected version
- Fedora Linux Asahi Remix 39
- 45.3
- wayland
Bug summary
Gnome cannot keep a stable 60 framerate on macbook m1 air. This causes the whole shell to feel laggy with very noticeable stutters, especially when scrolling in browsers using the touchpad. This can be also observed by running glxgears on a maximized window. This issue does not happen on either sway or KDE-wayland on the same macbook. I have tested with all extensions disabled with a new user.
Asahi bug report: https://discussion.fedoraproject.org/t/gnome-shell-framedrops-on-m1-air/100686
Steps to reproduce
- run
glxgears
in the terminal - observe the dropped frames
What happened
What did Mutter do that was unexpected?
Dropped frames/Fewer frames than the display refresh rate (<60)
What did you expect to happen
No dropped frames/Frames that match the display refresh rate (60)
Relevant logs, screenshots, screencasts etc.
glxgears on gnome
glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
300 frames in 5.0 seconds = 59.952 FPS
294 frames in 5.0 seconds = 58.720 FPS
297 frames in 5.0 seconds = 59.197 FPS
299 frames in 5.0 seconds = 59.775 FPS
264 frames in 5.0 seconds = 52.597 FPS
208 frames in 5.0 seconds = 41.600 FPS
237 frames in 5.0 seconds = 47.241 FPS
294 frames in 5.0 seconds = 58.633 FPS
279 frames in 5.0 seconds = 55.786 FPS
246 frames in 5.0 seconds = 49.200 FPS
208 frames in 5.0 seconds = 41.589 FPS
230 frames in 5.0 seconds = 45.851 FPS
230 frames in 5.0 seconds = 45.998 FPS
298 frames in 5.0 seconds = 59.418 FPS
214 frames in 5.0 seconds = 42.788 FPS
291 frames in 5.0 seconds = 58.058 FPS
glxgears on sway
glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
305 frames in 5.0 seconds = 60.957 FPS
301 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.003 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.997 FPS
301 frames in 5.0 seconds = 60.003 FPS
300 frames in 5.0 seconds = 59.998 FPS
301 frames in 5.0 seconds = 60.002 FPS
300 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.997 FPS
301 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 60.003 FPS
Edited by sannagy90