[FFmpeg-user] av1_vaapi encoding testing

Xiang, Haihao haihao.xiang at intel.com
Wed Oct 11 10:21:28 EEST 2023


> On Mon, 25 Sep 2023 04:39:53 +0000
> "Xiang, Haihao" <haihao.xiang-at-intel.com at ffmpeg.org> wrote:
> 
> > On Vr, 2023-09-22 at 22:11 +0200, Patrick M. wrote:
> > > On Fri, 22 Sep 2023 20:04:57 +0300
> > > Dennis Mungai <dmngaie at gmail.com> wrote:
> > > > 
> > > > 
> > > > That's good to hear. You may also want to ensure that the likes of
> > > > OneVPL
> > > > are up to date if you're using any of its encoder wrappers. It was
> > > > formerly
> > > > called (and implemented as) QuickSync (QSV).
> > > > 
> > > > > 
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > 
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > 
> > > 
> > > Well i think they are - av1_vaapi works now without issues so far.
> > > oneVPL-intel-gpu 23.3.2 and
> > > oneVPL 2023.3.1
> > > 
> > > With direct QSV i had no luck yet - see
> > > https://community.intel.com/t5/Media-Intel-oneAPI-Video/ffmpeg-6-using-qsv-on-ARC380/m-p/1524165/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExNS0o5N1ZLMzlUMkRIfDE1MjQxNjV8U1VCU0NSSVBUSU9OU3xoSw
> > 
> > Could you double check whether /dev/dri/renderD129 is your Intel GPU ? 
> Yes, sure:
> 
>  vainfo --display drm --device /dev/dri/renderD129
> Trying display: drm
> libva info: VA-API version 1.19.0
> libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_19
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.19 (libva 2.18.2)
> vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.3.2 ()
> vainfo: Supported profile and entrypoints
> ...
>       VAProfileAV1Profile0            : VAEntrypointVLD
>       VAProfileAV1Profile0            : VAEntrypointEncSliceLP
> 
> 
> l /dev/dri/by-path/
> total 0
> lrwxrwxrwx 1 root root  8 Sep 30  2023 pci-0000:2f:00.0-card -> ../card0
> lrwxrwxrwx 1 root root 13 Sep 30  2023 pci-0000:2f:00.0-render ->
> ../renderD128
> lrwxrwxrwx 1 root root  8 Sep 30  2023 pci-0000:32:00.0-card -> ../card1
> lrwxrwxrwx 1 root root 13 Sep 30  2023 pci-0000:32:00.0-render ->
> ../renderD129
> 
> 
> and from lspci 
> 
> 32:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A380] (rev 05)
> (prog-if 00 [VGA controller])
>         Subsystem: ASRock Incorporation DG2 [Arc A380]
>         Flags: bus master, fast devsel, latency 0, IRQ 46, IOMMU group 2
>         Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
>         Memory at 7fc0000000 (64-bit, prefetchable) [size=256M]
>         Expansion ROM at fb000000 [disabled] [size=2M]
>         Capabilities: [40] Vendor Specific Information: Len=0c <?>
>         Capabilities: [70] Express Endpoint, MSI 00
>         Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
>         Capabilities: [d0] Power Management version 3
>         Capabilities: [100] Alternative Routing-ID Interpretation (ARI)
>         Capabilities: [420] Physical Resizable BAR
>         Capabilities: [400] Latency Tolerance Reporting
>         Kernel driver in use: i915
> 

Thanks for the detailed info, could you try with
https://github.com/intel-media-ci/ffmpeg/pull/682 ? 

BRs
Haihao




More information about the ffmpeg-user mailing list