AMD FSR + Frame Generation 3 / 4.0.2, and the RX 9070 XT compiler-crash guard #53

Open
AwkGrep256 wants to merge 21 commits from upstream-pr/53 into main
AwkGrep256 commented 2026-11-26 00:28:43 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-26T00:28:43Z.


🎮 AMD FSR + Frame Generation 3 / 4.0.2 on this fork

@avatarmanz, your fork is the fastest build around, so this brings the host FidelityFX work from upstream to it: AMD FSR upscaling, Frame Generation 3, and the experimental Frame Generation 4.0.2 with the title's camera. It all ran here on an RX 9070 XT (results below). On your 7900 XTX with 64 GB it should run in full mode too. A quick run on your machine would be the most useful test. The commands are below.

📊 Results: RX 9070 XT, 32 GB, -Safe, starting location

Mode Rendered fps On screen Proof in the log
⚪ A · Baseline (title's own upscaler) 18.4 ██████████████░░ 18 ✅ world reached
🟢 B · FSR 1080p → 2160p 19.7 ███████████████░ 20 ✅ render=[1920, 1080] output=[3840, 2160]
🟢 C · FSR 1440p → 2160p 20.0 ████████████████ 20 ✅ render=[2560, 1440] output=[3840, 2160]
🚀 E · FSR 1440p + FG 3 19.9 ████████████████ ~40 ✅ provider="3.1.6", presents=6 for 3 rendered
🚀 F · FSR 1440p + FG 4.0.2 17.9 ██████████████░░ ~36 ✅ provider="4.0.2", camera_pose=true

Rendered fps = median per second in the world, leaving out seconds under 5 fps (paging on 32 GB, counted separately).

What it shows

  • 🧮 The frame is CPU-bound here. The GPU spends 11–13 ms of a ~50 ms frame, so FSR's render scale barely moves fps (+7–9 %). It still upscales from a lower resolution at the same speed.
  • 🚀 Frame generation doubles what's on screen. ~18–20 rendered becomes ~36–40 displayed, and it feels smoother in play.
  • 🧠 FG 4.0.2 gets the title's camera (camera_pose=true): the velocity pass's camera is matched to each upscale. In play, HUD text flickered with FG 3 but not with FG 4.0.2.
  • ⏱️ F ran 6½ minutes without a crash on the final commit.

✅ Checks per mode

Check B C E F
Host FidelityFX DLL serves the title ✅ ✅ ✅ ✅
Title switched to FSR, render scale patched ✅ ✅ ✅ ✅
Upscaler context on the host (4.1.2) ✅ ✅ ✅ ✅
First host upscale result=0 ✅ ✅ ✅ ✅
Frame generation DLL loaded — — ✅ ✅
Proxy swap chain — — ✅ 3.1.7 ✅ 4.0.0
Generator — — ✅ 3.1.6 ✅ 4.0.2
Frames generated (×2) — — ✅ ✅
No crash ✅ ✅ ⚠️ crashed after 4 min (fixed in e4b9cc9) ✅ 6½ min

📜 Log evidence

Our own log lines from each measured run (click a mode). In the fps lines, preparing (our CPU side of each frame) is ~31–36 ms of ~50 ms, whatever the render scale: the frame is CPU-bound, which is why FSR moves fps so little and frame generation helps so much.

A · Baseline: title's own upscaler · 18.4 fps rendered

A-20261126-025054

2026-11-25T23:50:54 victory_hle::modules::fidelityfx: no FidelityFX folder (VICTORY_FIDELITYFX_DIR): a title's own FidelityFX DLLs run
…
2026-11-25T23:53:16 19.2 fps, 52.1 ms/frame (35.7 preparing: copies 13.4 ms 109.0 MB, textures 1.5 ms 15.6 MB; 0.0 on the GPU; 13.1 copying back 33.9 MB), 6716 draws/frame, dropped 309 without a host pipeline (0 being made)
2026-11-25T23:53:21 19.2 fps, 52.0 ms/frame (34.2 preparing: copies 12.9 ms 110.6 MB, textures 1.6 ms 20.1 MB; 0.0 on the GPU; 12.3 copying back 34.0 MB), 6956 draws/frame, dropped 326 without a host pipeline (0 being made)
2026-11-25T23:53:26 18.6 fps, 53.8 ms/frame (33.6 preparing: copies 11.8 ms 109.6 MB, textures 1.3 ms 16.8 MB; 0.0 on the GPU; 13.7 copying back 38.7 MB), 7106 draws/frame, dropped 327 without a host pipeline (0 being made)
2026-11-25T23:53:31 18.7 fps, 53.5 ms/frame (33.2 preparing: copies 11.5 ms 110.3 MB, textures 1.5 ms 17.4 MB; 0.0 on the GPU; 13.2 copying back 38.4 MB), 7048 draws/frame, dropped 327 without a host pipeline (0 being made)
2026-11-25T23:53:36 18.4 fps, 54.3 ms/frame (34.0 preparing: copies 12.1 ms 110.9 MB, textures 1.5 ms 19.9 MB; 0.0 on the GPU; 13.9 copying back 38.9 MB), 7086 draws/frame, dropped 323 without a host pipeline (0 being made)
B · FSR 1080p → 2160p: render 1920×1080 → 3840×2160 · 19.7 fps rendered

B-20261126-025703

2026-11-25T23:57:04 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4"
VIctory: patched FidelityFX render scale (0.5) at title+0x28ef680
VIctory: patched upscaler picker (returns 7) at title+0x7e93f0
2026-11-25T23:57:06 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[1920, 1080] output=[3840, 2160] flags=0x29
2026-11-25T23:57:43 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67]
2026-11-25T23:57:43 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[1920, 1080]
…
2026-11-25T23:59:31 19.4 fps, 51.5 ms/frame (34.2 preparing: copies 13.9 ms 114.3 MB, textures 1.7 ms 20.6 MB; 0.0 on the GPU; 13.0 copying back 33.3 MB), 6597 draws/frame, dropped 358 without a host pipeline (0 being made)
2026-11-25T23:59:37 20.2 fps, 49.6 ms/frame (31.7 preparing: copies 11.1 ms 100.5 MB, textures 1.6 ms 20.9 MB; 0.0 on the GPU; 11.9 copying back 33.1 MB), 7111 draws/frame, dropped 318 without a host pipeline (0 being made)
2026-11-25T23:59:42 19.5 fps, 51.4 ms/frame (32.6 preparing: copies 12.0 ms 107.4 MB, textures 1.6 ms 18.1 MB; 0.0 on the GPU; 12.9 copying back 34.4 MB), 6836 draws/frame, dropped 323 without a host pipeline (0 being made)
2026-11-25T23:59:47 20.1 fps, 49.7 ms/frame (31.9 preparing: copies 10.6 ms 104.5 MB, textures 1.5 ms 17.2 MB; 0.0 on the GPU; 12.3 copying back 34.7 MB), 6699 draws/frame, dropped 317 without a host pipeline (0 being made)
2026-11-25T23:59:52 20.2 fps, 49.5 ms/frame (35.5 preparing: copies 12.6 ms 102.5 MB, textures 1.9 ms 22.1 MB; 0.0 on the GPU; 13.4 copying back 35.4 MB), 4348 draws/frame, dropped 443 without a host pipeline (0 being made)
C · FSR 1440p → 2160p: render 2560×1440 → 3840×2160 · 20.0 fps rendered

C-20261126-030546

