r57zone / DualShock4-emulator

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши

Home Page:https://youtu.be/17hY1zTqoYQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working great, but high CPU utliization

theshadillac opened this issue · comments

This was just what i was looking for! working great, thanks!

But i am seeing really high CPU utilization with the emulator executable. is this normal?

What processor do you using? You can increase the sleeptimeout up to 2-3 seconds and the load will be lower.

AMD 4500u.
where is the sleep timeout setting? in the config.ini.
are there any side affect of changing it to 2-3 seconds.
BTW, this is first solution for this that works for me, so thank you so much

[Xbox]
...
SleepTimeOut=1
...

[KeyboardMouse]
...
SleepTimeOut=1

input latency will increase, but not significantly.

Will it help?

not much. I increased the timeout on the keyboard/mouse quite a bit since i have no physical keyboard or mouse attached. only a gamepad. the power usage only dropped from about 7w to 4-5w, so it is consuming tons of battery power, CPU only dropped from 33% to 28%.

could part of the issue be that i have no mouse and only the onscreen keyboard?

So it looks like it has something to do with reading the gyroscope, now this can be disabled in the config file
[Motion]
Activate=0

that fixed it!! thanks!

i wonder if it is because i am using this device ,https://store.ayaneo.com/products/ayaneo-2021 and it uses the Bosch BMI160 gyro sensor instead

thanks!!!

FYI, i shared this github in the Ayaneo discord channel

It looks like it's my fault

i just very thankful that you took the time to write this. now PSNow and RemotePlay work on the Ayaneo. thank you! i am happy to test future releases

It seems completely fixed in the latest version, now the gyroscope does not load the system. It would be great if tested the latest version.

Worked thx!