[Bug 40291] Borderlands crashes when forced DirectX 9 using -DX9

WineHQ Bugzilla wine-bugs at winehq.org
Tue Apr 28 17:00:49 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=40291

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
                 CC|                            |focht at gmx.net
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

I can't reproduce this with Wine 1.9.4 the bug was reported with. I've tested
with Nvidia gpu / driver and Intel gpu (via Mesa).

It's likely that OP had a broken hw/sw setup. Resolving 'WORKSFORME' here.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Games/Borderlands/Game/Binaries

$ wine ./Borderlands.exe -DX9
...
--- snip ---

Tidbit #1:

There is a crash on startup if 'PhysX' is missing. Some scene
installers/repacked "game of the year" editions I've tested with don't bundle
it. Before you ask ... same "test environment" as OP: backtrace shows
"Borderlands.GOTY.Edition-KaOs". Go figure.

--- snip ---
...
0024:Call msvcr90._wcsicmp(08d99b40
L"..\\WillowGame\\Config\\WillowEngine.ini",09313b50
L"..\\WillowGame\\Config\\WillowEngine.ini") ret=0042f8ac
0024:Ret  msvcr90._wcsicmp() retval=00000000 ret=0042f8ac
...
0024:Call msvcr90._wcsicmp(05f44c00 L"bDisablePhysXHardwareSupport",08e97dc0
L"bDisablePhysXHardwareSupport") ret=0042f8ac
0024:Ret  msvcr90._wcsicmp() retval=00000000 ret=0042f8ac 
...
0024:Call KERNEL32.LoadLibraryW(01b521f8 L"PhysXLocal/PhysXLoader.dll")
ret=00aae416 
...
0024:Ret  PE DLL (proc=0x9a21400,module=0x9a20000
L"PhysXLoader.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
...
0024:Ret  KERNEL32.LoadLibraryW() retval=09a20000 ret=00aae416
...
0024:Call KERNEL32.LoadLibraryA(01db5710 "PhysXLoader.dll") ret=018b3fe4
...
0024:Ret  KERNEL32.LoadLibraryA() retval=09a20000 ret=018b3fe4
...
0024:Call KERNEL32.GetProcAddress(09a20000,01ebc5c6 "NxGetCookingLib")
ret=018b40bb
0024:Ret  KERNEL32.GetProcAddress() retval=09a2a540 ret=018b40bb
...
0024:Call advapi32.RegOpenKeyExA(80000002,09a2c3fc "Software\\NVIDIA
Corporation\\PhysX\\Runtimes",00000000,00020219,0287f344) ret=09a2a2e8 
...
0024:Ret  advapi32.RegOpenKeyExA() retval=00000002 ret=09a2a2e8
...
0024:Call advapi32.RegOpenKeyExA(80000002,09a2c428 "Software\\Ageia
Technologies",00000000,00020219,0287f344) ret=09a2a2e8
...
0024:Ret  advapi32.RegOpenKeyExA() retval=00000002 ret=09a2a2e8
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0xaae5fa ip=00aae5fa
tid=0024
0024:trace:seh:raise_exception  info[0]=00000000
0024:trace:seh:raise_exception  info[1]=00000000
0024:trace:seh:raise_exception  eax=00000000 ebx=00000000 ecx=0287fbec
edx=08e088f0 esi=08da75c0 edi=08e088f0
0024:trace:seh:raise_exception  ebp=00110cf4 esp=0287fba8 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010216
0024:trace:seh:call_stack_handlers calling handler at 0x19956b8 code=c0000005
flags=0
0024:trace:seh:call_stack_handlers handler at 0x19956b8 returned 1
0024:trace:seh:call_stack_handlers calling handler at 0x198dd94 code=c0000005
flags=0
0024:trace:seh:call_stack_handlers handler at 0x198dd94 returned 1
0024:trace:seh:call_stack_handlers calling handler at 0x198dde6 code=c0000005
flags=0
0024:trace:seh:call_stack_handlers handler at 0x198dde6 returned 1
0024:trace:seh:call_stack_handlers calling handler at 0x17db95f code=c0000005
flags=0
0024:Call
msvcr90._except_handler4_common(01f131c0,017db538,0287fb50,0287fe90,0287f884,0287f83c)
ret=017db97f
0024:trace:seh:_except_handler4_common exception c0000005 flags=0 at 0xaae5fa
handler=0x17db95f 0x287f884 0x287f83c cookie=32eac016 scope table=0x1e95840
cookies=-2/0,-44/0
0024:trace:seh:_except_handler4_common level 0 prev -2 filter 0x13922d7
0024:Call KERNEL32.CreateFileW(01fe6638 L"C:\\users\\focht\\My Documents\\My
Games\\Borderlands\\Binaries\\..\\WillowGame\\Logs\\unreal-v4875-2020.04.28-23.34.52.dmp",40000000,00000000,00000000,00000002,00000080,00000000)
ret=0138cd29
0024:Call ntdll._wcsicmp(01fe6638 L"C:\\users\\focht\\My Documents\\My
Games\\Borderlands\\Binaries\\..\\WillowGame\\Logs\\unreal-v4875-2020.04.28-23.34.52.dmp",7b05508a
L"CONIN$") ret=7b00f05e
0024:Ret  ntdll._wcsicmp() retval=ffffffcb ret=7b00f05e
...
--- snip ---

-> 'winetricks -q physx' fixes this.

Tidbit #2:

Comment #1 referenced bug #23807 due to:

--- snip ---
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24)
WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the
format lookup table
--- snip ---

These messages are harmless and indicate no problem.

$ wine --version
wine-1.9.4

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list