Skip to content

wrapper: gate maintenance4 memory queries on base driver support - #41

Open
butilly wants to merge 1 commit into
wrapper-25from
fix/doa5-wrapper-memory-query-fix
Open

butilly wants to merge 1 commit into
wrapper-25from
fix/doa5-wrapper-memory-query-fix

Conversation

@butilly

@butilly butilly commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Game: Dead Or Alive 5; executable: game.exe, launched by game.bat.
Discord thread: 1565071668009762856 (https://discord.com/channels/1378308569287622737/1565071668009762856).

Evidence: Mali-G76 System driver with wrapper-gamenative. Report 1565071668009762856 uses DXVK 2.4.1 and Proton 11 ARM64EC/FEX: debug_log.txt L963 reports vkGetDeviceBufferMemoryRequirements Exception 0xc0000005 in Unix call, then L966 exit 3. Report 1565081766346231858 uses DXVK 2.6.1-gplasync and Proton 9 x86_64/Box64: L1543-L1548 reports c0000005, assertion for the same call, then exit 3. Latest direct-EXE report exits before the DXVK banner, so it is not a reproduction of this Vulkan failure. The later memfd_create app teardown failure is separate and is not addressed here.

The three maintenance4 memory-query handlers currently choose native forwarding solely from a non-null dispatch pointer. Android loader trampolines can be non-null without underlying ICD support. Clear those three native pointers when the original base feature snapshot lacks maintenance4, selecting the existing buffer/image create-query-destroy fallbacks and existing sparse fallback. Do not change native-capable devices, shader lowering, game files, Wine, or emulator.

Validation: git diff --check passed; CI compilation pending. Hardware confirmation is still needed. Expected next report: fallback selection log, no vkGetDeviceBufferMemoryRequirements Unix fault, progress beyond device initialization. This is a targeted compatibility fix, not proof that every game startup issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant