Skip to content

FF3: diagnose silent direct-driver memory allocation failures - #60

Open
butilly wants to merge 1 commit into
wrapper-25from
fix/ff3-wrapper-allocation-diagnostic
Open

butilly wants to merge 1 commit into
wrapper-25from
fix/ff3-wrapper-allocation-diagnostic

Conversation

@butilly

@butilly butilly commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Game: Final Fantasy III (3D Remake), GOG, FF3_Win32.exe (32-bit OpenGL through Zink). Thread: 1568752739259777084. Latest report: 1040 s, 29.7 FPS, 7930 MB minimum available Android RAM; Zink allocation failures for heap=5 size=3686400 and heap=3 size=2097152. Wrapper and Wrapper-v2 reproduce with underlying PurpleVK/Turnip T26 on Adreno 830. Advertised heap 1024 versus 4096 MB was unchanged. Existing WRAPPER_LOG_LEVEL=error and WRAPPER_LOG_FILE=stdout produced no allocation result. Source inspection finds direct-driver AllocateMemory returns failures silently, unlike placed-memory emulation. Diagnostic 1: bounded stderr result logging for direct and emulated final allocation paths, backend identity, actual memory type/heap/flags, allocation limit, placement flags, client allocation/free counts and cumulative requested bytes. Bytes are not live residency; counts exclude internal driver/wrapper allocations. No allocation policy, Proton major/arch, or underlying driver changes. Next report must contain WRAPPER_MEM_DIAG v1 and the failure result; compare allocation/free counts to distinguish retained client allocations from underlying allocation failure. No game files modified.

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