Open Kreyren opened 3 years ago
Seems that using cd path/to/gamedir && wine game.exe
fixes the issue
Filing of winebug with WINEDEBUG=+system,+dxgi,+d3d,+setupapi,+seh,+win,+relay
was requested
Apparently the game "just works" now even with the mensioned error?
Full log
```console kreyren@leonid:~$ DRI_PRIME=1 wine explorer /desktop=foo,1280x720 .wine/drive_c/Program\ Files\ \(x86\)/Just\ Cause\ 2/JustCause2.exe 002e:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142 ERROR: Could Not Get Primary Adapter Handle wine: Unhandled page fault on read access to 00000000 at address 00962117 (thread 003d), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00962117). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063 EIP:00962117 ESP:0032f374 EBP:0032f380 EFLAGS:00210246( R- -- I Z- -P- ) EAX:00000000 EBX:0032f428 ECX:31f57880 EDX:a4c8c783 ESI:6b190138 EDI:00000000 Stack dump: 0x0032f374: 80000000 6b182610 001817b0 0032f410 0x0032f384: 0096fe66 6ab32fa4 6b182610 6b182000 0x0032f394: 00000280 00000190 00000000 00000000 0x0032f3a4: 00000000 00000000 00000000 00000000 0x0032f3b4: 00000001 00000001 00000000 00000000 0x0032f3c4: 00e5d1bc 00010078 00000000 00000008 Backtrace: =>0 0x00962117 EntryPoint+0xffffffff() in justcause2 (0x0032f380) 1 0x0096fe66 EntryPoint+0xffffffff() in justcause2 (0x0032f410) 2 0x0066de66 EntryPoint+0xffffffff() in justcause2 (0x0032f42c) 3 0x005291c3 EntryPoint+0xffffffff() in justcause2 (0x0032f4b0) 4 0x0042eb68 EntryPoint+0xffffffff() in justcause2 (0x0032fea0) 5 0x00a9d6ad EntryPoint+0xffffffff() in justcause2 (0x0032ff30) 6 0x7b454882 in kernel32 (+0x34881) (0x0032ff48) 7 0x7b454cfc in kernel32 (+0x34cfb) (0x0032ffd8) 8 0x7b45488e in kernel32 (+0x3488d) (0x0032ffec) 0x00962117 EntryPoint+0xffffffff in justcause2: movl0x0(%edi),%eax Modules: ModuleAddressDebug infoName (46 modules) PE 330000- 36e000Deferred fmod_event PE 370000- 3ba000Deferred cudart PE 400000- 14d2000Export justcause2 PE 14e0000- 1d71000Deferred cufft PE 27d0000- 27d6000Deferred launcher PE 27e0000- 2827000Deferred steamclient PE 2da0000- 2e14000Deferred d3dx10_43 PE10000000-101b2000Deferred fmodex PE3b400000-3b41d000Deferred steam_api PE7a840000-7a844000Deferred opengl32 PE7b020000-7b023000Deferred kernelbase PE7b420000-7b5db000Export kernel32 PE7bc30000-7bc34000Deferred ntdll ELF7c000000-7c009000DeferredZombie processes?
This seems to cause a zombie processes in the background that then result in:
To resolve this invoking
wineserver -k9
and optionally checking task manager seems to return in previous error.Wine ESYNC?
According to https://github.com/ValveSoftware/Proton/issues/178#issuecomment-415201326 this issue could be caused by ESYNC, but invoking
WINEESYNC=0 DRI_PRIME=1 wine explorer /desktop=foo,1280x720 .wine/drive_c/Program\ Files\ \(x86\)/Just\ Cause\ 2/JustCause2.exe
doesn't seem to fix it -> Unrelated to esync?