ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.92k stars 290 forks source link

RE Engine games softlocks and freeze forever #1124

Open DrSay123 opened 11 months ago

DrSay123 commented 11 months ago

All games on RE engine has 1 problem with box64 After couple of minutes/seconds game's Render just freeze forever, controls doesnt work, but music is still playing I tested re7, 2, 2 demo, 3, 3 demo, 8, DMCV and all games has this error in logs 01ec:err:sync:RtlLeaveCriticalSection section 00000000116C9748 (null) is not acquired 0204:err:sync:RtlpWaitForCriticalSection section 00000000116C9AC8 (null) wait timed out in thread 0204, blocked by 01ec, retrying (60 sec) Screenshot_20231028_161232-1 After that game's render just dies Tried different dxvk, Turnip drivers, dyncfg changes, but still this error appears, so I assume that its box64 glitch mobox_log.txt

ptitSeb commented 11 months ago

That message 01ec:err:sync:RtlLeaveCriticalSection section 00000000116C9748 (null) is not acquired is certainly the root cause of the issue yes. What Wine version are you using? And what BOX64_DYNAREC_STRONGMEM setting did you tried?

DrSay123 commented 11 months ago

I tried Stongmem 0 and 1 My wine versions was 8.0, 8.13 ge and 8.15 ge

ptitSeb commented 11 months ago

And is it latest version of box64 or the Nov 10th build?

DrSay123 commented 11 months ago

Nov 10th build I'll test newest version today/tomorrow

ruje0504 commented 11 months ago

I encountered the same issue on Orin NX ubuntu20.04 (re3 and Devil May Cry 5), but a few months ago, running this game(re3) on the Switch l4t-ubuntu 22.04 with Vulkan 1.1 and DXVK 1.7 didn't have this problem.The game re3 also couldn't run on l4t-ubuntu 18.04 at that time. The other games, like RE7 and Devil May Cry 5, ran fine on l4t-ubuntu 18.04 at that time, but now encountered the same issue on Orin(no test re7).

LightningGem commented 8 months ago

I can confirm the same is happening for me with wine 9.4 WoW, latest box64 and turnip on sd 8 gen 3. With STRONGMEM 1 it may happen once in 30-60 minutes but otherwise with strongmem 0 it freeze quite often. Tested in DMC5, RE2, RE3

Here what i have: 0220:err:sync:RtlLeaveCriticalSection section 00000001582B9828 (null) is not acquired 0224:err:sync:RtlpWaitForCriticalSection section 00000001582BACF0 (null) wait timed out in thread 0224, blocked by 0220, retrying (60 sec)