https://bugs.winehq.org/show_bug.cgi?id=45728
Bug ID: 45728 Summary: Graphical artifacts when using dgvoodoo (not with native dx11) Product: Wine Version: 3.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com Distribution: ---
Created attachment 62162 --> https://bugs.winehq.org/attachment.cgi?id=62162 terminal output
Since some games run poorly with wined3d implementation of DX7, or don't run at all, I've tried using a compatibility wrapper called dgvoodoo that translates DX1-8 and Glide APIs into DX11. It's quite commonly used with games that get distributed by GOG apparently, btw. However, I am experiencing some severe graphical artifacts when using it with wined3d's dx11. Here are some screenshots https://imgur.com/a/IhUc9mz The game I am testing it with (The Sims, DX7) runs completely fine with it when used under native DX11 in Windows and even with DXVK, so it's not an issue with dgvoodoo. I am attaching terminal output with no additional debug flags, however, if it's needed, just request it.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #1 from Alexandr Oleynikov sashok.olen@gmail.com --- Created attachment 62163 --> https://bugs.winehq.org/attachment.cgi?id=62163 Screenshot
https://bugs.winehq.org/show_bug.cgi?id=45728
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |directx-d3d CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Did you really mean to set the component to d3dx11? Because that would mean that d3dx11_43 (or similar) would fix it. Since you said DXVK fixes it, I assume this is a d3d11 issue.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #3 from Alexandr Oleynikov sashok.olen@gmail.com --- Sorry, the terminal output has a bunch of fixmes with dx11, so I mistakenly thought I should choose d3d11 as a component. My bas.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Just for clarity, there's a difference between d3d11 and d3dx11.
Anyways, can you maybe provide an apitrace of the D3D11 calls? You can run apitrace with wine to record them, could probably help reproducing the problem.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #5 from Alexandr Oleynikov sashok.olen@gmail.com --- Created attachment 62173 --> https://bugs.winehq.org/attachment.cgi?id=62173 apitrace
Apitraced with Valve's dx11 dlls. Not 100% it's useful honestly.
https://bugs.winehq.org/show_bug.cgi?id=45728
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #6 from Alexandr Oleynikov sashok.olen@gmail.com --- Sorry, that apitrace was borked. Here's hopefully a good one: https://yadi.sk/d/ga35vrZavOFYcQ
https://bugs.winehq.org/show_bug.cgi?id=45728
Bruni newdell338@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |newdell338@gmail.com
--- Comment #7 from Bruni newdell338@gmail.com --- BTW, Alexandr.
There was a notion that dgvoodoo wrapper was working in wine-1.9.9 staging. Though that bug was about launching DirectX 6 game See bug 27002, comment 12. Probably it's worth trying in your case.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #8 from Alexandr Oleynikov sashok.olen@gmail.com --- Oh, it works, it launches and the game is “operational” but the UI and 3D objects are all messed up. What’s interesting is that when I retrace the trace I made, the game renders just fine (with builtin wined3d).
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #9 from Alexandr Oleynikov sashok.olen@gmail.com --- Also, I already filed a bug with the game I am testing it with, and I doubt it’s ever going to be fixed. This is a bug is about dgvoodoo2, and it uses DX11, and I hope this will have more chances to be fixed since it’s a much newer api and that is still in works at Wine.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #10 from Bruni newdell338@gmail.com ---
What’s interesting is that when I retrace the trace I made, the game renders just fine (with builtin wined3d).
Do you mean that sims figures are ok (no white or black filling like in your first screenshot) with wine-1.9.9 staging + dgvoodoo + builtin wined3d and without DXVK?
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #11 from Alexandr Oleynikov sashok.olen@gmail.com --- No, when I use the regular staging-3.15. When I play the game, the Sims are black and the UI is all distorted, but if I use retrace that I made under Windows, they render just fine. Haven't tried 1.9 yet.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #12 from Alexandr Oleynikov sashok.olen@gmail.com --- No DXVK when I use retrace btw, just wined3d.
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #13 from Alexandr Oleynikov sashok.olen@gmail.com --- *retrace with a trace I made under Windows
https://bugs.winehq.org/show_bug.cgi?id=45728
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.13?
https://bugs.winehq.org/show_bug.cgi?id=45728
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #15 from Gijs Vermeulen gijsvrm@gmail.com --- This bug is invalid because a 3rd party wrapper was used and all the details surrounding the bug and apitrace (which retraces fine with wined3d) are messy.
At the time of posting this game did not work with wined3d, but it does now.
I'm therefor going to close this bug as INVALID. (Which was fine for Alexandr, confirmed on Discord).
https://bugs.winehq.org/show_bug.cgi?id=45728
--- Comment #16 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=45728
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Austin English austinenglish@gmail.com --- Closing.