Firefox caps at 60hz while maximized on Wayland and mixed-refresh rate displays.
Affected version
OS: Arch Linux (standard Kernel)
Mutter: From GNOME 41.2, stable release. Not sure what Mutter version is included there.
GPU Drivers: NVIDIA (proprietary) 495.44
Wayland-related issue (DRM modesetting enabled).
Bug summary
Firefox (and possibly other applications) caps at 60hz while being maximized or fullscreen. This only happens when there are mixed refresh rate displays configured. (For example 144hz + 60hz). This does not occur on any other compositor. (like Sway/wlroots).
This issue might be related: #2053 (?)
Steps to reproduce
- Create a fresh installation of GNOME 41.2 with newest (495.x) Nvidia proprietary driver. (Must be Wayland, not Xorg)
- Configure at least 2 monitor outputs, with one being 144hz and the other 60hz.
- Run Firefox with MOZ_ENABLE_WAYLAND=1 and layout.frame_rate=144.
- Run (for example) an UFO Test, maximize or fullscreen the window and see the framerate cap at 60fps.
What happened
Firefox was capped at 60hz on a 144hz monitor only while being maximized.
What did you expect to happen
Firefox should work at 144hz no matter what.
Relevant logs, screenshots, screencasts etc.
Edited by Adam Grzegorzewski