Re: [CFT] Mesa 18.3.0 update (mesa-libs, mesa-dri, libosmesa, clover)

Михаил Новоселов <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
08.12.2018 22:05, Kevin Oberman пишет:
> Thanks, Greg, for the explanation on VAAPI use. It's still a bit confusing.
> Does this mean that building mesa with VAAPI enabled is meaningless for
> Intel processors?
Hello, you probably meant Intel GPUs, not processors?

Let's look into Ubuntu's Mesa:
$ dpkg -L mesa-va-drivers (list files from package)
<...>
/usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
/usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
<...>

$ vainfo (from PC with AMD GPU)
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open 
/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 18.2.2 for AMD KABINI (DRM 
2.50.0, 4.18.0-20.3-liquorix-amd64, LLVM 7.0.0)
vainfo: Supported profile and entrypoints
       VAProfileMPEG2Simple            :    VAEntrypointVLD
       VAProfileMPEG2Main              :    VAEntrypointVLD
       VAProfileVC1Simple              :    VAEntrypointVLD
       VAProfileVC1Main                :    VAEntrypointVLD
       VAProfileVC1Advanced            :    VAEntrypointVLD
       VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
       VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
       VAProfileH264Main               :    VAEntrypointVLD
       VAProfileH264Main               :    VAEntrypointEncSlice
       VAProfileH264High               :    VAEntrypointVLD
       VAProfileH264High               :    VAEntrypointEncSlice
       VAProfileNone                   :    VAEntrypointVideoProc

Here http://linux-hardware.org/index.php?probe=56a2ccc7b4&log=vainfo you 
may find vainfo from a notebook with Intel GPU.
/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so is used. Let's find out 
which package it belongs to:

$ dpkg -S /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
i965-va-driver:amd64: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so

i965-va-driver in Ubuntu is the same as libva-intel-driver in FreeBSD. 
So, yes, VA-API in Mesa is probably useless on Intel GPUs.

Sorry if my outputs from Ubuntu have hurt FreeBSD funs, but I hope they 
illustrated the question well enough.

-- 
------
С уважением,
Михаил Новоселов | [email protected] | https://nixtux.ru

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.