https://bugs.winehq.org/show_bug.cgi?id=43815
Bug ID: 43815 Summary: Danganronpa V3: crash after first scene (bugs in wine-staging's d3d11 deferred context support) Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: smelenchuk@gmail.com Distribution: ---
Created attachment 59361 --> https://bugs.winehq.org/attachment.cgi?id=59361 Crash log
Steps to reproduce: - After setting up Danganronpa V3 per #43814, play the game through the first scene.
Expected results: - Game continues to play.
Actual results: - Crash per log.
Additional notes: I've traced this back to a bug in wine-staging's d3d11 deferred context support - the attached patch allows the game to run past this point.
https://bugs.winehq.org/show_bug.cgi?id=43815
--- Comment #1 from sgrunt smelenchuk@gmail.com --- Created attachment 59362 --> https://bugs.winehq.org/attachment.cgi?id=59362 Patch to resolve the crash
Patch to resolve the crash - uses the same behaviour as the immediate context version of these functions.
https://bugs.winehq.org/show_bug.cgi?id=43815
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Gentoo Keywords| |patch CC| |wylda@volny.cz
https://bugs.winehq.org/show_bug.cgi?id=43815
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Component|directx-d3dx11 |-unknown Product|Wine |Wine-staging
--- Comment #2 from Michael Müller michael@fds-team.de --- I have submitted a patch to fix the issue: https://dev.wine-staging.com/patches/200/
https://bugs.winehq.org/show_bug.cgi?id=43815
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Michael Müller michael@fds-team.de --- The patch has been added in Wine Staging 2.18. Closing the bug as FIXED.
Please reopen it again when it does not work for you.
https://bugs.winehq.org/show_bug.cgi?id=43815
--- Comment #4 from sgrunt smelenchuk@gmail.com --- Created attachment 59426 --> https://bugs.winehq.org/attachment.cgi?id=59426 Crash log in wine-staging 2.18
Crash log in wine-staging 2.18.
https://bugs.winehq.org/show_bug.cgi?id=43815
sgrunt smelenchuk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |UNCONFIRMED
--- Comment #5 from sgrunt smelenchuk@gmail.com --- Reopening - crash persists per attachment 59426.
I believe the same change in behaviour as the new patch in wine-staging also needs to be applied to d3d11_deferred_context_CSSetUnorderedAccessViews.
https://bugs.winehq.org/show_bug.cgi?id=43815
sgrunt smelenchuk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59362|0 |1 is obsolete| |
--- Comment #6 from sgrunt smelenchuk@gmail.com --- Created attachment 59428 --> https://bugs.winehq.org/attachment.cgi?id=59428 Patch against wine-staging 2.18 to re-resolve the crash
As described above, this patch makes the behaviour of d3d11_deferred_context_CSSetUnorderedAccessViews with respect to NULL initial contexts match the newly introduced behaviour in d3d11_deferred_context_OMSetRenderTargetsAndUnorderedAccessViews; I can confirm that this resolves the crash again.
https://bugs.winehq.org/show_bug.cgi?id=43815
sgrunt smelenchuk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59362|0 |1 is obsolete| | Attachment #59362|0 |1 is obsolete| |
--- Comment #6 from sgrunt smelenchuk@gmail.com --- Created attachment 59428 --> https://bugs.winehq.org/attachment.cgi?id=59428 Patch against wine-staging 2.18 to re-resolve the crash
As described above, this patch makes the behaviour of d3d11_deferred_context_CSSetUnorderedAccessViews with respect to NULL initial contexts match the newly introduced behaviour in d3d11_deferred_context_OMSetRenderTargetsAndUnorderedAccessViews; I can confirm that this resolves the crash again.
--- Comment #7 from sgrunt smelenchuk@gmail.com --- Created attachment 59429 --> https://bugs.winehq.org/attachment.cgi?id=59429 Patch against wine-staging 2.18 to re-resolve the crash
As described above, this patch makes the behaviour of d3d11_deferred_context_CSSetUnorderedAccessViews with respect to NULL initial contexts match the newly introduced behaviour in d3d11_deferred_context_OMSetRenderTargetsAndUnorderedAccessViews; I can confirm that this resolves the crash again.
https://bugs.winehq.org/show_bug.cgi?id=43815
--- Comment #8 from Michael Müller michael@fds-team.de --- Your patch looks fine, you can directly submit it at https://dev.wine-staging.com/patches/. Just export your commit using "git format-patch --keep-subject HEAD^".
https://bugs.winehq.org/show_bug.cgi?id=43815
--- Comment #9 from sgrunt smelenchuk@gmail.com --- Patch submitted: https://dev.wine-staging.com/patches/206/
https://bugs.winehq.org/show_bug.cgi?id=43815
sgrunt smelenchuk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #10 from sgrunt smelenchuk@gmail.com --- Patch was accepted and has gone out with wine-staging 2.19. Considering this fixed.
https://bugs.winehq.org/show_bug.cgi?id=43815
Johnny Robeson johnny@localmomentum.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johnny@localmomentum.net
--- Comment #11 from Johnny Robeson johnny@localmomentum.net --- (In reply to sgrunt from comment #10)
Patch was accepted and has gone out with wine-staging 2.19. Considering this fixed.
Can you rerun your game test again with wine-staging 2.19?
https://bugs.winehq.org/show_bug.cgi?id=43815
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Fixed Staging 3.14