[AMD] FSR FG 2x develops every-second-frame pacing steps after first Alt+Tab (v1.1.1-amd) #215

Closed
opened 2026-12-05 21:39:50 +00:00 by github-bot · 4 comments
Owner

@⁠Hammanek on GitHub · 2026-12-05 21:35 UTC · original

Summary

With FSR frame generation 2x, a fresh launch initially has smooth frame pacing. After the first Alt+Tab, returning focus to the game produces a regular staircase in the frame-wait graph on every second frame. GPU Busy is reported around 100% while the GPU core clock falls below its normal gaming value. Moving focus away again makes the frame graph smooth and lets the GPU clock rise.

This still reproduces in v1.1.1-amd, including the #145 pacer hotfix.

Environment

  • Runtime: Larp v1.1.1-amd, commit b0a6491
  • bin\larp.exe SHA-256: AE9698B855762AA32F31F1A3C22F563E44001F1784354857282C18087FDC5637
  • GPU: AMD Radeon RX 9070 XT
  • Monitor: 2560x1440, 320 Hz (reported supported range 48-320 Hz)
  • CPU: AMD Ryzen 5 5600X (6 cores / 12 threads)
  • RAM: 16 GiB
  • OS: Windows 11 Pro, build 26300
  • GPU driver version: 32.0.32029.2010 (Adrenalin 26.20.29.02)
  • Launch console: series-x

Relevant launcher settings:

set "LARP_DISPLAY_MODE=fullscreen"
set "LARP_RESOLUTION=2560x1440"
set "LARP_UPSCALER=fsr"
set "LARP_UPSCALER_SCALE=0.666667"
set "LARP_FRAME_GENERATION=2x"
set "LARP_FRAME_GENERATOR=fsr"

settings.ini contains frame_rate = 60 in [picture]. No refresh-rate override, controls override or LARP_FG_HUDLESS override is currently set.

Reproduction

  1. Launch with the configuration above and do not Alt+Tab initially. Focused frame pacing is smooth.
  2. Alt+Tab away once and return to the game without changing settings.
  3. With the game focused again, observe regular frame-wait steps on every second frame. Adrenalin reports high GPU Busy but the core clock drops.
  4. Move focus away from the game. The frame graph becomes smooth and the core clock rises again.

Mouse movement versus a stationary mouse does not change the result. Now that the diagnostic controls override has been removed, default input handling shows the same behavior.

Expected: presentation/frame pacing should recover after returning focus to the game, including on a high-refresh display, without the focus-dependent every-second-frame steps.

