https://bugs.winehq.org/show_bug.cgi?id=46016
Bug ID: 46016 Summary: DX11 Demo "AMD Ladybug" shows black screen Product: Wine Version: 3.18 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com
AMD DX11 Tech Demo shows black screen while normally playing sound.
Download link https://www.guru3d.com/files-details/amd-ladybug-directx-11-demo.html
https://bugs.winehq.org/show_bug.cgi?id=46016
Andrew Wesie awesie@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |awesie@gmail.com
--- Comment #1 from Andrew Wesie awesie@gmail.com --- On Linux, the demo fails to load because wined3d does not support multisample quality set to D3D11_STANDARD_MULTISAMPLE_PATTERN. I wrote a quick hack to allow that quality level and map it to the fixedsamplelocations parameter for calls to glTexImage2DMultisample. Afterwards, the demo appears to work correctly.
https://bugs.winehq.org/show_bug.cgi?id=46016
--- Comment #2 from Andrew Wesie awesie@gmail.com --- Created attachment 62588 --> https://bugs.winehq.org/attachment.cgi?id=62588 Patch for D3D11_STANDARD_MULTISAMPLE_PATTERN
https://bugs.winehq.org/show_bug.cgi?id=46016
--- Comment #3 from Andrew Wesie awesie@gmail.com --- Created attachment 62589 --> https://bugs.winehq.org/attachment.cgi?id=62589 Test case
This test case does not work on wine because wine does not support GetSamplePosition.
https://bugs.winehq.org/show_bug.cgi?id=46016
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #62589|0 |1 is patch| | Attachment #62589|application/mbox |text/plain mime type| |
https://bugs.winehq.org/show_bug.cgi?id=46016
--- Comment #4 from Svyatpro svyatpro@gmail.com --- Patch didn't fix this issue for me.
It seems this behavior is only related to WineD3D with Windows platforms. Similar behavior is on Bug 45142. However, with Bug 45142 using Mesa3D for Windows (software opengl32.dll) can be as a workaround.
https://bugs.winehq.org/show_bug.cgi?id=46016
--- Comment #5 from Andrew Wesie awesie@gmail.com --- Ok. We should keep this bug for the wined3d on Windows bug, and I'll use bug 45197 for the D3D11_STANDARD_MULTISAMPLE_PATTERN patches.
https://bugs.winehq.org/show_bug.cgi?id=46016
--- Comment #6 from Svyatpro svyatpro@gmail.com --- BTW, your patch partially fixed startup of AMD DX10.1 Demo "Ping-Pong", but it I use native d3d10.dll and d3d10_1.dll along with wined3d (d3d10core, d3d11 etc)