Series S: translate AMD FidelityFX ACCC/FSPX compute programs (part of #81) #237

Open
github-bot wants to merge 5 commits from github-bot/gh-237 into main AGit
Owner

@⁠mustafaburaksanli on GitHub · 2026-12-05 21:57 UTC · original
mustafaburaksanli:fsr-accc-series-s → main · +473 −61 · 9 files · 5 commits · open

Part of #81 (black 3D scene on --console series-s). On Series S the title runs AMD FidelityFX through amd_fidelityfx_upscaler_xbox.dll. That DLL's 29 compute containers have no DXIL part, so none of them translated ("no DXIL part") and the scene stayed black. Their native program is in an ACCC part instead. This PR reads that part and fixes the translator gaps it exposed. All 29 programs now translate and pass the DXIL validator. Before this PR, none did.

Correction: this does not fix the black scene by itself. My in-game check ran with LARP_DLSS_PATH/LARP_FSR_PATH set, so the host upscaler took over the title's FidelityFX context. Without them the scene is still black (see the test by eipastel below: a second view heap, command list slot 0x1a8, DeserializeComputePipelineStateX).

Result

larp translate amd_fidelityfx_upscaler_xbox.dll --validate
programs     29 translated of 29
structured   29 of 29
resources    29 of 29 tracked
DXIL         29 emitted of 29 compute programs; 29 validated

With LARP_HOST_MAX_WAVE=32 --validate --pipelines (what the runtime uses on this card), 29 of 29 pipelines are created.

Without LARP_HOST_MAX_WAVE=32, translate builds for a 64-lane host. The 4 wave64 programs then fail --pipelines on a wave32 GPU with "wants wave lane count of 64". That is the host GPU's limit, not a translation error.

Regression check

  • I dumped every emitted shader (LARP_EMIT_DUMP) from shaders.rpf and this DLL, with the binary before this PR and after it. I did this twice, in the default mode and with LARP_HOST_MAX_WAVE=32.
  • In both modes, all ~25,700 shaders that already emitted are byte-identical. The only differences are the newly emitted FSR programs.
  • Every new path runs only where translation returned an error before.
  • cargo test --workspace passes.

The ACCC / FSPX layout (as observed, all 29 containers)

+0x00 "FSPX" u32 version (1), u32 entry count, u32 size; entries at +0x10,
      16 B each: u32 type, u32 offset (from the part start), u32 size, u32 0
type 0  28 B: u32 x3, u16 threads x, y, z, u16 flags (bit 4 = wave32),
        u32 COMPUTE_PGM_RSRC1, u32 COMPUTE_PGM_RSRC2
type 6  GFX10 code
type 7  6 header dwords, then 8-dword entries: u32 tag, 5 dwords, u32 -1, u32 0
        tag 0x41 = a used resource, the same 20-byte layout as the FSSM used table
        tag 0x42 = not decoded, tag 0x43 = end

No root layout table is stored, so it is built from the container's RTS0:

  • Parameters arrive in order from user SGPR 4.
  • A table takes 1 SGPR, constants take one SGPR per value, and a root descriptor takes 2.
  • For all 29 programs this matches the user_data of every 0x41 entry and the user SGPR count in RSRC2 (8 or 14).
  • The parser rejects a container where they disagree.

Commits

1. 91a9ff1 Translate the ACCC/FSPX programs (23 of 29)

  • native.rs:
    • fspx_programs parses the ACCC part.
    • container_programs returns the programs of the DXIL part, or of the ACCC part when there is no DXIL part. translated_program, pipeline.rs, translate and shader-info use it.
    • The used-entry decoding is shared with the FSSM path (used_entry).
  • resource.rs:
    • raw_view: FidelityFX loads a buffer descriptor, then makes it raw. It clears the stride (s_and_b32 w1, 0xc000ffff), multiplies the record count by the stride, and sets OOB_SELECT to raw (s_or_b32 (s_and_b32 w3, 0xcfffffff), 0x30000000). Without idxen the stride never enters an address, so this is treated as the loaded view. This was the error "a descriptor changed after loading" in 28 programs.
    • copy_source folds s_bfm_b32 with constant operands, and s_mov_b64 of a literal without the sign bit. One program builds its sampler that way.
  • lower.rs:
    • v_dot4c_i32_i8, v_dot4_i32_i8 and v_dot4_u32_u8 (no clamp).
    • v_pk_fmac_f16, the VOP2 form: each half reads the same half, and the accumulator is vdst.
    • src_scc as an operand (0/1).

2. 617955b SCC of a lane-mask operation read as wave-uniform data. Fixes @⁠0x75830, and the first error of @⁠0x7e680, @⁠0x8e6e0 and @⁠0x95020.

  • The spin-wait on a global counter does s_and_b32 m, cmp, exec, then s_cselect_b32 s, -1, 0 on that SCC, then s_orn2.
  • Structurisation already records that SCC in scc_some (some lane has the bit, so WaveActiveAnyTrue). Only phi joins used it.
  • scc_in now lowers it through scc_some(), so the select and the s_orn2 become plain scalars. Before, this failed with "a lane mask read as data".

3. c6cd00c Lane reads after a whole-wave section, by its simulation. Fixes @⁠0x7e680, @⁠0x8e6e0 and @⁠0x95020.

  • A wave64 OR reduction restores EXEC, then does v_readlane_b32 s, v, 63. Only the upper lanes hold the whole wave's OR, so the value has no lane-uniform shape.
  • In emit/wave.rs, simulate now returns the per-lane values. Section::reads gives each constant-lane v_readlane after the restore the shape of the lane it reads. This only applies to values that have no shape of their own.
  • In emit/lower.rs, the block loop lowers those reads through section_read.

4. 80bafe9 Image atomics with a16 coordinates, image stores of some channels. Fixes @⁠0x704f0.

  • image_atomic_add ... a16 has 16-bit coordinates, packed two to a VGPR, and 32-bit data. So it is not a 16-bit atomic. addr_val already unpacks a16, so now only d16 data is refused.
  • image_store dmask:0x1 d16 (it clears the counter) failed next.
  • Stores with some channels now take the enabled channels from the data VGPRs in order. DXIL typed stores must write all four channels, so the other channels are written as 0, and alpha as 1.
  • Please check the fill: 0 and 1-for-alpha is my assumption. It is marked in the code comment, and it has no effect on this one-channel counter.

5. 21e3d21 SGPRs spilled to VGPR lanes, read back by their lane writes. Fixes @⁠0xb2e80.

  • The brief guessed this was a store through a root UAV. It is not. The compiler spills SGPRs into one VGPR with v_writelane_b32.
  • Lanes 0..3 hold the root CBV descriptor, whose address dwords have no host value. Lanes 4..8 hold loaded data. So every v_readlane of that VGPR failed with "a root descriptor".
  • New spilled() in emit/lower.rs: when the VGPR has no value, a constant-lane v_readlane follows the chain of constant-lane v_writelanes back to the scalar written to that lane.

Not in this PR

  • Black or saturated blue boat hull. On Series S and Series X the boat's hull at the dock is sometimes solid black and sometimes solid blue, while the characters around it are fine. This is #391 (same boat, RTX 3090, Series X). It happens without this PR, so it is a separate problem.
  • Grain under cars on Series S. It looks like the dithered shadow and AO at Series S's lower internal resolution. I did not compare it with real hardware.

Tested on

  • Windows 11, RTX 5070 Laptop (8 GB, wave32).
  • v1.1.6 shader-replace folder.
  • --console series-s --stream-budget 2500, 1920x1080, frame_rate=30, around 29 fps after the shader cache warmed up.

🤖 Generated with Claude Code

**@⁠mustafaburaksanli** on GitHub · 2026-12-05 21:57 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237) `mustafaburaksanli:fsr-accc-series-s` → `main` · +473 −61 · 9 files · 5 commits · open Part of #81 (black 3D scene on `--console series-s`). On Series S the title runs AMD FidelityFX through `amd_fidelityfx_upscaler_xbox.dll`. That DLL's 29 compute containers have no `DXIL` part, so none of them translated ("no DXIL part") and the scene stayed black. Their native program is in an `ACCC` part instead. This PR reads that part and fixes the translator gaps it exposed. **All 29 programs now translate and pass the DXIL validator.** Before this PR, none did. **Correction:** this does not fix the black scene by itself. My in-game check ran with `LARP_DLSS_PATH`/`LARP_FSR_PATH` set, so the host upscaler took over the title's FidelityFX context. Without them the scene is still black (see the test by eipastel below: a second view heap, command list slot `0x1a8`, `DeserializeComputePipelineStateX`). ### Result ``` larp translate amd_fidelityfx_upscaler_xbox.dll --validate programs 29 translated of 29 structured 29 of 29 resources 29 of 29 tracked DXIL 29 emitted of 29 compute programs; 29 validated ``` With `LARP_HOST_MAX_WAVE=32 --validate --pipelines` (what the runtime uses on this card), 29 of 29 pipelines are created. Without `LARP_HOST_MAX_WAVE=32`, `translate` builds for a 64-lane host. The 4 wave64 programs then fail `--pipelines` on a wave32 GPU with "wants wave lane count of 64". That is the host GPU's limit, not a translation error. ### Regression check - I dumped every emitted shader (`LARP_EMIT_DUMP`) from `shaders.rpf` and this DLL, with the binary before this PR and after it. I did this twice, in the default mode and with `LARP_HOST_MAX_WAVE=32`. - In both modes, all ~25,700 shaders that already emitted are **byte-identical**. The only differences are the newly emitted FSR programs. - Every new path runs only where translation returned an error before. - `cargo test --workspace` passes. ### The `ACCC` / `FSPX` layout (as observed, all 29 containers) ```text +0x00 "FSPX" u32 version (1), u32 entry count, u32 size; entries at +0x10, 16 B each: u32 type, u32 offset (from the part start), u32 size, u32 0 type 0 28 B: u32 x3, u16 threads x, y, z, u16 flags (bit 4 = wave32), u32 COMPUTE_PGM_RSRC1, u32 COMPUTE_PGM_RSRC2 type 6 GFX10 code type 7 6 header dwords, then 8-dword entries: u32 tag, 5 dwords, u32 -1, u32 0 tag 0x41 = a used resource, the same 20-byte layout as the FSSM used table tag 0x42 = not decoded, tag 0x43 = end ``` No root layout table is stored, so it is built from the container's `RTS0`: - Parameters arrive in order from user SGPR 4. - A table takes 1 SGPR, constants take one SGPR per value, and a root descriptor takes 2. - For all 29 programs this matches the `user_data` of every 0x41 entry and the user SGPR count in RSRC2 (8 or 14). - The parser rejects a container where they disagree. ### Commits **1. `91a9ff1` Translate the ACCC/FSPX programs (23 of 29)** - `native.rs`: - `fspx_programs` parses the `ACCC` part. - `container_programs` returns the programs of the `DXIL` part, or of the `ACCC` part when there is no `DXIL` part. `translated_program`, `pipeline.rs`, `translate` and `shader-info` use it. - The used-entry decoding is shared with the FSSM path (`used_entry`). - `resource.rs`: - `raw_view`: FidelityFX loads a buffer descriptor, then makes it raw. It clears the stride (`s_and_b32 w1, 0xc000ffff`), multiplies the record count by the stride, and sets OOB_SELECT to raw (`s_or_b32 (s_and_b32 w3, 0xcfffffff), 0x30000000`). Without `idxen` the stride never enters an address, so this is treated as the loaded view. This was the error "a descriptor changed after loading" in 28 programs. - `copy_source` folds `s_bfm_b32` with constant operands, and `s_mov_b64` of a literal without the sign bit. One program builds its sampler that way. - `lower.rs`: - `v_dot4c_i32_i8`, `v_dot4_i32_i8` and `v_dot4_u32_u8` (no clamp). - `v_pk_fmac_f16`, the VOP2 form: each half reads the same half, and the accumulator is vdst. - `src_scc` as an operand (0/1). **2. `617955b` SCC of a lane-mask operation read as wave-uniform data.** Fixes @⁠0x75830, and the first error of @⁠0x7e680, @⁠0x8e6e0 and @⁠0x95020. - The spin-wait on a global counter does `s_and_b32 m, cmp, exec`, then `s_cselect_b32 s, -1, 0` on that SCC, then `s_orn2`. - Structurisation already records that SCC in `scc_some` (some lane has the bit, so `WaveActiveAnyTrue`). Only phi joins used it. - `scc_in` now lowers it through `scc_some()`, so the select and the `s_orn2` become plain scalars. Before, this failed with "a lane mask read as data". **3. `c6cd00c` Lane reads after a whole-wave section, by its simulation.** Fixes @⁠0x7e680, @⁠0x8e6e0 and @⁠0x95020. - A wave64 OR reduction restores EXEC, then does `v_readlane_b32 s, v, 63`. Only the upper lanes hold the whole wave's OR, so the value has no lane-uniform shape. - In `emit/wave.rs`, `simulate` now returns the per-lane values. `Section::reads` gives each constant-lane `v_readlane` after the restore the shape of the lane it reads. This only applies to values that have no shape of their own. - In `emit/lower.rs`, the block loop lowers those reads through `section_read`. **4. `80bafe9` Image atomics with a16 coordinates, image stores of some channels.** Fixes @⁠0x704f0. - `image_atomic_add ... a16` has 16-bit coordinates, packed two to a VGPR, and 32-bit data. So it is not a 16-bit atomic. `addr_val` already unpacks a16, so now only d16 *data* is refused. - `image_store dmask:0x1 d16` (it clears the counter) failed next. - Stores with some channels now take the enabled channels from the data VGPRs in order. DXIL typed stores must write all four channels, so the other channels are written as 0, and alpha as 1. - **Please check the fill:** 0 and 1-for-alpha is my assumption. It is marked in the code comment, and it has no effect on this one-channel counter. **5. `21e3d21` SGPRs spilled to VGPR lanes, read back by their lane writes.** Fixes @⁠0xb2e80. - The brief guessed this was a store through a root UAV. It is not. The compiler spills SGPRs into one VGPR with `v_writelane_b32`. - Lanes 0..3 hold the root CBV descriptor, whose address dwords have no host value. Lanes 4..8 hold loaded data. So every `v_readlane` of that VGPR failed with "a root descriptor". - New `spilled()` in `emit/lower.rs`: when the VGPR has no value, a constant-lane `v_readlane` follows the chain of constant-lane `v_writelane`s back to the scalar written to that lane. ### Not in this PR - **Black or saturated blue boat hull.** On Series S and Series X the boat's hull at the dock is sometimes solid black and sometimes solid blue, while the characters around it are fine. This is #391 (same boat, RTX 3090, Series X). It happens without this PR, so it is a separate problem. - **Grain under cars on Series S.** It looks like the dithered shadow and AO at Series S's lower internal resolution. I did not compare it with real hardware. ### Tested on - Windows 11, RTX 5070 Laptop (8 GB, wave32). - v1.1.6 `shader-replace` folder. - `--console series-s --stream-budget 2500`, 1920x1080, `frame_rate=30`, around 29 fps after the shader cache warmed up. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 22:04:52 +00:00
Author
Owner