2026-11-26T00:05:55 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4"
VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680
VIctory: patched upscaler picker (returns 7) at title+0x7e93f0
2026-11-26T00:05:58 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29
2026-11-26T00:06:42 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67]
2026-11-26T00:06:42 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440]
…
2026-11-26T00:08:03 19.5 fps, 51.3 ms/frame (35.1 preparing: copies 12.1 ms 101.1 MB, textures 2.0 ms 25.3 MB; 0.0 on the GPU; 14.7 copying back 36.0 MB), 6282 draws/frame, dropped 321 without a host pipeline (0 being made)
2026-11-26T00:08:08 19.5 fps, 51.2 ms/frame (35.5 preparing: copies 13.0 ms 94.8 MB, textures 2.0 ms 28.5 MB; 0.5 on the GPU; 14.7 copying back 34.1 MB), 5223 draws/frame, dropped 357 without a host pipeline (0 being made)
2026-11-26T00:08:14 19.9 fps, 50.3 ms/frame (34.2 preparing: copies 12.2 ms 92.5 MB, textures 1.3 ms 15.2 MB; 0.0 on the GPU; 14.8 copying back 36.7 MB), 5581 draws/frame, dropped 341 without a host pipeline (0 being made)
2026-11-26T00:08:19 21.3 fps, 47.0 ms/frame (30.9 preparing: copies 11.6 ms 94.9 MB, textures 1.3 ms 17.4 MB; 0.0 on the GPU; 13.8 copying back 37.1 MB), 5501 draws/frame, dropped 338 without a host pipeline (0 being made)
2026-11-26T00:08:24 21.9 fps, 45.6 ms/frame (30.6 preparing: copies 11.7 ms 94.7 MB, textures 1.4 ms 17.6 MB; 0.0 on the GPU; 13.5 copying back 36.2 MB), 5474 draws/frame, dropped 342 without a host pipeline (0 being made)
E · FSR 1440p + FG 3: FG 3: proxy 3.1.7, generator 3.1.6, ×2 · 19.9 fps rendered

E-20261126-031014

2026-11-26T00:10:23 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4"
2026-11-26T00:10:23 victory_hle::modules::fidelityfx: FidelityFX: frame generation on the title's upscaled frames dll="<signedbin>md_fidelityfx_framegeneration_dx12.dll" mode="1"
VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680
VIctory: patched upscaler picker (returns 7) at title+0x7e93f0
2026-11-26T00:10:24 victory_gpu::framegen: FidelityFX frame generation: proxy swap chain provider="3.1.7"
2026-11-26T00:10:25 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29
2026-11-26T00:11:09 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67]
2026-11-26T00:11:09 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440]
2026-11-26T00:11:10 victory_gpu::framegen: FidelityFX frame generation: generator for the upscaled frames provider="3.1.6" screen=[3840, 2160] render=[2560, 1440]
2026-11-26T00:11:10 victory_gpu::framegen: FidelityFX frame generation: first upscaled frame's depth and motion given to it frame=1226 render=[2560, 1440] screen=[3840, 2160] camera_pose=false
2026-11-26T00:11:11 victory_gpu::framegen: FidelityFX frame generation: generated frames frame=1228 rendered=3 continuous=2 generated=3 presents=6 waited=0
…
2026-11-26T00:12:28 20.1 fps, 49.7 ms/frame (33.7 preparing: copies 11.8 ms 98.1 MB, textures 1.8 ms 20.6 MB; 0.0 on the GPU; 15.2 copying back 43.1 MB), 5743 draws/frame, dropped 343 without a host pipeline (0 being made)
2026-11-26T00:12:33 20.2 fps, 49.4 ms/frame (34.5 preparing: copies 11.7 ms 92.8 MB, textures 1.4 ms 15.6 MB; 0.0 on the GPU; 15.0 copying back 40.8 MB), 6684 draws/frame, dropped 317 without a host pipeline (0 being made)
2026-11-26T00:12:38 18.2 fps, 54.9 ms/frame (37.5 preparing: copies 12.8 ms 109.2 MB, textures 2.1 ms 27.5 MB; 0.0 on the GPU; 15.6 copying back 44.2 MB), 6903 draws/frame, dropped 358 without a host pipeline (0 being made)
2026-11-26T00:12:43 18.6 fps, 53.7 ms/frame (34.9 preparing: copies 11.4 ms 105.2 MB, textures 1.9 ms 22.5 MB; 0.0 on the GPU; 15.0 copying back 42.9 MB), 6882 draws/frame, dropped 377 without a host pipeline (0 being made)
2026-11-26T00:12:48 19.8 fps, 50.4 ms/frame (36.2 preparing: copies 12.4 ms 88.3 MB, textures 1.6 ms 18.0 MB; 0.0 on the GPU; 15.2 copying back 41.7 MB), 4262 draws/frame, dropped 428 without a host pipeline (0 being made)
F · FSR 1440p + FG 4.0.2: FG 4.0.2: proxy 4.0.0, generator 4.0.2, camera_pose=true, ×2 · 17.9 fps rendered

F-20261126-031656

2026-11-26T00:17:01 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4"
2026-11-26T00:17:01 victory_hle::modules::fidelityfx: FidelityFX: frame generation on the title's upscaled frames dll="<signedbin>md_fidelityfx_framegeneration_dx12.dll" mode="4"
VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680
VIctory: patched upscaler picker (returns 7) at title+0x7e93f0
2026-11-26T00:17:02 victory_gpu::framegen: FidelityFX frame generation: proxy swap chain provider="4.0.0"
2026-11-26T00:17:03 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29
2026-11-26T00:17:42 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67]
2026-11-26T00:17:42 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440]
2026-11-26T00:17:43 victory_gpu::framegen: FidelityFX frame generation: generator for the upscaled frames provider="4.0.2" screen=[3840, 2160] render=[2560, 1440]
2026-11-26T00:17:43 victory_gpu::framegen: FidelityFX frame generation: first upscaled frame's depth and motion given to it frame=1072 render=[2560, 1440] screen=[3840, 2160] camera_pose=true
2026-11-26T00:17:44 victory_gpu::framegen: FidelityFX frame generation: generated frames frame=1074 rendered=3 continuous=2 generated=3 presents=6 waited=0
…
2026-11-26T00:19:38 18.7 fps, 53.3 ms/frame (31.7 preparing: copies 10.3 ms 97.9 MB, textures 1.7 ms 17.6 MB; 11.4 on the GPU; 16.5 copying back 55.6 MB), 4130 draws/frame, dropped 459 without a host pipeline (0 being made)
2026-11-26T00:19:44 18.5 fps, 53.9 ms/frame (31.6 preparing: copies 10.4 ms 103.7 MB, textures 1.7 ms 19.0 MB; 9.4 on the GPU; 16.0 copying back 60.2 MB), 5408 draws/frame, dropped 483 without a host pipeline (0 being made)
2026-11-26T00:19:49 17.9 fps, 56.0 ms/frame (31.6 preparing: copies 10.9 ms 100.4 MB, textures 1.8 ms 20.0 MB; 9.5 on the GPU; 16.7 copying back 64.3 MB), 5139 draws/frame, dropped 476 without a host pipeline (0 being made)
2026-11-26T00:19:54 17.4 fps, 57.5 ms/frame (34.2 preparing: copies 11.0 ms 113.8 MB, textures 2.5 ms 25.2 MB; 7.8 on the GPU; 16.3 copying back 58.5 MB), 6736 draws/frame, dropped 443 without a host pipeline (0 being made)
2026-11-26T00:19:59 17.4 fps, 57.5 ms/frame (29.8 preparing: copies 8.9 ms 89.6 MB, textures 2.3 ms 30.1 MB; 10.4 on the GPU; 14.9 copying back 49.2 MB), 3972 draws/frame, dropped 512 without a host pipeline (0 being made)

▶️ How to run it

Get the FidelityFX SDK (2.4.0 was used) and point at its Kits\FidelityFX\signedbin folder. Build as usual:

cargo build --locked --profile diag -p victory --features diagnostics
Mode scripts\play.ps1 -Exe <exe> -More @{ ... }
FSR 1080p → 4K VICTORY_FIDELITYFX_DIR='<signedbin>'; VICTORY_UPSCALER='7'; VICTORY_FFX_SCALE='0.5'
FSR 1440p → 4K same, VICTORY_FFX_SCALE='0.6666667'
+ Frame Generation 3 add VICTORY_FIDELITYFX_FRAMEGEN='1'
+ Frame Generation 4.0.2 add VICTORY_FIDELITYFX_FRAMEGEN='4'

VICTORY_FIDELITYFX_DIR has to go through -More: play.ps1 clears every other VICTORY_* variable.

🧩 What's in it

