http://bugs.winehq.org/show_bug.cgi?id=36882
Bug ID: 36882 Summary: Modern Era Touhou Games run at abnormally low FPS Product: Wine Version: 1.7.20 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andrewsuicune@gmail.com
In later Touhou Project games (tested 14 and 14.3) in Wine 1.7.20 (and 1.7.21 and most likely before as well, but starting after 1.7.3), the FPS of the games suddenly drops abnormally to about 20-30 for an inexplicable reason.
The following seemed especially prevalent in the Terminal Window during the problematic FPS areas (which include the main menu)
fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x30004. fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
The former is unfamiliar to me, while I have seen the latter before in Touhou games.
Also, when quitting and exiting the game, the following appeared:
wine(526,0x405d6000) malloc: *** error for object 0x401ca000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug
I will be adding bug links and may perform a git bisect if wine-git compiles for me.
http://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #1 from Andrew Fan andrewsuicune@gmail.com --- Double Dealing Character (TH 14) has this problem in 1.7.21. The main game locks to 20 FPS despite the config settings being set to normal FPS.
http://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #2 from Andrew Fan andrewsuicune@gmail.com --- NOTE: This bug most likely only applies to Touhou 14 and 14.3, the newest entries in the series. Touhou 13 runs at a stable FPS of 60 in Wine 1.7.21.
http://bugs.winehq.org/show_bug.cgi?id=36882
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Modern Era Touhou Games run |Touhou 14 (Ten Desires) and |at abnormally low FPS |14.3 (Impossible Spell | |Card) run at 20 FPS rather | |than 60
http://bugs.winehq.org/show_bug.cgi?id=36882
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewsuicune@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #3 from Andrew Fan andrewsuicune@gmail.com --- Tested using Wine 1.6.2, and Impossible Spell Card (TH 14.3) was running perfectly at 60 FPS. Therefore, this regression occurred between 1.6.2 and 1.7.20.
http://bugs.winehq.org/show_bug.cgi?id=36882
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=36882
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou 14 (Ten Desires) and |Certain Touhou Games (10, |14.3 (Impossible Spell |14, 14.3) run at 20 FPS |Card) run at 20 FPS rather |rather than 60 |than 60 |
http://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #4 from Andrew Fan andrewsuicune@gmail.com --- In 1.7.22, I checked Touhou 10 - Mountain of Faith. Unfortunately, it too was running at 20 FPS.
http://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #5 from Andrew Fan andrewsuicune@gmail.com --- NOTES:
All of the games I tested were done using Windowed 640x480 mode and with all other settings default. This means 32 Bit Color, Automatic Input Latency, and No Frameskip (AKA Full Rendering Rate).
Since the same configuration settings were used for all of the games tested so far (10, 11, 12, 12.8, 13, 14, 14.3) and all of them worked at 60 FPS on earlier versions of wine, I believe that the configuration settings are not to blame.
Notably, loading screens sometimes run at 30 FPS, while the rest of the three games are locked to 20 FPS.
I am currently preparing to do a bisect test.
https://bugs.winehq.org/show_bug.cgi?id=36882
--- Comment #6 from Andrew Fan andrewsuicune@gmail.com --- UPDATE:
This is (at least for Touhou 14 and 14.3), ONLY present when running in Windowed Mode. In Fullscreen mode, this problem is not present.
https://bugs.winehq.org/show_bug.cgi?id=36882
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Andrew Fan andrewsuicune@gmail.com --- Fixed in 1.7.34
Closing.
https://bugs.winehq.org/show_bug.cgi?id=36882
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.36.