You are not logged in.

#1 2015-05-09 13:29:09

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 172

Touhou - poor performance

$ wine --version
wine-1.7.42
$ uname -roms
Linux 4.0.1-1-ARCH x86_64 GNU/Linux

I can cun config and the game itself fine, but the game runs awfully slowly. TH06 gets ~30fps in menu and ingame drops to ~2fps, TH08 is slightly better where menu gets full ~59-60, but ingame slows down to ~20-30.

I've tried searching everywhere, wikia says it should run just fine, if anything, it should have a problem with fps limiter and running actually faster than normal.

I don't remember it exacly, but I think I've tried it in Ubuntu a while ago and it worked just fine (what I mean by that is it shouldn't be my pc performance). Does Touhou need some special libraries, or DX installed?

Offline

#2 2015-05-09 13:48:55

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 172

Re: Touhou - poor performance

I just found that TH08's performance gets fine when starting the game in wine from terminal instead of simply doubleclicking the icon (what's the difference?), but it has no effect on TH06, which is still unplayable. (I'm using those two as an example, I haven't tested others yet).

Offline

#3 2015-05-11 16:49:02

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: Touhou - poor performance

What's your computer specs? do you play on intel integrated chip, nvidia?

My computer, a laptop with optimus technology plays TH06 smoothly both on nvidia card (GT645m) and intel chip (Ivy Bridge HD Graphics). I override d3dx9_36 with native in winecfg.

Offline

#4 2015-05-11 17:14:49

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 172

Re: Touhou - poor performance

It's a gaming laptop (albeit a few years old), nvidia 9800m gs

$ lscpu | grep "Model name"
Model name:            Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz

I'm not sure I'm doing that library override right: winecfg - Libraries - Add d3dx9_36 - Edit - Native (Windows)

I've just tried that and no change. In menu, I get good 60, but once in game, it gets only like 4.5fps.

Do I have to get a copy of some library from windows and paste it somewhere? Do I have to edit touhou config somewhat?

It might be related, but when I run wine I get some console errors

$ wine th06e.exe
Wine cannot find the ncurses library (libncursesw.so.5).
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
fixme:win:EnumDisplayDevicesW ((null),0,0x33f844,0x00000000), stub!
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d:buffer_internal_preload Too many declaration changes or converting dynamic buffer, stopping converting

but th08 runs kinda fine (but even it falls to 50 and bellow sometimes)

Last edited by JonnyRobbie (2015-05-11 17:15:20)

Offline

#5 2015-05-11 20:09:56

skualito
Member
Registered: 2008-11-19
Posts: 203

Re: Touhou - poor performance

Did you install directX 9 via winetricks? I'm pretty sure it will make a difference.

Offline

#6 2015-05-11 23:13:25

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 172

Re: Touhou - poor performance

I didn't before, so I tried it. First just

$ winetricks d3dx9

and then

$ winetricks directx9

, it added a bunch of override libraries to winecfg, but it still didn't help. TH06's ingame fps is still cca 4-5 fps.

Offline

Board footer

Powered by FluxBB