Commits What From
6342a26 Series X switches the title's upscaler to FidelityFX, render scale Marvisak/VIctory#1793
2f24360 The host FidelityFX path: the HLE module serving the PC upscaler upstream 0b35b7f (only that part)
b83a8d6 … 730690c Frame Generation 3 on the frames the title upscales Marvisak/VIctory#1917
549e567 … cee7b2a Frame Generation 4.0.2 with the velocity pass's camera Marvisak/VIctory#2751
1046978, e4b9cc9 Fitted to this fork: deferrals at submission, the draw state's viewports, FG presents from the one present list (not a list sent ahead) this PR
47eefb0, 4c68011 RX 9070 XT: survive the driver's compiler crashing on a pipeline Belobug 0d2f6a6, see #52

Everything new is behind switches that are off by default. Without them a run is unchanged, apart from the compiler-crash guard.

⚠️ Known limits

  • 🧨 RX 9070 XT: 32 pipelines crash AMD's compiler and are left out, so some passes are missing (lighting and materials look wrong; Lucia's eyes glowed white). Details and the real fixes are in #52.
  • 🔤 FG 3 interpolates the HUD too: text can smear. Handing frame generation the HUD-less upscaled frame would fix it.
  • 🧪 Not verified on RDNA 3 and not in full mode (32 GB pages there). That's the run I'd ask you for.

