Series S profile: FSR4 pipeline deserialization returns E_NOTIMPL, device removed before the first frame (Series X works on the same build) #13

Open
opened 2026-11-26 03:34:35 +00:00 by github-bot · 6 comments
Owner

@⁠rocobalt1 on GitHub · 2026-11-24 19:50 UTC · original

--console series-s never reaches a frame on this machine; the device is removed while FSR4 pipelines are being deserialized. series-x on the same build runs the prologue with shadows.

Setup: RTX 4060 Ti 8 GB, driver 32.0.16.1656, Ryzen 9 5900X, 64 GB, Windows 11; fork 7b0f736, diag build, fresh VICTORY_DATA_DIR, VICTORY_NO_WATCHDOG=1, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_D3D12_DRED=1, no VICTORY_DISPLAY_MODE, driven with VICTORY_KEYS. Command: victory.exe run "<package>\game_scarlett_master.exe" --execute --console series-s.

Timeline: boot, legal screens, first-boot setup; six shaders refused (converter, all compute); then the title asks for FSR4 pipelines:

title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_26' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_SPD_AUTOEXPOSURE_PASS' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_RCAS_PASS' -- falling back to NewBE

and about one second later:

WARN victory_gpu::resource: no host texture error=The GPU device instance has been suspended. Use GetDeviceRemovedReason... (0x887A0005)
WARN victory_gpu::host: no upload buffer error=... (0x887A0005) size=262144

The run ended at ~90 s with zero frames presented in the world and no UI drawn, so there is no fps or draw count to report.

Contrast, same build, same machine, series-x: the prologue renders with characters, sky, lighting and shadows; 1-3 fps, 4 000-6 800 draws per frame, 16 refusals over the run. That is the configuration in issue #10.

Two questions, since the profile could be the faster one on a small card:

  1. Is FSR4 expected to be part of the Series S path (the title asking for FFX_FSR4_* compute pipelines), or is that a side effect of the series-s device and memory declaration?
  2. Should DeserializeComputePipelineStateX answer something other than E_NOTIMPL here, and is there a switch to keep the title off the FSR4 path so the series-s profile can be measured at all?

For what it is worth, the 7 776 MB the Series S profile declares is also close to this card's 8 GB, so if the profile does run, eviction is the next thing to watch.

