Series S profile: FSR4 pipeline deserialization returns E_NOTIMPL, device removed before the first frame (Series X works on the same build) #13
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@rocobalt1 on GitHub · 2026-11-24 19:50 UTC · original
--console series-snever reaches a frame on this machine; the device is removed while FSR4 pipelines are being deserialized.series-xon 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, freshVICTORY_DATA_DIR,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1, noVICTORY_DISPLAY_MODE, driven withVICTORY_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:
and about one second later:
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:
FFX_FSR4_*compute pipelines), or is that a side effect of theseries-sdevice and memory declaration?DeserializeComputePipelineStateXanswer something other thanE_NOTIMPLhere, and is there a switch to keep the title off the FSR4 path so theseries-sprofile 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.
@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=1the 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: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:(and
REFUSEDbecomes[bool; 3]). With this alone the world runs on Series S, but the screen stays black: the title then asks foramd_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 throughVICTORY_FFX_DIR. One addition on top, inffx.rswhere each resource is described, so the SDK is told the format the host texture really has:Result (
578d459+ both fixes, Series S,VICTORY_FFX_DIRset): the log showsffx: 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.@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.@rocobalt1 on GitHub · 2026-11-24 21:24 UTC · original
#32 fixes the crash for me:
--console series-snow 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;
mainat4e17478+ this branch merged (d4c6df8), diag build, freshVICTORY_DATA_DIR,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1, noVICTORY_DISPLAY_MODE.TdrDelay=60andTdrDdiDelay=60are 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:
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,
and within one millisecond the converter refuses 20 compute pipelines:
None of those 20 hashes exist in the game's shader packs.
victory.exe translateovershaders.rpfwithVICTORY_TRANSLATE_ONLYset to the 20 hashes selects 0 of 26 531 programs, andpacks.rpfandpack\core_bvh4\core_bvh4.rpfyield 0 containers. So these are not title shaders that fail to translate: they are blobs the upscaler hands over on theNewBEpath, which the converter is asked to read as ashader.dxil v1container and finds no DXIL part in.fsrQualitydoes not turn it off. The profile writes<fsrQuality value="0" />on first boot; I set it to3with 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 fromsettings.xml.The other refusals on this profile are ordinary pack shaders and are not new:
PS_PuddleDetect(6), threewater_shading/WaterTransmittanceOpticalDepthProcessing,PS_DeferredTextured(3),CS_ShadowRenderTiledCascadesAlphaCBPPPC(1).Cost of the profile, same build and save, after the world settles:
series-xseries-sThat 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
DeserializeComputePipelineStateXis answeredE_NOTIMPLand the title then takesNewBE, is the intended end state to implement that deserializer, or to have theNewBEblobs reach the converter as something other thanshader.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.
@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 (
PresentXinqueue.rs):planes=2, one resource each.VICTORY_CAPTURE_FRAMEStrace.presentshows 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:
Each description is the token, the resource count, the resources, two more pointers (likely source rects and destination placement), then zeros. The existing
Planestruct covers the first three fields.The fix (local, about 250 lines).
presentcomposes the planes into one texture and presents that: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=nshows 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-sVICTORY_DISPLAY_MODE=1920x1080VICTORY_FFX_DIRpointing at AMD's signed v2.4.0 DLLsVICTORY_RELAY=2VICTORY_SHADER_LOOP_LIMIT=256With 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:Still wrong here:
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.)
@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):FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBEforFFX_FSR4_PASS_*,…_RCAS_PASS,…_SPD_AUTOEXPOSURE_PASS). The Series X log of the same build has none.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, soLoadLibrarygetsERROR_MOD_NOT_FOUND.02384a60fda6f2d0,369cbe906ea72764,2cc4c197ee29e291,2da4beb386509b77; one withE_INVALIDARG). GPU time is only ~25 ms, so the frame is not under load. It is missing its final passes.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
maintoday. 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)
@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.