Tested: Windows 11 (26300), RX 9070 XT (driver 32.0.32029.2010), Ryzen 7 9800X3D, 32 GB, title 1.0.2.1, Series X profile, play.ps1 -Safe, 48 pipeline workers.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:5501643132 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-26T00:28:43Z. --- ## 🎮 AMD FSR + Frame Generation 3 / 4.0.2 on this fork @avatarmanz, your fork is the fastest build around, so this brings the host FidelityFX work from upstream to it: **AMD FSR upscaling**, **Frame Generation 3**, and the experimental **Frame Generation 4.0.2** with the title's camera. It all ran here on an RX 9070 XT (results below). On your 7900 XTX with 64 GB it should run in full mode too. A quick run on your machine would be the most useful test. The commands are below. ## 📊 Results: RX 9070 XT, 32 GB, `-Safe`, starting location | | Mode | Rendered fps | | On screen | Proof in the log | |---|---|---:|---|---:|---| | ⚪ | **A** · Baseline (title's own upscaler) | **18.4** | `██████████████░░` | 18 | ✅ world reached | | 🟢 | **B** · FSR 1080p → 2160p | **19.7** | `███████████████░` | 20 | ✅ `render=[1920, 1080] output=[3840, 2160]` | | 🟢 | **C** · FSR 1440p → 2160p | **20.0** | `████████████████` | 20 | ✅ `render=[2560, 1440] output=[3840, 2160]` | | 🚀 | **E** · FSR 1440p + **FG 3** | **19.9** | `████████████████` | **~40** | ✅ `provider="3.1.6"`, `presents=6` for 3 rendered | | 🚀 | **F** · FSR 1440p + **FG 4.0.2** | **17.9** | `██████████████░░` | **~36** | ✅ `provider="4.0.2"`, `camera_pose=true` | *Rendered fps = median per second in the world, leaving out seconds under 5 fps (paging on 32 GB, counted separately).* **What it shows** - 🧮 **The frame is CPU-bound here.** The GPU spends 11–13 ms of a ~50 ms frame, so FSR's render scale barely moves fps (+7–9 %). It still upscales from a lower resolution at the same speed. - 🚀 **Frame generation doubles what's on screen.** ~18–20 rendered becomes ~36–40 displayed, and it *feels* smoother in play. - 🧠 **FG 4.0.2 gets the title's camera** (`camera_pose=true`): the velocity pass's camera is matched to each upscale. In play, HUD text flickered with FG 3 but not with FG 4.0.2. - ⏱️ **F ran 6½ minutes without a crash** on the final commit. ## ✅ Checks per mode | Check | B | C | E | F | |---|:-:|:-:|:-:|:-:| | Host FidelityFX DLL serves the title | ✅ | ✅ | ✅ | ✅ | | Title switched to FSR, render scale patched | ✅ | ✅ | ✅ | ✅ | | Upscaler context on the host (4.1.2) | ✅ | ✅ | ✅ | ✅ | | First host upscale `result=0` | ✅ | ✅ | ✅ | ✅ | | Frame generation DLL loaded | — | — | ✅ | ✅ | | Proxy swap chain | — | — | ✅ 3.1.7 | ✅ 4.0.0 | | Generator | — | — | ✅ 3.1.6 | ✅ 4.0.2 | | Frames generated (×2) | — | — | ✅ | ✅ | | No crash | ✅ | ✅ | ⚠️ crashed after 4 min (fixed in `e4b9cc9`) | ✅ 6½ min | ## 📜 Log evidence Our own log lines from each measured run (click a mode). In the fps lines, `preparing` (our CPU side of each frame) is ~31–36 ms of ~50 ms, whatever the render scale: the frame is CPU-bound, which is why FSR moves fps so little and frame generation helps so much. <details><summary><b>A · Baseline</b>: title's own upscaler · 18.4 fps rendered</summary> `A-20261126-025054` ```text 2026-11-25T23:50:54 victory_hle::modules::fidelityfx: no FidelityFX folder (VICTORY_FIDELITYFX_DIR): a title's own FidelityFX DLLs run … 2026-11-25T23:53:16 19.2 fps, 52.1 ms/frame (35.7 preparing: copies 13.4 ms 109.0 MB, textures 1.5 ms 15.6 MB; 0.0 on the GPU; 13.1 copying back 33.9 MB), 6716 draws/frame, dropped 309 without a host pipeline (0 being made) 2026-11-25T23:53:21 19.2 fps, 52.0 ms/frame (34.2 preparing: copies 12.9 ms 110.6 MB, textures 1.6 ms 20.1 MB; 0.0 on the GPU; 12.3 copying back 34.0 MB), 6956 draws/frame, dropped 326 without a host pipeline (0 being made) 2026-11-25T23:53:26 18.6 fps, 53.8 ms/frame (33.6 preparing: copies 11.8 ms 109.6 MB, textures 1.3 ms 16.8 MB; 0.0 on the GPU; 13.7 copying back 38.7 MB), 7106 draws/frame, dropped 327 without a host pipeline (0 being made) 2026-11-25T23:53:31 18.7 fps, 53.5 ms/frame (33.2 preparing: copies 11.5 ms 110.3 MB, textures 1.5 ms 17.4 MB; 0.0 on the GPU; 13.2 copying back 38.4 MB), 7048 draws/frame, dropped 327 without a host pipeline (0 being made) 2026-11-25T23:53:36 18.4 fps, 54.3 ms/frame (34.0 preparing: copies 12.1 ms 110.9 MB, textures 1.5 ms 19.9 MB; 0.0 on the GPU; 13.9 copying back 38.9 MB), 7086 draws/frame, dropped 323 without a host pipeline (0 being made) ``` </details> <details><summary><b>B · FSR 1080p → 2160p</b>: render 1920×1080 → 3840×2160 · 19.7 fps rendered</summary> `B-20261126-025703` ```text 2026-11-25T23:57:04 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4" VIctory: patched FidelityFX render scale (0.5) at title+0x28ef680 VIctory: patched upscaler picker (returns 7) at title+0x7e93f0 2026-11-25T23:57:06 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[1920, 1080] output=[3840, 2160] flags=0x29 2026-11-25T23:57:43 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67] 2026-11-25T23:57:43 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[1920, 1080] … 2026-11-25T23:59:31 19.4 fps, 51.5 ms/frame (34.2 preparing: copies 13.9 ms 114.3 MB, textures 1.7 ms 20.6 MB; 0.0 on the GPU; 13.0 copying back 33.3 MB), 6597 draws/frame, dropped 358 without a host pipeline (0 being made) 2026-11-25T23:59:37 20.2 fps, 49.6 ms/frame (31.7 preparing: copies 11.1 ms 100.5 MB, textures 1.6 ms 20.9 MB; 0.0 on the GPU; 11.9 copying back 33.1 MB), 7111 draws/frame, dropped 318 without a host pipeline (0 being made) 2026-11-25T23:59:42 19.5 fps, 51.4 ms/frame (32.6 preparing: copies 12.0 ms 107.4 MB, textures 1.6 ms 18.1 MB; 0.0 on the GPU; 12.9 copying back 34.4 MB), 6836 draws/frame, dropped 323 without a host pipeline (0 being made) 2026-11-25T23:59:47 20.1 fps, 49.7 ms/frame (31.9 preparing: copies 10.6 ms 104.5 MB, textures 1.5 ms 17.2 MB; 0.0 on the GPU; 12.3 copying back 34.7 MB), 6699 draws/frame, dropped 317 without a host pipeline (0 being made) 2026-11-25T23:59:52 20.2 fps, 49.5 ms/frame (35.5 preparing: copies 12.6 ms 102.5 MB, textures 1.9 ms 22.1 MB; 0.0 on the GPU; 13.4 copying back 35.4 MB), 4348 draws/frame, dropped 443 without a host pipeline (0 being made) ``` </details> <details><summary><b>C · FSR 1440p → 2160p</b>: render 2560×1440 → 3840×2160 · 20.0 fps rendered</summary> `C-20261126-030546` ```text 2026-11-26T00:05:55 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4" VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680 VIctory: patched upscaler picker (returns 7) at title+0x7e93f0 2026-11-26T00:05:58 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29 2026-11-26T00:06:42 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67] 2026-11-26T00:06:42 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440] … 2026-11-26T00:08:03 19.5 fps, 51.3 ms/frame (35.1 preparing: copies 12.1 ms 101.1 MB, textures 2.0 ms 25.3 MB; 0.0 on the GPU; 14.7 copying back 36.0 MB), 6282 draws/frame, dropped 321 without a host pipeline (0 being made) 2026-11-26T00:08:08 19.5 fps, 51.2 ms/frame (35.5 preparing: copies 13.0 ms 94.8 MB, textures 2.0 ms 28.5 MB; 0.5 on the GPU; 14.7 copying back 34.1 MB), 5223 draws/frame, dropped 357 without a host pipeline (0 being made) 2026-11-26T00:08:14 19.9 fps, 50.3 ms/frame (34.2 preparing: copies 12.2 ms 92.5 MB, textures 1.3 ms 15.2 MB; 0.0 on the GPU; 14.8 copying back 36.7 MB), 5581 draws/frame, dropped 341 without a host pipeline (0 being made) 2026-11-26T00:08:19 21.3 fps, 47.0 ms/frame (30.9 preparing: copies 11.6 ms 94.9 MB, textures 1.3 ms 17.4 MB; 0.0 on the GPU; 13.8 copying back 37.1 MB), 5501 draws/frame, dropped 338 without a host pipeline (0 being made) 2026-11-26T00:08:24 21.9 fps, 45.6 ms/frame (30.6 preparing: copies 11.7 ms 94.7 MB, textures 1.4 ms 17.6 MB; 0.0 on the GPU; 13.5 copying back 36.2 MB), 5474 draws/frame, dropped 342 without a host pipeline (0 being made) ``` </details> <details><summary><b>E · FSR 1440p + FG 3</b>: FG 3: proxy 3.1.7, generator 3.1.6, ×2 · 19.9 fps rendered</summary> `E-20261126-031014` ```text 2026-11-26T00:10:23 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4" 2026-11-26T00:10:23 victory_hle::modules::fidelityfx: FidelityFX: frame generation on the title's upscaled frames dll="<signedbin>md_fidelityfx_framegeneration_dx12.dll" mode="1" VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680 VIctory: patched upscaler picker (returns 7) at title+0x7e93f0 2026-11-26T00:10:24 victory_gpu::framegen: FidelityFX frame generation: proxy swap chain provider="3.1.7" 2026-11-26T00:10:25 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29 2026-11-26T00:11:09 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67] 2026-11-26T00:11:09 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440] 2026-11-26T00:11:10 victory_gpu::framegen: FidelityFX frame generation: generator for the upscaled frames provider="3.1.6" screen=[3840, 2160] render=[2560, 1440] 2026-11-26T00:11:10 victory_gpu::framegen: FidelityFX frame generation: first upscaled frame's depth and motion given to it frame=1226 render=[2560, 1440] screen=[3840, 2160] camera_pose=false 2026-11-26T00:11:11 victory_gpu::framegen: FidelityFX frame generation: generated frames frame=1228 rendered=3 continuous=2 generated=3 presents=6 waited=0 … 2026-11-26T00:12:28 20.1 fps, 49.7 ms/frame (33.7 preparing: copies 11.8 ms 98.1 MB, textures 1.8 ms 20.6 MB; 0.0 on the GPU; 15.2 copying back 43.1 MB), 5743 draws/frame, dropped 343 without a host pipeline (0 being made) 2026-11-26T00:12:33 20.2 fps, 49.4 ms/frame (34.5 preparing: copies 11.7 ms 92.8 MB, textures 1.4 ms 15.6 MB; 0.0 on the GPU; 15.0 copying back 40.8 MB), 6684 draws/frame, dropped 317 without a host pipeline (0 being made) 2026-11-26T00:12:38 18.2 fps, 54.9 ms/frame (37.5 preparing: copies 12.8 ms 109.2 MB, textures 2.1 ms 27.5 MB; 0.0 on the GPU; 15.6 copying back 44.2 MB), 6903 draws/frame, dropped 358 without a host pipeline (0 being made) 2026-11-26T00:12:43 18.6 fps, 53.7 ms/frame (34.9 preparing: copies 11.4 ms 105.2 MB, textures 1.9 ms 22.5 MB; 0.0 on the GPU; 15.0 copying back 42.9 MB), 6882 draws/frame, dropped 377 without a host pipeline (0 being made) 2026-11-26T00:12:48 19.8 fps, 50.4 ms/frame (36.2 preparing: copies 12.4 ms 88.3 MB, textures 1.6 ms 18.0 MB; 0.0 on the GPU; 15.2 copying back 41.7 MB), 4262 draws/frame, dropped 428 without a host pipeline (0 being made) ``` </details> <details><summary><b>F · FSR 1440p + FG 4.0.2</b>: FG 4.0.2: proxy 4.0.0, generator 4.0.2, camera_pose=true, ×2 · 17.9 fps rendered</summary> `F-20261126-031656` ```text 2026-11-26T00:17:01 victory_hle::modules::fidelityfx: FidelityFX: the host's upscaler serves the title's folder=<FidelityFX SDK 2.4.0 signedbin> versions="4.1.2, 3.1.6, 2.3.4" 2026-11-26T00:17:01 victory_hle::modules::fidelityfx: FidelityFX: frame generation on the title's upscaled frames dll="<signedbin>md_fidelityfx_framegeneration_dx12.dll" mode="4" VIctory: patched FidelityFX render scale (0.6666667) at title+0x28ef680 VIctory: patched upscaler picker (returns 7) at title+0x7e93f0 2026-11-26T00:17:02 victory_gpu::framegen: FidelityFX frame generation: proxy swap chain provider="4.0.0" 2026-11-26T00:17:03 victory_hle::modules::fidelityfx: FidelityFX: upscaler context on the host provider="4.1.2" id=0xf5a5ca1e01001002 render=[2560, 1440] output=[3840, 2160] flags=0x29 2026-11-26T00:17:42 victory_hle::modules::fidelityfx: FidelityFX: first upscaling, host formats of its textures formats=[10, 19, 34, 67] 2026-11-26T00:17:42 victory_hle::modules::fidelityfx: FidelityFX: first successful host upscale result=0 render=[2560, 1440] 2026-11-26T00:17:43 victory_gpu::framegen: FidelityFX frame generation: generator for the upscaled frames provider="4.0.2" screen=[3840, 2160] render=[2560, 1440] 2026-11-26T00:17:43 victory_gpu::framegen: FidelityFX frame generation: first upscaled frame's depth and motion given to it frame=1072 render=[2560, 1440] screen=[3840, 2160] camera_pose=true 2026-11-26T00:17:44 victory_gpu::framegen: FidelityFX frame generation: generated frames frame=1074 rendered=3 continuous=2 generated=3 presents=6 waited=0 … 2026-11-26T00:19:38 18.7 fps, 53.3 ms/frame (31.7 preparing: copies 10.3 ms 97.9 MB, textures 1.7 ms 17.6 MB; 11.4 on the GPU; 16.5 copying back 55.6 MB), 4130 draws/frame, dropped 459 without a host pipeline (0 being made) 2026-11-26T00:19:44 18.5 fps, 53.9 ms/frame (31.6 preparing: copies 10.4 ms 103.7 MB, textures 1.7 ms 19.0 MB; 9.4 on the GPU; 16.0 copying back 60.2 MB), 5408 draws/frame, dropped 483 without a host pipeline (0 being made) 2026-11-26T00:19:49 17.9 fps, 56.0 ms/frame (31.6 preparing: copies 10.9 ms 100.4 MB, textures 1.8 ms 20.0 MB; 9.5 on the GPU; 16.7 copying back 64.3 MB), 5139 draws/frame, dropped 476 without a host pipeline (0 being made) 2026-11-26T00:19:54 17.4 fps, 57.5 ms/frame (34.2 preparing: copies 11.0 ms 113.8 MB, textures 2.5 ms 25.2 MB; 7.8 on the GPU; 16.3 copying back 58.5 MB), 6736 draws/frame, dropped 443 without a host pipeline (0 being made) 2026-11-26T00:19:59 17.4 fps, 57.5 ms/frame (29.8 preparing: copies 8.9 ms 89.6 MB, textures 2.3 ms 30.1 MB; 10.4 on the GPU; 14.9 copying back 49.2 MB), 3972 draws/frame, dropped 512 without a host pipeline (0 being made) ``` </details> ## ▶️ How to run it Get the [FidelityFX SDK](https://github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK) (2.4.0 was used) and point at its `Kits\FidelityFX\signedbin` folder. Build as usual: ```powershell cargo build --locked --profile diag -p victory --features diagnostics ``` | Mode | `scripts\play.ps1 -Exe <exe> -More @{ ... }` | |---|---| | FSR 1080p → 4K | `VICTORY_FIDELITYFX_DIR='<signedbin>'; VICTORY_UPSCALER='7'; VICTORY_FFX_SCALE='0.5'` | | FSR 1440p → 4K | same, `VICTORY_FFX_SCALE='0.6666667'` | | + Frame Generation 3 | add `VICTORY_FIDELITYFX_FRAMEGEN='1'` | | + Frame Generation 4.0.2 | add `VICTORY_FIDELITYFX_FRAMEGEN='4'` | `VICTORY_FIDELITYFX_DIR` has to go through `-More`: `play.ps1` clears every other `VICTORY_*` variable. ## 🧩 What's in it | Commits | What | From | |---|---|---| | `6342a26` | Series X switches the title's upscaler to FidelityFX, render scale | [Marvisak/VIctory#1793](https://github.com/Marvisak/VIctory/pull/1793) | | `2f24360` | The host FidelityFX path: the HLE module serving the PC upscaler | upstream `0b35b7f` (only that part) | | `b83a8d6` … `730690c` | Frame Generation 3 on the frames the title upscales | [Marvisak/VIctory#1917](https://github.com/Marvisak/VIctory/pull/1917) | | `549e567` … `cee7b2a` | Frame Generation 4.0.2 with the velocity pass's camera | [Marvisak/VIctory#2751](https://github.com/Marvisak/VIctory/pull/2751) | | `1046978`, `e4b9cc9` | Fitted to this fork: deferrals at submission, the draw state's viewports, FG presents from the one present list (not a list sent ahead) | this PR | | `47eefb0`, `4c68011` | RX 9070 XT: survive the driver's compiler crashing on a pipeline | [Belobug 0d2f6a6](https://github.com/Belobug/VIctory-Belobug-AMD/commit/0d2f6a6), see #52 | Everything new is behind switches that are off by default. Without them a run is unchanged, apart from the compiler-crash guard. ## ⚠️ Known limits - 🧨 **RX 9070 XT:** 32 pipelines crash AMD's compiler and are left out, so some passes are missing (lighting and materials look wrong; Lucia's eyes glowed white). Details and the real fixes are in #52. - 🔤 **FG 3 interpolates the HUD too:** text can smear. Handing frame generation the HUD-less upscaled frame would fix it. - 🧪 **Not verified on RDNA 3** and not in full mode (32 GB pages there). That's the run I'd ask you for. Tested: Windows 11 (26300), RX 9070 XT (driver 32.0.32029.2010), Ryzen 7 9800X3D, 32 GB, title 1.0.2.1, Series X profile, `play.ps1 -Safe`, 48 pipeline workers.
FrozenGuy7 commented 2026-11-26 01:43:48 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by FrozenGuy7 on 2026-11-26T01:43:48Z.


A second RX 9070 XT, same results: FSR 1440p→4K + Frame Generation 4.0.2 works, together with #55.

Host: RX 9070 XT 16 GB, Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 9800X3D, 32 GB, Windows 11 26300. Diagnostics build of 0a43566 + this PR (e4b9cc9) + #55 + #24 (all merged cleanly). FidelityFX SDK 2.4.0 signedbin (upscaler 4.1.2.0, frame generation 4.0.2.0, both AMD-signed). play.ps1 -Safe -More @{VICTORY_FIDELITYFX_DIR=…; VICTORY_UPSCALER='7'; VICTORY_FFX_SCALE='0.6666667'; VICTORY_FIDELITYFX_FRAMEGEN='4'}.

What the log showed, in order:

  • the host's upscaler serves the title's … versions="4.1.2, 3.1.6, 2.3.4"
  • patched FidelityFX render scale (0.6666667), patched upscaler picker (returns 7)
  • proxy swap chain provider="4.0.0"
  • upscaler context on the host provider="4.1.2" … render=[2560, 1440] output=[3840, 2160]
  • first successful host upscale result=0
  • generator for the upscaled frames provider="4.0.2"
  • camera_pose=true
  • generated frames … rendered=3 … generated=3 presents=6

Run: 36 min through the prologue into free roam. It ended cleanly ("title suspended; ending the title"), with no faults; this PR's compiler guard never triggered (with #55 there was nothing for it to catch). In the world (frames with more than 2,000 draws): median 14.5 rendered fps, p10 10.5, p90 17.7, at a median of 5,910 draws per frame (max 12,577). That's a little under your 18–20, probably because much of my run was free roam.

Two notes from the run:

  • The fps the log and window report counts rendered frames only. The player here first thought frame generation was off, because the counter stayed at ~15. AMD's overlay shows the presented rate. It might be worth printing the presented count, or a "×2 FG" marker, next to it.
  • -Safe on 32 GB is still tight. At the lowest point the PC had 200 MB of RAM free and 1.3 GB of commit left, out of a commit limit of about 69 GB (RAM plus page file). It didn't fail, but a browser left open could tip it over.

