Cannot get Intel VAAPI to work

I tried the following:

Nothing works. Still vainfo reports error:

$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib64/dri/
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/
libva info: Found init function __vaDriverInit_1_14
libva error: /usr/lib64/dri/ init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

with sudo error too.
My CPU model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz

Solved, I needed to also enable non-free RPM Fusion to find intel-media-driver package (why though? It has MIT license).

1 Like

MIT license, and the codecs contained within that package seem to not fit within the structure for licensing and copyright/patent rules that fedora follows to include packages in the official repos.