Irregular frame rate in some fullscreen games
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
mutter (Ubuntu) |
Fix Released
|
High
|
Daniel van Vugt | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
High
|
Jeremy Bícha | ||
Mantic |
Fix Released
|
High
|
Daniel van Vugt |
Bug Description
[ Impact ]
I'm having a strange issue with the game Path of Exile (free). With Ubuntu Wayland session, vsync on, I get very irregular frame rates, it jumps around 40 fps.
If I switch to Plasma Wayland the game is very smooth 60 fps.
I'm running the game from Steam with Proton. I've tried Proton Experimental and Proton 8.0 so far, no difference.
The game uses Vulkan so I guess it's being allowed to set up all the swap and presentation stuff pretty much itself... ?
MUTTER_
[ Test Plan ]
None known, other than the OP to run the game.
[ Where problems could occur ]
In rendering performance of fullscreen apps/games.
[ Workaround ]
Add this to /etc/environment:
CLUTTER_
[ Other Info ]
Kernel: 6.2.0-1003-
GPU: Radeon 6800 XT
CPU: Ryzen 9 5900X
tags: | added: amdgpu lunar performance |
Changed in mutter: | |
status: | Unknown → New |
Changed in mutter (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mutter (Ubuntu): | |
status: | Triaged → Fix Committed |
status: | Fix Committed → In Progress |
tags: | added: fixed-in-mutter-45 fixed-upstream |
Changed in mutter (Ubuntu Lunar): | |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- [Lunar] Irregular FPS with Path of Exile + Irregular frame rate in some fullscreen games |
description: | updated |
Changed in mutter (Ubuntu Mantic): | |
status: | In Progress → Fix Committed |
Changed in mutter: | |
status: | New → Fix Released |
tags: |
added: fixed-in-mutter-44.3 removed: fixed-in-mutter-45 |
Changed in mutter (Ubuntu Lunar): | |
status: | Triaged → Fix Committed |
Changed in mutter (Ubuntu Lunar): | |
status: | Fix Committed → Triaged |
Changed in mutter (Ubuntu Lunar): | |
status: | Triaged → In Progress |
Changed in mutter (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
assignee: | nobody → Jeremy Bícha (jbicha) |
For lunar, please try MUTTER_ DEBUG_TRIPLE_ BUFFERING= never although I don't expect that's the issue. Assuming that's not the issue, please also try MUTTER_DEBUG=kms and then monitor the posting method with:
journalctl -f /usr/bin/ gnome-shell | grep Posting
or collect it afterwards:
journalctl -b0 /usr/bin/ gnome-shell | grep Posting > journal.txt
and attach the results here.
Separately, another setting to try is: CLUTTER_ PAINT=disable- dynamic- max-render- time