AI-assisted: the setup, log reading and this text were done with Claude Code; the hardware and play are mine.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7180066207 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7180066207). Originally posted by [FrozenGuy7](https://github.com/FrozenGuy7) on 2026-11-26T01:43:48Z. --- **A second RX 9070 XT, same results: FSR 1440p→4K + Frame Generation 4.0.2 works, together with #55.** **Host:** RX 9070 XT 16 GB, Adrenalin 26.11.2 (32.0.32029.2010), Ryzen 7 9800X3D, 32 GB, Windows 11 26300. Diagnostics build of `0a43566` + this PR (`e4b9cc9`) + #55 + #24 (all merged cleanly). FidelityFX SDK 2.4.0 `signedbin` (upscaler 4.1.2.0, frame generation 4.0.2.0, both AMD-signed). `play.ps1 -Safe -More @{VICTORY_FIDELITYFX_DIR=…; VICTORY_UPSCALER='7'; VICTORY_FFX_SCALE='0.6666667'; VICTORY_FIDELITYFX_FRAMEGEN='4'}`. **What the log showed, in order:** - `the host's upscaler serves the title's … versions="4.1.2, 3.1.6, 2.3.4"` - `patched FidelityFX render scale (0.6666667)`, `patched upscaler picker (returns 7)` - `proxy swap chain provider="4.0.0"` - `upscaler context on the host provider="4.1.2" … render=[2560, 1440] output=[3840, 2160]` - `first successful host upscale result=0` - `generator for the upscaled frames provider="4.0.2"` - `camera_pose=true` - `generated frames … rendered=3 … generated=3 presents=6` **Run:** 36 min through the prologue into free roam. It ended cleanly ("title suspended; ending the title"), with no faults; this PR's compiler guard never triggered (with #55 there was nothing for it to catch). In the world (frames with more than 2,000 draws): **median 14.5 rendered fps**, p10 10.5, p90 17.7, at a median of 5,910 draws per frame (max 12,577). That's a little under your 18–20, probably because much of my run was free roam. **Two notes from the run:** - **The fps the log and window report counts rendered frames only.** The player here first thought frame generation was off, because the counter stayed at ~15. AMD's overlay shows the presented rate. It might be worth printing the presented count, or a "×2 FG" marker, next to it. - **`-Safe` on 32 GB is still tight.** At the lowest point the PC had 200 MB of RAM free and 1.3 GB of commit left, out of a commit limit of about 69 GB (RAM plus page file). It didn't fail, but a browser left open could tip it over. AI-assisted: the setup, log reading and this text were done with Claude Code; the hardware and play are mine.
avatarmanz commented 2026-11-26 07:33:34 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:33:34Z.


Left open: conflicts with main (victory-loader/src/lib.rs). The new CheckFeatureSupport answers and the compiler-crash handler apply to every run; the FSR and scale part would need a rebase with those behind VICTORY_FIDELITYFX_DIR. Frame generation is already opt-in.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7185586952 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7185586952). Originally posted by [avatarmanz](https://github.com/avatarmanz) on 2026-11-26T07:33:34Z. --- Left open: conflicts with main (victory-loader/src/lib.rs). The new CheckFeatureSupport answers and the compiler-crash handler apply to every run; the FSR and scale part would need a rebase with those behind VICTORY_FIDELITYFX_DIR. Frame generation is already opt-in.
0xmp3 commented 2026-11-26 07:48:03 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by 0xmp3 on 2026-11-26T07:48:03Z.


Tested on an RX 9070 XT: FSR/FG not tested (no SDK here), but the compiler-crash guard is slower than the skip list it replaces

Built e4b9cc9 (cargo build --locked --profile diag -p victory --features diagnostics) and ran it on this card:
RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029, Ryzen 5 5600, 64 GB, Windows 11 26300, Series X, scripts\play.ps1 -Safe.
I did not test FSR or frame generation — that needs the FidelityFX SDK folder and I do not have it here, so everything
below is the default path with VICTORY_SHADER_OPT=59 (which this card needs regardless of this PR).

Three configurations, same save, same area, SHADER_OPT=59 throughout:

skip list guard fires world frames median notes
this branch 2 programs no 14 124 ms / 8.1 fps identical to the fork without this PR (129.6 ms / 7.8 fps over 635 frames)
this branch none yes 36 212 ms / 5.3 fps ends at 2.4–2.7 fps and does not recover
this branch, SHADER_OPT unset none yes — — runs, does not crash, but the picture is black with the character visible as scattered dots

crashed.txt went from 2 entries to 5 across those runs — so the guard caught three pipelines correctly, and each one
is genuinely left out (the black/dotted run shows what dropping them costs visually, which is expected and not a bug).

The slowdown looks like the parked thread. The handler ends with:

loop { std::thread::sleep(std::time::Duration::from_secs(3600)); }

so the thread that hit the compiler never unwinds, and every MutexGuard/RwLockGuard on its stack is held for the
life of the process — same_name(name) and library.saving.read() are both taken around library calls, and the whole
run then serialises behind them. That fits the shape of what I saw: 7.5 fps before the first catch, 2.4 after the third,
no recovery, and no crash.

Suggestion, if it is useful: keep the VEH for detection but let the thread leave cleanly instead of sleeping in the
handler — run create on a disposable thread and join it (a thread that dies of the fault is then just a false join),
record the name, and return the E_FAIL you already return for a crashed pipeline. That keeps the ergonomic win (no
hand-maintained hash list) without holding locks forever.

Happy to re-test a revision on this card — the setup is reproducible and crashed.txt growing is an easy signal to
follow. If you want the FSR/FG half tested too, tell me which SDK build to drop in and I will run B/C/E/F here and post
the log lines in your format.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7185848560 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7185848560). Originally posted by [0xmp3](https://github.com/0xmp3) on 2026-11-26T07:48:03Z. --- **Tested on an RX 9070 XT: FSR/FG not tested (no SDK here), but the compiler-crash guard is slower than the skip list it replaces** Built `e4b9cc9` (`cargo build --locked --profile diag -p victory --features diagnostics`) and ran it on this card: RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029, Ryzen 5 5600, 64 GB, Windows 11 26300, Series X, `scripts\play.ps1 -Safe`. I did **not** test FSR or frame generation — that needs the FidelityFX SDK folder and I do not have it here, so everything below is the default path with `VICTORY_SHADER_OPT=59` (which this card needs regardless of this PR). **Three configurations, same save, same area, `SHADER_OPT=59` throughout:** | | skip list | guard fires | world frames | median | notes | |---|---|---:|---:|---:|---| | this branch | 2 programs | no | 14 | **124 ms / 8.1 fps** | identical to the fork without this PR (129.6 ms / 7.8 fps over 635 frames) | | this branch | none | yes | 36 | **212 ms / 5.3 fps** | ends at 2.4–2.7 fps and does not recover | | this branch, `SHADER_OPT` unset | none | yes | — | — | runs, does not crash, but the picture is black with the character visible as scattered dots | `crashed.txt` went from 2 entries to 5 across those runs — so the guard caught three pipelines correctly, and each one is genuinely left out (the black/dotted run shows what dropping them costs visually, which is expected and not a bug). **The slowdown looks like the parked thread.** The handler ends with: ```rust loop { std::thread::sleep(std::time::Duration::from_secs(3600)); } ``` so the thread that hit the compiler never unwinds, and every `MutexGuard`/`RwLockGuard` on its stack is held for the life of the process — `same_name(name)` and `library.saving.read()` are both taken around library calls, and the whole run then serialises behind them. That fits the shape of what I saw: 7.5 fps before the first catch, 2.4 after the third, no recovery, and no crash. **Suggestion**, if it is useful: keep the VEH for detection but let the thread leave cleanly instead of sleeping in the handler — run `create` on a disposable thread and join it (a thread that dies of the fault is then just a false join), record the name, and return the `E_FAIL` you already return for a crashed pipeline. That keeps the ergonomic win (no hand-maintained hash list) without holding locks forever. Happy to re-test a revision on this card — the setup is reproducible and `crashed.txt` growing is an easy signal to follow. If you want the FSR/FG half tested too, tell me which SDK build to drop in and I will run B/C/E/F here and post the log lines in your format.
AwkGrep256 commented 2026-11-26 10:09:24 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-26T10:09:24Z.


Thanks for clarifying, @avatarmanz. I rebased this onto 9576c45 and resolved the conflicts while keeping the fork’s current present and frame-meter paths.

The Series X picker and scale patches, the additional CheckFeatureSupport answers, and the compiler-crash guard now activate only after the host upscaler loads successfully from VICTORY_FIDELITYFX_DIR (or its config equivalent). Frame generation still requires a separate opt-in with VICTORY_FIDELITYFX_FRAMEGEN=1 for 3.x or =4 for 4.0.2.

Both Windows workspace Clippy checks passed. The earlier RX 9070 XT run showed FSR at 1440p → 4K and generated frames with provider 4.0.2. The rebased head still needs its in-game run. Thanks for pointing out the default-mode impact.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7188982719 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7188982719). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-26T10:09:24Z. --- Thanks for clarifying, @avatarmanz. I rebased this onto `9576c45` and resolved the conflicts while keeping the fork’s current present and frame-meter paths. The Series X picker and scale patches, the additional `CheckFeatureSupport` answers, and the compiler-crash guard now activate only after the host upscaler loads successfully from `VICTORY_FIDELITYFX_DIR` (or its config equivalent). Frame generation still requires a separate opt-in with `VICTORY_FIDELITYFX_FRAMEGEN=1` for 3.x or `=4` for 4.0.2. Both Windows workspace Clippy checks passed. The earlier RX 9070 XT run showed FSR at 1440p → 4K and generated frames with provider 4.0.2. The rebased head still needs its in-game run. Thanks for pointing out the default-mode impact.
AwkGrep256 commented 2026-11-26 10:57:54 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-26T10:57:54Z.