@⁠ICEE93 on GitHub · 2026-12-05 22:11 UTC · original

https://github.com/rorodev6/victory-nvidia-megafork/pull/5

**@⁠ICEE93** on GitHub · 2026-12-05 22:11 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7446442497) https://github.com/rorodev6/victory-nvidia-megafork/pull/5
Author
Owner

@⁠mustafaburaksanli on GitHub · 2026-12-05 22:23 UTC · original

Thanks for the link, the two changes look complementary:

  • This PR teaches the translator the ACCC/FSPX layout (root layout from RTS0, used resources from the type 7 entries, wave size and VGPRs from the type 0 entry) and the instruction forms these programs need. With it, 23 of the 29 programs translate and validate.
  • victory-nvidia-megafork#5 implements DeserializeComputePipelineStateX so the title reaches the console path at all, instead of falling back to NewBE.

larp needs both before the title's own FSR4 can run on Series S. The 6 programs still missing here are listed in the description: 4 x "lane mask read as data", one 16-bit image atomic, one store through a root UAV descriptor. That overlaps the "three wave64 passes remain untranslated" noted there.

Until then, upscaler = dlss (or fsr) in settings.ini gets a picture on Series S, because the host upscaler replaces the console FSR.

**@⁠mustafaburaksanli** on GitHub · 2026-12-05 22:23 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7446649953) Thanks for the link, the two changes look complementary: - This PR teaches the translator the `ACCC`/`FSPX` layout (root layout from `RTS0`, used resources from the type 7 entries, wave size and VGPRs from the type 0 entry) and the instruction forms these programs need. With it, 23 of the 29 programs translate and validate. - victory-nvidia-megafork#5 implements `DeserializeComputePipelineStateX` so the title reaches the console path at all, instead of falling back to NewBE. larp needs both before the title's own FSR4 can run on Series S. The 6 programs still missing here are listed in the description: 4 x "lane mask read as data", one 16-bit image atomic, one store through a root UAV descriptor. That overlaps the "three wave64 passes remain untranslated" noted there. Until then, `upscaler = dlss` (or `fsr`) in `settings.ini` gets a picture on Series S, because the host upscaler replaces the console FSR.
Author
Owner

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

