victory-gpu: guard against AMD driver 0xc0000005 and default to Series S profile #185
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/185"
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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Willian-Massao on 2026-11-26T10:44:32Z.
Problem
When running on an AMD Radeon RX 9070 XT (RDNA4,
amdxc64.dll8.18.10.0514), background compute pipeline compilation triggers an unhandled null pointer dereference (0xc0000005,read 0x8: nothing mapped thereatamdxc64.dll+0x861b9f,rcx = 0x0) during early loading / intro cutscenes (FBK_STRY000_INTRO, frame 1395). Without an SEH guard, this terminates the game process.Additionally, the default Series X profile allocates heavy 4K memory buffers, putting extreme pressure on memory budgets.
Changes
crates/victory-gpu/src/pipeline/seh_guard.c+build.rs): WrapsHostPipeline::newin a minimal Windows SEH__try / __except (EXCEPTION_ACCESS_VIOLATION)block so driver compiler crashes do not terminate the process.crates/victory-gpu/src/pipeline/make.rs&library.rs):bad_shaders.txtin the pipeline cache directory (library::bad_shaders_path()).bad_shaders.txtandVICTORY_SKIP_PIPELINESbefore calling the driver on subsequent runs to skip known failing shaders cleanly.VICTORY_CONSOLEenvironment variable support.SeriesSas the default console profile (Console::SeriesS, Lockhart device type0x60), significantly reducing memory footprint and initial asset weight.VICTORY_PIPELINE_THREADSalongsideVICTORY_PIPELINE_WORKERS.Measured Gameplay Verification (AMD Radeon RX 9070 XT)
With these changes applied, the game successfully passes the intro cutscenes without crashing and reaches stable active gameplay:
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.