Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guild Wars 2 - Crash at startup #82

Closed
Elevate08 opened this issue Jul 29, 2020 · 17 comments
Closed

Guild Wars 2 - Crash at startup #82

Elevate08 opened this issue Jul 29, 2020 · 17 comments
Assignees
Labels
mesa Needs to be fixed in the mesa tree

Comments

@Elevate08
Copy link

Guild Wars 2 just released a new patch and now with Gallium Nine enabled i'm unable to get into the game. There is a d9d12pxy that Windows users use that was affected as well.

Previous to the patch they released yesterday the game was working fine for me with Gallium Nine enabled.

When Gallium Nine is disabled, the game works again.

I launch the game, receive the login screen, once I click Play to load into the character screen it crashes before ever displaying the characters.

[elevate@stanley ~/Games/guild-wars-2/drive_c/GW2]$ taskset -c 8-15 wine /home/elevate/Games/guild-wars-2/drive_c/GW2/GW2.exe -dx9single -autologin -mapLoadinfo
WARNING: radv is not a conformant vulkan implementation, testing use only.
00bc:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00bc:warn:debugstr:OutputDebugStringA "apitrace: loaded into C:\\GW2\\GW2.exe\n"
apitrace: loaded into C:\GW2\GW2.exe
00bc:warn:debugstr:OutputDebugStringA "apitrace: tracing to d3d9.trace\n"
apitrace: tracing to d3d9.trace
Native Direct3D 9 v0.6.0.360-devel is active.
For more information visit https://github.com/iXit/wine-nine-standalone
00bc:warn:debugstr:OutputDebugStringA "apitrace: unloaded from C:\\GW2\\GW2.exe\n"
apitrace: unloaded from C:\GW2\GW2.exe
00bc:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
fixme:d3d9nine:D3DPERF_GetStatus (void) : stub
0140:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
01b8:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
Native Direct3D 9 v0.6.0.360-devel is active.
For more information visit https://github.com/iXit/wine-nine-standalone
Native Direct3D 9 v0.6.0.360-devel is active.
For more information visit https://github.com/iXit/wine-nine-standalone
0124:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
Native Direct3D 9 v0.6.0.360-devel is active.
For more information visit https://github.com/iXit/wine-nine-standalone
Native Direct3D 9 v0.6.0.360-devel is active.
For more information visit https://github.com/iXit/wine-nine-standalone
fixme:d3d9nine:DRIPresentGroup_GetMultiheadCount (0x5ceff60), stub!
fixme:d3d9nine:DRIPresentGroup_GetMultiheadCount (0x5ceff60), stub!
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
nine:nine_state_copy_common_all Fixed function state not handled properly by StateBlocks.
fixme:d3d9nine:D3DPERF_GetStatus (void) : stub
2.exe: ../mesa/src/gallium/drivers/radeonsi/si_descriptors.c:712: si_set_shader_image_desc: Assertion `!tex->is_depth' failed.
0278:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

I believe the important piece is this line:

2.exe: ../mesa/src/gallium/drivers/radeonsi/si_descriptors.c:712: si_set_shader_image_desc: Assertion `!tex->is_depth' failed.

Here is a trace file, I don't think it's much help though.

https://drive.google.com/file/d/10ntosQ01HpRr2v7ax2X-XQ6UzM4Jxwyz/view?usp=sharing

@axeldavy
Copy link
Collaborator

Indeed the trace is not useful. It would be better to have a trace with gallium nine disabled if replaying the trace with nine does cause the same crash.
Alternatively, the log with NINE_DEBUG=all would be useful, but assertions (or debug) needs to be enabled in the mesa build (which is not default by mesa built by distros usually).

@Elevate08
Copy link
Author

Elevate08 commented Jul 29, 2020

Is there a way for me to determine if the mesa build I have installed has it enabled?

I'm using mesa-git from lcarlier's arch repo.
installed package: mesa-git-1:20.2.0_devel.126605.c7626ac8ba8-1

I've run the trace again with the NINE_DEBUG=all set (with and without gallium nine enabled). In hopes that my mesa version has debug enabled.

Both traces should be in here:
https://drive.google.com/drive/folders/1htLGANcfqFYmHCjzIddMjHVSkdAf-83X?usp=sharing

Edit: I actually didn't set that NINE_DEBUG, re running trace real quick - will have new traces in a few minutes

@axeldavy
Copy link
Collaborator

The trace on wined3d replays fine on gallium nine. So there are some difference in the game's behaviour between the two for some reasons. If you set NINE_DEBUG=all the log produced would be useful (in your terminal before the assertion failure you would have infos that could be used to deduce which call failed).

@Elevate08
Copy link
Author

I have generated the log file and placed it in the same share as above.

@axeldavy
Copy link
Collaborator

looks like the game tries to create a D3DFMT_INTZ render target after wrongfully being told it can create such a render target.
Maybe the bug is in radeonsi (which likely was ok when we queried if it was possible) or nine (which didn't make it clear enough maybe to radeonsi what was queried ?) I'll investigate further when I'm back from holidays.

@axeldavy
Copy link
Collaborator

axeldavy commented Aug 4, 2020

I've prepared a small patch that should fix the issue. Would you test it ? Would you rather like a mesa branch to test ? Or would you rather wait it gets into the next mesa release.

@Elevate08
Copy link
Author

I should be able to test it. It will be my first time compiling mesa but I will give it a shot.
I have mesa cloned from gitlab and have checked out the current commit I have installed.

mesa-95db96d75b4

I think I could apply your patch from this state and then proceed with compiling?

@axeldavy
Copy link
Collaborator

axeldavy commented Aug 4, 2020

Ok, here it is
0001-st-nine-Do-not-allow-depth-buffer-render-targets.zip

git am thefile.patch

@Elevate08
Copy link
Author

Elevate08 commented Aug 4, 2020

Ok - I hope I built this right. There is a new log file in the share. (I don't see any reference to D3DFMT_INTZ in this new one)

They have released a couple patches since I opened this issue here. I'll re-install the mesa-git from aur and run another log to see if there is any difference between the patched version and the one released to aur. So there is something to compare using the latest release of the game (Unfortunately, I can't stop the game from receiving patches :/)

Edit: Both files are uploaded: gallium-errror = patched mesa, gallium-error-aur = mesa-git from lcarlier's arch repo (this is assuming i've successfully installed the patched mesa I compiled manually)

Doing a diff on the 2 files shows a lot of differences but that's anecdotal.

@axeldavy
Copy link
Collaborator

axeldavy commented Aug 5, 2020

Thanks.
I do not see any report of errors in the last log, except mentions of the issue mentioned in #83. I guessed we shifted from a bug to another.

@Elevate08
Copy link
Author

Alright, I can roll back to a previous wine version if you would like to see those logs.

@dhewg dhewg added the mesa Needs to be fixed in the mesa tree label Aug 15, 2020
@dhewg
Copy link
Collaborator

dhewg commented Aug 15, 2020

@axeldavy the mesa patch looks like a nice little bugfix, merge it?

@Elevate08
Copy link
Author

I have updated mesa to the mesa-9e5e3be4122 commit and have the latest version of wine-nine. It doesn't appear the mesa commit i'm on has the patch @axeldavy created, but it is working correctly now.

@Mel34
Copy link

Mel34 commented Jan 6, 2021

I'm still getting a crash as described in the initial bug report with the patch applied to mesa master and 20.3 branch.
This is on AMD rx580 w/4 gb ram gpu.
This is what game spews out when it crashes upon hitting play:

*--> Crash <--*
Assertion: !FAILED(result), result = 0x8876086c 
File: ..\..\..\Engine\Gr\Dx9\Dx9Dev.cpp(1007)
App: Gw2-64.exe 
Pid: 264
BaseAddr: 0000000140000000
ProgramId: 101
Build: 110146
When: 2021-01-06T13:48:56Z 2021-01-06T14:48:56+01:00
Uptime:   0 days  0:00:10
Flags: 0
DumpFile: Crash.dmp

