https://bugs.winehq.org/show_bug.cgi?id=38284
Bug ID: 38284 Summary: Last Half of Darkness: Society of the Serpent Moon demo has slow performance without native d3dx9_36 Product: Wine Version: 1.7.39 Hardware: x86-64 URL: http://www.lasthalfofdarkness.com/moon/demo.htm OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 51117 --> https://bugs.winehq.org/attachment.cgi?id=51117 +tid+d3dx
Just when a hero is talking by phone at the beginning.
https://bugs.winehq.org/show_bug.cgi?id=38284
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- Created attachment 51118 --> https://bugs.winehq.org/attachment.cgi?id=51118 d3dx function calls stats
It looks like the game calls the various matrix transformation functions A LOT. In particular the final part of the log is mostly about the top 6 functions, with a D3DXLoadSurfaceFromFileA("media/ff2.bmp") every now and then.
My guess is that a SSE implementation of D3DXMatrixMultiply and maybe the other most called functions might help. BTW, which version of d3dx9_xx.dll does the game use? You could check that by looking into a +loaddll trace, for example.
https://bugs.winehq.org/show_bug.cgi?id=38284
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- Calls for d3dx9_31, 35, 36. Anyway the first two are redirected to 36.
https://bugs.winehq.org/show_bug.cgi?id=38284
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- Still valid with wine-5.0-rc4-72-g4f0212c4fd
https://bugs.winehq.org/show_bug.cgi?id=38284
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be Keywords| |performance
https://bugs.winehq.org/show_bug.cgi?id=38284
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.lasthalfofdarkne |https://web.archive.org/web |ss.com/moon/demo.htm |/20160308190651if_/http://l | |asthalfofdarkness.com/moon/ | |society.exe
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- Andrey, is this still present for you? I tried the demo and it seems to work fine, but I'm not sure what the bad performance is supposed to look like.
I forced all d3dx9 and d3dcompiler dlls to builtin.
Adding stable download.
$ sha1sum society.exe 9f67d68bdaa5ad6584324d53faf5c872d5202359 society.exe
$ du -sh society.exe 241M society.exe
https://bugs.winehq.org/show_bug.cgi?id=38284
--- Comment #5 from Andrey Gusev andrey.goosev@gmail.com --- Yes, as it says in the first message. Lips animation and mouse cursor are slow.