Victory 7900XTX fork: send-ahead crash fix on the RX 6800 XT #113
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#113
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?
@scrubber81 on GitHub · 2026-11-26 04:02 UTC · original
Base:
D:\BigGame\VIctory-7900XTX-main(untouched). Working copy:D:\BigGame\VIctory-7900XTX-trace. Built exe: D:\BigGame\team\qa-bin\fork7900relayfix-b27a6276b7cc\.The fix (all in crates\victory-gpu\src)
host.rs, fn land(): release every landed flight at once. Don't hold back bury_lag() of them: let n = line.landed.len(); (was len().saturating_sub(bury_lag() as usize)).
list.rs, in impl Detached:
pub(crate) fn tables_done(&mut self) { self._state.tables_done(); }host.rs, new function beside land():
Call tables_back(&mut landed); just before if last > 0 { FINISHED.store(..); bury(last); } in BOTH settle and relay_land.
In the working copy these are behind a switch: latesync.rs (plus mod latesync; in lib.rs), VICTORY_LATE_AS_SYNC=lag,tables. The steps above make them permanent instead.
Build
cargo build --locked --profile diag -p victory --features diagnosticsRun (working copy, switch version)
& 'D:\BigGame\VIctory-7900XTX-trace\scripts\play.ps1' -Exe 'D:\BigGame\GTA\game_scarlett_master.exe' -Safe -More @{VICTORY_COPIES_IN_PLACE='0';VICTORY_LATE_AS_SYNC='lag,tables'}Not needed for the fix (off by default in the working copy)
sendtrace.rs and its hooks, VICTORY_SENDTRACE(_HOLD), VICTORY_CARD_AWAKE_ALWAYS, VICTORY_RESUBMIT_TRACE, the other LATE_AS_SYNC names, and VICTORY_RESUBMIT_FIX (fixes a separate real bug: re-submitted lists run empty with send-ahead; it did not stop this crash).
Status
Stable with relay off (runs 26, 27). Relay on (run 28): user reports it worked; log not reviewed. Why the delayed release crashes is unknown, and lag vs tables was never tested separately. Log: D:\BigGame\debug-logs\fork7900-run28-relay-lag-tables.log. Nothing is committed.
Claude Used , God Speed
@scrubber81 on GitHub · 2026-11-26 04:05 UTC · original
Tested on one PC only (RX 6800 XT), using -Safe and VICTORY_COPIES_IN_PLACE=0. Tested using the VICTORY_LATE_AS_SYNC=lag,tables switch; the permanent edit below hasn't been built or tested. Stable in two runs with the relay off. One relay-on run was reported working, but its log wasn't reviewed. The root cause is unknown, and lag and tables weren't tested separately.
@weikiboy-tech on GitHub · 2026-11-26 11:56 UTC · original
RX 6800 XT (16 GB, RDNA2) test on commit
9576c45, 26 November 2026. System: Ryzen 5 5600X, 32 GB RAM, Windows 11 build 26200, AMD Adrenalin 26.11.2.We started the story prologue twice. At 10:52 CET with the optimized profile, the opening cutscene showed a gray screen and the process exited with
0x887A0005(DXGI_ERROR_DEVICE_REMOVED). The reported removal reason was0x887A0007(DXGI_ERROR_DEVICE_RESET). At 10:56 CET with the Safe profile, cutscene audio played, but the image remained gray at about 0.9 FPS before the same exit code. Neither run reached controllable gameplay.These results are for the build above. We have not tested the patch proposed in this issue.