mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
perf: performance overlay updates ride the next game frame instead of an extra composite
This commit is contained in:
1 parent
4e25611f70
commit
dafe5f13b5
3 files changed
+63
-2
No files matched your search
@@ -56,6 +56,13 @@ library list, before anything is published.
|
||||
own limiter slips such a frame by one refresh. The fixed-refresh branch now paces each window by
|
||||
time, as the VRR branch already did: its next frame goes out on the first refresh a capped interval
|
||||
after its last one, with half a refresh of tolerance so an on-time window keeps every Nth refresh.
|
||||
- `0116-hold-overlay-repaint-for-next-frame.patch` - this app: on a fixed-refresh output every
|
||||
mangoapp commit asked for a repaint of its own, and mangoapp draws once per game frame just after
|
||||
that frame was shown, so a 60 fps game on a 120 Hz panel was composited twice per frame - 75 frames
|
||||
a second reached the screen, one in two 8 ms after the last with no new picture (Valheim, Stardew
|
||||
Valley, Among Us). The VRR path already leaves such repaints to the next game frame; on a fixed
|
||||
refresh output they now wait for it too, for at most `external_overlay_hold_cycles` refreshes (4,
|
||||
so 30 fps at 120 Hz still merges), and are painted on their own after that.
|
||||
|
||||
Sixteen more of Armada's patches are DRM/lease/HDR-on-KMS work for a native display, which this
|
||||
app's Wayland-hosted gamescope never reaches, or need a newer gamescope than the runtime has.
|
||||
Reference in new issue
Block a user