WIP: Experimental FidelityFX Xbox GPU compatibility — Wave64 emulation and NVIDIA support #32

Closed
ElHombreAlex wants to merge 21 commits from upstream-pr/33 into main
ElHombreAlex commented 2026-11-22 12:02:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ElHombreAlex on 2026-11-22T12:02:34Z.


Overview

This experimental branch documents five iterations of Xbox Series GPU compatibility research, focused on running the authentic Xbox FidelityFX upscaler through XCL on an NVIDIA RTX 4060 Ti.

The work builds upon XCL's existing infrastructure and explores proprietary Xbox pipeline deserialization, RDNA2 shader recompilation, Wave64 compatibility, and GPU resource translation.

Key achievements

  • Implemented support for deserializing authentic Xbox FidelityFX pipeline blobs.
  • Identified NVIDIA's 32-lane wave-size limitation as the actual cause of previously rejected pipelines.
  • Implemented a Wave64-to-Wave32 rendezvous mechanism using groupshared memory, validated through synthetic GPU regression tests.
  • Successfully created 30 authentic FidelityFX pipelines on NVIDIA, including DXIL shaders up to 949 KB.
  • Achieved successful ffxDispatch recording of 26 console compute dispatches.
  • Investigated and corrected an uninitialized UAV descriptor issue involving R9G9B9E5 resources, using R32_TYPELESS storage and shader-side format conversion.
  • Added automated regression tests and detailed investigation reports.

Verification

  • 261 library tests passing.
  • 141 GPU tests passing.
  • 21 commits ahead of the upstream baseline, including documentation.
  • Reproduction instructions and technical findings included in reports/.

Known limitations

This is experimental work, not a complete or verified FSR4 implementation.

The full GPU workload does not yet complete successfully.

Execution currently fails at compute dispatch 14, where a suspected structural Wave64 rendezvous desynchronization leads to degraded execution and eventual GPU device failure.

The next investigation should identify the first divergent rendezvous site and validate cross-half data movement, particularly DPP operations.

No final output frame has been verified.

Project status

This PR is intended to share research and implementation progress, not to request immediate merging.

The branch requires further validation, cleanup, conflict resolution, and review before it can be considered production-ready.

No game binaries or proprietary Xbox DLLs are intended to be included.

Thanks to the original XCL author for the substantial foundation that made this investigation possible.