*--> System <--*
Name: 11a7b465
IpAddr: 192.168.1.2
Processors: 4 [GenuineIntel:6:12:3]
OSVersion: Wine 5.22 (64 bit)

*--> System Memory <--*
Physical: 12504MB/15954MB  78%
Paged:    12504MB/15954MB  78%
Virtual:  134217727MB/134217727MB  3%
Load: 21%
CommitTotal:   3460MB
CommitLimit:  15954MB
CommitPeak:       0MB
SystemCache:      0MB
HandleCount:   1088
ProcessCount:     9
ThreadCount:     59

*--> Process Memory <--*
Private:            0MB
WorkingSet:       353MB
PeakWorkingSet:   396MB
PageFaults:         0

*--> Memory Category Usage (Inclusive) <--*
[Category]              [Size(MB)]  [Count]     
Root                    110.80      8610        
Programmer Data         60.25       2459        
Uncategorized           44.11       5396        
I/O                     30.10       538         
Archive                 28.79       38          
Collections             26.70       1661        
Dictionary              26.09       44          
Collide                 6.45        755         
Collide Havok           6.45        755         
Engine                  3.10        16          
Gr                      3.08        8           
File Service            1.24        12          
BTree                   0.19        24          
Networking              0.14        25          
Event                   0.13        5           
Asset Service           0.07        485         
Gr Umbra                0.06        2           
Game                    0.05        56          
Msg                     0.02        10          
Content                 0.02        1           
DDI                     0.02        2           
Threading               0.01        14          
Model-Programmer        0.01        1           
Install                 0.00        30          

*--> Memory Category Usage (Exclusive) <--*
[Category]              [Size(MB)]  [Count]     
Uncategorized           44.11       5396        
Archive                 28.79       38          
Dictionary              26.09       44          
Collide Havok           6.45        755         
Gr                      3.00        2           
File Service            1.24        12          
Collections             0.43        1592        
BTree                   0.19        24          
Event                   0.13        5           
Networking              0.12        15          
Asset Service           0.07        485         
Gr Umbra                0.06        2           
Game                    0.03        46          
Msg                     0.02        10          
Content                 0.02        1           
DDI                     0.02        2           
Threading               0.01        14          
Model-Programmer        0.01        1           
Install                 0.00        30          
Engine                  0.00        3           
Web Browser             0.00        10          
Platform                0.00        65          
CharClient              0.00        5           
Services                0.00        11          

