144Hz/120Hz monitor but mutter seems to cap rendering at 60FPS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Medium
|
|||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Bionic |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Cosmic |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Disco |
Fix Released
|
Medium
|
Daniel van Vugt |
Bug Description
[Impact]
Gnome Shell redraws at 60 FPS at most, regardless of the hardware refresh rate, and regardless of the current display mode. This is particularly annoying for owners of 144Hz/120Hz/240Hz displays.
[Test Case]
0. Find a monitor or laptop with a high refresh rate (120Hz or more), noting NOT to trust gnome-control-
1. Edit /etc/environment and add:
CLUTTER_
2. Reboot.
3. Open a terminal window and run:
journalctl -f | grep FPS
4. In a new window run 'glmark2' or some other OpenGL benchmark that is not frame rate limited (note: glxgears for unrelated reasons IS frame rate limited in Wayland sessions, but can be used in Xorg sessions).
5. Verify the terminal window from step 4 shows high FPS values coming from the journalctl log that match the hardware spec, and are much higher than 60.
[Regression Potential]
Medium to low. This patch has been used upstream and in Ubuntu 19.04 for some months already without any issues. Although minor syntactical changes had to be made to avoid conflicts when backporting it from mutter 3.32 to mutter 3.30. If regressions did occur they would be visible in the frame rate of the entire screen.
Related branches
- Daniel van Vugt: Approve
- Ubuntu Desktop: Pending requested
-
Diff: 1319 lines (+1031/-226)9 files modifieddebian/changelog (+18/-0)
debian/patches/clutter-x11-Consider-remapped-keys-when-guessing-the-keyc.patch (+53/-0)
debian/patches/clutter-x11-Implement-keycode-remap-to-keysyms-on-virtual.patch (+294/-0)
debian/patches/lp1763892-a-renderer-native-Add-hardware-presentation-timing.patch (+372/-0)
debian/patches/lp1763892-b-renderer-native-Advertise-_FEATURE_SWAP_THROTTLE.patch (+53/-0)
debian/patches/monitor-manager-Don-t-use-switch-config-when-ensuring-con.patch (+37/-0)
debian/patches/monitor-manager-use-MonitorsConfig-to-track-switch_config.patch (+198/-0)
debian/patches/series (+6/-1)
dev/null (+0/-225)
- Marco Trevisan (Treviño): Approve
- Ubuntu Desktop: Pending requested
-
Diff: 699 lines (+424/-226)6 files modifieddebian/changelog (+9/-0)
debian/libmutter-2-0.symbols (+1/-0)
debian/patches/lp1763892-a-renderer-native-Add-hardware-presentation-timing.patch (+363/-0)
debian/patches/lp1763892-b-renderer-native-Advertise-_FEATURE_SWAP_THROTTLE.patch (+49/-0)
debian/patches/series (+2/-1)
dev/null (+0/-225)
- Iain Lane: Approve
- git-ubuntu developers: Pending requested
-
Diff: 700 lines (+423/-226)6 files modifieddebian/changelog (+9/-0)
debian/libmutter-3-0.symbols (+1/-0)
debian/patches/lp1763892-a-renderer-native-Add-hardware-presentation-timing.patch (+362/-0)
debian/patches/lp1763892-b-renderer-native-Advertise-_FEATURE_SWAP_THROTTLE.patch (+49/-0)
debian/patches/series (+2/-1)
dev/null (+0/-225)
Changed in mutter: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mutter (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
tags: | added: performance |
Changed in mutter (Ubuntu): | |
status: | Triaged → In Progress |
description: | updated |
tags: |
added: bionic cosmic disco removed: artful |
Changed in mutter (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in mutter (Ubuntu Cosmic): | |
status: | Triaged → Fix Released |
Changed in mutter (Ubuntu Cosmic): | |
status: | Fix Released → Triaged |
Changed in mutter: | |
status: | Confirmed → Fix Released |
Changed in mutter (Ubuntu Cosmic): | |
status: | Triaged → In Progress |
Changed in mutter (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in mutter (Ubuntu Bionic): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mutter (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in mutter (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in mutter (Ubuntu Bionic): | |
assignee: | Daniel van Vugt (vanvugt) → Tyler Alexander Driggers (exderia) |
assignee: | Tyler Alexander Driggers (exderia) → nobody |
Changed in mutter (Ubuntu Bionic): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Seems I make a mistake here - I confused my laptop installation with this one on my desktop machine. This one is not running the NVidia drivers.