Linux/Wine bring-up: Game Init check waits for registry hash 0x02e801f9 that is never registered #408
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/Belobug--VIctory-Belobug-AMD#408
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?
@mmmoxya-tech on GitHub · 2026-11-27 00:06 UTC · original
Environment: Arch Linux; Wine 11.22 and Proton (cachyos 11.0 and Valve Experimental, both with vkd3d-proton 3.1) on NVIDIA 620.73 (RTX 5060 Laptop, 8 GB; 15 GB RAM). Title built from
codec-d/cool_foxf4b48adwith cargo-xwin (MSVC);Belobug4eb6cfdbehaves the same. Dump: GTA6.Xbox.v1.0.2.1 (game_scarlett_master.exe, blake3b99f876b74d4a77f…, RETAIL, 930.048.020).What works on Wine: PE map and HLE binding (0 missing), D3D12 device via vkd3d-proton, DXGI swapchain, two-plane composer, dstorage (5,592 requests, all completed in order), the title presents ~32 frames (~1 s, loading screen) — then:
Crash: worker-pool task (thread start
+0x2215ea0) → predicate+0x145b97b20→ check+0x141dac680→int3at+0x1dac734(0x80000003). WER context says Game Init, frame 0. Same address with no GPU at all (plain Wine where device creation fails), so this check is not GPU-output driven.What the check does (static analysis; RVAs against image base 0x140000000):
+0x63011dc=0xc1fa30c2and+0x63011e0=0x02e801f9.*(singleton+0x2a0)(singleton =*(image+0x7f00510)), map at*(singleton+0x2b0): capacity at+0x30, table base at+0x38; lookup0x14292cf90(SIMD flat map, 0x110-byte buckets, 16-byte entries keyed by u32).9f62d512 aee74b7d a137ced5 c1fa30c2.0x02e801f9is absent; the lookup returns null, the entry checks fail, the title asserts.int3out once (runtime one-byte patch) lets the title run a bit further, then it null-dereferences at+0x58a8b2a(read[0x20]) in the same lookup path — the same missing object.So some subsystem that should register an object under hash
0x02e801f9by Game Init never does on Wine. We could not match the five u32s to common string hashes (FNV-1/1a, CRC32, djb2, sdbm, Java-style, Murmur3; ASCII, UTF-16 and lowercased).Questions
0x02e801f9(and the four keys above) — what is this check waiting for?Happy to run any diagnostic build here and report back. The probe (
VICTORY_SERVICE_PROBE) and the map patcher (VICTORY_MAP_PATCH) are in our forkmmmoxya-tech/cool_fox-linux, branchlinux-root-signature-fixes.For context, root signatures had to be ported for Wine first: Wine's d3dcompiler does not emit the
RTS0part into compiled shaders and vkd3d-proton refuses a shader blob handed toCreateRootSignature, so every creation now extractsRTS0(or builds the composer/awake signatures from descriptors). That took refusals from 54–68 per run to 0, and the title now gets this far.@mmmoxya-tech on GitHub · 2026-11-27 01:10 UTC · original
More eliminations since filing:
940d32f(the build reported working under Proton on RADV in #19) shows the same assert (game+0x1dac734) here — so it is not a fork regression.VK_ICD_FILENAMESon the Intel iGPU (ANV, vkd3d-proton 3.1) the device is created ('host D3D12 device ready', frame 1 presented) and the assert still fires — so it is not NVIDIA-specific either.VICTORY_COPY_MEMORY=1, andVICTORY_COPY_MEMORY=1 VICTORY_SPARSE=0all assert at the same place. WARP is not selectable here (DXGI does not mark it software).Looking for: what registers 0x02e801f9s entry around/after init, and which host/environment query could make that step conditional (Wine-on-AMD-Proton passes per #19/#105/#131). If a RADV+Proton run's first ~2 s of victory log could be compared with ours, the diverging init step should be visible.
@mmmoxya-tech on GitHub · 2026-11-27 01:30 UTC · original
More structure, in case it names the init step:
Question: in your mapping of these events, what is 0x63011e0 (0x02e801f9), and which component is supposed to register its functor by Game Init? Even a one-line answer ('the front-end readiness gate', 'network', 'save') would point the fix. Alternatively, the first ~2 s of a working RADV/Windows run's log would let us diff the init steps directly.