<!-- greyfinch-sync:ivall/xcl:issue:6542128630 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/33). Originally posted by [ElHombreAlex](https://github.com/ElHombreAlex) on 2026-11-22T12:02:34Z. --- ## Overview This experimental branch documents five iterations of Xbox Series GPU compatibility research, focused on running the authentic Xbox FidelityFX upscaler through XCL on an NVIDIA RTX 4060 Ti. The work builds upon XCL's existing infrastructure and explores proprietary Xbox pipeline deserialization, RDNA2 shader recompilation, Wave64 compatibility, and GPU resource translation. ## Key achievements - Implemented support for deserializing authentic Xbox FidelityFX pipeline blobs. - Identified NVIDIA's 32-lane wave-size limitation as the actual cause of previously rejected pipelines. - Implemented a Wave64-to-Wave32 rendezvous mechanism using groupshared memory, validated through synthetic GPU regression tests. - Successfully created 30 authentic FidelityFX pipelines on NVIDIA, including DXIL shaders up to 949 KB. - Achieved successful `ffxDispatch` recording of 26 console compute dispatches. - Investigated and corrected an uninitialized UAV descriptor issue involving R9G9B9E5 resources, using R32_TYPELESS storage and shader-side format conversion. - Added automated regression tests and detailed investigation reports. ## Verification - 261 library tests passing. - 141 GPU tests passing. - 21 commits ahead of the upstream baseline, including documentation. - Reproduction instructions and technical findings included in `reports/`. ## Known limitations **This is experimental work, not a complete or verified FSR4 implementation.** The full GPU workload does not yet complete successfully. Execution currently fails at compute dispatch 14, where a suspected structural Wave64 rendezvous desynchronization leads to degraded execution and eventual GPU device failure. The next investigation should identify the first divergent rendezvous site and validate cross-half data movement, particularly DPP operations. No final output frame has been verified. ## Project status This PR is intended to share research and implementation progress, not to request immediate merging. The branch requires further validation, cleanup, conflict resolution, and review before it can be considered production-ready. No game binaries or proprietary Xbox DLLs are intended to be included. Thanks to the original XCL author for the substantial foundation that made this investigation possible.
upstream-sync closed this pull request 2026-11-24 06:56:50 +00:00
grahamster2 commented 2026-11-24 07:00:20 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by grahamster2 on 2026-11-22T20:56:06Z.


Tested on an RTX 3080 (D3D12 wave range 32..32, driver 610.88) and a Radeon RDNA2 iGPU (wave 32..64, no mesh shaders), with this branch merged onto current main plus #41 for adapter selection. The merge conflicts in real.rs / device_x.rs were only the adapter selection and the R9G9B9E5 additions, and I kept both sides. cargo test --workspace --release --no-fail-fast, XCL_SAMPLE_RPF set to a retail shaders.rpf:

RTX 3080 iGPU
total 360 passed, 3 failed 362 passed, 1 failed
wave64_compute_rendezvous_on_32_lane_waves failed failed (see below: it ran on the RTX here too)
retail_mesh_pipelines_through_the_hook 0 / 7 (as on main; the rendezvous covers Mode::Compute only) skipped (no mesh shaders)
recompiler GPU tests skipped for "no wave64" 40 (as on main) 0

No device removal or TDR.

The rendezvous test fails on current main because rla isn't hooked any more. It fails with mem[32]: 40, expected 8. The generated HLSL shows ballot dispatching to ballot_x64, but rla doesn't dispatch to rla_x64. The hook is a PRELUDE.replace("uint rla(uint v, uint l) {\n if (xcl_logical_wave64)", ..) (emit.rs, split_w64 prelude), and main changed rla in 507c441 (uint w; first, plus the pixel-mode quad reads), so the pattern silently stops matching. v_readfirstlane in the high native wave then does WaveReadLaneAt(v, 8) within its own 32 lanes and reads lane 40, which is exactly the 40 above. On your branch's base the pattern still matches, which is why it passes there.

Suggested fix: anchor on the signature only, and fail loudly if either hook doesn't apply:

-            b.replace("uint rla(uint v, uint l) {\n    if (xcl_logical_wave64)", "uint rla(uint v, uint l) {\n    if (xcl_xw64) return rla_x64(v, l);\n    if (xcl_logical_wave64)")
+            let b = b.replace("uint rla(uint v, uint l) {\n", "uint rla(uint v, uint l) {\n    if (xcl_xw64) return rla_x64(v, l);\n");
+            assert!(b.contains("if (xcl_xw64) return ballot_x64(b);") && b.contains("if (xcl_xw64) return rla_x64(v, l);"), "the wave64 rendezvous hooks no longer match PRELUDE");
+            b

With it, the test passes on the RTX 3080 in all three variants (default, XCL_TEST_W64_RENDEZVOUS=first, =lds). Pointed at the iGPU, its native [WaveSize(64)] run matches the rendezvous form. Note that the lds variant passes even without the fix: the stored value there is the LDS round-trip, so it doesn't observe readfirstlane. Given the "suspected structural rendezvous desynchronization" at dispatch 14, it may be worth checking that the FSR4 runs were made with both hooks in place.

Two smaller things in that test:

  • It creates its own device from EnumAdapterByGpuPreference(0, ..) while native_ok comes from runner::wave64_supported(). On a machine whose first adapter has no wave64 (like this one), the native comparison never runs, and with XCL_ADAPTER the two can be different GPUs. Taking the device from the runner (or gpu::adapter from #41) would fix both. That also overlaps with b8881cf: this branch and #41 both add XCL_ADAPTER, #41 with the number / name-substring forms and the test bench wiring. I'm happy to adapt #41 to whatever you need.
  • It writes the HLSL to C:\Users\alexa\AppData\Local\Temp\fsr4_bisect\ (the error is ignored, but an env var or std::env::temp_dir() would be safer).
<!-- greyfinch-sync:ivall/xcl:comment:7085657424 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/33#issuecomment-7085657424). Originally posted by [grahamster2](https://github.com/grahamster2) on 2026-11-22T20:56:06Z. --- Tested on an RTX 3080 (D3D12 wave range 32..32, driver 610.88) and a Radeon RDNA2 iGPU (wave 32..64, no mesh shaders), with this branch merged onto current `main` plus #41 for adapter selection. The merge conflicts in `real.rs` / `device_x.rs` were only the adapter selection and the R9G9B9E5 additions, and I kept both sides. `cargo test --workspace --release --no-fail-fast`, `XCL_SAMPLE_RPF` set to a retail `shaders.rpf`: | | RTX 3080 | iGPU | |---|---|---| | total | 360 passed, 3 failed | 362 passed, 1 failed | | `wave64_compute_rendezvous_on_32_lane_waves` | **failed** | **failed** (see below: it ran on the RTX here too) | | `retail_mesh_pipelines_through_the_hook` | 0 / 7 (as on `main`; the rendezvous covers `Mode::Compute` only) | skipped (no mesh shaders) | | recompiler GPU tests skipped for "no wave64" | 40 (as on `main`) | 0 | No device removal or TDR. **The rendezvous test fails on current `main` because `rla` isn't hooked any more.** It fails with `mem[32]: 40, expected 8`. The generated HLSL shows `ballot` dispatching to `ballot_x64`, but `rla` doesn't dispatch to `rla_x64`. The hook is a `PRELUDE.replace("uint rla(uint v, uint l) {\n if (xcl_logical_wave64)", ..)` (emit.rs, `split_w64` prelude), and `main` changed `rla` in 507c441 (`uint w;` first, plus the pixel-mode quad reads), so the pattern silently stops matching. `v_readfirstlane` in the high native wave then does `WaveReadLaneAt(v, 8)` within its own 32 lanes and reads lane 40, which is exactly the 40 above. On your branch's base the pattern still matches, which is why it passes there. Suggested fix: anchor on the signature only, and fail loudly if either hook doesn't apply: ```diff - b.replace("uint rla(uint v, uint l) {\n if (xcl_logical_wave64)", "uint rla(uint v, uint l) {\n if (xcl_xw64) return rla_x64(v, l);\n if (xcl_logical_wave64)") + let b = b.replace("uint rla(uint v, uint l) {\n", "uint rla(uint v, uint l) {\n if (xcl_xw64) return rla_x64(v, l);\n"); + assert!(b.contains("if (xcl_xw64) return ballot_x64(b);") && b.contains("if (xcl_xw64) return rla_x64(v, l);"), "the wave64 rendezvous hooks no longer match PRELUDE"); + b ``` With it, the test passes on the RTX 3080 in all three variants (default, `XCL_TEST_W64_RENDEZVOUS=first`, `=lds`). Pointed at the iGPU, its native `[WaveSize(64)]` run matches the rendezvous form. Note that the `lds` variant passes even without the fix: the stored value there is the LDS round-trip, so it doesn't observe `readfirstlane`. Given the "suspected structural rendezvous desynchronization" at dispatch 14, it may be worth checking that the FSR4 runs were made with both hooks in place. Two smaller things in that test: - It creates its own device from `EnumAdapterByGpuPreference(0, ..)` while `native_ok` comes from `runner::wave64_supported()`. On a machine whose first adapter has no wave64 (like this one), the native comparison never runs, and with `XCL_ADAPTER` the two can be different GPUs. Taking the device from the runner (or `gpu::adapter` from #41) would fix both. That also overlaps with b8881cf: this branch and #41 both add `XCL_ADAPTER`, #41 with the number / name-substring forms and the test bench wiring. I'm happy to adapt #41 to whatever you need. - It writes the HLSL to `C:\Users\alexa\AppData\Local\Temp\fsr4_bisect\` (the error is ignored, but an env var or `std::env::temp_dir()` would be safer).
Foniass commented 2026-11-24 07:00:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-11-22T22:47:07Z.


Tested on RTX 5070 Ti only (Blackwell, driver 32.0.16.2114, D3D12 wave range 32..32, mesh tier 1). The RDNA2 iGPU on this machine is disabled, so it wasn't tested. I ran the PR head 8e592ff as it is, because it conflicts with current main in real.rs / device_x.rs, and compared it with its base e511b94. cargo test --workspace --release --no-fail-fast -- --test-threads=4, no XCL_SAMPLE_* set. Hardware details are in #42.

passed failed ignored
e511b94 (base) 281 0 31
#33 at 8e592ff 290 0 31
  • It builds, and the 9 new tests pass with no regressions. There was no TDR and no device removal.
  • wave64_compute_rendezvous_on_32_lane_waves really runs on Blackwell and is not skipped: rendezvous form: 4 console waves (8 native), active 8..=40, all stores = 8: OK. The native cross-check is skipped, since there is no wave64 adapter here.
  • Nothing else newly runs on NVIDIA. The same 34 recompiler GPU tests return through gpu_ready() (no wave64) on the base and on the PR.
  • The 6 tests in ffx_official_console_dlls.rs need XCL_SAMPLE_FFX. Without it they return immediately (0.00 s), so their pass says nothing on this machine.
  • The rla hook (emit.rs:3498) still expects uint rla(uint v, uint l) {\n if (xcl_logical_wave64). Current main's rla starts with uint w;, so after a rebase the hook won't apply, as described above. That part I checked in the source, not on the GPU.
  • Small thing: deserialized_fs_dxil_driver_acceptance with XCL_FFX_BISECT_EMPTY=1 reads a hard-coded C:\Users\alexa\...\fsr4_bisect\empty.cso (ffx_official_console_dlls.rs:863).
<!-- greyfinch-sync:ivall/xcl:comment:7087077284 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/33#issuecomment-7087077284). Originally posted by [Foniass](https://github.com/Foniass) on 2026-11-22T22:47:07Z. --- Tested on RTX 5070 Ti only (Blackwell, driver 32.0.16.2114, D3D12 wave range 32..32, mesh tier 1). The RDNA2 iGPU on this machine is disabled, so it wasn't tested. I ran the PR head 8e592ff as it is, because it conflicts with current `main` in `real.rs` / `device_x.rs`, and compared it with its base e511b94. `cargo test --workspace --release --no-fail-fast -- --test-threads=4`, no `XCL_SAMPLE_*` set. Hardware details are in #42. | | passed | failed | ignored | |---|---|---|---| | e511b94 (base) | 281 | 0 | 31 | | #33 at 8e592ff | 290 | 0 | 31 | - It builds, and the 9 new tests pass with no regressions. There was no TDR and no device removal. - `wave64_compute_rendezvous_on_32_lane_waves` really runs on Blackwell and is not skipped: `rendezvous form: 4 console waves (8 native), active 8..=40, all stores = 8: OK`. The native cross-check is skipped, since there is no wave64 adapter here. - Nothing else newly runs on NVIDIA. The same 34 recompiler GPU tests return through `gpu_ready()` (no wave64) on the base and on the PR. - The 6 tests in `ffx_official_console_dlls.rs` need `XCL_SAMPLE_FFX`. Without it they return immediately (0.00 s), so their pass says nothing on this machine. - The `rla` hook (`emit.rs:3498`) still expects `uint rla(uint v, uint l) {\n if (xcl_logical_wave64)`. Current `main`'s `rla` starts with `uint w;`, so after a rebase the hook won't apply, as described above. That part I checked in the source, not on the GPU. - Small thing: `deserialized_fs_dxil_driver_acceptance` with `XCL_FFX_BISECT_EMPTY=1` reads a hard-coded `C:\Users\alexa\...\fsr4_bisect\empty.cso` (`ffx_official_console_dlls.rs:863`).
ivall commented 2026-11-24 07:00:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T13:57:16Z.


Thank you for this research – it is what got FSR4 going. Since main moved a lot (#67 brought the wave64 form on 32-lane GPUs, #41 adapter selection, the VFS drive fix), I rebuilt the FSR part on current main instead of merging the branch: fdeacf0.

  • The upscaler's passes now come through its fallback path: DeserializeComputePipelineStateX stays E_NOTIMPL, and FSR4 then calls CreateComputePipelineState with the ACCC/FSPX blob, which carries the real thread geometry and COMPUTE_PGM_RSRC2 (entry 0) next to the RDNA2 code (entry 6) – so no (256,1,1) guess is needed. All 29 pipelines translate and compile.
  • The pass that broke drivers (your 26 KB → 602 KB / the 41 KB one): v_dot4* were shift-and-multiply emulations; as SM 6.4 dot4add_i8packed / dot4add_u8packed the biggest went 1.55 → 1.23 MB DXIL, DXC 604 → 74 s, and the AMD driver accepts it.
  • With inputs uploaded (grey gradient, depth 0.5, no motion), a 1280×720 → 1920×1080 frame records 20 dispatches (all records recognised), runs on an RX 9070 (~11 ms), and the output is finite with the gradient intact (fsr4_console_upscaler_creates_a_context_probe with XCL_PROBE_FSR_EXECUTE=1).
  • Not needed for this: the R9G9B9E5 UAV handling (no fault on AMD).

Closing this PR as superseded – the reports in it are referenced in HANDOFF. If you can, a run of that probe on your RTX 4060 Ti (XCL_CONSOLE_LISTS=1 XCL_PROBE_FSR=1 XCL_PROBE_FSR_DISPATCH=1 XCL_PROBE_FSR_EXECUTE=1, XCL_SAMPLE_DLLS = the game's DLLs) would tell whether the 32-lane path now gets through dispatch 14.

<!-- greyfinch-sync:ivall/xcl:comment:7103269159 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/33#issuecomment-7103269159). Originally posted by [ivall](https://github.com/ivall) on 2026-11-23T13:57:16Z. --- Thank you for this research – it is what got FSR4 going. Since `main` moved a lot (#67 brought the wave64 form on 32-lane GPUs, #41 adapter selection, the VFS drive fix), I rebuilt the FSR part on current `main` instead of merging the branch: fdeacf0. - The upscaler's passes now come through its fallback path: `DeserializeComputePipelineStateX` stays `E_NOTIMPL`, and FSR4 then calls `CreateComputePipelineState` with the `ACCC`/`FSPX` blob, which carries the real thread geometry and `COMPUTE_PGM_RSRC2` (entry 0) next to the RDNA2 code (entry 6) – so no `(256,1,1)` guess is needed. All 29 pipelines translate and compile. - The pass that broke drivers (your 26 KB → 602 KB / the 41 KB one): `v_dot4*` were shift-and-multiply emulations; as SM 6.4 `dot4add_i8packed` / `dot4add_u8packed` the biggest went 1.55 → 1.23 MB DXIL, DXC 604 → 74 s, and the AMD driver accepts it. - With inputs uploaded (grey gradient, depth 0.5, no motion), a 1280×720 → 1920×1080 frame records 20 dispatches (all records recognised), runs on an RX 9070 (~11 ms), and the output is finite with the gradient intact (`fsr4_console_upscaler_creates_a_context_probe` with `XCL_PROBE_FSR_EXECUTE=1`). - Not needed for this: the R9G9B9E5 UAV handling (no fault on AMD). Closing this PR as superseded – the reports in it are referenced in HANDOFF. If you can, a run of that probe on your RTX 4060 Ti (`XCL_CONSOLE_LISTS=1 XCL_PROBE_FSR=1 XCL_PROBE_FSR_DISPATCH=1 XCL_PROBE_FSR_EXECUTE=1`, `XCL_SAMPLE_DLLS` = the game's DLLs) would tell whether the 32-lane path now gets through dispatch 14.
ElHombreAlex commented 2026-11-24 07:04:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ElHombreAlex on 2026-11-23T15:19:07Z.


<html>

Thanks for the update and for building upon the research! I ran the requested NVIDIA validation against upstream main at 484dd57.

Hardware: RTX 4060 Ti, NVIDIA driver 610.88, D3D12 wave-lane range 32..32. XCL's preflight correctly detects the GPU and selects the split-Wave64 path. The adapter was explicitly selected using XCL_ADAPTER.

The upstream worktree was left unmodified throughout testing.

1. FSR4 probe — context initialization

With XCL_SAMPLE_DLLS pointing to the officially distributed GDK-Samples 4.1.2 FidelityFX DLLs, the upstream probe returns:

ffxCreateContext: code 0x1

D3D12 tracing confirms that no device methods are called before this failure, so this occurs before GPU initialization.

The available kit DLLs expect a different descriptor chain from the one used by the upstream probe:

  • CreateBackendXboxDesc: 0x02000002

  • CreateContextDescUpscaleVersion: 0x0001000B

  • Requested FSR version: 0x01001002 (4.1.2)

Using this descriptor chain through the loader allows initialization to progress.

This appears to be a difference between the kit DLLs available locally and the game-pack DLLs used for your successful RX 9070 validation.

2. FSR4 probe — resource creation

With the corrected descriptor chain, the DLL proceeds to create GPU resources through XCL, including four console descriptor heaps.

Initialization then fails while creating its fourth internal texture:

  • Dimensions: 1920 × 1080

  • Format: R9G9B9E5_SHAREDEXP (DXGI 67)

  • Flags: ALLOW_UNORDERED_ACCESS (0x4)

Relevant log output:

xcl: D3D12.X: CreatePlacedResourceX at 0x7027c0000: dimension 3 1920x1080 format 67 flags 0x4 - a resource of its own (0x80070057)
xcl: CreateCommittedResource (console): 0x80070057
xcl: C++ exception thrown → process fail-fast (0xC0000409)

This matches the RGBE UAV resource-creation limitation identified during the earlier PR #33 investigation.

The experimental branch includes a workaround using R32_TYPELESS storage, R32_UINT views and complementary shader-side 9-9-9-E5 packing/unpacking. That workaround was validated through resource initialization, but not through a successfully completed FSR4 frame.

The underlying typed-UAV format limitation is not NVIDIA-specific. I have not independently tested these kit DLLs on AMD hardware.

3. NVIDIA GPU regression results

The unmodified upstream gpu:: test suite completed successfully on the RTX 4060 Ti:

Result | Count -- | -- Total | 271 Passed | 253 Failed | 0 Ignored | 18 Duration | 11.55 s

The passing tests include:

  • Split-Wave64 cross-half operations and lane-local masks.

  • Cross-half synchronization under divergent wave execution.

  • Inactive-lane zeroing for ds_swizzle and ds_bpermute.

  • Mesh split-wave execution.

  • Upper-lane handling and Wave64 pixel-shader reductions.

This confirms that the upstream split-Wave64 implementation passes its applicable regression tests on real NVIDIA hardware.

Conclusion

Confirmed on the RTX 4060 Ti: D3D12 device initialization, correct split-Wave64 selection and successful execution of the upstream GPU regression suite.

Not yet verified: the complete FSR4 workload (29 pipelines, 20 dispatches and output readback). The available kit DLLs fail during context/resource initialization before reaching that stage.

Therefore, I cannot yet confirm whether the previous dispatch-14 failure is resolved by the new upstream implementation.

Thanks again for the work on XCL and for incorporating the earlier research. I'm happy to help with further NVIDIA hardware testing or validation if needed!

</html>
<!-- greyfinch-sync:ivall/xcl:comment:7105377761 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/33#issuecomment-7105377761). Originally posted by [ElHombreAlex](https://github.com/ElHombreAlex) on 2026-11-23T15:19:07Z. --- <html> <body> <!--StartFragment--><p><span>Thanks for the update and for building upon the research! I ran the requested NVIDIA validation against upstream </span><code><span>main</span></code><span> at </span><code><span>484dd57</span></code><span>.</span></p><p><strong><span>Hardware:</span></strong><span> RTX 4060 Ti, NVIDIA driver 610.88, D3D12 wave-lane range 32..32. XCL's preflight correctly detects the GPU and selects the split-Wave64 path. The adapter was explicitly selected using </span><code><span>XCL_ADAPTER</span></code><span>.</span></p><p><span>The upstream worktree was left unmodified throughout testing.</span></p><h2><span>1. FSR4 probe — context initialization</span></h2><p><span>With </span><code><span>XCL_SAMPLE_DLLS</span></code><span> pointing to the officially distributed GDK-Samples 4.1.2 FidelityFX DLLs, the upstream probe returns:</span></p><p><code><span>ffxCreateContext: code 0x1</span></code></p><p><span>D3D12 tracing confirms that no device methods are called before this failure, so this occurs before GPU initialization.</span></p><p><span>The available kit DLLs expect a different descriptor chain from the one used by the upstream probe:</span></p><ul><li><p><code><span>CreateBackendXboxDesc</span></code><span>: </span><code><span>0x02000002</span></code></p></li><li><p><code><span>CreateContextDescUpscaleVersion</span></code><span>: </span><code><span>0x0001000B</span></code></p></li><li><p><span>Requested FSR version: </span><code><span>0x01001002</span></code><span> (4.1.2)</span></p></li></ul><p><span>Using this descriptor chain through the loader allows initialization to progress.</span></p><p><span>This appears to be a difference between the kit DLLs available locally and the game-pack DLLs used for your successful RX 9070 validation.</span></p><h2><span>2. FSR4 probe — resource creation</span></h2><p><span>With the corrected descriptor chain, the DLL proceeds to create GPU resources through XCL, including four console descriptor heaps.</span></p><p><span>Initialization then fails while creating its fourth internal texture:</span></p><ul><li><p><span>Dimensions: 1920 × 1080</span></p></li><li><p><span>Format: </span><code><span>R9G9B9E5_SHAREDEXP</span></code><span> (DXGI 67)</span></p></li><li><p><span>Flags: </span><code><span>ALLOW_UNORDERED_ACCESS</span></code><span> (</span><code><span>0x4</span></code><span>)</span></p></li></ul><p><span>Relevant log output:</span></p><pre><code><span>xcl: D3D12.X: CreatePlacedResourceX at 0x7027c0000: dimension 3 1920x1080 format 67 flags 0x4 - a resource of its own (0x80070057) xcl: CreateCommittedResource (console): 0x80070057 xcl: C++ exception thrown → process fail-fast (0xC0000409)</span></code></pre><p><span>This matches the RGBE UAV resource-creation limitation identified during the earlier PR #33 investigation.</span></p><p><span>The experimental branch includes a workaround using </span><code><span>R32_TYPELESS</span></code><span> storage, </span><code><span>R32_UINT</span></code><span> views and complementary shader-side 9-9-9-E5 packing/unpacking. That workaround was validated through resource initialization, but </span><strong><span>not through a successfully completed FSR4 frame</span></strong><span>.</span></p><p><span>The underlying typed-UAV format limitation is not NVIDIA-specific. I have not independently tested these kit DLLs on AMD hardware.</span></p><h2><span>3. NVIDIA GPU regression results</span></h2><p><span>The unmodified upstream </span><code><span>gpu::</span></code><span> test suite completed successfully on the RTX 4060 Ti:</span></p> Result | Count -- | -- Total | 271 Passed | 253 Failed | 0 Ignored | 18 Duration | 11.55 s <p><span>The passing tests include:</span></p><ul><li><p><span>Split-Wave64 cross-half operations and lane-local masks.</span></p></li><li><p><span>Cross-half synchronization under divergent wave execution.</span></p></li><li><p><span>Inactive-lane zeroing for </span><code><span>ds_swizzle</span></code><span> and </span><code><span>ds_bpermute</span></code><span>.</span></p></li><li><p><span>Mesh split-wave execution.</span></p></li><li><p><span>Upper-lane handling and Wave64 pixel-shader reductions.</span></p></li></ul><p><span>This confirms that the upstream split-Wave64 implementation passes its applicable regression tests on real NVIDIA hardware.</span></p><h2><span>Conclusion</span></h2><p><strong><span>Confirmed on the RTX 4060 Ti:</span></strong><span> D3D12 device initialization, correct split-Wave64 selection and successful execution of the upstream GPU regression suite.</span></p><p><strong><span>Not yet verified:</span></strong><span> the complete FSR4 workload (29 pipelines, 20 dispatches and output readback). The available kit DLLs fail during context/resource initialization before reaching that stage.</span></p><p><span>Therefore, I cannot yet confirm whether the previous dispatch-14 failure is resolved by the new upstream implementation.</span></p><p><span>Thanks again for the work on XCL and for incorporating the earlier research. I'm happy to help with further NVIDIA hardware testing or validation if needed!</span></p><!--EndFragment--> </body> </html>

Pull request closed

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
xcl-dev/xcl!32
No description provided.