What has been tried

  • 30 and 60 FPS base caps: no change.
  • Borderless versus fullscreen: no resolution of the post-Alt+Tab behavior.
  • Forced 60 Hz via LARP_DISPLAY_REFRESH=60: no improvement; override has been restored to desktop default.
  • LARP_CONTROLS=pad in a newly started process: no improvement; restored to default controls.
  • Radeon Chill: disabled (KMD_ChillEnabled=0).
  • v1.1.1-amd (#145): the issue described above still reproduces.

FG-off isolation has not been performed; I am trying to diagnose the problem while retaining frame generation. I am also not claiming that #145 failed to fix its intended late-wake case, only that this focus-transition reproduction remains after it.

No code-level root cause is assumed here. The trigger first appears after the focus/swapchain transition and is specific enough to suggest presentation/FG pacing state rather than a steady GPU-load or thermal limit. I can collect additional logs or run targeted diagnostics if you tell me which state would be useful to inspect.

**@⁠Hammanek** on GitHub · 2026-12-05 21:35 UTC · [original](https://github.com/gamingwithhomie/larp/issues/215) ## Summary With FSR frame generation **2x**, a fresh launch initially has smooth frame pacing. **After the first Alt+Tab**, returning focus to the game produces a regular staircase in the frame-wait graph on every second frame. GPU Busy is reported around 100% while the GPU core clock falls below its normal gaming value. Moving focus away again makes the frame graph smooth and lets the GPU clock rise. This still reproduces in **v1.1.1-amd**, including the #145 pacer hotfix. ## Environment - **Runtime:** Larp **v1.1.1-amd**, commit `b0a6491` - **`bin\larp.exe` SHA-256:** `AE9698B855762AA32F31F1A3C22F563E44001F1784354857282C18087FDC5637` - **GPU:** AMD Radeon RX 9070 XT - **Monitor:** 2560x1440, 320 Hz (reported supported range 48-320 Hz) - **CPU:** AMD Ryzen 5 5600X (6 cores / 12 threads) - **RAM:** 16 GiB - **OS:** Windows 11 Pro, build 26300 - **GPU driver version:** `32.0.32029.2010` (Adrenalin 26.20.29.02) - **Launch console:** `series-x` Relevant launcher settings: ```bat set "LARP_DISPLAY_MODE=fullscreen" set "LARP_RESOLUTION=2560x1440" set "LARP_UPSCALER=fsr" set "LARP_UPSCALER_SCALE=0.666667" set "LARP_FRAME_GENERATION=2x" set "LARP_FRAME_GENERATOR=fsr" ``` `settings.ini` contains `frame_rate = 60` in `[picture]`. No refresh-rate override, controls override or `LARP_FG_HUDLESS` override is currently set. ## Reproduction 1. Launch with the configuration above and do not Alt+Tab initially. Focused frame pacing is smooth. 2. Alt+Tab away once and return to the game without changing settings. 3. With the game focused again, observe regular frame-wait steps on every second frame. Adrenalin reports high GPU Busy but the core clock drops. 4. Move focus away from the game. The frame graph becomes smooth and the core clock rises again. Mouse movement versus a stationary mouse does not change the result. Now that the diagnostic controls override has been removed, default input handling shows the same behavior. Expected: presentation/frame pacing should recover after returning focus to the game, including on a high-refresh display, without the focus-dependent every-second-frame steps. ## What has been tried - **30 and 60 FPS base caps:** no change. - **Borderless versus fullscreen:** no resolution of the post-Alt+Tab behavior. - **Forced 60 Hz via `LARP_DISPLAY_REFRESH=60`:** no improvement; override has been restored to desktop default. - **`LARP_CONTROLS=pad` in a newly started process:** no improvement; restored to default controls. - **Radeon Chill:** disabled (`KMD_ChillEnabled=0`). - **v1.1.1-amd (#145):** the issue described above still reproduces. FG-off isolation has **not** been performed; I am trying to diagnose the problem while retaining frame generation. I am also not claiming that #145 failed to fix its intended late-wake case, only that this focus-transition reproduction remains after it. No code-level root cause is assumed here. The trigger first appears after the focus/swapchain transition and is specific enough to suggest presentation/FG pacing state rather than a steady GPU-load or thermal limit. I can collect additional logs or run targeted diagnostics if you tell me which state would be useful to inspect.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 21:39:51 +00:00
Author
Owner

@⁠Hammanek on GitHub · 2026-12-05 21:39 UTC · original

Additional live ADLX diagnostic readout from this machine: manual GFX minimum frequency reports 0 MHz with a range of exactly 0..0 step 0; maximum frequency is an offset of 0 MHz (range -500..1000 step 1). Other currently applied values are GPU voltage offset -50 mV, VRAM 2700 MHz and power limit -10 %. These were read only; no GPU tuning change was applied. A requested minimum of 2800 MHz would therefore be outside what this driver/GPU reports as supported. Please let me know if the power limit or voltage offset matters for isolation; I can change those separately if needed rather than resetting all tuning.

**@⁠Hammanek** on GitHub · 2026-12-05 21:39 UTC · [original](https://github.com/gamingwithhomie/larp/issues/215#issuecomment-7445866932) Additional live ADLX diagnostic readout from this machine: manual GFX minimum frequency reports `0 MHz` with a range of exactly `0..0 step 0`; maximum frequency is an offset of `0 MHz` (range `-500..1000 step 1`). Other currently applied values are GPU voltage offset `-50 mV`, VRAM `2700 MHz` and power limit `-10 %`. These were read only; no GPU tuning change was applied. A requested minimum of 2800 MHz would therefore be outside what this driver/GPU reports as supported. Please let me know if the power limit or voltage offset matters for isolation; I can change those separately if needed rather than resetting all tuning.
Author
Owner

@⁠Hammanek on GitHub · 2026-12-05 21:41 UTC · original

Power-limit isolation result was negative: moving only the power limit from the existing -10 % to stock 0 % via ADLX did not change the focus-dependent frame pacing or core-clock behavior. The power limit was then restored to -10 %. Readback confirms voltage offset remains -50 mV, memory clock 2700 MHz, max-clock offset 0 MHz, no other tuning field changed.

**@⁠Hammanek** on GitHub · 2026-12-05 21:41 UTC · [original](https://github.com/gamingwithhomie/larp/issues/215#issuecomment-7445910445) Power-limit isolation result was negative: moving only the power limit from the existing `-10 %` to stock `0 %` via ADLX did not change the focus-dependent frame pacing or core-clock behavior. The power limit was then restored to `-10 %`. Readback confirms voltage offset remains `-50 mV`, memory clock `2700 MHz`, max-clock offset `0 MHz`, no other tuning field changed.
Author
Owner

@⁠gamingwithhomie on GitHub · 2026-12-05 22:48 UTC · original

Please retest on v1.1.3-amd: it adds #186 (FG pacer anchored to when the first generated frame is actually made) on top of #145, changing exactly the every-second-frame pacing path. If the staircase still appears only after Alt+Tab, tell us whether LARP_DISPLAY_MODE / focus regain changes swapchain behaviour for you (borderless vs windowed) and attach zip-logs from that run - the ADLX clock readout you posted suggests the GPU downclocks on focus loss, which we may need to counter with the present pacing.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 22:48 UTC · [original](https://github.com/gamingwithhomie/larp/issues/215#issuecomment-7447075144) Please retest on **v1.1.3-amd**: it adds #186 (FG pacer anchored to when the first generated frame is actually made) on top of #145, changing exactly the every-second-frame pacing path. If the staircase still appears only after Alt+Tab, tell us whether LARP_DISPLAY_MODE / focus regain changes swapchain behaviour for you (borderless vs windowed) and attach zip-logs from that run - the ADLX clock readout you posted suggests the GPU downclocks on focus loss, which we may need to counter with the present pacing.
Author
Owner

@⁠Hammanek on GitHub · 2026-12-05 23:14 UTC · original

Retested on the official v1.1.3-amd build (bccc4d3; bin\larp.exe SHA-256 F0C8BBB1530403A130EF63ACF1CDA08129568D26F41EA3E40E85A9D68EA3D223) and confirmed fixed on the RX 9070 XT.

Test conditions retained: Series X, fullscreen, 2560x1440, FSR Quality, FSR FG 2x, frame_rate = 60. The official replacement shaders were used; no new clock/power forcing or dummy GPU load was applied.

After repeated Alt+Tab, the every-second-frame staircase no longer appears and motion is smooth. The GPU now boosts above 3300 MHz with the game focused instead of exhibiting the previous focus-dependent downclock.

Correction to my earlier diagnostic wording: the low clock/staircase occurred after Alt+Tab while the game had regained focus. When unfocused, playback was smooth and clocks rose; this was not simply downclocking on focus loss.

Since the staircase no longer reproduces in the original fullscreen configuration, the requested borderless/windowed comparison and failure logs are not applicable to this resolved run. #186 on top of #145 addresses this reproduction.

Thank you — closing as fixed.

**@⁠Hammanek** on GitHub · 2026-12-05 23:14 UTC · [original](https://github.com/gamingwithhomie/larp/issues/215#issuecomment-7447414153) Retested on the official **v1.1.3-amd** build (`bccc4d3`; `bin\larp.exe` SHA-256 `F0C8BBB1530403A130EF63ACF1CDA08129568D26F41EA3E40E85A9D68EA3D223`) and **confirmed fixed** on the RX 9070 XT. Test conditions retained: Series X, fullscreen, 2560x1440, FSR Quality, FSR FG 2x, `frame_rate = 60`. The official replacement shaders were used; no new clock/power forcing or dummy GPU load was applied. After repeated Alt+Tab, the every-second-frame staircase no longer appears and motion is smooth. The GPU now boosts above **3300 MHz** with the game focused instead of exhibiting the previous focus-dependent downclock. Correction to my earlier diagnostic wording: the low clock/staircase occurred after Alt+Tab **while the game had regained focus**. When unfocused, playback was smooth and clocks rose; this was not simply downclocking on focus loss. Since the staircase no longer reproduces in the original fullscreen configuration, the requested borderless/windowed comparison and failure logs are not applicable to this resolved run. #186 on top of #145 addresses this reproduction. Thank you — closing as fixed.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/gamingwithhomie--larp#215
No description provided.