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

Install VA-API-related packages by default #202

Open
kdwk opened this issue Aug 24, 2021 · 0 comments
Open

Install VA-API-related packages by default #202

kdwk opened this issue Aug 24, 2021 · 0 comments

Comments

@kdwk
Copy link

kdwk commented Aug 24, 2021

Problem

Gstreamer cannot use VA-API by default to encode and decode media in Web, Videos, etc. by default. This is not ideal as load on CPU substantially increases when watching videos/ dealing with media, when users who come from other operating systems (like Windows and macOS) are used to the GPU doing the work by default.

Proposal

Reference: https://wiki.archlinux.org/title/Hardware_video_acceleration
Check if hardware is compatible with VA-API (i.e. compatible Intel GPU)
Ask if user wants non-free software for video acceleration (e.g. intel-media-va-driver VS intel-media-va-driver-non-free), this option should also decide whether proprietary codecs (e.g. gstreamer1.0-plugins-bad) are installed
Install and configure gstreamer1.0-vaapi by default
Set the LIBVA_DRIVER_NAME environment variable to the correct one

(Further discussion necessary on when in the set-up process should the user be asked about this)

Prior Art

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

1 participant