Great format work - keeping this as draft until the last 6 FidelityFX programs translate and the Series S scene renders (as you note, its still black). The ACCC-part reader + 23/29 validator-clean translations are exactly the foundation #81 needs; shout when the remaining 6 are identified and well test-merge immediately.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 22:51 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7447112423) Great format work - keeping this as draft until the last 6 FidelityFX programs translate and the Series S scene renders (as you note, its still black). The ACCC-part reader + 23/29 validator-clean translations are exactly the foundation #81 needs; shout when the remaining 6 are identified and well test-merge immediately.
github-bot changed title from Series S: translate FidelityFX ACCC/FSPX compute programs (partial, #81) to Series S: translate AMD FidelityFX ACCC/FSPX compute programs (fixes black scene, #81) 2026-12-06 02:19:46 +00:00
github-bot force-pushed github-bot/gh-237 from dba993e561 to 21e3d210ca 2026-12-06 02:19:52 +00:00 Compare
Author
Owner

@⁠eipastel on GitHub · 2026-12-06 03:10 UTC · original

Tested this PR (21e3d21) on an RTX 5060 8 GB (driver 621.01), Windows 11 build 26300, --console series-s, no upscaler configured, street save, settings all default: the 3D scene is still black here.

  • All 29 programs now translate (no does not translate line in the log; on main there are 29).
  • The title still logs DeserializeComputePipelineStateX FAILED hr=0x80004001 for all 29 FSR 4 passes, larp still logs method: not implemented object="pipeline state" slot=0x58 and object="command list" slot=0x1a8, and 20-21 dispatches per frame are still dropped without a host pipeline.
  • Luma mean of the window 0.3-2.1/255 over 60 s (same as main, 0.3). With #444 on the same machine the picture renders (59-100).

One run, luma from a screen capture of the window every 15 s (no image kept). Logs and the table in #81.

Written with AI assistance (Claude Code).

**@⁠eipastel** on GitHub · 2026-12-06 03:10 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7450486550) Tested this PR (21e3d21) on an RTX 5060 8 GB (driver 621.01), Windows 11 build 26300, `--console series-s`, no upscaler configured, street save, settings all default: the 3D scene is still black here. - All 29 programs now translate (no `does not translate` line in the log; on `main` there are 29). - The title still logs `DeserializeComputePipelineStateX FAILED hr=0x80004001` for all 29 FSR 4 passes, larp still logs `method: not implemented object="pipeline state" slot=0x58` and `object="command list" slot=0x1a8`, and 20-21 dispatches per frame are still dropped without a host pipeline. - Luma mean of the window 0.3-2.1/255 over 60 s (same as `main`, 0.3). With #444 on the same machine the picture renders (59-100). One run, luma from a screen capture of the window every 15 s (no image kept). Logs and the table in https://git.gtahub.st/github/gamingwithhomie--larp/issues/81. Written with AI assistance (Claude Code).
github-bot changed title from Series S: translate AMD FidelityFX ACCC/FSPX compute programs (fixes black scene, #81) to Series S: translate AMD FidelityFX ACCC/FSPX compute programs (part of #81) 2026-12-06 04:04:00 +00:00
Author
Owner

@⁠eipastel on GitHub · 2026-12-06 03:55 UTC · original

Follow-up to my run above, after reading the log more closely: with this PR the dispatches are not dropped for want of a pipeline (that line is gone). The first frame after the 29 FSR 4 passes fall back logs, in this order:

WARN larp_gpu::object: method: not implemented object="command list" slot=0x1a8 caller="+0x72f4"
WARN larp_gpu::descriptor::stage: staged views: a second shader-visible view heap, the lists of its tables name single slots, not staged views
WARN larp_gpu::draw: descriptor table: a draw or dispatch reads one nothing described (not the table of its thread's last fill, not a persistent table), it is dropped slot=0 table=0x1eae2d99080
WARN larp_gpu::draw: draw: dropped, its tables' lists could not be made (a table nothing described, no scratch memory or no free slot)

(On main the same moment logs dispatch: dropped, no host pipeline instead, and none of these.) So after the translation, what is left on this card looks like:

  1. A second shader-visible view heap. FidelityFX makes its own; descriptor::stage::use_region keeps the staged-view region of the first heap only (REGION is a OnceLock), so the tables FSR 4 binds from its heap are "nothing described" and its dispatches are dropped. The per-frame report still counts 20-21 of them.
  2. Command list slot 0x1a8, which in larp's console list layout is the slot after ClearRenderTargetView (0x1a0), so most likely ClearUnorderedAccessViewUint; FSR 4 calls it on that path (the warning is logged once, so I cannot say how often).
  3. Device slot 0x218 (DeserializeComputePipelineStateX) still answers E_NOTIMPL (device.rs, unknown_pipeline::<0x218>), so the title takes its fallback path; pipeline-state slot 0x58 is called on that path.

I have not tried to fix any of these; posting in case it saves someone the search. Same machine and run as above (RTX 5060, driver 621.01, --console series-s, no upscaler).

Written with AI assistance (Claude Code).

**@⁠eipastel** on GitHub · 2026-12-06 03:55 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7451097041) Follow-up to my run above, after reading the log more closely: with this PR the dispatches are not dropped for want of a pipeline (that line is gone). The first frame after the 29 FSR 4 passes fall back logs, in this order: ``` WARN larp_gpu::object: method: not implemented object="command list" slot=0x1a8 caller="+0x72f4" WARN larp_gpu::descriptor::stage: staged views: a second shader-visible view heap, the lists of its tables name single slots, not staged views WARN larp_gpu::draw: descriptor table: a draw or dispatch reads one nothing described (not the table of its thread's last fill, not a persistent table), it is dropped slot=0 table=0x1eae2d99080 WARN larp_gpu::draw: draw: dropped, its tables' lists could not be made (a table nothing described, no scratch memory or no free slot) ``` (On `main` the same moment logs `dispatch: dropped, no host pipeline` instead, and none of these.) So after the translation, what is left on this card looks like: 1. **A second shader-visible view heap.** FidelityFX makes its own; `descriptor::stage::use_region` keeps the staged-view region of the first heap only (`REGION` is a `OnceLock`), so the tables FSR 4 binds from its heap are "nothing described" and its dispatches are dropped. The per-frame report still counts 20-21 of them. 2. **Command list slot 0x1a8**, which in larp's console list layout is the slot after `ClearRenderTargetView` (0x1a0), so most likely `ClearUnorderedAccessViewUint`; FSR 4 calls it on that path (the warning is logged once, so I cannot say how often). 3. Device slot 0x218 (`DeserializeComputePipelineStateX`) still answers `E_NOTIMPL` (`device.rs`, `unknown_pipeline::<0x218>`), so the title takes its fallback path; pipeline-state slot 0x58 is called on that path. I have not tried to fix any of these; posting in case it saves someone the search. Same machine and run as above (RTX 5060, driver 621.01, `--console series-s`, no upscaler). Written with AI assistance (Claude Code).
Author
Owner

@⁠mustafaburaksanli on GitHub · 2026-12-06 04:03 UTC · original

Thanks for testing, @⁠eipastel. Your run shows something my test missed, so I need to correct the description.

Correction. My in-game Series S check ran with LARP_DLSS_PATH and LARP_FSR_PATH set. With those set, larp's host upscaler takes over the title's FidelityFX context:

INFO larp_gpu::dlss: upscaler: the title made its FidelityFX context upscaler="DLSS" ... max_render=640x368 max_upscale=1280x720

So the scene rendering on my machine does not show that the console FSR path works. It renders because the host upscaler replaces it, which is close to what #444 does. Your result stands. This PR gets the 29 programs to translate and validate, and that is all it does. The second view heap, command list slot 0x1a8 and DeserializeComputePipelineStateX that you found are still open. I've changed the description to say this.

Other observations from the same machine (RTX 5070 Laptop 8 GB, wave32; Ryzen 9 8940HX; 32 GB DDR5 at 5200 MT/s; Windows 11; v1.1.6 with current main; stream-budget 2500; NVIDIA shader heap 1024 MiB):

  • Performance: On Series X at 1920x1080 (30 fps cap, textures 2 levels down), the card is at 86–100 % and the average over a 26-minute session was 25.8 fps. The drops line up with VRAM overflow: 6.9 GB dedicated in use, and when more than 500 MB spilled to shared memory the average was 22.2 fps. On Series S, with the host upscaler as above, it holds much closer to the 30 fps cap. That is my impression from playing, not a full log yet.
  • Black surfaces (#391): Lowering the output resolution from 1920x1080 to 1280x720 made the black and patchy surfaces go away. That includes the boat hull, cars and walls, and nothing else changed. Going back to 1080p brings them back. With the heap-cap result in my #391 comment, this suggests a cause tied to memory or resolution, more than a shader that is wrong at any size. I'll post this in #391 too.

🤖 Generated with Claude Code

**@⁠mustafaburaksanli** on GitHub · 2026-12-06 04:03 UTC · [original](https://github.com/gamingwithhomie/larp/pull/237#issuecomment-7451183492) Thanks for testing, @⁠eipastel. Your run shows something my test missed, so I need to correct the description. **Correction.** My in-game Series S check ran with `LARP_DLSS_PATH` and `LARP_FSR_PATH` set. With those set, larp's host upscaler takes over the title's FidelityFX context: ``` INFO larp_gpu::dlss: upscaler: the title made its FidelityFX context upscaler="DLSS" ... max_render=640x368 max_upscale=1280x720 ``` So the scene rendering on my machine does not show that the console FSR path works. It renders because the host upscaler replaces it, which is close to what #444 does. Your result stands. This PR gets the 29 programs to translate and validate, and that is all it does. The second view heap, command list slot `0x1a8` and `DeserializeComputePipelineStateX` that you found are still open. I've changed the description to say this. **Other observations from the same machine** (RTX 5070 Laptop 8 GB, wave32; Ryzen 9 8940HX; 32 GB DDR5 at 5200 MT/s; Windows 11; v1.1.6 with current `main`; `stream-budget 2500`; NVIDIA shader heap 1024 MiB): - **Performance:** On Series X at 1920x1080 (30 fps cap, textures 2 levels down), the card is at 86–100 % and the average over a 26-minute session was 25.8 fps. The drops line up with VRAM overflow: 6.9 GB dedicated in use, and when more than 500 MB spilled to shared memory the average was 22.2 fps. On Series S, with the host upscaler as above, it holds much closer to the 30 fps cap. That is my impression from playing, not a full log yet. - **Black surfaces (#391):** Lowering the output resolution from 1920x1080 to 1280x720 made the black and patchy surfaces go away. That includes the boat hull, cars and walls, and nothing else changed. Going back to 1080p brings them back. With the heap-cap result in my #391 comment, this suggests a cause tied to memory or resolution, more than a shader that is wrong at any size. I'll post this in #391 too. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/237/head:github-bot/gh-237'
git switch 'github-bot/gh-237'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-237'
git switch 'github-bot/gh-237'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-237'
git switch 'github-bot/gh-237'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-237'
git switch 'main'
git merge --squash 'github-bot/gh-237'
git switch 'main'
git merge --ff-only 'github-bot/gh-237'
git switch 'main'
git merge 'github-bot/gh-237'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.