[Bug 44129] Bayonetta: much slower than on Windows

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 8 11:54:14 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=44129

--- Comment #3 from Zentarim <zentarim at rambler.ru> ---
(In reply to nenxvrr4.tgj from comment #2)
> I regularly play this game. This game runs at roughly 10-20 fps on an AMD
> FX-6350 and AMD RX Vega 56 @ 1440p Medium. While on Windows, it's a solid
> consistent 60 fps, albeit 60 fps being the hard frame rate limit. The only
> way I can bring this game to a playable frame rate ~40-60 fps is with
> Gallium Nine, but I still get big frame rate drops on certain events.
> 
> From what I notice, lower graphics settings only help for the main menu and
> loading screens. During actual gameplay, it drops back to the same 10-20 fps
> again.

I guess, that thing occurs because of bad handling of multithreaded
applications in wine.
Next time in the game, check you cpu usage. I bet, one wine process will
consume nearly 100% of CPU.
There is not so much things, you can do with that ( Of course, you can buy a
new cpu with 5+++ GHz clock rate, or just overclock yours current CPU.).
But, here some advices for you:
1) Doing next things together PROBABLY can give you couple of FPS:
    - Remove one core from linux sheduler with 'isocpus' kernel opts.
    - You also can prevent you CPU working in deep Cstates with aid 
    'processor.max_cstate' and 'intel_idle.max_cstate' (WARNING: you CERTAINLY
will get ~ +10 heat on you CPU. Do it at you own risk)
    For example, my working config on i7-870 (Kubuntu 18.04):
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="processor.max_cstate=1 intel_idle.max_cstate=0
isolcpus=7"
    In you case, just omit 'intel_idle.max_cstate' variable, because of AMD
cpu.
    - Pin wine process to 'isolcpus-ed' core with taskset:
    taskset -p -c <CORE> <PID> (example: taskset -p -c 7 12345)
    - Also you can disable HyperThreading, or disable hyperthreading core
related to 'isolcpus-ed' core. But i really doubt, that will give you some
advantage.
Again, this recommendations PROBALY give you COUPLE of FPS.
2) Try to use wine with 'esync' patchset. I got ~15 more fps in Blizzard
Overwitch, when i started using it.
Don't know, will it help, because you already using Gallium Nine wine.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list