https://bugs.winehq.org/show_bug.cgi?id=42979
Bug ID: 42979 Summary: Age of Empires hangs for several seconds between screens when CSMT is enabled Product: Wine Version: 2.7 Hardware: x86-64 URL: https://web.archive.org/web/20011206135758/http://mssj us.www.conxion.com:80/download/aoe/trial/1.0/win98/en- us/msaoe.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com Distribution: Debian
Created attachment 58110 --> https://bugs.winehq.org/attachment.cgi?id=58110 good log
To reproduce create a new Windows 98 prefix and install and run the game. There are 2 company logo screens and then there is the menu, when CSMT=1 each logo screen takes seconds and before the menu is clickable there are several seconds too.
I'm attaching 2 logs for the same operations (skip the company logos, click single player and random map). The good log is 8Mb uncompressed, the bad log is around 250mb. The logs were collected with +d3d7,+d3d8,+d3d9,+d3d,+timestamp,+tid, if such logs are pointless I can take any other by request.
Tested on Intel HD graphics 520 with mesa 13.0.5.
https://bugs.winehq.org/show_bug.cgi?id=42979
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 58111 --> https://bugs.winehq.org/attachment.cgi?id=58111 bad log
https://bugs.winehq.org/show_bug.cgi?id=42979
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- Yeah, that's because currently there are no wined3d_swapchain_present() calls in ddraw games and thus the command stream is allowed to buffer a lot of frames in its queue (i.e. the check at the end of wined3d_cs_emit_present() isn't triggered).
Can you please attach a +tid,ddraw,d3d log?
https://bugs.winehq.org/show_bug.cgi?id=42979
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- (In reply to Matteo Bruni from comment #2)
Yeah, that's because currently there are no wined3d_swapchain_present() calls in ddraw games and thus the command stream is allowed to buffer a lot of frames in its queue (i.e. the check at the end of wined3d_cs_emit_present() isn't triggered).
Yeah. Note though that unless DDBLT_ASYNC is set (or implied), blits will have a similar effect. It's a little speculative, but this may come down to correctly implementing DDBLT_WAIT/DDBLT_DONOTWAIT and ddraw_surface7_GetBltStatus().
https://bugs.winehq.org/show_bug.cgi?id=42979
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #58110|0 |1 is obsolete| |
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 58194 --> https://bugs.winehq.org/attachment.cgi?id=58194 good log (no csmt) +tid,ddraw,d3d
https://bugs.winehq.org/show_bug.cgi?id=42979
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #58111|0 |1 is obsolete| |
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 58195 --> https://bugs.winehq.org/attachment.cgi?id=58195 bad log (csmt=1) +tid,ddraw,d3d
https://bugs.winehq.org/show_bug.cgi?id=42979
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- New logs attached as requested at comment 2.
https://bugs.winehq.org/show_bug.cgi?id=42979
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=42979
zaplo00@mailfence.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zaplo00@mailfence.com
--- Comment #7 from zaplo00@mailfence.com --- Princess Evangile and Kamidori Alchemy Meister lag pretty badly if CSMT is enabled. Not sure if same problem, but they do stutter in UI.
https://bugs.winehq.org/show_bug.cgi?id=42979
Aaron Paden aaronbpaden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aaronbpaden@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42979
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=42979
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Unfortunately, the bug is still there with current wine(3.19).
https://bugs.winehq.org/show_bug.cgi?id=42979
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Fixed in wine-4.17. Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=42979
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Reported as fixed.
https://bugs.winehq.org/show_bug.cgi?id=42979
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.18.