@avatarmanz, thanks for picking up the #53 scale and upscaler picker changes in f63b4b1 and e151e71. I ran the rebased #53 head f239382 on an RX 9070 XT with 32 GB RAM in -Safe.

Status Mode What we saw
⚠️ Visual artifact FSR 4.1.2, 1080p → 4K Reached gameplay. Bright speckling or glow near the edges during camera movement.
✅ Verified FSR 4.1.2, 1440p → 4K Verified 2560×1440 → 3840×2160 with result=0. The glow was absent in the scene we compared.
❌ Crashed in game 1440p → 4K + FG 3.1.6 Three rendered plus three generated frames presented. HUD text flickered, and the game later exited on an invalid memory write.
✅ Verified 1440p → 4K + FG 4.0.2 Three rendered plus three generated frames presented. Motion looked smoother, controls felt responsive, and we saw no HUD flicker or ghosting in the tested scene.
❌ Startup crash 4K → 4K through FSR The context initialized, then a title breakpoint stopped the run before the first successful upscale.

Brief stalls occurred with both FG off and FG 4.0.2 on. Input feel was assessed in play. A 1440p → 4K comparison with FG 3 on and off on your 7900 XTX would help check the HUD behavior and whether the crash repeats. Thanks for the resolution work. Related upstream PRs are Marvisak/VIctory#1917 and Marvisak/VIctory#2751.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7190075370 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7190075370). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-26T10:57:54Z. --- @avatarmanz, thanks for picking up the #53 scale and upscaler picker changes in f63b4b1 and e151e71. I ran the rebased #53 head `f239382` on an RX 9070 XT with 32 GB RAM in `-Safe`. | Status | Mode | What we saw | | --- | --- | --- | | ⚠️ Visual artifact | FSR 4.1.2, 1080p → 4K | Reached gameplay. Bright speckling or glow near the edges during camera movement. | | ✅ Verified | FSR 4.1.2, 1440p → 4K | Verified 2560×1440 → 3840×2160 with `result=0`. The glow was absent in the scene we compared. | | ❌ Crashed in game | 1440p → 4K + FG 3.1.6 | Three rendered plus three generated frames presented. HUD text flickered, and the game later exited on an invalid memory write. | | ✅ Verified | 1440p → 4K + FG 4.0.2 | Three rendered plus three generated frames presented. Motion looked smoother, controls felt responsive, and we saw no HUD flicker or ghosting in the tested scene. | | ❌ Startup crash | 4K → 4K through FSR | The context initialized, then a title breakpoint stopped the run before the first successful upscale. | Brief stalls occurred with both FG off and FG 4.0.2 on. Input feel was assessed in play. A 1440p → 4K comparison with FG 3 on and off on your 7900 XTX would help check the HUD behavior and whether the crash repeats. Thanks for the resolution work. Related upstream PRs are Marvisak/VIctory#1917 and Marvisak/VIctory#2751.
z395977743-svg commented 2026-11-26 14:20:43 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by z395977743-svg on 2026-11-26T14:20:43Z.


Tested the rebased #53 host path on an RX 7900 XTX (RDNA 3), driver 32.0.32029.2010, Ryzen 5 5600X, 32 GB RAM, Windows 10 build 19045. This is a 1080p-output comparison in the prison room facing the window after skipping the intro. Same copied save per launch, Series X, 1280×720 input, 1920×1080 output, no RT or driver frame generation. The build combines c9c932c + #53 f239382, #98, #153 and local Agility 1.620.2 support.

Only VICTORY_THIN changed between these two runs. Both used the normal play script with JOIN_PARTS=8 and UPLOAD_AHEAD=1, the signed FidelityFX SDK 2.4.0 DX12 DLLs, upscaler 7, FFX_SCALE=0.6666667 and FIDELITYFX_FRAMEGEN=1.

THIN World picture SDK telemetry PresentMon display sample
1 black client area, game still drawing proxy/context created, then missing host texture in state 12; no successful upscale or generated-frame callback 360 displays in 27.84 s (12.93/s)
0 character, room and HUD visible first upscale returned 0; FG provider 3.1.6, swap-chain provider 3.1.7; first steady callback had 3 rendered / 3 generated / 6 presents 723 displays in 31.93 s (22.64/s)

