Skip to content
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

Build with VA-API support for video encoding/decoding hardware acceleration? #44

Open
nekohayo opened this issue Mar 17, 2022 · 2 comments

Comments

@nekohayo
Copy link

Unless I'm mistaken, I think the flatpak version of jitsi's electron is not using hardware acceleration? Therefore it's making my laptop heat up needlessly, even compared to modern Firefoxes on Wayland? I'm not 110% sure but I think I've seen Firefox keep my Sandybridge CPU 10 degrees Celsius cooler than the flatpaked jitsi, in the same meeting session.

If so, see

Ideally, the same should be done with the Signal flatpak, but that'd probably be @bermeitinger-b

@bermeitinger-b
Copy link

It would be best to have hardware acceleration for video encoding and decoding.

For Signal, we can't do much directly because we're using the Electron version that is provided by Flathub and the prebuilt deb version from upstream Signal.
We're currently not building anything on "our own".

Also, I don't know which codec is used by Signal, but I somehow doubt that it's x264, so widespread hardware acceleration is not possible anyway.

@ananace
Copy link
Collaborator

ananace commented Mar 17, 2022

I don't think there's much to be done here about hardware acceleration either, the Jitsi flatpak is also not doing any building either - it's just packaging the upstream binaries as they preferred.

For better comparison numbers though, I'd suggest comparing the Jitsi desktop app with a regular Chromium install - preferably of a similar version too. Firefox might be doing things differently than Electron could after all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants