https://bugs.winehq.org/show_bug.cgi?id=42148
Bug ID: 42148 Summary: Redrawing issues in Capitalism 2 Product: Wine Version: 2.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: maiktapwagner@aol.com Distribution: ---
Created attachment 56717 --> https://bugs.winehq.org/attachment.cgi?id=56717 Screenshot illustrating the redrawing issues.
Hello everyone,
I am the AppDB maintainer of "Capitalism 2" a business strategy game which has some issues I would like to point out.
The initial issue during tests some releases ago was that mouse control wasn't working but a staged patch could be applied which fixed the issue and got integrated into main wine.
https://github.com/wine-compholio/wine-staging/tree/master/patches/dinput
Unfortunately a new issue has sprung up in the game which is that when I move the mouse it has some redrawing issues and paints the background.
To illustrate this I uploaded a screenshot into the AppDB at: https://appdb.winehq.org/screenshots.php?iAppId=2098&iVersionId=2895
Fortunately there is a demo version available which can be downloaded. https://appdb.winehq.org/objectManager.php?sClass=version&iId=30640
Could you have a look into this if possible?
Kind regards,
Maik
https://bugs.winehq.org/show_bug.cgi?id=42148
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |SUSE CC| |maiktapwagner@aol.com
https://bugs.winehq.org/show_bug.cgi?id=42148
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to Maik Wagner from comment #0)
Created attachment 56717 [details] Screenshot illustrating the redrawing issues.
Hello everyone,
I am the AppDB maintainer of "Capitalism 2" a business strategy game which has some issues I would like to point out.
The initial issue during tests some releases ago was that mouse control wasn't working but a staged patch could be applied which fixed the issue and got integrated into main wine.
https://github.com/wine-compholio/wine-staging/tree/master/patches/dinput
Unfortunately a new issue has sprung up in the game which is that when I move the mouse it has some redrawing issues and paints the background.
To illustrate this I uploaded a screenshot into the AppDB at: https://appdb.winehq.org/screenshots.php?iAppId=2098&iVersionId=2895
Fortunately there is a demo version available which can be downloaded. https://appdb.winehq.org/objectManager.php?sClass=version&iId=30640
Could you have a look into this if possible?
Kind regards,
Maik
Hi Maik,
Could you add the terminal output you receive on your machine as you experience the redraw issues?
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #2 from Maik Wagner maiktapwagner@aol.com --- Created attachment 56722 --> https://bugs.winehq.org/attachment.cgi?id=56722 Console output from Capitalism 2
I certainly can. Unfortunately running the game didn't produce much output. It is mainly:
fixme:win:EnumDisplayDevicesW ((null),0,0x33f6b4,0x00000000), stub!
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #3 from Maik Wagner maiktapwagner@aol.com --- Hello everyone,
this bug is still present in latest 2.7 wine (without staging patchset).
As a maintainer of this application I also got a report in from 1.8.5 which confirms the redrawing issues.
https://bugs.winehq.org/show_bug.cgi?id=42148
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |gyebro69@gmail.com URL| |http://www.enlight.com/capi | |talism2/Demo.html
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Can be reproduced with the demo: http://www.enlight.com/capitalism2/Demo.html
Cap2_Demo.exe (42 MB) sha1: ccd4d9f37a4d0a5098925d9808a9e2cd56d02271
wine-2.8-204-gef267f115f
https://bugs.winehq.org/show_bug.cgi?id=42148
Andrew Jones andrew@jones.ec changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@jones.ec
--- Comment #5 from Andrew Jones andrew@jones.ec --- This bug is still present in wine-staging 2.11.
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #6 from Maik Wagner maiktapwagner@aol.com --- As multiple people also had this issue and could reproduce it: Shouldn't this bug be set to confirmed?
https://bugs.winehq.org/show_bug.cgi?id=42148
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- (In reply to Maik Wagner from comment #6)
As multiple people also had this issue and could reproduce it: Shouldn't this bug be set to confirmed?
Wine bugzilla doesn't really distinguish between NEW and UNCONFIRMED.
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #8 from Maik Wagner maiktapwagner@aol.com --- Still present in wine 3.0-rc2
https://bugs.winehq.org/show_bug.cgi?id=42148
daiver daiver@daiver.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daiver@daiver.ru
--- Comment #9 from daiver daiver@daiver.ru --- Same problem with the Capitalism Lab (http://www.capitalismlab.com) On different computers with different videocards.
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #10 from Maik Wagner maiktapwagner@aol.com --- Created attachment 61289 --> https://bugs.winehq.org/attachment.cgi?id=61289 Console Output wine 3.6
https://bugs.winehq.org/show_bug.cgi?id=42148
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Redrawing issues in |Redrawing issues in |Capitalism 2 |Capitalism 2 - | |fixme:win:EnumDisplayDevice | |sW
https://bugs.winehq.org/show_bug.cgi?id=42148
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Redrawing issues in |Redrawing issues in |Capitalism 2 - |Capitalism 2 |fixme:win:EnumDisplayDevice | |sW |
https://bugs.winehq.org/show_bug.cgi?id=42148
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=42148
maxim maximzxc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maximzxc@gmail.com
--- Comment #11 from maxim maximzxc@gmail.com --- Having same problem with wine-3.8 (Staging)
https://bugs.winehq.org/show_bug.cgi?id=42148
Ignacio Pozo ipozow@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ipozow@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #12 from Maik Wagner maiktapwagner@aol.com --- Still present in wine 4.1 (non staging)
https://bugs.winehq.org/show_bug.cgi?id=42148
Bruni newdell338@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |newdell338@gmail.com
--- Comment #13 from Bruni newdell338@gmail.com --- (In reply to Maik Wagner from comment #12)
Still present in wine 4.1 (non staging)
Please attach the result of WINEDEBUG=+wgl,+d3d,+opengl,+ddraw wine Cap2.exe >> debug.log 2>&1
https://bugs.winehq.org/show_bug.cgi?id=42148
javier@proudsugar.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |javier@proudsugar.com
--- Comment #14 from javier@proudsugar.com --- Non-dev here. Problem appears with latest version of wine and cross-over. Any help on how to solve this much appreciated.
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #15 from JR javier@proudsugar.com --- I installed WineDevel and ran CapMain.exe. It asked for permission to install gecko etc., when I denied it just closed an nothing happened.
I tried the query again and nothing happened. I tried CapStart.exe and nothing. I restarted computer and tried both again and nothing.
Any ideas how to proceed?
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #16 from Maik Wagner maiktapwagner@aol.com --- Created attachment 64973 --> https://bugs.winehq.org/attachment.cgi?id=64973 Debug Log (Wine 4.11 Staging)
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #17 from Maik Wagner maiktapwagner@aol.com --- (In reply to Bruni from comment #13)
Please attach the result of WINEDEBUG=+wgl,+d3d,+opengl,+ddraw wine Cap2.exe >> debug.log 2>&1
Done. Had to zip the file though. Output is from the demo version as indicated in comment #4
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #18 from Maik Wagner maiktapwagner@aol.com --- Created attachment 65723 --> https://bugs.winehq.org/attachment.cgi?id=65723 Debug Log (Wine 4.19 Staging)
Some newer debug logs with 4.19-Staging. 4.20 isn't packaged for openSUSE yet.
https://bugs.winehq.org/show_bug.cgi?id=42148
vipermailbox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vipermailbox@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #19 from vipermailbox@gmail.com --- Created attachment 66540 --> https://bugs.winehq.org/attachment.cgi?id=66540 debug log wine-5.0
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #20 from vipermailbox@gmail.com --- Still happening with wine-5.0 (stable)
https://bugs.winehq.org/show_bug.cgi?id=42148
Nikita Tikhomirov nikitati@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nikitati@gmail.com
--- Comment #21 from Nikita Tikhomirov nikitati@gmail.com --- Still happening with Wine Staging 5.13
https://bugs.winehq.org/show_bug.cgi?id=42148
graf@poolbar.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |graf@poolbar.at
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #22 from vipermailbox@gmail.com --- Created attachment 70464 --> https://bugs.winehq.org/attachment.cgi?id=70464 debug log
Still affecting wine 5.6 (dev)
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #23 from Maik Wagner maiktapwagner@aol.com --- Revisiting this bug. Redrawing issues still occur when entering the supermarket (download is from the URL in the form)
mwagner@silentrig:~/Downloads> wine --version wine-6.14
https://bugs.winehq.org/show_bug.cgi?id=42148
--- Comment #24 from Maik Wagner maiktapwagner@aol.com --- Created attachment 70850 --> https://bugs.winehq.org/attachment.cgi?id=70850 Debug Log (Wine 6.19)
Revisiting with 6.19 (non-staging) from my old installation with a new debug log (bzip2 compressed).
WINEDEBUG=+wgl,+d3d,+opengl,+ddraw wine Cap2.exe >> debug.log 2>&1
mwagner@silentrig:~/WineApps/Capitalism2Demo/drive_c/Program Files (x86)/Enlight/Capitalism 2 Demo> wine --version wine-6.19
https://bugs.winehq.org/show_bug.cgi?id=42148
Jan Seiffert kaffeemonster@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kaffeemonster@googlemail.co | |m
--- Comment #25 from Jan Seiffert kaffeemonster@googlemail.com --- This bug also affects Capitalism Lab, Enlights continuation of the Capitalism series. Prop. because it is still the same graphics engine, they are "just" extending the simulation (Latest DLC "Banking and Finance" from 2020, latest exe 8.0.13 has a 2022 copyright).
I tried wine-6.23-staging, wine-7.1-staging, wine-7.2-staging, same graphics glitch, no redraw of the map, except where you move your mouse courser. wine-7.0-tkg also has this graphic glitch, but game-voice output is working, yeah?
I found the following forum entry: https://forum.winehq.org/viewtopic.php?t=31396#p136066
And yes, when you: 1) switch OffscreenRendering to "backbuffer" and 2) run the game fullscreen
the map is drawn. Problem is, for me, it fullscreen flickers like hell.
This all smells like a bug between ddraw4/fbo and the game/Wine? probably in error specifying DISCARD semantics, skirting some undefined behaviour in windows where it is actually getting COPY semantics. (please have a look at https://bugs.winehq.org/show_bug.cgi?id=3467, this game apparently uses a funky AddAttachedSurface which is only possible with ddraw4, ddraw7 disallowing this/only allowing Z_Buffer surfaces)