*--> DllList <--*
0000000140000000 - Z:\mnt\EVO850\Guild Wars 2\Gw2-64.exe
000000007BC00000 - C:\windows\system32\ntdll.dll
000000007B600000 - C:\windows\system32\kernel32.dll
000000007B000000 - C:\windows\system32\kernelbase.dll
00007FB0F5AE0000 - C:\windows\system32\wow64cpu.dll
000000006EB00000 - C:\windows\system32\USER32.dll
0000000061540000 - C:\windows\system32\advapi32.dll
000000006BA00000 - C:\windows\system32\sechost.dll
0000000070940000 - C:\windows\system32\ucrtbase.dll
000000006C7C0000 - C:\windows\system32\gdi32.dll
000000006BAC0000 - C:\windows\system32\setupapi.dll
0000000062DC0000 - C:\windows\system32\rpcrt4.dll
0000000063280000 - C:\windows\system32\version.dll
00007FB0F4BC0000 - C:\windows\system32\WS2_32.dll
0000000065380000 - C:\windows\system32\WTSAPI32.dll
000000006A200000 - C:\windows\system32\WINMM.dll
000000006F2C0000 - C:\windows\system32\WINTRUST.dll
000000006E6C0000 - C:\windows\system32\crypt32.dll
0000000066040000 - C:\windows\system32\bcrypt.dll
0000000067640000 - C:\windows\system32\PSAPI.DLL
0000000000220000 - C:\windows\system32\ole32.dll
0000000068300000 - C:\windows\system32\combase.dll
0000000064CC0000 - C:\windows\system32\OLEAUT32.dll
00007FB0F4140000 - C:\windows\system32\SHELL32.dll
0000000064840000 - C:\windows\system32\shlwapi.dll
00000000639C0000 - C:\windows\system32\shcore.dll
0000000068C00000 - C:\windows\system32\aclui.dll
000000006CA40000 - C:\windows\system32\comctl32.dll
0000000071000000 - C:\windows\system32\imm32.dll
0000000069E40000 - C:\windows\system32\MSACM32.dll
0000000000340000 - C:\windows\system32\gdiplus.dll
000000006A840000 - C:\windows\system32\USP10.dll
0000000070C80000 - C:\windows\system32\MSIMG32.dll
00007FB0F40E0000 - C:\windows\system32\Secur32.dll
00007FB0F4090000 - C:\windows\system32\netapi32.dll
00007FB0F4060000 - C:\windows\system32\iphlpapi.dll
00007FB0F4030000 - C:\windows\system32\dnsapi.dll
00007FB0F2860000 - C:\windows\system32\winex11.drv
0000000068500000 - C:\windows\system32\uxtheme.dll
00007FB0F3B50000 - C:\windows\system32\Kerberos.dll
000000006DC80000 - C:\windows\system32\api-ms-win-core-synch-l1-2-0.dll
000000006AA80000 - C:\windows\system32\api-ms-win-core-fibers-l1-1-1.dll
0000000062980000 - C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll
000000006F880000 - C:\windows\system32\dbghelp.dll
000000006EF40000 - C:\windows\system32\api-ms-win-appmodel-runtime-l1-1-1.dll
00000000695C0000 - C:\windows\system32\ddraw.dll
00007FB0F0810000 - C:\windows\system32\wined3d.dll
000000007A850000 - C:\windows\system32\opengl32.dll
0000000002090000 - C:\windows\system32\gameux.dll
000000006FEC0000 - C:\windows\system32\api-ms-win-core-sysinfo-l1-2-1.dll
000000006F700000 - C:\windows\system32\msctf.dll
00007FB0CCBF0000 - C:\windows\system32\windowscodecs.dll
0000000069740000 - C:\windows\system32\propsys.dll
0000000180000000 - Z:\mnt\EVO850\Guild Wars 2\bin64\CoherentUI64.dll
00007FB0E0090000 - C:\windows\system32\d3d9.dll
00007FB0E0070000 - C:\windows\system32\nvapi64.dll
0000000004860000 - C:\windows\system32\d3d11.dll
00007FB0E0020000 - C:\windows\system32\dxgi.dll
00000000680C0000 - C:\windows\system32\dsound.dll
0000000062C80000 - C:\windows\system32\wbem\wbemprox.dll
00007FB0CC040000 - C:\windows\system32\winspool.drv
0000000068B00000 - C:\windows\system32\localspl.dll
0000000063E40000 - C:\windows\system32\spoolss.dll
0000000067D40000 - C:\windows\system32\wineps.drv
0000000067B40000 - C:\windows\system32\mmdevapi.dll
00007FB0901F0000 - C:\windows\system32\winepulse.drv
000000006B900000 - C:\windows\system32\msvfw32.dll
00007FB060710000 - C:\windows\system32\winealsa.drv
000000006FE40000 - C:\windows\system32\msacm32.drv
00000000659C0000 - C:\windows\system32\midimap.dll

*--> Game Context <--*
MapId: 0
Flags: 0x241
ElapsedTime: 00:00:09

*--> World State <--*
<WorldState />

[DbgHelp.dll is C:\windows\system32\dbghelp.dll]
[DbgHelp.dll version 6.1.7601.17514 (64/32-bit compatible)]

*--> ClientContextThreadProc Thread 0x150 <--*

