[Bug 43405] New: NieR:Automata - Most bullets are invisible
https://bugs.winehq.org/show_bug.cgi?id=43405 Bug ID: 43405 Summary: NieR:Automata - Most bullets are invisible Product: Wine Version: 2.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: --- Created attachment 58747 --> https://bugs.winehq.org/attachment.cgi?id=58747 How the minigame looks on linux NieR:Automata is an 64Bit DX11 game on Steam. It has some rendering issues, most standard bullets are completely invisible, both in the actual game and the minigame. Screenshots attached. I made an apitrace, but unfortunately this comes at a whooping 1.4GB (543MB compressed). If you still want it, I uploaded it here: http://www.mediafire.com/file/me8dsk3asiuqoiw/automata.7z I don't know if it's possible to trim apitraces at the start, but if so, please tell me and I'll shrink it down. It's just that I can't skip those parts of the game. Screenshots from frame 3050(windows) and 3052(linux), but I removed the transparency. Using wine-2.12-staging on Arch Linux for my tests. -- 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=43405 --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 58748 --> https://bugs.winehq.org/attachment.cgi?id=58748 How it should look like -- 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=43405 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 58751 --> https://bugs.winehq.org/attachment.cgi?id=58751 Log from apitrace replay Added a log from apitrace replay under wine. At least to me it seems like "d3d11_immediate_context_DispatchIndirect" and/or "d3d11_immediate_context_DrawIndexedInstancedIndirect" are the problem, but I could be completely wrong here. -- 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=43405 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com --- Comment #3 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 58756 --> https://bugs.winehq.org/attachment.cgi?id=58756 Patch Please try this 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=43405 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 58759 --> https://bugs.winehq.org/attachment.cgi?id=58759 Minigame with patch applied Thank you, it's a major improvement, but not yet perfect. For some reason only one of the bullets is visible at a time, the others seem to disappear when a new one is fired. Will add 2 more screenshots for comparison from another scene that has the same issue. There too now bullets appear, but only one from every enemy and they are visually corrupted. -- 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=43405 --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 58761 --> https://bugs.winehq.org/attachment.cgi?id=58761 How enemy bullets should look like -- 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=43405 --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 58762 --> https://bugs.winehq.org/attachment.cgi?id=58762 How enemy bullets look with the patch It's a video since it shows best where the problem is. Looks like there can only be one bullet on the screen at one time. Also, they are visually distorted, don't know how to describe it better. -- 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=43405 sgrunt <smelenchuk(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smelenchuk(a)gmail.com --- Comment #7 from sgrunt <smelenchuk(a)gmail.com> --- Inspecting the patch, I can spot the cause of the visual corruption in the video - in dlls/wined3d/device.c, "if (!idx_size)" should be "if (idx_size)". Making this change causes individual bullets in the intro sequence to render correctly, but still only renders one bullet at a time. I'll poke at this a bit more to see if I can figure out why that's happening. -- 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=43405 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58756|0 |1 is obsolete| | --- Comment #8 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 58777 --> https://bugs.winehq.org/attachment.cgi?id=58777 Patch Does this patch give better results? -- 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=43405 --- Comment #9 from sgrunt <smelenchuk(a)gmail.com> --- The new patch still only renders one bullet at a time (though it does render that one bullet correctly). -- 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=43405 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58777|0 |1 is obsolete| | --- Comment #10 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 58781 --> https://bugs.winehq.org/attachment.cgi?id=58781 Patch This patch should fix rendering of multiple bullets at a time. -- 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=43405 --- Comment #11 from Fabian Maurer <dark.shadow4(a)web.de> --- Needed to rebase it for the staging patchset, but it fixes the issue perfectly fine. -- 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=43405 mrdeathjr28(a)yahoo.es changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28(a)yahoo.es -- 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=43405 --- Comment #12 from sgrunt <smelenchuk(a)gmail.com> --- Also confirming that multiple bullets render with the 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=43405 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wined3d-UAV_Co | |unters CC| |dmitry(a)baikal.ru, | |erich.e.hoover(a)wine-staging | |.com, michael(a)fds-team.de, | |sebastian(a)fds-team.de Status|UNCONFIRMED |STAGED -- 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=43405 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-com |pholio/wine-staging/tree/ma |pholio/wine-staging/tree/ma |ster/patches/wined3d-UAV_Co |ster/patches/wined3d-DrawIn |unters |direct -- 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=43405 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |8151875fcbf5355e9ea4c1b84b0 | |22edc874bb370 --- Comment #13 from Józef Kucia <joseph.kucia(a)gmail.com> --- Should be fixed by commit 8151875fcbf5355e9ea4c1b84b022edc874bb370 -- 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=43405 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 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.
participants (1)
-
wine-bugs@winehq.org