Skip to content

Monster Loves You: fix WOW64 diagnostic worker entry on Proton 10 - #28

Open
butilly wants to merge 2 commits into
mainfrom
fix/monster-loves-you-fexcore-diagnostic-2
Open

butilly wants to merge 2 commits into
mainfrom
fix/monster-loves-you-fexcore-diagnostic-2

Conversation

@butilly

@butilly butilly commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Game: Monster Loves You!; executable: MonsterLovesYou.exe; thread: 1569836033309151402.

Round 1 (PR 27, 2609-ad9eee6) changed the original 181s live hang (median FPS 0, main thread 100%) into a 23s terminated run. At 265412.589 Wine reports NtCreateThreadEx Unsupported flags 0x66; at 265412.961 worker 0148 faults executing guest EIP F9992CFC while main thread 0144 continues. The worker start and argument appear truncated to 32 bits; no FEX-HANG samples were emitted. This is diagnostic startup failure, not evidence of a game-code fault.

Replace the native worker entry with a low-address x86 int 0x2e trampoline and ordinary WOW64 thread creation. The existing syscall bridge dispatches the sampler natively after flushing guest state and releasing the JIT lock, consumes the stdcall argument, then returns to the normal guest thread-exit path. Keep executable gating, 15s delay, 12 samples, suspend/resume pairing and mapping/output after resume. Add an entry marker to distinguish successful bridge entry from mere thread creation. No Proton major, architecture, graphics or game-file change.

Validation: diff check clean; reviewed int 0x2e dispatch, stdcall stack cleanup, WOW64 thread initialization and loader-lock release. Existing FEX fault logging does not sample a live spin. CI must compile both frontends. Device validation: no worker execute fault at a truncated native address; sampler-entered marker and 12 bounded FEX-HANG EIP samples, or an explicit target-unavailable status. This is diagnostic round 2, not a confirmed fix for the original hang.

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