https://bugs.winehq.org/show_bug.cgi?id=45482
Bug ID: 45482 Summary: jade empire default cpu affinity is only with cpu1 and performance are dropped Product: Wine Version: 3.12 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andy86@fastwebnet.it Distribution: ArchLinux
If don't know is a valid wine bug or a game bug, but reading appdb seem not present on old wine version < 3.7 or less.
When game is started performance is very poor, seem < 10 fps in main menu, unplayable at all.
Investigating I discovered that game use only 25% of cpu at default, looking for the cause, I check cpu affinity in wine taskmgr and it's have just one check of four (cpu1).
I check all box, and game start to use more of 25% cpu, and performance increase to 60fps stable.
Problem is that cpu affinity isn't saved, and operation need repeat every time that game is started.
https://bugs.winehq.org/show_bug.cgi?id=45482
andy andy86@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andy86@fastwebnet.it
https://bugs.winehq.org/show_bug.cgi?id=45482
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Does the game run better if you disable CSMT?
(In reply to andy from comment #0)
I check all box, and game start to use more of 25% cpu, and performance increase to 60fps stable.
What boxes are you referring to exactly?
https://bugs.winehq.org/show_bug.cgi?id=45482
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #2 from andy andy86@fastwebnet.it --- Disable CSMT do not solve problem.
I mean that boxes: https://www.mt4copier.com/wp-content/uploads/2015/03/setting-cpu-affinity-mt...
Game start with check only "CPU 0" (not 1 sorry), if I check all other boxes (CPU 1, CPU 2 and CPU 3), game begin to run fast.
Same thing can be do in a terminal:
taskset -p 4 $(pidof JadeEmpire.exe)
after starting the game.
I've made a bash script to do this auto checking when game is completely started.
https://bugs.winehq.org/show_bug.cgi?id=45482
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #3 from mo78@abv.bg --- The bug is still here in Wine 5.0 RC3.
https://bugs.winehq.org/show_bug.cgi?id=45482
brunnenschacht.eins@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brunnenschacht.eins@web.de
--- Comment #4 from brunnenschacht.eins@web.de --- Hi, i can reproduce this issue with Proton 4.11 (wine-4.11-617-gbdab6e7).
But using Proton 5.0.9 (wine-5.0-655-g2409bd1) fixes this for me.
(In reply to mo78 from comment #3)
The bug is still here in Wine 5.0 RC3.
@mo78@abv.bg can you test a new wine version?
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #5 from mo78@abv.bg --- No, it doesn't work on my end.
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #6 from brunnenschacht.eins@web.de --- Created attachment 68046 --> https://bugs.winehq.org/attachment.cgi?id=68046 wine log with wined3d
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #7 from brunnenschacht.eins@web.de --- Created attachment 68047 --> https://bugs.winehq.org/attachment.cgi?id=68047 wine log with dxvk
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #8 from brunnenschacht.eins@web.de --- can confirm, with wine-5.15 i have the same issue.
using dxvk instead of wined3d, the issue is gone.
https://bugs.winehq.org/show_bug.cgi?id=45482
vv221 vv221+winehq@dotslashplay.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vv221+winehq@dotslashplay.i | |t
--- Comment #9 from vv221 vv221+winehq@dotslashplay.it --- I ran a test with WINE 7.0-rc1, using GOG-provided Jade Empire installers.
- With wined3d + CSMT enabled, performances are very poor, even the menus are a bit tricky to use and the intro videos skip frames. - With wined3d + CSMT disabled, performances are better but still poor. Menus are easy to use and videos have no issues, but the game itself does not feel smooth. - With dxvk, everything seems to be fine (but I still have to play for an extended period of time).
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #10 from vv221 vv221+winehq@dotslashplay.it --- A side-effect of running the game using dxvk instead of wined3d is rendering issues during the movies. They render distorted, using only part of the screen.
These rendering issues do not happen with wined3d.
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #11 from vv221 accounts.winehq.org@vv221.fr --- I no longer reproduce the performance problems with WINE 9.0, on the same system I used to trigger them with WINE 7.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=45482
--- Comment #12 from Ken Sharp imwellcushtymelike@gmail.com --- andy, can you confirm?