**@⁠rocobalt1** on GitHub · 2026-11-24 19:50 UTC · [original](https://github.com/fxceless/victory-fork/issues/13) `--console series-s` never reaches a frame on this machine; the device is removed while FSR4 pipelines are being deserialized. `series-x` on the same build runs the prologue with shadows. **Setup:** RTX 4060 Ti 8 GB, driver 32.0.16.1656, Ryzen 9 5900X, 64 GB, Windows 11; fork `7b0f736`, diag build, fresh `VICTORY_DATA_DIR`, `VICTORY_NO_WATCHDOG=1`, `VICTORY_SHADER_LOOP_LIMIT=32`, `VICTORY_D3D12_DRED=1`, no `VICTORY_DISPLAY_MODE`, driven with `VICTORY_KEYS`. Command: `victory.exe run "<package>\game_scarlett_master.exe" --execute --console series-s`. **Timeline:** boot, legal screens, first-boot setup; six shaders refused (converter, all compute); then the title asks for FSR4 pipelines: ``` title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_26' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_SPD_AUTOEXPOSURE_PASS' -- falling back to NewBE title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_RCAS_PASS' -- falling back to NewBE ``` and about one second later: ``` WARN victory_gpu::resource: no host texture error=The GPU device instance has been suspended. Use GetDeviceRemovedReason... (0x887A0005) WARN victory_gpu::host: no upload buffer error=... (0x887A0005) size=262144 ``` The run ended at ~90 s with **zero frames presented in the world and no UI drawn**, so there is no fps or draw count to report. **Contrast, same build, same machine, `series-x`:** the prologue renders with characters, sky, lighting and shadows; 1-3 fps, 4 000-6 800 draws per frame, 16 refusals over the run. That is the configuration in issue #10. Two questions, since the profile could be the faster one on a small card: 1. Is FSR4 expected to be part of the Series S path (the title asking for `FFX_FSR4_*` compute pipelines), or is that a side effect of the `series-s` device and memory declaration? 2. Should `DeserializeComputePipelineStateX` answer something other than `E_NOTIMPL` here, and is there a switch to keep the title off the FSR4 path so the `series-s` profile can be measured at all? For what it is worth, the 7 776 MB the Series S profile declares is also close to this card's 8 GB, so if the profile does run, eviction is the next thing to watch.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:35 +00:00
Author
Owner

@⁠WalliceCariasPerussio on GitHub · 2026-11-24 20:12 UTC · original

Same crash here on the Series S profile, and it goes away with two changes. RTX 5060 8 GB, Xeon E5-2680 v4, 16 GB RAM, Windows 11.

Cause. The FSR4 deserialization messages are only the title falling back; they are not what removes the device. With VICTORY_D3D12_DEBUG=1 the debug layer names it: on Series S the title creates its upscaler output (1920x1080) as R9G9B9E5_SHAREDEXP with render target and unordered access, and a PC cannot make that resource:

ID3D12Device::CreateCommittedResource: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set ... must be created with a format that either can be used as unordered access ... D3D12_RESOURCE_DESC::Format is R9G9B9E5_SHAREDEXP.
ID3D12Device::CreateRenderTargetView: The format (0x43, R9G9B9E5_SHAREDEXP) cannot be used with a RenderTarget view ...
ID3D12Device::RemoveDevice: Device removal has been triggered ... DXGI_ERROR_INVALID_CALL

Series X never makes that texture, which is why it runs.

Fix 1: R9G9B9E5 targets as RGBA16F (the idea of upstream #492), one entry in resource::target_format:

// 67 (R9G9B9E5_SHAREDEXP, the title's upscaler output on Series S) is
// no render target or unordered access format on a PC: such a texture
// is R16G16B16A16_FLOAT (10); sampled-only ones keep 67 (#492).
const STAND_INS: [(u32, u32); 3] = [(86, 28), (115, 28), (67, 10)];

(and REFUSED becomes [bool; 3]). With this alone the world runs on Series S, but the screen stays black: the title then asks for amd_fidelityfx_upscaler_xbox.dll, which is refused, so nothing upscales into that output.

Fix 2: the PC upscaler. The three commits of upstream #730 (AwkGrep256: 15fd2eee, efc3cb01, f96ad82d) apply cleanly on this fork. They answer the title's FidelityFX calls with AMD's signed PC DLLs (v2.4.0, amd_fidelityfx_loader_dx12.dll + amd_fidelityfx_upscaler_dx12.dll), found through VICTORY_FFX_DIR. One addition on top, in ffx.rs where each resource is described, so the SDK is told the format the host texture really has:

const FFX_R16G16B16A16_FLOAT: u32 = 4;
const FFX_R9G9B9E5_SHAREDEXP: u32 = 29;
const DXGI_R16G16B16A16_FLOAT: i32 = 10;
// SAFETY: a live host texture.
let host_format = unsafe { texture.GetDesc() }.Format.0;
if r.description[1] == FFX_R9G9B9E5_SHAREDEXP && host_format == DXGI_R16G16B16A16_FLOAT {
    r.description[1] = FFX_R16G16B16A16_FLOAT;
}

Result (578d459 + both fixes, Series S, VICTORY_FFX_DIR set): the log shows ffx: first upscale recorded on the host GPU render=[1280, 720] upscale=[1920, 1080] result=0, the prison prologue renders lit, about 1.9 fps (median 516 ms per frame, 3,500-6,000 draws). The process peaks at about 18 GB of committed memory, which this 16 GB machine holds with the page file; Series X on the same machine also lights up, but passes 20 GB and runs out.

One more thing for slow machines: this fork has no VICTORY_NO_WATCHDOG, so setting it does nothing. On this PC the title's own watchdog ended the process about a minute into the world, at +0x23cf683, while frames took seconds during pipeline compilation. Upstream's opt-in hook (crates/victory-loader/src/hooks.rs, upstream #454) ports over as is and fixed it here.

**@⁠WalliceCariasPerussio** on GitHub · 2026-11-24 20:12 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7143182440) Same crash here on the Series S profile, and it goes away with two changes. RTX 5060 8 GB, Xeon E5-2680 v4, 16 GB RAM, Windows 11. **Cause.** The FSR4 deserialization messages are only the title falling back; they are not what removes the device. With `VICTORY_D3D12_DEBUG=1` the debug layer names it: on Series S the title creates its upscaler output (1920x1080) as **R9G9B9E5_SHAREDEXP with render target and unordered access**, and a PC cannot make that resource: ``` ID3D12Device::CreateCommittedResource: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set ... must be created with a format that either can be used as unordered access ... D3D12_RESOURCE_DESC::Format is R9G9B9E5_SHAREDEXP. ID3D12Device::CreateRenderTargetView: The format (0x43, R9G9B9E5_SHAREDEXP) cannot be used with a RenderTarget view ... ID3D12Device::RemoveDevice: Device removal has been triggered ... DXGI_ERROR_INVALID_CALL ``` Series X never makes that texture, which is why it runs. **Fix 1: R9G9B9E5 targets as RGBA16F** (the idea of upstream #492), one entry in `resource::target_format`: ```rust // 67 (R9G9B9E5_SHAREDEXP, the title's upscaler output on Series S) is // no render target or unordered access format on a PC: such a texture // is R16G16B16A16_FLOAT (10); sampled-only ones keep 67 (#492). const STAND_INS: [(u32, u32); 3] = [(86, 28), (115, 28), (67, 10)]; ``` (and `REFUSED` becomes `[bool; 3]`). With this alone the world runs on Series S, but the screen stays black: the title then asks for `amd_fidelityfx_upscaler_xbox.dll`, which is refused, so nothing upscales into that output. **Fix 2: the PC upscaler.** The three commits of upstream #730 (AwkGrep256: `15fd2eee`, `efc3cb01`, `f96ad82d`) apply cleanly on this fork. They answer the title's FidelityFX calls with AMD's signed PC DLLs (v2.4.0, `amd_fidelityfx_loader_dx12.dll` + `amd_fidelityfx_upscaler_dx12.dll`), found through `VICTORY_FFX_DIR`. One addition on top, in `ffx.rs` where each resource is described, so the SDK is told the format the host texture really has: ```rust const FFX_R16G16B16A16_FLOAT: u32 = 4; const FFX_R9G9B9E5_SHAREDEXP: u32 = 29; const DXGI_R16G16B16A16_FLOAT: i32 = 10; // SAFETY: a live host texture. let host_format = unsafe { texture.GetDesc() }.Format.0; if r.description[1] == FFX_R9G9B9E5_SHAREDEXP && host_format == DXGI_R16G16B16A16_FLOAT { r.description[1] = FFX_R16G16B16A16_FLOAT; } ``` **Result** (`578d459` + both fixes, Series S, `VICTORY_FFX_DIR` set): the log shows `ffx: first upscale recorded on the host GPU render=[1280, 720] upscale=[1920, 1080] result=0`, the prison prologue renders lit, about 1.9 fps (median 516 ms per frame, 3,500-6,000 draws). The process peaks at about 18 GB of committed memory, which this 16 GB machine holds with the page file; Series X on the same machine also lights up, but passes 20 GB and runs out. **One more thing for slow machines:** this fork has no `VICTORY_NO_WATCHDOG`, so setting it does nothing. On this PC the title's own watchdog ended the process about a minute into the world, at `+0x23cf683`, while frames took seconds during pipeline compilation. Upstream's opt-in hook (`crates/victory-loader/src/hooks.rs`, upstream #454) ports over as is and fixed it here.
Author
Owner

@⁠arminkhaleghirod on GitHub · 2026-11-24 21:03 UTC · original

Fix 1 is up as #32 (R9G9B9E5 → RGBA16F in target_format). Same crash on an RTX 4080 with Series S, gone with it.

**@⁠arminkhaleghirod** on GitHub · 2026-11-24 21:03 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7144409995) Fix 1 is up as #32 (R9G9B9E5 → RGBA16F in `target_format`). Same crash on an RTX 4080 with Series S, gone with it.
Author
Owner

@⁠rocobalt1 on GitHub · 2026-11-24 21:24 UTC · original

#32 fixes the crash for me: --console series-s now boots, reaches the world and runs for minutes. What it still cannot show is a picture, and the remaining cause is a small, reproducible set of pipelines.

Same machine as the issue: RTX 4060 Ti 8 GB, driver 32.0.16.1656, Ryzen 9 5900X, 64 GB, Windows 11; main at 4e17478 + this branch merged (d4c6df8), diag build, fresh VICTORY_DATA_DIR, VICTORY_NO_WATCHDOG=1, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_D3D12_DRED=1, no VICTORY_DISPLAY_MODE. TdrDelay=60 and TdrDdiDelay=60 are set machine-wide here; treat the timings as upper bounds.

What the fix buys: format 67 gets its stand-in once at boot, nothing else complains about it, and the device is no longer removed:

INFO victory_gpu::resource: the host does not render to this format: a stand-in is used format=67 stand_in=10

The run lasted 7.5 minutes, reached the world, drew 3 500 - 4 690 draws per frame, played audio and took input. The frame stays black from the first world frame to the last. Text overlays do draw (the prologue time card appears), so presentation itself works.

What is still missing, on every boot, at world entry: the title asks for its upscaler,

21:21:32.531916  INFO title: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_0' -- falling back to NewBE

and within one millisecond the converter refuses 20 compute pipelines:

21:21:32.532254  WARN victory_gpu::object: method not implemented object="pipeline state" slot=0x58 caller="+0x5870"
21:21:32.532386  WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6a6c7b7fde59134f
                     error="converter shader.dxil v1: malformed shader: no DXIL part"
   ... 19 more, sizes 1 052 - 22 968 bytes ...

None of those 20 hashes exist in the game's shader packs. victory.exe translate over shaders.rpf with VICTORY_TRANSLATE_ONLY set to the 20 hashes selects 0 of 26 531 programs, and packs.rpf and pack\core_bvh4\core_bvh4.rpf yield 0 containers. So these are not title shaders that fail to translate: they are blobs the upscaler hands over on the NewBE path, which the converter is asked to read as a shader.dxil v1 container and finds no DXIL part in.

fsrQuality does not turn it off. The profile writes <fsrQuality value="0" /> on first boot; I set it to 3 with the title closed, before the world was ever entered, and the upscaler is still requested at world entry exactly as above. So this is not something a user can work around from settings.xml.

The other refusals on this profile are ordinary pack shaders and are not new: PS_PuddleDetect (6), three water_shading/WaterTransmittanceOpticalDepthProcessing, PS_DeferredTextured (3), CS_ShadowRenderTiledCascadesAlphaCBPPPC (1).

Cost of the profile, same build and save, after the world settles:

series-x series-s
frame 530 - 641 ms 340 - 373 ms
GPU time in the frame line 242 - 288 ms 174 - 190 ms
copies 66 - 83 ms 46 - 53 ms
draws per frame 4 000 - 6 900 3 500 - 4 699

That is ~30 % of the GPU and ~40 % of the frame, which is the reason to chase the last stage rather than the profile.

One question: since DeserializeComputePipelineStateX is answered E_NOTIMPL and the title then takes NewBE, is the intended end state to implement that deserializer, or to have the NewBE blobs reach the converter as something other than shader.dxil v1? From here the frame is complete except for whatever those 20 pass write, so whichever of the two is right would show immediately on this card.

No game data; counts, hashes and program names only.

**@⁠rocobalt1** on GitHub · 2026-11-24 21:24 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7144882917) #32 fixes the crash for me: `--console series-s` now boots, reaches the world and runs for minutes. What it still cannot show is a picture, and the remaining cause is a small, reproducible set of pipelines. **Same machine as the issue:** RTX 4060 Ti 8 GB, driver 32.0.16.1656, Ryzen 9 5900X, 64 GB, Windows 11; `main` at `4e17478` + this branch merged (`d4c6df8`), diag build, fresh `VICTORY_DATA_DIR`, `VICTORY_NO_WATCHDOG=1`, `VICTORY_SHADER_LOOP_LIMIT=32`, `VICTORY_D3D12_DRED=1`, no `VICTORY_DISPLAY_MODE`. `TdrDelay=60` and `TdrDdiDelay=60` are set machine-wide here; treat the timings as upper bounds. **What the fix buys:** format 67 gets its stand-in once at boot, nothing else complains about it, and the device is no longer removed: ``` INFO victory_gpu::resource: the host does not render to this format: a stand-in is used format=67 stand_in=10 ``` The run lasted 7.5 minutes, reached the world, drew 3 500 - 4 690 draws per frame, played audio and took input. **The frame stays black from the first world frame to the last.** Text overlays do draw (the prologue time card appears), so presentation itself works. **What is still missing, on every boot, at world entry:** the title asks for its upscaler, ``` 21:21:32.531916 INFO title: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_0' -- falling back to NewBE ``` and within **one millisecond** the converter refuses 20 compute pipelines: ``` 21:21:32.532254 WARN victory_gpu::object: method not implemented object="pipeline state" slot=0x58 caller="+0x5870" 21:21:32.532386 WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6a6c7b7fde59134f error="converter shader.dxil v1: malformed shader: no DXIL part" ... 19 more, sizes 1 052 - 22 968 bytes ... ``` None of those 20 hashes exist in the game's shader packs. `victory.exe translate` over `shaders.rpf` with `VICTORY_TRANSLATE_ONLY` set to the 20 hashes selects **0 of 26 531 programs**, and `packs.rpf` and `pack\core_bvh4\core_bvh4.rpf` yield 0 containers. So these are not title shaders that fail to translate: they are blobs the upscaler hands over on the `NewBE` path, which the converter is asked to read as a `shader.dxil v1` container and finds no DXIL part in. **`fsrQuality` does not turn it off.** The profile writes `<fsrQuality value="0" />` on first boot; I set it to `3` with the title closed, before the world was ever entered, and the upscaler is still requested at world entry exactly as above. So this is not something a user can work around from `settings.xml`. The other refusals on this profile are ordinary pack shaders and are not new: `PS_PuddleDetect` (6), three `water_shading`/`WaterTransmittanceOpticalDepthProcessing`, `PS_DeferredTextured` (3), `CS_ShadowRenderTiledCascadesAlphaCBPPPC` (1). **Cost of the profile, same build and save, after the world settles:** | | `series-x` | `series-s` | |---|---:|---:| | frame | 530 - 641 ms | **340 - 373 ms** | | GPU time in the frame line | 242 - 288 ms | **174 - 190 ms** | | copies | 66 - 83 ms | 46 - 53 ms | | draws per frame | 4 000 - 6 900 | 3 500 - 4 699 | That is ~30 % of the GPU and ~40 % of the frame, which is the reason to chase the last stage rather than the profile. One question: since `DeserializeComputePipelineStateX` is answered `E_NOTIMPL` and the title then takes `NewBE`, is the intended end state to implement that deserializer, or to have the `NewBE` blobs reach the converter as something other than `shader.dxil v1`? From here the frame is complete except for whatever those 20 pass write, so whichever of the two is right would show immediately on this card. No game data; counts, hashes and program names only.
Author
Owner

@⁠Sil3ntGam3r on GitHub · 2026-11-24 22:15 UTC · original

The black screen on Series S has a second cause beyond the FSR4 path: the title presents two planes, and the fork shows only the first. With the two planes composed, the boot screens, menus, intro, in-engine cutscene and prison yard all show here.

What the title presents on Series S. I logged every present (PresentX in queue.rs):

  • planes=2, one resource each.
  • Plane 0 is 1920x1080 RGBA8: the scene, the upscaler's output. In the front end, nothing draws into it.
  • Plane 1 is 3840x2160 RGBA8: the front end, HUD, subtitles and letterbox. Every draw of a menu frame goes into it, according to a VICTORY_CAPTURE_FRAMES trace.
  • present shows the first resource of the first plane only, so on Series S the window gets an empty plane 0: black, while the title runs normally.

On Series X the title presents a single plane, which is why it works there.

Plane layout. The descriptions are 72 bytes apart, from the raw words of a two-plane present:

0x1 0x1 0x7ff9bca20de0 0xf11ebfe340 0xf11ebfe310 0x0 0x0 0x0 0x0 | 0x1 0x1 0x7ff9bca20df8 0xf11ebfe350 0xf11ebfe310 ...

Each description is the token, the resource count, the resources, two more pointers (likely source rects and destination placement), then zeros. The existing Plane struct covers the first three fields.

The fix (local, about 250 lines). present composes the planes into one texture and presents that:

  • the bottom plane is drawn opaque, and each plane above it alpha-blended;
  • each plane is stretched with a linear sampler, at the bottom plane's size (1920x1080);
  • the pass is a small runtime-compiled VS/PS in host.rs, built like the existing depth-plane pass (PlanePass).

Shortcut: whole planes are stretched, and the source and destination rects and colour spaces are not read yet. VICTORY_PRESENT_PLANE=n shows a single plane, for comparison.

Tree and settings. 4e17478 + #32 + AwkGrep256's PC upscaler commits (15fd2ee, efc3cb0, f96ad82, upstream #730), with the output-format line from the comment above. Settings:

  • --console series-s
  • VICTORY_DISPLAY_MODE=1920x1080
  • VICTORY_FFX_DIR pointing at AMD's signed v2.4.0 DLLs
  • VICTORY_RELAY=2
  • VICTORY_SHADER_LOOP_LIMIT=256
  • the three skips from #18

With the PC upscaler, the 20 unreadable FSR4 blobs @⁠rocobalt1 found never come up: the title's upscale goes to AMD's PC DLL, which reports success at 1280x720 → 1920x1080.

Results (RTX 3070 8 GB, driver 621.40, i5-11600K, 32 GB). I checked every result in the saved frames (VICTORY_CAPTURE), not by eye:

  • The boot screens, the menus, the intro cards with their subtitles, the in-engine cutscene and the yard all show. The credits cards no longer overlap their names, as they did on Series X.
  • The yard runs at 3.4–3.9 fps (260–300 ms/frame), against 2.3–3.6 fps on Series X on the same machine, matching the speed-up in #176.
  • No device loss in about 15 minutes, and 7.5 GB of RAM left free.

Still wrong here:

  • On an 8 GB card, texture copies stop at 90% of the card budget (6.5 of 7.2 GB in use), and about 7,000 textures wait. Characters and nearby buildings look flat and low-detail.
  • The simulated hair (#18) and the black out-of-sun areas are as on Series X.

I can open a PR with the compose pass if that helps; it doesn't depend on #32 or the upscaler commits.

No game data in this comment; frames were checked locally.

(AI-assisted: Claude Code wrote the fix and checked the saved frames.)

**@⁠Sil3ntGam3r** on GitHub · 2026-11-24 22:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7146007728) The black screen on Series S has a second cause beyond the FSR4 path: **the title presents two planes, and the fork shows only the first.** With the two planes composed, the boot screens, menus, intro, in-engine cutscene and prison yard all show here. **What the title presents on Series S.** I logged every present (`PresentX` in `queue.rs`): - `planes=2`, one resource each. - Plane 0 is 1920x1080 RGBA8: the scene, the upscaler's output. In the front end, nothing draws into it. - Plane 1 is 3840x2160 RGBA8: the front end, HUD, subtitles and letterbox. Every draw of a menu frame goes into it, according to a `VICTORY_CAPTURE_FRAMES` trace. - `present` shows the first resource of the first plane only, so on Series S the window gets an empty plane 0: black, while the title runs normally. On Series X the title presents a single plane, which is why it works there. **Plane layout.** The descriptions are 72 bytes apart, from the raw words of a two-plane present: ``` 0x1 0x1 0x7ff9bca20de0 0xf11ebfe340 0xf11ebfe310 0x0 0x0 0x0 0x0 | 0x1 0x1 0x7ff9bca20df8 0xf11ebfe350 0xf11ebfe310 ... ``` Each description is the token, the resource count, the resources, two more pointers (likely source rects and destination placement), then zeros. The existing `Plane` struct covers the first three fields. **The fix (local, about 250 lines).** `present` composes the planes into one texture and presents that: - the bottom plane is drawn opaque, and each plane above it alpha-blended; - each plane is stretched with a linear sampler, at the bottom plane's size (1920x1080); - the pass is a small runtime-compiled VS/PS in `host.rs`, built like the existing depth-plane pass (`PlanePass`). Shortcut: whole planes are stretched, and the source and destination rects and colour spaces are not read yet. `VICTORY_PRESENT_PLANE=n` shows a single plane, for comparison. **Tree and settings.** `4e17478` + #32 + AwkGrep256's PC upscaler commits (`15fd2ee`, `efc3cb0`, `f96ad82`, upstream #730), with the output-format line from the comment above. Settings: - `--console series-s` - `VICTORY_DISPLAY_MODE=1920x1080` - `VICTORY_FFX_DIR` pointing at AMD's signed v2.4.0 DLLs - `VICTORY_RELAY=2` - `VICTORY_SHADER_LOOP_LIMIT=256` - the three skips from #18 With the PC upscaler, the 20 unreadable FSR4 blobs @⁠rocobalt1 found never come up: the title's upscale goes to AMD's PC DLL, which reports success at 1280x720 → 1920x1080. **Results** (RTX 3070 8 GB, driver 621.40, i5-11600K, 32 GB). I checked every result in the saved frames (`VICTORY_CAPTURE`), not by eye: - The boot screens, the menus, the intro cards with their subtitles, the in-engine cutscene and the yard all show. The credits cards no longer overlap their names, as they did on Series X. - The yard runs at 3.4–3.9 fps (260–300 ms/frame), against 2.3–3.6 fps on Series X on the same machine, matching the speed-up in #176. - No device loss in about 15 minutes, and 7.5 GB of RAM left free. **Still wrong here:** - On an 8 GB card, texture copies stop at 90% of the card budget (6.5 of 7.2 GB in use), and about 7,000 textures wait. Characters and nearby buildings look flat and low-detail. - The simulated hair (#18) and the black out-of-sun areas are as on Series X. I can open a PR with the compose pass if that helps; it doesn't depend on #32 or the upscaler commits. No game data in this comment; frames were checked locally. (AI-assisted: Claude Code wrote the fix and checked the saved frames.)
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 22:30 UTC · original

A likely root cause for the remaining black picture on Series S, from an RTX 3080 run on 4e17478 + #32 (report in #176):

  • The Series S profile goes through the title's FSR4 upscaler; Series X does not. The Series S log has 30 FSR lines (FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE for FFX_FSR4_PASS_*, …_RCAS_PASS, …_SPD_AUTOEXPOSURE_PASS). The Series X log of the same build has none.
  • The upscaler DLL is refused. a host DLL outside the host policy: refused dll="amd_fidelityfx_upscaler_xbox.dll" (victory-hle/src/modules/kernel.rs:346). The title loads it on demand, it is not one of the prepared title images, so LoadLibrary gets ERROR_MOD_NOT_FOUND.
  • What the frame shows: a target dump at world frames 3450/3600 has the 1280×720 G-buffer written (formats 27/28 with content), but no lighting/HDR targets and no final 1920×1080 output at all. The frame line shows 4 compute pipelines refused every frame (02384a60fda6f2d0, 369cbe906ea72764, 2cc4c197ee29e291, 2da4beb386509b77; one with E_INVALIDARG). GPU time is only ~25 ms, so the frame is not under load. It is missing its final passes.
  • Not a resolution effect: with VICTORY_DISPLAY_MODE=1280x720 (output = internal size) the title still takes the FSR4 path and the picture stays black.

Upstream has the matching work open: Marvisak/VIctory#1284 ("Add experimental PC FSR upscaling"; it notes that Series S selects FSR by default and creates a 1280×720 → 1920×1080 context) and Marvisak/VIctory#1704 (the same calls answered by DLSS through Streamline, which would suit NVIDIA cards). Both conflict with upstream main today. Porting one of them here looks like the fix for Series S. On this machine Series S ran at ~4–5 fps, against ~1.5 on Series X, so it may be worth it on 8–12 GB cards.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 22:30 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7146314196) A likely root cause for the remaining black picture on Series S, from an RTX 3080 run on `4e17478` + #32 (report in #176): - **The Series S profile goes through the title's FSR4 upscaler; Series X does not.** The Series S log has 30 FSR lines (`FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE` for `FFX_FSR4_PASS_*`, `…_RCAS_PASS`, `…_SPD_AUTOEXPOSURE_PASS`). The Series X log of the same build has none. - **The upscaler DLL is refused.** `a host DLL outside the host policy: refused dll="amd_fidelityfx_upscaler_xbox.dll"` (`victory-hle/src/modules/kernel.rs:346`). The title loads it on demand, it is not one of the prepared title images, so `LoadLibrary` gets `ERROR_MOD_NOT_FOUND`. - **What the frame shows:** a target dump at world frames 3450/3600 has the 1280×720 G-buffer written (formats 27/28 with content), but no lighting/HDR targets and no final 1920×1080 output at all. The frame line shows 4 compute pipelines refused every frame (`02384a60fda6f2d0`, `369cbe906ea72764`, `2cc4c197ee29e291`, `2da4beb386509b77`; one with `E_INVALIDARG`). GPU time is only ~25 ms, so the frame is not under load. It is missing its final passes. - **Not a resolution effect:** with `VICTORY_DISPLAY_MODE=1280x720` (output = internal size) the title still takes the FSR4 path and the picture stays black. Upstream has the matching work open: Marvisak/VIctory#1284 ("Add experimental PC FSR upscaling"; it notes that Series S selects FSR by default and creates a 1280×720 → 1920×1080 context) and Marvisak/VIctory#1704 (the same calls answered by DLSS through Streamline, which would suit NVIDIA cards). Both conflict with upstream `main` today. Porting one of them here looks like the fix for Series S. On this machine Series S ran at ~4–5 fps, against ~1.5 on Series X, so it may be worth it on 8–12 GB cards. AI-assisted (Claude Code)
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 22:53 UTC · original · edited 2026-11-25 00:56 UTC

Quick update since this links #1284/#1704: the port already exists here as #86 (the same calls answered by AMD's PC upscaler). With #32 + #86, Series S gets past the black screen and shows the world, confirmed on a 4060 Ti and a 3060 6 GB in the #86 thread. The UI is still missing on Series S because it sits on a second PresentX plane, which needs Marvisak/VIctory#211 (Ege-Mert's run with it shows the shell UI and credits).

Upstream moved too: main now has its own host FidelityFX module (Marvisak/VIctory@0b35b7f), and I put the parts it was missing (the Series X switches and the RGB9E5 output) on top of it in Marvisak/VIctory#1793. #1704 (DLSS) is stacked on the old #1284, so it will probably move onto main's module as well.

Edit: The current Marvisak/VIctory#1793 adds the Series X switches. Main already writes the RGB9E5 output directly, so the FP16 stand-in was dropped.

**@⁠AwkGrep256** on GitHub · 2026-11-24 22:53 UTC · [original](https://github.com/fxceless/victory-fork/issues/13#issuecomment-7146757805) · edited 2026-11-25 00:56 UTC Quick update since this links #1284/#1704: the port already exists here as #86 (the same calls answered by AMD's PC upscaler). With #32 + #86, Series S gets past the black screen and shows the world, confirmed on a 4060 Ti and a 3060 6 GB in the #86 thread. The UI is still missing on Series S because it sits on a second PresentX plane, which needs Marvisak/VIctory#211 (Ege-Mert's run with it shows the shell UI and credits). Upstream moved too: main now has its own host FidelityFX module (Marvisak/VIctory@0b35b7f), and I put the parts it was missing (the Series X switches and the RGB9E5 output) on top of it in Marvisak/VIctory#1793. #1704 (DLSS) is stacked on the old #1284, so it will probably move onto main's module as well. **Edit:** The current Marvisak/VIctory#1793 adds the Series X switches. Main already writes the RGB9E5 output directly, so the FP16 stand-in was dropped.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#13
No description provided.