*--> Trace <--*
Pc                Rt                : Args
00000001`40193e2c 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40240168 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`402259b3 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`402277a0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb9fc05 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eba1e39 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb59416 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb5e79c 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb5e9b9 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb95f18 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`6eb8f96f 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40225306 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40223740 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`401d5f60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`401d643d 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4019ba2d 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40198bfd 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40b2f125 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4049f816 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40497b9b 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40171923 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40364c6e 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40362eac 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`40362b29 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`403641bf 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4036252c 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4018a9c1 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031b5f9 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`7b62cc89 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`7bc5a063 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`00000000 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000001`4031b59c 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`02650690 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
00000000`00000000 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 

*--> Thread registers <--*
rax=0000000000000001 rbx=00000001416237b0 rcx=0000000003cae920
rdx=00000001416237b0 rsi=00000000000003ef rdi=0000000003caee40
rip=0000000140193dcd rsp=0000000003cae8c0 rbp=0000000000000001
 r8=00000000000003ef  r9=0000000140000000 r10=0000000003caeb30
r11=0000000003caed70 r12=0000000000000001 r13=0000000000000001
r14=0000000003caf520 r15=0000000000030066
cs=0033 ss=002b ds=0000 es=0000 fs=0000 gs=0000 efl=00000202

rbx-32 0000000141623790  00730073`0061006c 00000000`00000000 00000002`00000000 00000004`00000003 
rbx +0 00000001416237B0  2e2e5c2e`2e5c2e2e 5c656e69`676e455c 445c3978`445c7247 70632e76`65443978 
rbx+32 00000001416237D0  00000000`00000070 616f6c6e`5562696c 00000000`00646564 73206574`61647055 
rcx-32 0000000003CAE900  00000001`40193dcd 00000000`03cae8c0 00000000`00000001 00000000`fffffff9 
rcx +0 0000000003CAE920  00000000`03ca0000 00000000`03caeb30 00000000`00000008 00000000`03cae9b0 
rcx+32 0000000003CAE940  00000000`03cae9b0 00000000`7097a705 00009fa0`0010000f 00000000`00000033 
rdx-32 0000000141623790  00730073`0061006c 00000000`00000000 00000002`00000000 00000004`00000003 
rdx +0 00000001416237B0  2e2e5c2e`2e5c2e2e 5c656e69`676e455c 445c3978`445c7247 70632e76`65443978 
rdx+32 00000001416237D0  00000000`00000070 616f6c6e`5562696c 00000000`00646564 73206574`61647055 
 r9-32 000000013FFFFFE0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 
 r9 +0 0000000140000000  00000003`00905a4d 0000ffff`00000004 00000000`000000b8 00000000`00000040 
 r9+32 0000000140000020  00000000`00000000 00000000`00000000 00000000`00000000 00000178`00000000 

*--> Code <--*
00000001`40193dad  488bf941 8bf0488d 0da6e7d1 01488bda H..A..H......H..
00000001`40193dbd  e88e70fe ff488d4c 2460ff15 6ba54001 ..p..H.L$`..k.@.
00000001`40193dcd  488b8424 58010000 4c8d0584 d5410148 H..$X...L....A.H
00000001`40193ddd  89442440 4885db48 8b8424f8 00000044 .D$@H..H..$....D
00000001`40193ded  8bce4889 4424484c 0f45c348 8b842400 ..H.D$HL.E.H..$.
00000001`40193dfd  01000048 8bd74889 44245033 c9488d44 ...H..H.D$P3.H.D

*--> Stack <--*
00000000`03cae8c0  00000000`00000024 00000000`00000000 00000000`03cae8b0 00007fb0`8c281c50 $.......................P.(.....
00000000`03cae8e0  00000000`03cae900 00000000`03cae920 00000000`00000000 00000001`4162a727 ........ ...............'.bA....
00000000`03cae900  00000001`40193dcd 00000000`03cae8c0 00000000`00000001 00000000`fffffff9 .=.@............................
00000000`03cae920  00000000`03ca0000 00000000`03caeb30 00000000`00000008 00000000`03cae9b0 ........0.......................
00000000`03cae940  00000000`03cae9b0 00000000`7097a705 00009fa0`0010000f 00000000`00000033 ...........p............3.......
00000000`03cae960  00000202`002b0000 00000000`00000000 00000000`00000000 00000000`00000000 ..+.............................
00000000`03cae980  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000001 ................................
00000000`03cae9a0  00000000`03cae920 00000001`416237b0 00000001`416237b0 00000000`03cae8c0  ........7bA.....7bA............
00000000`03cae9c0  00000000`00000001 00000000`000003ef 00000000`03caee40 00000000`000003ef ................@...............
00000000`03cae9e0  00000001`40000000 00000000`03caeb30 00000000`03caed70 00000000`00000001 ...@....0.......p...............
00000000`03caea00  00000000`00000001 00000000`03caf520 00000000`00030066 00000001`40193dcd ........ .......f........=.@....
00000000`03caea20  00000000`0000027f 00000000`00000000 00000000`00000000 0000ffff`00009fa0 ................................
00000000`03caea40  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caea60  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caea80  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeaa0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeac0  00000000`00000000 00000000`00000000 00000002`10250001 00000000`001f7e74 ..................%.....t~......
00000000`03caeae0  00000034`00000033 00000036`00000035 0000002c`0000002b 0000002e`0000002d 3...4...5...6...+...,...-.......
00000000`03caeb00  00000037`00000036 00000039`00000038 0000002f`0000002e 00000031`00000030 6...7...8...9......./...0...1...
00000000`03caeb20  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeb40  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeb60  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeb80  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caeba0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caebc0  00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................
00000000`03caebe0  00000000`00000000 00000000`00000000 00000000`00000008 00000000`00000000 ................................
00000000`03caec00  00000000`00030066 00000000`09e9cde0 00000000`03caed28 00007fb0`f5838e55 f...............(.......U.......
00000000`03caec20  00000033`0000000e 00000000`00000000 00000000`00000000 00000000`00000000 ....3...........................
00000000`03caec40  00000077`0000005b 00000000`00000000 00000000`028531e8 00000000`03caed88 [...w............1..............
00000000`03caec60  00000000`00000000 00000000`028531e0 00000000`028531e8 00000000`03caf520 .........1.......1...... .......
00000000`03caec80  00000000`00030066 00007fb0`e009caa7 00000000`00000000 00000000`00000000 f...............................
00000000`03caeca0  00000000`00000000 00000000`00000000 0065006e`00690057 00310031`00580020 ................W.i.n.e. .X.1.1.

Here's a trace
d3d9.trace.zip

@axeldavy
Copy link
Collaborator

Thanks for the the report.
Unfortunately the trace contains only 3 calls. Maybe something else crashes the game ?
Definitely it used to go further than that.

axeldavy added a commit to iXit/Mesa-3D that referenced this issue Feb 4, 2021
Without the proposed check, some apps will decide to use depth buffers
as render targets.

Bug found investigating:
iXit/wine-nine-standalone#82

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
@Elevate08
Copy link
Author

For what it's worth, the game is still running great for me. I'm currently on the following wine and mesa versions:

wine-6.1 (Staging)
mesa-git 1:21.1.0_devel.134713.7008e6558a8-1

@Mel34
Copy link

Mel34 commented Feb 11, 2021

For what it's worth, the game is still running great for me. I'm currently on the following wine and mesa versions:

wine-6.1 (Staging)
mesa-git 1:21.1.0_devel.134713.7008e6558a8-1

Thanks for the reply, I've not tried the mesa-git yet, but even with a fresh wine prefix I'm getting the same crash. My mesa is standard issue from arch testing repo. I'm also on wine-6.1 staging, but this has been going on for a number of wine versions now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mesa Needs to be fixed in the mesa tree
Projects
None yet
Development

No branches or pull requests

4 participants