https://bugs.winehq.org/show_bug.cgi?id=46357
Bug ID: 46357 Summary: Regression, Cossacks 2 Battle for Europe show crashed graphics Product: Wine Version: 4.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Wasice40@dayrep.com Distribution: ---
Hi, Lastly game Cossacks 2 Battle for Europe(from GOG) doesn't show anything in 4.0 rc2 Staging wine version and show a lot of crashed graphics in 4.0 rc3 Devel. In 3.0.4 Stable version everything work as I expect.
Here are screenshots of game opened with different versions of wine
Here are pastebin logs from terminal
4.0 rc3 devel https://pastebin.com/iC8pYRtZ 4.0 rc2 staging https://pastebin.com/UmRezfYw 3.0.4 stable https://pastebin.com/AfdP23fL
This is logs from Ubuntu 18.04.1 GTX 970 Nvidia 415.25 with X server I doesn't install anything to 3.0.4 version of wine. This game works out of box.
Sadly there isn't any game demo.
https://bugs.winehq.org/show_bug.cgi?id=46357
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Hi, could you do a regression test/git bisect? thanks.
https://bugs.winehq.org/show_bug.cgi?id=46357
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Regression, Cossacks 2 |Cossacks 2 Battle for |Battle for Europe show |Europe show crashed |crashed graphics |graphics
https://bugs.winehq.org/show_bug.cgi?id=46357
--- Comment #2 from Zhiyi Zhang zzhang@codeweavers.com --- Cannot confirm with winehq-devel 4.0 rc3 on Ubuntu 18.10 with Intel UHD 630. Could you share your hardware and driver versions?
https://bugs.winehq.org/show_bug.cgi?id=46357
--- Comment #3 from Rafał Wasice40@dayrep.com --- This is reproducible also in my
Laptop - Ubuntu 18.04.1 64bit Intel HD 3000 Mesa 18.3.0-2~b~padoka0
Computer - Ubuntu 18.04.1 GTX 970 Nvidia 415.25
https://bugs.winehq.org/show_bug.cgi?id=46357
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- For the record, the game I used is from Steam. So there may be difference.
https://bugs.winehq.org/show_bug.cgi?id=46357
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- I can confirm this on macOS 10.13.6, I don't have the Steam version so I can't test that, but the issue is definitely present in the GOG version. I tested wine 3.0.4 and there the issue is not present, but it's present in both wine 4.0-rc3 and rc4. Don't have a machine to run a regression test right now, but I'll do one once I have access to my Linux machine.
https://bugs.winehq.org/show_bug.cgi?id=46357
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46357
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- I can reproduce this bug with the GOG.com version (not reproducible in the DotEmu version which I also have).
I *think* the patch causing the rendering issue is
commit 75b7ff60562880b6e7b646a8fa84486670162d00 Author: Matteo Bruni mbruni@codeweavers.com Date: Mon Dec 17 22:59:23 2018 +0330
d3d8: Support drawing from D3DPOOL_SYSTEMMEM vertex buffers.
It's hard to prove it though. The game was broken between 3.18 and 4.0-rc3 (bug #45987 , later marked as a dupe of bug #46357). This made the game refuse to even launch.
Besides, I could not revert that commit cleanly on 4.0-rc5 to see if the problem ceases to exist.
I did however applied that single patch on the last working version (Wine 3.17, that is) and the screen corruption is there (pure 3.17. doesn't have the problem).
Wine 4.0-rc5 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 415.22.01
https://bugs.winehq.org/show_bug.cgi?id=46357
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- (In reply to Béla Gyebrószki from comment #6)
It's hard to prove it though. The game was broken between 3.18 and 4.0-rc3 (bug #45987 , later marked as a dupe of bug #46357). This made the game refuse to even launch.
That particular issue was specific to core contexts though, "MaxVersionGL = 0x00010000" should be an easy workaround. I.e., if 75b7ff60562880b6e7b646a8fa84486670162d00 is the commit to blame, it should render correctly with the commit before that and core contexts disabled.
https://bugs.winehq.org/show_bug.cgi?id=46357
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |75b7ff60562880b6e7b646a8fa8 | |4486670162d00 Component|-unknown |directx-d3d
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #7)
That particular issue was specific to core contexts though, "MaxVersionGL = 0x00010000" should be an easy workaround. I.e., if 75b7ff60562880b6e7b646a8fa84486670162d00 is the commit to blame, it should render correctly with the commit before that and core contexts disabled.
Thank you for pointing it out. After forcing 1.0 GL version I retested the game: commit 75b7ff60562880b6e7b646a8fa84486670162d00 - screen is messed up with the previous commit the game screen is rendered properly.
https://bugs.winehq.org/show_bug.cgi?id=46357
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #9 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 63207 --> https://bugs.winehq.org/attachment.cgi?id=63207 Patch
https://bugs.winehq.org/show_bug.cgi?id=46357
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Józef Kucia from comment #9)
Created attachment 63207 [details] Patch
Fixes the problem for me, thank you.
https://bugs.winehq.org/show_bug.cgi?id=46357
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |ce8ef46ace50f129659e398e054 | |ab91f03e91e04
--- Comment #11 from Józef Kucia joseph.kucia@gmail.com --- Should be fixed by https://source.winehq.org/git/wine.git/?a=commit;h=ce8ef46ace50f129659e398e0...
https://bugs.winehq.org/show_bug.cgi?id=46357
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc6.