Encoding a DMABuf into a video stream with VAAPI

Victor Jaquez vjaquez at igalia.com
Fri Feb 24 10:11:56 UTC 2023


On Thu, 23 Feb 2023 at 20:59, xaterus--- via gstreamer-devel wrote:
> Hi,
> 
> Am Mi., 22. Feb. 2023 um 12:30 Uhr schrieb Victor Jaquez via
> gstreamer-devel <gstreamer-devel at lists.freedesktop.org>:
> > What hardware are you using?
> OS: Ubuntu 22.10 x86_64
> Host: Esprimo Q958
> Kernel: 5.19.0-32-generic
> Uptime: 4 mins
> Packages: 2292 (dpkg), 13 (snap)
> Shell: bash 5.2.2
> Resolution: 1920x1080
> DE: GNOME 43.1
> WM: Mutter
> WM Theme: Adwaita
> Theme: Yaru [GTK2/3]
> Icons: Yaru [GTK2/3]
> Terminal: gnome-terminal
> CPU: Intel i5-8500T (6) @ 3.500GHz
> GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]
> Memory: 2965MiB / 15741MiB
> 
> > Can you post the output of vainfo command?
> libva info: VA-API version 1.15.0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_14
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.15 (libva 2.12.0)
> vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.3 ()
> vainfo: Supported profile and entrypoints
>       VAProfileMPEG2Simple            :    VAEntrypointVLD
>       VAProfileMPEG2Main              :    VAEntrypointVLD
>       VAProfileH264Main               :    VAEntrypointVLD
>       VAProfileH264Main               :    VAEntrypointEncSliceLP
>       VAProfileH264High               :    VAEntrypointVLD
>       VAProfileH264High               :    VAEntrypointEncSliceLP
>       VAProfileJPEGBaseline           :    VAEntrypointVLD
>       VAProfileJPEGBaseline           :    VAEntrypointEncPicture
>       VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
>       VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
>       VAProfileVP8Version0_3          :    VAEntrypointVLD
>       VAProfileHEVCMain               :    VAEntrypointVLD
>       VAProfileHEVCMain10             :    VAEntrypointVLD
>       VAProfileVP9Profile0            :    VAEntrypointVLD
>       VAProfileVP9Profile2            :    VAEntrypointVLD
> 
> Do I need other Hardware?

Oh. I guess you need to install intel-media-va-driver-non-free

Since intel-media-va-driver cuts out all the proprietary internal blobs.

> 
> Regarding the tiling, I didn't understand exactly if it would work
> with I915_FORMAT_MOD_X_TILED or only with linear ?

For rendering linear is expected to work. Other modifiers depends on other factors.

vmjl


> 
> Thanks in advance and Greetings
> Michael
> 


More information about the gstreamer-devel mailing list