[BUG REPORT] Garbled voice due to exterme resource usage
w0uld opened this issue ยท 11 comments
You MUST use this template or your issue will be deleted.
Pre-Flight Checklist
Please use this checklist to avoid spamming:
- I am not asking a question => use the Discord if you are
- I am using the Steam version of Among Us
- I have tried to use an alternative voice server
- I have checked everyone in my lobby is on the same CrewLink server
- I have used
Ctrl+R
on the CrewLink app when I can't hear some people (this is a known issue) - I have checked that the CrewLink server I'm using is up to date
- I have a screenshot of any errors
- I have checked that someone else has not reported this using the search bar
Describe the bug
The application uses a huge amount of system resources -- 4 members of our 10 party playgroup reported 80-100% CPU utilization on their laptops according to task manager, resulting in garbled voice on their end. Other members also saw a surprisingly high CPU utilization, but they have better computers, therefore don't experience any other issues.
CPU utilization is the highest during gameplay with 10 people.
Note: we checked CrewLink as well -- CrewLink also has a surprisingly high CPU usage, but not as high as BetterCrewLink; this leads me to assume that the problems might be stemming from CrewLink itself, but further enhanced by BetterCrewLink.
To Reproduce
Steps to reproduce the behaviour:
- Join a proximity game with 10 people.
- Start playing.
- Check task manager in the meantime.
- You should be seeing surprisingly high CPU utilization.
Expected behaviour
Less taxing on system resources.
Desktop (please complete the following information):
OS: Windows 10
Version: BetterCrewLink 1.2.14
The main source of the usage is the too frequent memory read in https://github.com/OhMyGuus/BetterCrewLink/blob/nightly/src/main/hook.ts#L71 .
It's neccessary for high player speed, but if You only play on regular speeds, then 250ms read is more than adequate.
We use it with that parameter and it uses way less CPU than the original version
The main source of the usage is the too frequent memory read in https://github.com/OhMyGuus/BetterCrewLink/blob/nightly/src/main/hook.ts#L71 .
It's neccessary for high player speed, but if You only play on regular speeds, then 250ms read is more than adequate.
We use it with that parameter and it uses way less CPU than the original version
Szia Robi,
Thanks for the reply. I don't see an option to change the polling rate in the readily available releases -- is it just me, or it's not implemented yet?
Currently it's only changeable at compilation time, so You have to build Your own release from the source to do it
I have everything installed on my PC so if You want I can build a version for You which have the polling changed to 250ms, so You can test it with Your friends
@w0uld You can download it from here: https://vrnagy.eu/stuff/Better-CrewLink-Setup-1.2.16.exe Only the polling has been changed
Thanks for all the help. CPU utilization remains fairly high, so even if it improved somewhat, unfortunately this doesn't seem to be an ideal solution.
@w0uld You can download it from here: https://vrnagy.eu/stuff/Better-CrewLink-Setup-1.2.16.exe Only the polling has been changed
I tested it, it doesn't seem to fix it really