On Jul 28 18:37:55, raf...@sizeofvoid.org wrote:
> On Sun Jul 28, 2024 at 06:35:37PM GMT, Jan Stary wrote:
> > Before I get down the rabbit hole,
> > is there any way to tell which codecs
> > my inteldrm is able to decode/accelerate
> > and how much it is worth it?

cd /usr/ports/sysutils/libva-utils && make install && vainfo

Thanks for the quick hint. This is what vainfo -a has to say:

Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/X11R6/lib/modules/dri/iHD_drv_video.so
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/X11R6/lib/modules/dri/i965_drv_video.so
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Note the filepaths: indeed,

ls: /usr/X11R6/lib/modules/dri/i965_drv_video.so: No such file or directory
ls: /usr/local/lib/dri/i965_drv_video.so: No such file or directory

I have intel-vaapi-driver-2.4.1 installed,
which provides a single file, namely

/usr/local/lib/xorg/modules/i965_drv_video.so

but vainfo doesn't seem to even try that.
Is there a way to tell vainfo to try that?
(libva-utils is a bunch of binaries with no manpage.)

        Jan



Reply via email to