http://bugs.winehq.org/show_bug.cgi?id=58584
--- Comment #12 from Danny Waser waser@waser.tech --- Created attachment 79118 --> http://bugs.winehq.org/attachment.cgi?id=79118 Logs running the game using the numa patch for wine+dxvk27
To fix the above mentioned issues with DXGI, I tried to install DXVK v2.7 using winetricks but the game crashed with a new access violation (see attached `stalker_cop_crash_numawinedxvk.log`).
``` 0130:trace:seh:dispatch_exception code=c0000005 (EXCEPTION_ACCESS_VIOLATION) flags=0 addr=00006FFFFC37A516 ... 0130:trace:seh:dispatch_exception rip=00006ffffc37a516 rsp=00007ffffe1ffbc0 rbp=00007ffffe1ffc29 ... 01bc:trace:seh:dispatch_exception code=406d1388 (EXCEPTION_WINE_NAME_THREAD) flags=0 addr=00006FFFFF3CD7C7 ``` That AV comes from inside `xrAbstractions.dll` (the game’s CPU/thread abstraction layer), not directly Wine code. It suggests that our NUMA-enabled thread-affinity calls or the corresponding WOW64 transition may still be off by a bit.
Could someone advise which kernel32/ntdll stubs or WOW64 boundary handling might still be missing for proper thread-affinity or TLS setup? Happy to provide gdb backtrace or further instrumentation if helpful. I can also attach a small patch of `memory.c` for the NUMA impl. if it's more convenient.