-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage if camera on. Low if camera off #13544
Comments
What hardware are you running this on? Is you r meeting happening on meet.jit.si or a different server? Can you please run the AppImage? The flatpak is a third party build, and I rather have least amount of uncertainty here. |
T480 Thinkpad laptop
8 cores
I will use AppImage for my meeting today. Would you rather I use |
And more hardware details from
|
No CPU spike with AppImage! I'll try the |
AppImage or deb should yield the same result. I guess the flatpak sandboxing might prevent GPU acceleration maybe... |
I'm using the |
It's normal to have higher CPU usage when the camera is on. Even when it's off, depending on the video you're receiving. There is not much we can act on here really. |
I expect high CPU usage. But this entirely shuts down an 8-core machine. Seems excessive. I would be happy to try to debug this if you can offer any advice on what I should look for, although it's hard to type or even move the mouse when this happens. It's also strange (to me) that it takes 5 minutes to occur. If I toggle off the camera for just 1 second everything calms down for ~5 minutes. Either it's an intensive process or it isn't, I'm not sure why it builds up like this. |
What kind of hardware is that? |
See #13544 T480 Thinkpad laptop
8 cores |
Sorry missed it before. Do you observe the same behavior if you use Chromium directly instead of the Electron app? |
Yes, same using Google Chrome web browser. |
I've turned off 'show self view' and will report back if that makes a difference... |
If the results are the same in Chrome this needs to be handled in the Jitsi-meet repo, not in the Electron wrapper. |
Ok. Well wherever it happens, I think the meeting went for a while without taking all CPUs when I turned off self view. It'll be later next week when I can test this further, but I will report back (using the |
Done! |
It appears this bug is primarily triggered by |
The self view is just another video tile that needs to be rendered. I think you are on the edge of what your hardware can handle, and one more video is enough to push it over the edge. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@mankoff can you tell us, what kind of jitsi meeting we're talking about? How many participants?
In view of the intel core i7, 8 core, 32gb ram machine of @mankoff , which from my perspective sounds like a pretty decent one, and in view of him stating "I've turned performance to one-above-lowest", would you tell us roughly, what cpu/gpu specifications, how many cores and how much ram you'd expect to be sufficient for a smooth experience on a low performance level? I'm thinking about getting a new machine.. |
There are too many variables to give a good estimate. Note this was on Linux, and video card drivers also play a part. |
@maymage sorry for the late reply, perhaps influenced by @saghul suggesting this machine is just not powerful enough. The meetings I'm talking about are 1 other participant, just me +1. I agree with your comment - this is a fine machine, and should not peg all 8 cores at 100 % in this use case. No other video software (Teams, Meet, Zoom) take any noticable CPU. |
This bug has been addressed several times, most recently on jitsi/jitsi-meet-electron#777.
However, that bug seems to be focused on OS X and importantly says,
I'm opening a new bug because I'm on Linux and CPU drops as soon as I turn off my camera.
I've turned
performance
to one-above-lowest (where lowest turns off the camera) and am using a URL with:MyMeetingRoom#config.disableAudioLevels=true&config.channelLastN=3&config.startSilent=false
and in the GUI setDisable automatic gain control
.I much prefer Jitsi to other tools and would be happy to help debug this if you can provide any suggestions.
Description
After about 1-5 minutes of running Jitsi (Firefox or Electron app installed via Flathub), all 8 cores on my laptop peg to 100 % and the system becomes unusable. Audio and video drop. Mouse becomes laggy. If I turn off my camera (in Jitsi) CPUs immediately drop. This is therefore due to outbound video, not inbound.
Possible Solution
Audio only.
Environment details
$ flatpak list|grep jitsi Jitsi Meet org.jitsi.jitsi-meet 2023.5.3 stable user
The text was updated successfully, but these errors were encountered: