https://bugs.winehq.org/show_bug.cgi?id=50865
Bug ID: 50865 Summary: Map editor of Heroes of Might and Magic 5 completely not working Product: Wine Version: 6.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: galdralag@bk.ru Distribution: ---
Created attachment 69677 --> https://bugs.winehq.org/attachment.cgi?id=69677 Screenshot
Heroes of Might and Magic 5. Map editor starts, shows left and right panels with games elements. But on place of map it shoes garbage rectangle. See attached screenshot.
https://bugs.winehq.org/show_bug.cgi?id=50865
Vaxry vaxerskiofficial@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vaxerskiofficial@gmail.com
--- Comment #1 from Vaxry vaxerskiofficial@gmail.com --- Created attachment 70753 --> https://bugs.winehq.org/attachment.cgi?id=70753 d3d9 logs
D3D9 logs. Take a look at the end for ResetSwapChain calls. The longer you have the app open, the more of them will be.
https://bugs.winehq.org/show_bug.cgi?id=50865
--- Comment #2 from Vaxry vaxerskiofficial@gmail.com --- I can attest to this.
It seems like wine forces the embedded DX9 window to be resized all the time, the logs show a ton of D3D9DeviceEx::ResetSwapChain calls with smaller and smaller width and height. This, added with the viewport not being properly cleaned, creates the said issue.
Maybe wine passes incorrect size parameters? It tends to happen with some other apps too, when the window will suddenly jump to a different place after being moved. (example: Photoshop CC)
I have tested this under both wine and proton, using different prefixes, clean installs, virtual desktops, you name it, and the issue persists.
https://bugs.winehq.org/show_bug.cgi?id=50865
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- (In reply to Vaxry from comment #1)
Created attachment 70753 [details] d3d9 logs
D3D9 logs. Take a look at the end for ResetSwapChain calls. The longer you have the app open, the more of them will be.
DXVK is not supported in this bug tracker; please test with upstream wine or report bugs to DXVK.
https://bugs.winehq.org/show_bug.cgi?id=50865
--- Comment #4 from Vaxry vaxerskiofficial@gmail.com --- (In reply to Zebediah Figura from comment #3)
(In reply to Vaxry from comment #1)
Created attachment 70753 [details] d3d9 logs
D3D9 logs. Take a look at the end for ResetSwapChain calls. The longer you have the app open, the more of them will be.
DXVK is not supported in this bug tracker; please test with upstream wine or report bugs to DXVK.
Happens no matter if you use DXVK or not. DXVK just provides nice logs.
https://bugs.winehq.org/show_bug.cgi?id=50865
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- This could be actually a dupe of bug #20190. Still present in Wine-7.0-rc3 btw.
https://bugs.winehq.org/show_bug.cgi?id=50865
--- Comment #6 from Vaxry vaxerskiofficial@gmail.com --- (In reply to Béla Gyebrószki from comment #5)
This could be actually a dupe of bug #20190. Still present in Wine-7.0-rc3 btw.
Looks like it, yeah.
There's even a patch provided, but still broken in the official release, nice.
https://bugs.winehq.org/show_bug.cgi?id=50865
--- Comment #7 from Vjacheslav galdralag@bk.ru --- wine 8.5: still not fixed
https://bugs.winehq.org/show_bug.cgi?id=50865
--- Comment #8 from Vjacheslav galdralag@bk.ru --- wine 9.3: still not fixed