https://bugs.winehq.org/show_bug.cgi?id=43641
Bug ID: 43641 Summary: World of Warcraft crashes when liquid details are more than low Product: Wine Version: 2.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: theodorstormgrade@googlemail.com Distribution: ---
Created attachment 59065 --> https://bugs.winehq.org/attachment.cgi?id=59065 log with +tid,seh,virtual
As the title says wow crashes for me when loading water/liquid when the settings are set to more than low for this.
wow version: 7.3 build 24931. Using the overwatch staging branch.
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #1 from Bjoern Bidar theodorstormgrade@googlemail.com --- Created attachment 59066 --> https://bugs.winehq.org/attachment.cgi?id=59066 wow crash info from blizzard
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #2 from Bjoern Bidar theodorstormgrade@googlemail.com --- the graphics backend is direct x 3d 9. game is the x86_64.
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- Can you also try to disable nvapi64.dll?
If that doesn't make any difference, please attach a +tid,seh,d3d9,d3d,d3d_shader trace of the crash.
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #4 from Bjoern Bidar theodorstormgrade@googlemail.com --- Disabled nvapi64 didn't helped.
Log with +tid,seh,d3d9,d3d,d3d_shader: https://www.dropbox.com/s/y5d3wg6x41g02wj/wow_tid_seh_d3d9_d3d_d3d_shader.xz...
https://bugs.winehq.org/show_bug.cgi?id=43641
Jen garputhefork@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |garputhefork@gmail.com
--- Comment #5 from Jen garputhefork@gmail.com --- Disabled nvapi64, as well. Ironically, one of the places I always crash is when I'm loading water (above Stormwind keep.)
Link to +tid,seh,d3d9,d3d,d3d_shader log (warning 900MB when uncompressed): https://www.dropbox.com/s/wquskssks1ramlb/winedebuglog.tar.tz?dl=0
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #6 from Jen garputhefork@gmail.com --- OK. I set my fluid detail to "low" (it was at good or fair when I crashed) and I'm able to play normally. I haven't crashed yet in any of the places I normally do. (I was set to fair quality before 7.3, so something changed in the patch.)
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Jen from comment #5)
Disabled nvapi64, as well. Ironically, one of the places I always crash is when I'm loading water (above Stormwind keep.)
Given that it only crashes on certain water quality settings that's probably not a coincidence :)
Looking at the trace from Bjoern, this part looks relevant:
0009:trace:d3d9:d3d9_device_CreateVolumeTexture Created volume texture 0x4293098 0. 0009:trace:d3d9:d3d9_texture_3d_LockBox iface 0x42930980, level 0, locked_box 0x 23dc60, box (nil), flags 0x2000. 0009:trace:d3d:wined3d_texture_get_sub_resource_parent texture 0x429309d0, sub_r esource_idx 0. 0009:trace:d3d9:d3d9_surface_PreLoad iface 0x42930ed0. 0009:trace:d3d:wined3d_texture_get_resource texture 0x429309d0. 0009:trace:seh:NtRaiseException code=c0000005 flags=0 addr=0x140dcad19 ip=140dca d19 tid=0009
Specifically the call to d3d9_surface_PreLoad(), apparently from d3d9_texture_3d_LockBox(), doesn't seem right. With plain Wine there should be a call to IDirect3DVolume9_LockBox() there instead. It turns out LockBox() is the 10th entry in IDirect3DVolume9's vtable, exactly the same spot as PreLoad() in IDirect3DSurface9.
It looks to me like Wine, for some reason, is creating surface subresources instead of volumes. I don't see how that could happen with the code in upstream Wine so I'd blame some change in staging or (more likely) in the overwatch tree.
https://bugs.winehq.org/show_bug.cgi?id=43641
James Coonradt gamax92@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gamax92@aol.com
--- Comment #8 from James Coonradt gamax92@aol.com --- Is it possible it's related to this commit in the overwatch patches? https://bitbucket.org/awesie/wine-overwatch/commits/c218450374b8fd4926ae0403...
I'm noticing the change from volume to surfaces in sub resources.
https://bugs.winehq.org/show_bug.cgi?id=43641
--- Comment #9 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to James Coonradt from comment #8)
Is it possible it's related to this commit in the overwatch patches? https://bitbucket.org/awesie/wine-overwatch/commits/ c218450374b8fd4926ae0403d7fa56ef79b7ddac
I'm noticing the change from volume to surfaces in sub resources.
Yeah, I don't see how that can work.
https://bugs.winehq.org/show_bug.cgi?id=43641
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #10 from Matteo Bruni matteo.mystral@gmail.com --- Let's resolve this bug, the problematic code was only in a few "external" branches which, AFAIU, aren't currently used anymore to play WoW.
https://bugs.winehq.org/show_bug.cgi?id=43641
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Closing