In the working run the engine averaged 11.25 real FPS over 555 sampled frames, about 4,973 draws/frame. The SDK proxy exposes presents as Application frames in this PresentMon version, hence the separate SDK and display counts. The normal thin-list frontend doesn't hold the host command list that external::host_texture requests. Disabling just THIN restored dispatch in this setup and left the other two play-script optimizations enabled. This was a short, stationary test. It doesn't cover outdoor movement, HUD stability in motion, or a full playthrough.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7194671139 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7194671139). Originally posted by [z395977743-svg](https://github.com/z395977743-svg) on 2026-11-26T14:20:43Z. --- Tested the rebased #53 host path on an RX 7900 XTX (RDNA 3), driver 32.0.32029.2010, Ryzen 5 5600X, 32 GB RAM, Windows 10 build 19045. This is a 1080p-output comparison in the prison room facing the window after skipping the intro. Same copied save per launch, Series X, 1280×720 input, 1920×1080 output, no RT or driver frame generation. The build combines `c9c932c` + #53 `f239382`, #98, #153 and local Agility 1.620.2 support. Only `VICTORY_THIN` changed between these two runs. Both used the normal play script with `JOIN_PARTS=8` and `UPLOAD_AHEAD=1`, the signed FidelityFX SDK 2.4.0 DX12 DLLs, upscaler 7, `FFX_SCALE=0.6666667` and `FIDELITYFX_FRAMEGEN=1`. | THIN | World picture | SDK telemetry | PresentMon display sample | |---|---|---|---| | 1 | black client area, game still drawing | proxy/context created, then missing host texture in state 12; no successful upscale or generated-frame callback | 360 displays in 27.84 s (12.93/s) | | 0 | character, room and HUD visible | first upscale returned 0; FG provider 3.1.6, swap-chain provider 3.1.7; first steady callback had 3 rendered / 3 generated / 6 presents | 723 displays in 31.93 s (22.64/s) | In the working run the engine averaged 11.25 real FPS over 555 sampled frames, about 4,973 draws/frame. The SDK proxy exposes presents as Application frames in this PresentMon version, hence the separate SDK and display counts. The normal thin-list frontend doesn't hold the host command list that `external::host_texture` requests. Disabling just THIN restored dispatch in this setup and left the other two play-script optimizations enabled. This was a short, stationary test. It doesn't cover outdoor movement, HUD stability in motion, or a full playthrough.
Jrjy3 commented 2026-11-26 18:02:03 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by Jrjy3 on 2026-11-26T18:02:03Z.


Tested on an AMD Radeon AI PRO R9700 (RDNA 4, 32 GB), driver 32.0.32015.2008, Ryzen 9 9950X3D, Windows 11 26300. Head f239382 merged onto main c9c932c (plus #55), clean merge. AMD-signed DLLs from FidelityFX SDK v2.4.0 Kits/FidelityFX/signedbin (upscaler 4.1.2, frame generation 4.0.2). VICTORY_UPSCALER=7, VICTORY_FFX_SCALE=0.6666667.

The world is black whenever VICTORY_THIN=1 is on, and that is scripts\play.ps1's default (non--Safe) mode. The menus, audio and subtitles still work. The log says, once:

FidelityFX: a resource has no host texture in its state; the upscaling did not run state=12
Run Picture
-Safe, 4K output (as tested above) ok, first successful host upscale result=0
-Safe + renderer patches 1, 2, 5, 6, 7 ok
default mode (THIN on) + patches, 4K output black, the warning above
default mode, VICTORY_THIN=0, patches, VICTORY_OUTPUT=2560x1440 ok (render 1706x960 → 2560x1440)

Probable cause: external::host_texture starts with crate::list::host_list(list)?. Under THIN the title's calls are only written down when it calls ffxDispatch, and the host list is made later on our threads, so there is no host list or texture state yet. Recording the upscale as a THIN call (run at its place when the list is translated) would probably fix it. Until then, a log line saying FSR needs VICTORY_THIN=0 or -Safe would save people a black screen.

Frame generation (VICTORY_FIDELITYFX_FRAMEGEN=4, diagnostics build: it is compiled only there) loads and runs: proxy swap chain provider="4.0.0", about 18 rendered fps in the prologue with THIN off. Between hitches it looks smooth, but there is a hitch about every second. The same hitch shows with THIN off and FSR alone, and not in our normal THIN-on sessions, so it looks like a cost of THIN off rather than of frame generation. One session each, not measured frame by frame. For comparison, on this card with the title's own upscaler, THIN on, the patches and 1440p output, the boat scene runs at 47 ms (21.3 fps).

AI-assisted (Claude Code).

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7199976875 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7199976875). Originally posted by [Jrjy3](https://github.com/Jrjy3) on 2026-11-26T18:02:03Z. --- **Tested on an AMD Radeon AI PRO R9700 (RDNA 4, 32 GB), driver 32.0.32015.2008, Ryzen 9 9950X3D, Windows 11 26300.** Head `f239382` merged onto main `c9c932c` (plus #55), clean merge. AMD-signed DLLs from FidelityFX SDK v2.4.0 `Kits/FidelityFX/signedbin` (upscaler 4.1.2, frame generation 4.0.2). `VICTORY_UPSCALER=7`, `VICTORY_FFX_SCALE=0.6666667`. **The world is black whenever `VICTORY_THIN=1` is on, and that is `scripts\play.ps1`'s default (non-`-Safe`) mode.** The menus, audio and subtitles still work. The log says, once: ``` FidelityFX: a resource has no host texture in its state; the upscaling did not run state=12 ``` | Run | Picture | |---|---| | `-Safe`, 4K output (as tested above) | ok, `first successful host upscale result=0` | | `-Safe` + renderer patches 1, 2, 5, 6, 7 | ok | | default mode (THIN on) + patches, 4K output | **black**, the warning above | | default mode, `VICTORY_THIN=0`, patches, `VICTORY_OUTPUT=2560x1440` | ok (render 1706x960 → 2560x1440) | Probable cause: `external::host_texture` starts with `crate::list::host_list(list)?`. Under THIN the title's calls are only written down when it calls `ffxDispatch`, and the host list is made later on our threads, so there is no host list or texture state yet. Recording the upscale as a THIN call (run at its place when the list is translated) would probably fix it. Until then, a log line saying FSR needs `VICTORY_THIN=0` or `-Safe` would save people a black screen. **Frame generation** (`VICTORY_FIDELITYFX_FRAMEGEN=4`, diagnostics build: it is compiled only there) loads and runs: `proxy swap chain provider="4.0.0"`, about 18 rendered fps in the prologue with THIN off. Between hitches it looks smooth, but there is a hitch about every second. The same hitch shows with THIN off and FSR alone, and not in our normal THIN-on sessions, so it looks like a cost of THIN off rather than of frame generation. One session each, not measured frame by frame. For comparison, on this card with the title's own upscaler, THIN on, the patches and 1440p output, the boat scene runs at 47 ms (21.3 fps). AI-assisted (Claude Code).
AwkGrep256 commented 2026-11-26 18:16:41 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-26T18:16:41Z.


Thanks, @Jrjy3 and @z395977743-svg. The 7900 XTX run where only VICTORY_THIN changed, plus the R9700 result, pin down when the black screen happens. We tested with -Safe, which explains why we missed it. For now, use -Safe or VICTORY_THIN=0 with host FSR. I’ll add a startup check and look at running the upscale in order with the other THIN commands, once its textures are ready. The hitch showing up with FG off is useful to know too.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7200266293 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7200266293). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-26T18:16:41Z. --- Thanks, @Jrjy3 and @z395977743-svg. The 7900 XTX run where only `VICTORY_THIN` changed, plus the R9700 result, pin down when the black screen happens. We tested with `-Safe`, which explains why we missed it. For now, use `-Safe` or `VICTORY_THIN=0` with host FSR. I’ll add a startup check and look at running the upscale in order with the other THIN commands, once its textures are ready. The hitch showing up with FG off is useful to know too.
AwkGrep256 commented 2026-11-26 18:32:56 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-26T18:32:56Z.


@avatarmanz, a heads-up on the native settings work. Marvisak/VIctory#2863 now has a prototype Settings → Graphics → Upscaler row. The prototype has a reusable settings API for adding native rows. The first row uses the game’s normal menu controls and saves the selection to victory.toml for the next launch. If you’re interested in testing or porting it, the upstream draft has the opt-in switches and a short test checklist. The blank stock Graphics rows are still for browsing only. On this fork, the host FSR test still needs -Safe or VICTORY_THIN=0 per the reports above.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7200587085 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7200587085). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-26T18:32:56Z. --- @avatarmanz, a heads-up on the native settings work. Marvisak/VIctory#2863 now has a prototype **Settings → Graphics → Upscaler** row. The prototype has a reusable settings API for adding native rows. The first row uses the game’s normal menu controls and saves the selection to `victory.toml` for the next launch. If you’re interested in testing or porting it, the upstream draft has the opt-in switches and a short test checklist. The blank stock Graphics rows are still for browsing only. On this fork, the host FSR test still needs `-Safe` or `VICTORY_THIN=0` per the reports above.
AwkGrep256 commented 2026-11-27 01:02:49 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by AwkGrep256 on 2026-11-27T01:02:49Z.


🧪 FG3 HUD flicker test

@avatarmanz, a7529aa4 adds an opt-in fix for the compass and text flicker we saw with FG3. The game still draws its HUD as usual. We copy the scene immediately before that draw and give AMD the clean copy for the matching present, so it can distinguish the HUD from the world.

Status
✅ Build Windows diagnostics build and the check without diagnostics passed.
🧪 HUD flicker Needs a same-scene camera turn with the option off and on.
🔍 Tree flicker Reported separately by @thejacte. Please note whether it still appears during the same turn.

For a comparison at 1440p → 4K with FG3, use the existing FG3 setup and add VICTORY_FRAMEGEN_HUDLESS='1' to the launcher's -More settings. Keep the regular HUD visible. The line FidelityFX FG3: using matched HUD-less color confirms AMD received the clean scene. That log and a quick note about what you see while turning the camera would be plenty. Thanks to anyone who can try it.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7206965927 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/53#issuecomment-7206965927). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-27T01:02:49Z. --- ## 🧪 FG3 HUD flicker test @avatarmanz, `a7529aa4` adds an opt-in fix for the compass and text flicker we saw with FG3. The game still draws its HUD as usual. We copy the scene immediately before that draw and give AMD the clean copy for the matching present, so it can distinguish the HUD from the world. | | Status | | --- | --- | | ✅ Build | Windows diagnostics build and the check without diagnostics passed. | | 🧪 HUD flicker | Needs a same-scene camera turn with the option off and on. | | 🔍 Tree flicker | [Reported separately by @thejacte](https://github.com/Belobug/VIctory-Belobug-AMD/pull/118#issuecomment-7204711143). Please note whether it still appears during the same turn. | For a comparison at **1440p → 4K with FG3**, use the existing FG3 setup and add `VICTORY_FRAMEGEN_HUDLESS='1'` to the launcher's `-More` settings. Keep the regular HUD visible. The line `FidelityFX FG3: using matched HUD-less color` confirms AMD received the clean scene. That log and a quick note about what you see while turning the camera would be plenty. Thanks to anyone who can try it.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/53:upstream-pr/53'
git switch 'upstream-pr/53'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/53'
git switch 'upstream-pr/53'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/53'
git switch 'upstream-pr/53'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/53'
git switch 'main'
git merge --squash 'upstream-pr/53'
git switch 'main'
git merge --ff-only 'upstream-pr/53'
git switch 'main'
git merge 'upstream-pr/53'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
avatarmanz/VIctory-7900XTX!53
No description provided.