http://bugs.winehq.org/show_bug.cgi?id=18232
Summary: Touhou 11 and Touhou 12 drop to below 10 fps after launching Product: Wine Version: 1.1.20 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: erappleman@gmail.com
The games are unplayable, but Touhou 10 and below work fine.
Here's the output of Touhou 10, 11, and 12. I interrupted each after about 20 seconds.
eric@kingfisher:~/th10$ wine th10e.exe fixme:win:EnumDisplayDevicesW ((null),0,0x32f87c,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface eric@kingfisher:~/th10$
eric@kingfisher:~/th11$ wine th11e.exe fixme:win:EnumDisplayDevicesW ((null),0,0x32f808,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d:IWineD3DBaseSwapChainImpl_GetRasterStatus (0x14d528) : stub (once) fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface eric@kingfisher:~/th11$
eric@kingfisher:~/th12$ wine th12.exe fixme:win:EnumDisplayDevicesW ((null),0,0x32f808,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:d3d:IWineD3DBaseSwapChainImpl_GetRasterStatus (0x14d338) : stub (once) fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:win:WINNLSEnableIME hUnknown1 (nil) bUnknown2 1: stub! eric@kingfisher:~/th12$
http://bugs.winehq.org/show_bug.cgi?id=18232
tyle7@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyle7@hotmail.com
--- Comment #1 from tyle7@hotmail.com 2009-04-27 01:18:24 --- (In reply to comment #0)
The games are unplayable, but Touhou 10 and below work fine.
It would probably be a good idea to mention what video card and drivers you use, as this is an issue that seems to depend on that.
As I stated in bug 17750 , Touhou 11 and 12 runs at full speed for me with an Nvidia card and their proprietary drivers.
http://bugs.winehq.org/show_bug.cgi?id=18232
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #2 from Eric Appleman erappleman@gmail.com 2009-04-27 09:22:44 --- Intel i945 with the 2.7.99 drivers (2.7 plus latest fixes to the git master).
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #3 from Eric Appleman erappleman@gmail.com 2009-06-09 23:33:40 --- I'd like to trace or debug this, but I need to know how to do it properly so that the proper information is logged.
http://bugs.winehq.org/show_bug.cgi?id=18232
Eric Appleman erappleman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erappleman@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18232
ghost99@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from ghost99@mail.ru 2009-06-14 12:26:20 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #5 from Eric Appleman erappleman@gmail.com 2009-06-27 19:25:17 --- Still present in 1.1.24 for both games.
Kernel: 2.6.31-rc1 Intel drivers: Git master Mesa: Git master DRM: Git master
The FPS has gone up slightly though, instead of 10, it's now limited to 17.
http://bugs.winehq.org/show_bug.cgi?id=18232
Eric Appleman erappleman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=18232
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #6 from Stefan Dösinger stefandoesinger@gmx.at 2009-06-28 03:38:58 --- -> The intel cards aren't speed monsters. They *are* slow. -> The Mesa driver doesn't really give proper speed either.
I'd blame this on the card / driver. Apparently this game works fine with Wine on other cards, so its less likely that this is a Wine bug. I recommend to test the performance on Windows, and if it is noticeably better there(say, double performance), file a bug at bugs.freedesktop.org for your DRI driver.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #7 from Eric Appleman erappleman@gmail.com 2009-06-28 05:00:05 --- Touhou 11 and 12 play full speed on my Windows partition.
As for filing a bug against the DRI, I wouldn't even where to begin describing it in a helpful manner.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #8 from Kovensky diogomfranco@gmail.com 2009-08-16 13:54:25 --- Created an attachment (id=23117) --> (http://bugs.winehq.org/attachment.cgi?id=23117) output of WINEDEBUG=+all wine th12.exe
The same problem happens with me, except I get one frame every 3 seconds (effectively 0.33fps). I attached the output of `WINEDEBUG=warn+all wine th12.exe`.
Of note, the error messages below keep repeating themselves, with different frequencies, when the game slows down: warn:d3d:IWineD3DDeviceImpl_GetDeviceCaps (0x13f1d0) : stub, calling idirect3d for now warn:d3d9:IDirect3D9Impl_CheckDeviceFormat D3DFMT_R8G8B8 is not available on windows, returning D3DERR_NOTAVAILABLE warn:d3d:IWineD3DDeviceImpl_GetDeviceCaps (0x13f1d0) : stub, calling idirect3d for now warn:d3d9:IDirect3DDevice9Impl_QueryInterface IDirect3D9 instance wasn't created with CreateDirect3D9Ex, returning E_NOINTERFACE warn:d3d:state_blendop Unsupported in local OpenGL implementation: glBlendEquationSeparateEXT
System info:
$ lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: nVidia Corporation NV34 [GeForce FX 5200] [10de:0322] (rev a1)
$ dpkg -l nvidia-glx-173 | grep nvidia ii nvidia-glx-173 173.14.16-0ubuntu1 NVIDIA binary Xorg driver
$ dpkg -l wine | grep wine ii wine 1.1.27~winehq0~ubuntu~9.04-0ubuntu1 Microsoft Windows Compatibility Layer (Binary Emulator and Library)
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #9 from tyle7@hotmail.com 2009-08-16 14:18:48 --- (In reply to comment #8)
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV34 [GeForce FX 5200] [10de:0322] (rev a1)
You could try setting OffscreenRenderingMode to backbuffer instead of fbo.
Touhou 11 went down to 19 fps for me when fbo became the default OffscreenRenderingMode. I still get close to 60 fps when backbuffer is used.
This is on a GeForce 6200SE
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #10 from Eric Appleman erappleman@gmail.com 2009-08-16 19:36:12 --- Here's my log.
WINEDEBUG=+all wine th12.exe (debug symbols used)
It's quite big.
http://www.mediafire.com/download.php?1i2nbz4zmyj
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2009-08-17 02:02:24 ---
The same problem happens with me, except I get one frame every 3 seconds (effectively 0.33fps). I attached the output of `WINEDEBUG=warn+all wine th12.exe`.
Sounds like the GL driver is not properly installed. Do native Linux apps work?
http://bugs.winehq.org/show_bug.cgi?id=18232
Kovensky diogomfranco@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |diogomfranco@gmail.com
--- Comment #12 from Kovensky diogomfranco@gmail.com 2009-08-17 04:21:14 --- (In reply to comment #9)
You could try setting OffscreenRenderingMode to backbuffer instead of fbo. Touhou 11 went down to 19 fps for me when fbo became the default OffscreenRenderingMode. I still get close to 60 fps when backbuffer is used.
Tried that now, didn't help. Also, my framerate reduction is much more dramatic, you have to count it in "seconds per frame" instead of "frames per second" :>
(In reply to comment #11)
Sounds like the GL driver is not properly installed. Do native Linux apps work?
Yes, and so did Doom 3 under wine. It ran without any noticeable problems for me.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #13 from Starks erappleman@gmail.com 2009-08-17 05:29:11 --- tyle's reference to 19 fps is more accurate than the 10 fps in my title. The games never go above 19 fps.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #14 from Starks erappleman@gmail.com 2009-08-17 05:32:15 --- By the way, backbuffer doesn't improve my FPS and pbuffer will either crash the game after a few seconds or crash X.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #15 from Starks erappleman@gmail.com 2009-09-10 20:56:11 --- Created an attachment (id=23550) --> (http://bugs.winehq.org/attachment.cgi?id=23550) pbuffer crash
http://bugs.winehq.org/show_bug.cgi?id=18232
walkerallen497@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |walkerallen497@googlemail.c | |om
--- Comment #16 from walkerallen497@googlemail.com 2009-11-16 08:11:20 --- I have the same problem, I get 2 fps, but all previous games run at full speed. While I run touhou 11/12 most of the cpu time is spend in xorg (top).
archlinux 64bit 32bit wine 1.1.33 kernel 2.6.31.6
radeon X1550 mesa 7.6 xf86-video-ati 6.12.99.git20091014
http://bugs.winehq.org/show_bug.cgi?id=18232
laochailan@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |laochailan@web.de
--- Comment #17 from laochailan@web.de 2009-11-16 08:32:41 --- Same problem here.
Since 1.1.33 X crashes sometimes too.
Arch Linux 32bit Kernel 2.6.31.6 Radeon 9550
mesa 7.6 xf86-video-ati 6.12.99.git20091014
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #18 from walkerallen497@googlemail.com 2009-11-20 09:47:28 --- (In reply to comment #16)
I have the same problem, I get 2 fps, but all previous games run at full speed. While I run touhou 11/12 most of the cpu time is spend in xorg (top).
archlinux 64bit 32bit wine 1.1.33 kernel 2.6.31.6
radeon X1550 mesa 7.6 xf86-video-ati 6.12.99.git20091014
I checked more and got a reply that a software fallback is called for some functions, see https://bugs.freedesktop.org/show_bug.cgi?id=25142#c4
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #19 from Starks erappleman@gmail.com 2009-11-20 11:37:43 --- Kernel: 2.6.32-rc7 Wine: 1.1.33 Xorg: 1.7.99 Mesa: 7.8 Intel: 2.9.0
Not sure who I should thank, but using bleeding-edge drivers, a newer version of wine, and "backbuffer" for OffscreenRenderingMode seems to have fixed this bug for me.
http://bugs.winehq.org/show_bug.cgi?id=18232
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2009-11-23 08:12:03 --- Let's mark it fixed then.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #21 from tyle7@hotmail.com 2009-11-24 14:29:37 --- (In reply to comment #20)
Let's mark it fixed then.
The games in question are still slow as long as OffscreenRenderingMode is fbo which is the default. Setting OffscreenRenderingMode to backbuffer gives full speed.
Wouldn't call it fixed as a workaround is still needed,
http://bugs.winehq.org/show_bug.cgi?id=18232
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Summary|Touhou 11 and Touhou 12 |Touhou 11 and Touhou 12 |drop to below 10 fps after |drop to below 10 fps after |launching |launching if ORM=backbuffer
--- Comment #22 from Austin English austinenglish@gmail.com 2009-11-24 14:34:00 --- (In reply to comment #21)
(In reply to comment #20)
Let's mark it fixed then.
The games in question are still slow as long as OffscreenRenderingMode is fbo which is the default. Setting OffscreenRenderingMode to backbuffer gives full speed.
Wouldn't call it fixed as a workaround is still needed,
Then let's adjust the summary instead to make it clear.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #23 from tyle7@hotmail.com 2009-11-24 14:40:45 --- (In reply to comment #22)
Then let's adjust the summary instead to make it clear.
Thanks, but it's ORM=fbo that is slow.
http://bugs.winehq.org/show_bug.cgi?id=18232
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou 11 and Touhou 12 |Touhou 11 and Touhou 12 |drop to below 10 fps after |drop to below 10 fps after |launching if ORM=backbuffer |launching if ORM=fbo
--- Comment #24 from Austin English austinenglish@gmail.com 2009-11-24 15:09:14 --- (In reply to comment #23)
(In reply to comment #22)
Then let's adjust the summary instead to make it clear.
Thanks, but it's ORM=fbo that is slow.
Crap, thanks.
http://bugs.winehq.org/show_bug.cgi?id=18232
Chow Loong Jin hyperair@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hyperair@gmail.com
--- Comment #25 from Chow Loong Jin hyperair@gmail.com 2010-04-20 16:41:27 --- I'm not sure if this is the same bug, but Touhou 10 stays at around 30 FPS for me on i965 (8086:2a02). Using Wine 1.0, there is no slowdown. Setting ORM = backbuffer in the registry does not seem to help either.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #26 from Chow Loong Jin hyperair@gmail.com 2010-04-24 15:57:49 --- Okay, I just upgraded to 1.1.43, and it seems to work great, with backbuffer at least. With fbo, framerate is 10FPS lower than normal.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #27 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-24 17:05:26 --- (In reply to comment #26)
With fbo, framerate is 10FPS lower than normal.
What is normal? Are you comparing against windows?
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #28 from Chow Loong Jin hyperair@gmail.com 2010-04-24 23:38:08 --- (In reply to comment #27)
(In reply to comment #26)
With fbo, framerate is 10FPS lower than normal.
What is normal? Are you comparing against windows?
No, I'm comparing against Wine 1.0 which gave me 60FPS. With backbuffer in Wine 1.1.43, it gives me a similar FPS, but some of the graphics in the background flash a little. With fbo, it drops to ~50FPS for the first level.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #29 from Starks erappleman@gmail.com 2010-06-18 03:28:38 --- I'm still seeing this bug on my machine.
Intel i945gm Mesa 7.8.1 Xserver 1.8.2 Linux 2.6.35 rc3 Wine 1.2 rc3
Touhou 11 and 12 are pretty much unplayable. 10 fps in fbo mode. 30 fps in-game (60 fps menu) in backbuffer and pbuffer modes.
Touhou 10 has it's problem spots during complex scenes, but works fine. All of the older games are fine 90% of the time.
http://bugs.winehq.org/show_bug.cgi?id=18232
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #30 from joaopa jeremielapuree@yahoo.fr 2011-08-06 05:02:48 CDT --- still a bug in current Wine?
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #31 from laochailan@web.de 2011-08-06 05:13:04 CDT --- (In reply to comment #30)
still a bug in current Wine?
For me it turned out to be a driver issue. Most of the performance problems resolved bit by bit after KMS for the r300 driver was introduced. Now with my new Nvidia graphics card, I don't experience any problems at all.
http://bugs.winehq.org/show_bug.cgi?id=18232
--- Comment #32 from joaopa jeremielapuree@yahoo.fr 2011-08-06 05:14:40 CDT --- This bug can be closed as INVALID
http://bugs.winehq.org/show_bug.cgi?id=18232
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID
--- Comment #33 from Austin English austinenglish@gmail.com 2011-08-08 14:09:35 CDT --- (In reply to comment #31)
(In reply to comment #30)
still a bug in current Wine?
For me it turned out to be a driver issue. Most of the performance problems resolved bit by bit after KMS for the r300 driver was introduced. Now with my new Nvidia graphics card, I don't experience any problems at all.
Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=18232
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #34 from Austin English austinenglish@gmail.com 2011-08-08 15:19:49 CDT --- Closing.