[Bug 44089] New: Strider crashes after loading screen
https://bugs.winehq.org/show_bug.cgi?id=44089 Bug ID: 44089 Summary: Strider crashes after loading screen Product: Wine Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs(a)winehq.org Reporter: strider(a)strycore.com Distribution: --- Created attachment 59805 --> https://bugs.winehq.org/attachment.cgi?id=59805 backtrace of the crash While the main menu works fine, when starting a game, the game crashes. This is a regression that started in Wine Staging 2.16, when the deferred context patch (https://dev.wine-staging.com/patches/181/) was introduced. I had a build of Wine Staging 2.15 with that patch enabled and I noticed crashes starting with that build and onward until the latest tested, Staging 2.21. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |-unknown Product|Wine |Wine-staging CC| |erich.e.hoover(a)wine-staging | |.com, | |joseph.kucia(a)gmail.com, | |michael(a)fds-team.de, | |sebastian(a)fds-team.de Version|2.21 |2.16 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 --- Comment #1 from Mathieu Comandon <strider(a)strycore.com> --- Created attachment 59806 --> https://bugs.winehq.org/attachment.cgi?id=59806 Console output -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Kimmo Myllyvirta <kimmo.myllyvirta(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kimmo.myllyvirta(a)gmail.com --- Comment #2 from Kimmo Myllyvirta <kimmo.myllyvirta(a)gmail.com> --- Created attachment 59809 --> https://bugs.winehq.org/attachment.cgi?id=59809 hack for wine 2.21 staging 0024-d3d11-Implement-CopySubresourceRegion-for-deferred-c.patch breaks it. The game doesn't use deferred CopySubresourceRegion, but the patch unintentionally changes the alignment of the mapped pointer in d3d11_deferred_context_Map. D3D11_MAPPED_SUBRESOURCE, pData must be 16 byte aligned with feature level >=10, some games rely on it in their SSE optimized code. This was never handled properly in d3d11_deferred_context_Map. It should not crash with the attached patch. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 --- Comment #3 from Mathieu Comandon <strider(a)strycore.com> --- Thanks Kimmo! I can confirm that the patch fixes the crash, a build is available here for those who wish to test it: https://lutris.net/files/runners/wine-strider-2.21-x86_64.tar.gz -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Zachary J <zakarjor(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zakarjor(a)yahoo.com --- Comment #4 from Zachary J <zakarjor(a)yahoo.com> --- I can confirm that this patch by Kimmo also fixes the crash in Dead Rising 3 for Steam. Also confirming that Strider works without crash. Running wine-stage 3.6 x86_64 patched. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |leslie_alistair(a)hotmail.com Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/d3d11-Deferred_C | |ontext -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Resolution|--- |FIXED Fixed by SHA1| |b305d85b78365681ecc05fc1318 | |a9cc5059b3792 Status|STAGED |RESOLVED Staged patchset|https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/d3d11-Deferred_C | |ontext | --- Comment #5 from Zebediah Figura <z.figura12(a)gmail.com> --- Resolving as fixed by <https://github.com/wine-staging/wine-staging/commit/b305d85b78365681ecc05fc1318a9cc5059b3792>. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=44089 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Zebediah Figura <z.figura12(a)gmail.com> --- Closing bugs fixed in wine-staging 3.10. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla