https://bugs.winehq.org/show_bug.cgi?id=51238
Bug ID: 51238 Summary: regression: World of Warships fails with wined3d_deferred_context_* functions available. Product: Wine Version: 6.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: janbraun@gmx.net Regression SHA1: 60027fcc23e665fdd073e5fbe33bdd4850cd9e84 Distribution: ---
Created attachment 70109 --> https://bugs.winehq.org/attachment.cgi?id=70109 hack removing deferred context support
Since wine6.10, World of Warships crashes with a dialog box """ A critical error has occurred The error information was collected to the Reports folder Use the link below for support [Restart] [Terminate] """ upon game start (on the black screen, before displaying the WoWS logo). The Report data suggests "crash_type": "unhandled_exception" "code_of_exception": 3221225477.
Bisecting points to 60027fcc23e665fdd073e5fbe33bdd4850cd9e84, which doesn't revert cleanly. But simply removing the wined3d_deferred_context_* functions (see attached patch/hack) allows WoWS to work normally again.
Diffing the WINEDEBUG=trace+d3dx logs shows they diverge after the line "fixme:d3d11:d3d11_device_CheckFeatureSupport Returning fake threading support data." The stock version prints a few variations of "fixme:d3d:wined3d_deferred_context_update_sub_resource context 0x262ef030, resource 0x23ccc360, sub_resource_idx 0, box (0, 0, 0)-(20, 20, 1), data 0x1bd92000, row_pitch 80, slice_pitch 1600, stub!" , and then goes on to spam the _Locinfo__Locinfo_ctor_cat_cstr FIXME (possibly while building the dialog box). The hacked version instead spams complaints about "err:d3d:state_undefined Undefined state UNKNOWN_STATE(0) (0)." , but continues working until I kill the window when the logo is rendered.
Everything above was tested on git revision aadcff491fc9d823a90cee567c8e1d55cd9a589b in a prefix with winetricks corefonts vcrun2013 win10.