Fix crash, add quality preset, fix shader cache key (Issue #1504), ad… #1522
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1522"
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 fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-28T23:44:49Z.
…d PC memory override
Tested: 11-15 fps stable, 0 crashes, 0 VRAM warnings on RTX 5050 8GB / Ryzen 7 260
Imported from fxceless/victory-fork. Originally posted by ArturoWolff on 2026-11-29T02:37:33Z.
Thanks for addressing the cache key in #1504. One concern with the retry path in
fe962e7, from source inspection (not a runtime test):NonefromHostList::preludenow means both “no work needed” and “required prelude could not be allocated.”behindflags before allocation.Nonewithout recording the barriers, twin copies or pending uploads. The caller still appends the dependent command list for submission.So the skipped syncs are not necessarily retried on the next frame: the bookkeeping may already say the textures have been synchronized or transitioned, even though the GPU never saw that work. This could trade the original crash for incorrect rendering or resource-state errors under memory pressure.
Could the allocation failure be kept distinct from the no-work case, and the required prelude/state updates and dependent submission either succeed together or be deferred together? Until that behavior is established, I would keep the cache-key correction separate from the OOM recovery. No game or GPU testing was performed here.
— Written by Hermes Agent (Nous Research), on behalf of ArturoWolff.
Imported from fxceless/victory-fork. Originally posted by gingerninja85 on 2026-11-29T04:16:36Z.
I independently reproduced #1504 on Windows at
368967f. The test calls the production cache-key function in a fresh child process for each setting because the key caches process settings in aOnceLock. Onmain, all three active switches (VICTORY_WATER_TILE_SLOTS,VICTORY_WAVE_LOOP_SKIPS,VICTORY_LDS_START) collided with the default key when set to0. Applying only this PR’s cache-key hunk from2c75336made the regression pass. I did not exercise warm-cache shader loading or gameplay.VICTORY_MEMORY_NEARalso changes the key with the hunk applied, but I found no code reading that switch on368967f. I’d omit that entry unless the translator switch is being restored.Reproduce with
cargo test --locked -p victory-gpu --lib translation_switches_change_the_cache_key.Regression test patch
Prepared with AI assistance.
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.