https://bugs.winehq.org/show_bug.cgi?id=51804
Bug ID: 51804 Summary: Tropico: messed up graphics when hardware renderer selected Product: Wine-staging Version: 6.18 Hardware: x86-64 URL: https://archive.org/details/TropicoDemo OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 70691 --> https://bugs.winehq.org/attachment.cgi?id=70691 screenshot
The screen is garbled when hardware renderer is selected in the Options menu (main menu looks fine, you have to start a scenario to reproduce the bug). Doesn't happen in vanilla Wine 6.18.
The staging patch to blame: https://github.com/wine-staging/wine-staging/blob/master/patches/ddraw-versi...
In the terminal: 0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0110:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000002 not handled 0110:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled 0138:err:d3d:resource_unload Resource 0x1f822c8 is being unloaded while mapped.
Wine-Staging 6.18 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 470.74
https://bugs.winehq.org/show_bug.cgi?id=51804
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-7.0-rc2-59-g7555573dc54 (Staging).
https://bugs.winehq.org/show_bug.cgi?id=51804
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- In the offending commit line 56, can you test by replacing D3DDEVCAPS_HWTRANSFORMANDLIGHT by 0
https://bugs.winehq.org/show_bug.cgi?id=51804
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- The patch causing the trouble got disabled in 7.16 Staging: https://github.com/wine-staging/wine-staging/commit/b31a964e1eaad1615cb72536...
https://bugs.winehq.org/show_bug.cgi?id=51804
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
--- Comment #4 from mirh mirh@protonmail.ch --- https://steamcommunity.com/app/33520/discussions/0/3192494794095007606 https://github.com/elishacloud/dxwrapper/commit/cf0a69aaa7ee738b35757d193043...
Reportedly this is due to pitch/stride surface alignment voodoo.