Closed gnat closed 1 year ago
@nyanmisaka @wenbinc-Bin @xhaihao @deepglugs
Same fundamental problem (AV1 encoding not working on Linux 6.2), but we made a lot of progress and issue has changed drastically. I've created a new issue to prevent confusion on stuff we already have solved.
vp9_qsv
also works.
So I've tested a variety of other installations:
libmfx-gen1.2
.oneVPL-intel-gpu
(https://github.com/oneapi-src/oneVPL-intel-gpu):red_circle: av1_qsv
Identical error: Segmentation fault (core dumped)
:green_circle: h264_qsv
works.
libmfx-gen1.2
. oneVPL-intel-gpu
(https://github.com/oneapi-src/oneVPL-intel-gpu) cartwheel-ffmpeg
:red_circle: av1_qsv
Identical error: Segmentation fault (core dumped)
:green_circle: h264_qsv
works.
libmfx-gen1.2
.sudo apt install -y libvpl2
:red_circle: av1_qsv
Error -17 (Error setting child device handle: -17) as detailed in #233
Please, capture a call stack on the segfault issue. Better on the "B" case where you self-built some components:
$ apt-get install -y gdb
$ gdb --args ./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
>>> run
>>> bt
Additionally install vainfo. Let's check that it correctly returns AV1 entry point:
$ apt-get install -y vainfo
$ vainfo # share output of this command
Also, the major component which interacts with the Linux kernel is media-driver. You did not rebuilt it. So, you actually have 2 more experiments which you can make:
apt-get install -y intel-media-va-driver-non-free
DENABLE_NONFREE_KERNELS=OFF
Some good news! The OP setup + intel-media-va-driver-non-free
works! I'm encoding av1_qsv
with it.
It would still be ideal to figure out what is causing the crash, so intel-media-va-driver-non-free
isn't a hard requirement in the future. I'll get you the back trace...
I use many VPP filters so I always prefer the non-free/full-feature version.
https://github.com/intel/media-driver#decodingencoding-features But the docs of media-driver says AV1 8/10bit encoding is supported on DG2 in both two kernels.
But the docs of media-driver says AV1 8/10bit encoding is supported on DG2 in both two kernels.
There is dependency on BRC mode: CQP mode should work on both driver, but VBR/CBR would work only on non-free. You can check that by running vainfo -a
and look into AV1 EncSlice entypoint description: it should list available BRC modes. I expect you see only CQP for free driver and CQP+CBR+VBR for non-free.
So, another experiment would be to try running CQP with free driver and check whether segfault will go away. This will narrow down the issue. Something like:
./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -q 25 \
-i_qfactor 1.0 -i_qoffset 1.0 -b_qfactor 1.0 -b_qoffset 0.0 -y output.mp4
Using compiled master oneVPL-intel-gpu (https://github.com/oneapi-src/oneVPL-intel-gpu)
There is dependency on BRC mode: CQP mode should work on both driver, but VBR/CBR would work only on non-free. You can check that by running
vainfo -a
and look into AV1 EncSlice entypoint description: it should list available BRC modes. I expect you see only CQP for free driver and CQP+CBR+VBR for non-free.
So, another experiment would be to try running CQP with free driver and check whether segfault will go away. This will narrow down the issue. Something like:
./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -q 25 \ -i_qfactor 1.0 -i_qoffset 1.0 -b_qfactor 1.0 -b_qoffset 0.0 -y output.mp4
Sadly nope, still segfaults.
@dvrogozh I don't have access to my Arc A380 now but from the libva caps of the DG2 AV1 encoder there's no hard requirement on media kernel. The FtrEnableMediaKernels
is for AVC, HEVC and VP9 encoders.
Crash backtrace using compiled master oneVPL-intel-gpu (https://github.com/oneapi-src/oneVPL-intel-gpu)
:green_circle: Works: ./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v h264_qsv -y output.mp4
:red_circle: Crash: ./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
Backtrace using gdb --args ./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
server@server:~/Desktop$ gdb --args ./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
GNU gdb (Ubuntu 13.0.90.20230114-0ubuntu2) 13.0.90.20230114-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./ffmpeg...
(No debugging symbols found in ./ffmpeg)
(gdb) run
Starting program: /home/server/Desktop/ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
BFD: error: /usr/lib/debug/.build-id/69/e4bd2dd4e0347100ed6cb91e7a8ece2d29c56a.debug(.debug_info) is too large (0x15ec2c bytes)
warning: Can't read data for section '.debug_info' in file '/usr/lib/debug/.build-id/69/e4bd2dd4e0347100ed6cb91e7a8ece2d29c56a.debug'
warning: Section .debug_aranges in /usr/lib/debug/.build-id/69/e4bd2dd4e0347100ed6cb91e7a8ece2d29c56a.debug entry at offset 0 debug_info_offset 0 does not exists, ignoring .debug_aranges.
ffmpeg version N-109902-gd5cc7acff1-20230222 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20230222
libavutil 58. 3.100 / 58. 3.100
libavcodec 60. 4.100 / 60. 4.100
libavformat 60. 4.100 / 60. 4.100
libavdevice 60. 2.100 / 60. 2.100
libavfilter 9. 4.100 / 9. 4.100
libswscale 7. 2.100 / 7. 2.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
[h264 @ 0x55555d423d40] Reinit context to 1280x720, pix_fmt: yuv420p
[vist#0:1/h264 @ 0x55555d44a800] WARNING: defaulting hwaccel_output_format to qsv for compatibility with old commandlines. This behaviour is DEPRECATED and will be removed in the future. Please explicitly set "-hwaccel_output_format qsv".
Selecting decoder 'h264_qsv' because of requested hwaccel method qsv
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './BigBuckBunny.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
creation_time : 2010-01-10T08:29:06.000000Z
Duration: 00:09:56.47, start: 0.000000, bitrate: 2119 kb/s
Stream #0:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2010-01-10T08:29:06.000000Z
handler_name : (C) 2007 Google Inc. v08.13.2007.
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(progressive, left), 1280x720 [SAR 1:1 DAR 16:9], 1991 kb/s, 24 fps, 24 tbr, 24k tbn (default)
Metadata:
creation_time : 2010-01-10T08:29:06.000000Z
handler_name : (C) 2007 Google Inc. v08.13.2007.
vendor_id : [0][0][0][0]
[AVHWDeviceContext @ 0x55555d458400] Trying to use DRM render node for device 0, with matching kernel driver (i915).
[AVHWDeviceContext @ 0x55555d458400] libva: VA-API version 1.17.0
[AVHWDeviceContext @ 0x55555d458400] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x55555d458400] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55555d458400] libva: Found init function __vaDriverInit_1_17
[AVHWDeviceContext @ 0x55555d458400] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55555d458400] Initialised VAAPI connection: version 1.17
[AVHWDeviceContext @ 0x55555d458400] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x55555d458400] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x55555d457100] Use Intel(R) oneVPL to create MFX session, API version is 2.8, the required implementation version is 1.3
[New Thread 0x7ffff4bff6c0 (LWP 4472)]
[New Thread 0x7ffff43fe6c0 (LWP 4473)]
[Thread 0x7ffff43fe6c0 (LWP 4473) exited]
[Thread 0x7ffff4bff6c0 (LWP 4472) exited]
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[New Thread 0x7ffff43fe6c0 (LWP 4474)]
[New Thread 0x7ffff4bff6c0 (LWP 4475)]
[Thread 0x7ffff4bff6c0 (LWP 4475) exited]
[Thread 0x7ffff43fe6c0 (LWP 4474) exited]
[New Thread 0x7ffff4bff6c0 (LWP 4476)]
[New Thread 0x7ffff43fe6c0 (LWP 4477)]
[New Thread 0x7ffff3bfd6c0 (LWP 4478)]
[New Thread 0x7ffff33fc6c0 (LWP 4479)]
[New Thread 0x7ffff2bfb6c0 (LWP 4480)]
[New Thread 0x7ffff23fa6c0 (LWP 4481)]
[New Thread 0x7ffff1bf96c0 (LWP 4482)]
[New Thread 0x7ffff13f86c0 (LWP 4483)]
[New Thread 0x7ffff0bf76c0 (LWP 4484)]
[New Thread 0x7fffebfff6c0 (LWP 4485)]
[New Thread 0x7fffeb7fe6c0 (LWP 4486)]
[New Thread 0x7fffeaffd6c0 (LWP 4487)]
[New Thread 0x7fffea7fc6c0 (LWP 4488)]
[New Thread 0x7fffe9ffb6c0 (LWP 4489)]
[New Thread 0x7fffe97fa6c0 (LWP 4490)]
[New Thread 0x7fffe8ff96c0 (LWP 4491)]
[AVHWDeviceContext @ 0x55555d457100] Initialize MFX session: implementation version is 2.8
Stream mapping:
Stream #0:1 -> #0:0 (h264 (h264_qsv) -> av1 (av1_qsv))
Stream #0:0 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[New Thread 0x7fffe3fff6c0 (LWP 4492)]
[New Thread 0x7fffe37fe6c0 (LWP 4493)]
[New Thread 0x7fffe2ffd6c0 (LWP 4494)]
[New Thread 0x7fffe27fc6c0 (LWP 4495)]
[New Thread 0x7fffe1ffb6c0 (LWP 4496)]
[New Thread 0x7fffe17fa6c0 (LWP 4497)]
[New Thread 0x7fffe0ff96c0 (LWP 4498)]
[New Thread 0x7fffe07f86c0 (LWP 4499)]
[New Thread 0x7fffdfff76c0 (LWP 4500)]
[New Thread 0x7fffdf7f66c0 (LWP 4501)]
[New Thread 0x7fffdeff56c0 (LWP 4502)]
[New Thread 0x7fffde7f46c0 (LWP 4503)]
[New Thread 0x7fffddff36c0 (LWP 4504)]
[New Thread 0x7fffdd7f26c0 (LWP 4505)]
[New Thread 0x7fffdcff16c0 (LWP 4506)]
[New Thread 0x7fffdc7f06c0 (LWP 4507)]
[graph_1_in_0_0 @ 0x55555d7de9c0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:stereo
[AVHWDeviceContext @ 0x55555d9b4940] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x55555d9b4940] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x55555d456880] Decoder: output is video memory surface
[h264_qsv @ 0x55555d456880] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[New Thread 0x7fffdbfef6c0 (LWP 4508)]
[New Thread 0x7fffdb7ee6c0 (LWP 4509)]
[New Thread 0x7fffdafed6c0 (LWP 4510)]
[New Thread 0x7fffda7ec6c0 (LWP 4511)]
[New Thread 0x7fffd9feb6c0 (LWP 4512)]
[New Thread 0x7fffd97ea6c0 (LWP 4513)]
[New Thread 0x7fffd8fe96c0 (LWP 4514)]
[New Thread 0x7fffd87e86c0 (LWP 4515)]
[New Thread 0x7fffd7fe76c0 (LWP 4516)]
[New Thread 0x7fffd77e66c0 (LWP 4517)]
[New Thread 0x7fffd6fe56c0 (LWP 4518)]
[New Thread 0x7fffd67e46c0 (LWP 4519)]
[New Thread 0x7fffd5fe36c0 (LWP 4520)]
[New Thread 0x7fffd57e26c0 (LWP 4521)]
[New Thread 0x7fffd4fe16c0 (LWP 4522)]
[New Thread 0x7fffd47e06c0 (LWP 4523)]
[Thread 0x7fffd4fe16c0 (LWP 4522) exited]
[Thread 0x7fffd97ea6c0 (LWP 4513) exited]
[Thread 0x7fffd6fe56c0 (LWP 4518) exited]
[Thread 0x7fffda7ec6c0 (LWP 4511) exited]
[Thread 0x7fffdb7ee6c0 (LWP 4509) exited]
[Thread 0x7fffdbfef6c0 (LWP 4508) exited]
[Thread 0x7fffd57e26c0 (LWP 4521) exited]
[Thread 0x7fffd5fe36c0 (LWP 4520) exited]
[Thread 0x7fffd47e06c0 (LWP 4523) exited]
[Thread 0x7fffd67e46c0 (LWP 4519) exited]
[Thread 0x7fffd77e66c0 (LWP 4517) exited]
[Thread 0x7fffd7fe76c0 (LWP 4516) exited]
[Thread 0x7fffd87e86c0 (LWP 4515) exited]
[Thread 0x7fffd8fe96c0 (LWP 4514) exited]
[Thread 0x7fffd9feb6c0 (LWP 4512) exited]
[Thread 0x7fffdafed6c0 (LWP 4510) exited]
[AVHWDeviceContext @ 0x55555d785b40] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ().
[AVHWDeviceContext @ 0x55555d785b40] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x55555d456880] Decoder: output is video memory surface
[h264_qsv @ 0x55555d456880] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[New Thread 0x7fffd47e06c0 (LWP 4524)]
[New Thread 0x7fffd4fe16c0 (LWP 4525)]
[New Thread 0x7fffd57e26c0 (LWP 4526)]
[New Thread 0x7fffd5fe36c0 (LWP 4527)]
[New Thread 0x7fffdbfef6c0 (LWP 4528)]
[New Thread 0x7fffdb7ee6c0 (LWP 4529)]
[New Thread 0x7fffdafed6c0 (LWP 4530)]
[New Thread 0x7fffda7ec6c0 (LWP 4531)]
[New Thread 0x7fffd9feb6c0 (LWP 4532)]
[New Thread 0x7fffd97ea6c0 (LWP 4533)]
[New Thread 0x7fffd8fe96c0 (LWP 4534)]
[New Thread 0x7fffd87e86c0 (LWP 4535)]
[New Thread 0x7fffd7fe76c0 (LWP 4536)]
[New Thread 0x7fffd77e66c0 (LWP 4537)]
[New Thread 0x7fffd6fe56c0 (LWP 4538)]
[New Thread 0x7fffd67e46c0 (LWP 4539)]
[Thread 0x7fffd67e46c0 (LWP 4539) exited]
[Thread 0x7fffd6fe56c0 (LWP 4538) exited]
[Thread 0x7fffd77e66c0 (LWP 4537) exited]
[Thread 0x7fffd7fe76c0 (LWP 4536) exited]
[Thread 0x7fffd87e86c0 (LWP 4535) exited]
[Thread 0x7fffd8fe96c0 (LWP 4534) exited]
[Thread 0x7fffd97ea6c0 (LWP 4533) exited]
[Thread 0x7fffd9feb6c0 (LWP 4532) exited]
[Thread 0x7fffda7ec6c0 (LWP 4531) exited]
[Thread 0x7fffdafed6c0 (LWP 4530) exited]
[Thread 0x7fffdb7ee6c0 (LWP 4529) exited]
[Thread 0x7fffdbfef6c0 (LWP 4528) exited]
[Thread 0x7fffd5fe36c0 (LWP 4527) exited]
[Thread 0x7fffd57e26c0 (LWP 4526) exited]
[Thread 0x7fffd4fe16c0 (LWP 4525) exited]
[Thread 0x7fffd47e06c0 (LWP 4524) exited]
[New Thread 0x7fffd67e46c0 (LWP 4540)]
[New Thread 0x7fffd6fe56c0 (LWP 4541)]
[New Thread 0x7fffd77e66c0 (LWP 4542)]
[New Thread 0x7fffd7fe76c0 (LWP 4543)]
[New Thread 0x7fffdbe6f6c0 (LWP 4544)]
[New Thread 0x7fffdb66e6c0 (LWP 4545)]
[New Thread 0x7fffdae6d6c0 (LWP 4546)]
[New Thread 0x7fffda66c6c0 (LWP 4547)]
[New Thread 0x7fffd9e6b6c0 (LWP 4548)]
[New Thread 0x7fffd966a6c0 (LWP 4549)]
[New Thread 0x7fffd8e696c0 (LWP 4550)]
[New Thread 0x7fffd5fe36c0 (LWP 4551)]
[New Thread 0x7fffd57e26c0 (LWP 4552)]
[New Thread 0x7fffd4fe16c0 (LWP 4553)]
[New Thread 0x7fffd47e06c0 (LWP 4554)]
[graph 0 input from stream 0:1 @ 0x55555d9d78c0] w:1280 h:720 pixfmt:qsv tb:1/24000 fr:24/1 sar:1/1
[av1_qsv @ 0x55555d4589c0] Using input frames context (format qsv) with av1_qsv encoder.
[av1_qsv @ 0x55555d4589c0] Encoder: input is video memory surface
[av1_qsv @ 0x55555d4589c0] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[New Thread 0x7fffd3fdf6c0 (LWP 4555)]
[New Thread 0x7fffd37de6c0 (LWP 4556)]
[New Thread 0x7fffd2fdd6c0 (LWP 4557)]
[New Thread 0x7fffd27dc6c0 (LWP 4558)]
[New Thread 0x7fffd1fdb6c0 (LWP 4559)]
[New Thread 0x7fffd17da6c0 (LWP 4560)]
[New Thread 0x7fffd0fd96c0 (LWP 4561)]
[New Thread 0x7fffcbfff6c0 (LWP 4562)]
[New Thread 0x7fffcb7fe6c0 (LWP 4563)]
[New Thread 0x7fffcaffd6c0 (LWP 4564)]
[New Thread 0x7fffca7fc6c0 (LWP 4565)]
[New Thread 0x7fffc9ffb6c0 (LWP 4566)]
[New Thread 0x7fffc97fa6c0 (LWP 4567)]
[New Thread 0x7fffc8ff96c0 (LWP 4568)]
[New Thread 0x7fffc3fff6c0 (LWP 4569)]
[New Thread 0x7fffc37fe6c0 (LWP 4570)]
[Thread 0x7fffc37fe6c0 (LWP 4570) exited]
[Thread 0x7fffc3fff6c0 (LWP 4569) exited]
[Thread 0x7fffc8ff96c0 (LWP 4568) exited]
[Thread 0x7fffc97fa6c0 (LWP 4567) exited]
[Thread 0x7fffc9ffb6c0 (LWP 4566) exited]
[Thread 0x7fffca7fc6c0 (LWP 4565) exited]
[Thread 0x7fffcaffd6c0 (LWP 4564) exited]
[Thread 0x7fffcb7fe6c0 (LWP 4563) exited]
[Thread 0x7fffcbfff6c0 (LWP 4562) exited]
[Thread 0x7fffd0fd96c0 (LWP 4561) exited]
[av1_qsv @ 0x55555d4589c0] Using the variable bitrate (VBR) ratecontrol method
[Thread 0x7fffd17da6c0 (LWP 4560) exited]
[Thread 0x7fffd1fdb6c0 (LWP 4559) exited]
[Thread 0x7fffd27dc6c0 (LWP 4558) exited]
[Thread 0x7fffd2fdd6c0 (LWP 4557) exited]
[Thread 0x7fffd37de6c0 (LWP 4556) exited]
[Thread 0x7fffd3fdf6c0 (LWP 4555) exited]
[av1_qsv @ 0x55555d4589c0] profile: av1 main; level: 31
[av1_qsv @ 0x55555d4589c0] GopPicSize: 248; GopRefDist: 8; GopOptFlag:; IdrInterval: 0
[av1_qsv @ 0x55555d4589c0] TargetUsage: 4; RateControlMethod: VBR
[av1_qsv @ 0x55555d4589c0] BufferSizeInKB: 1000; InitialDelayInKB: 125; TargetKbps: 1000; MaxKbps: 1000; BRCParamMultiplier: 1
[av1_qsv @ 0x55555d4589c0] NumRefFrame: 4
[av1_qsv @ 0x55555d4589c0] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0; IntRefCycleDist: 0
[av1_qsv @ 0x55555d4589c0] MaxFrameSize: 0;
[av1_qsv @ 0x55555d4589c0] BitrateLimit: unknown; MBBRC: OFF; ExtBRC: unknown
[av1_qsv @ 0x55555d4589c0] VDENC: ON
[av1_qsv @ 0x55555d4589c0] BRefType: pyramid
[av1_qsv @ 0x55555d4589c0] PRefType: default
[av1_qsv @ 0x55555d4589c0] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[av1_qsv @ 0x55555d4589c0] FrameRateExtD: 1; FrameRateExtN: 24
[av1_qsv @ 0x55555d4589c0] NumTileRows: 1; NumTileColumns: 1; NumTileGroups: 1
[av1_qsv @ 0x55555d4589c0] WriteIVFHeaders: OFF
[av1_qsv @ 0x55555d4589c0] LowDelayBRC: OFF
[av1_qsv @ 0x55555d4589c0] MaxFrameSize: 0;
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isomavc1mp42
encoder : Lavf60.4.100
Stream #0:0(und): Video: av1, 1 reference frame (av01 / 0x31307661), qsv(tv, progressive, left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 24 fps, 12288 tbn (default)
Metadata:
creation_time : 2010-01-10T08:29:06.000000Z
handler_name : (C) 2007 Google Inc. v08.13.2007.
vendor_id : [0][0][0][0]
encoder : Lavc60.4.100 av1_qsv
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, delay 1024, 128 kb/s (default)
Metadata:
creation_time : 2010-01-10T08:29:06.000000Z
handler_name : (C) 2007 Google Inc. v08.13.2007.
vendor_id : [0][0][0][0]
encoder : Lavc60.4.100 aac
[New Thread 0x7fffc37fe6c0 (LWP 4571)]
frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.44 bitrate= 0.9kbits/s speed=35.3x
Thread 6 "ffmpeg" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff4bff6c0 (LWP 4476)]
0x00007ffff70b7dc1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
(gdb) bt
#0 0x00007ffff70b7dc1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#1 0x00007ffff734db1f in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#2 0x00007ffff71b1988 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#3 0x00007ffff70c6692 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#4 0x00007ffff6f14115 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#5 0x00007ffff6eea433 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#6 0x00007ffff7a46563 in vaEndPicture (dpy=0x55555d48f3d0, context=<optimized out>) at ./va/va.c:1634
#7 0x00007ffff5d698ce in MfxEncodeHW::DeviceVAAPI::Execute(MfxEncodeHW::DDIExecParam const&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#8 0x00007ffff5d01a83 in std::_Function_handler<mfxStatus (std::function<mfxStatus (MfxEncodeHW::DDIExecParam const&)>, MfxEncodeHW::DDIExecParam const&), AV1EHW::Linux::Base::DDI_VA::Query1NoCaps(AV1EHW::FeatureBlocks const&, std::function<void (unsigned int, std::function<mfxStatus (mfxVideoParam const&, mfxVideoParam&, MfxFeatureBlocks::StorageRW&)>&&)>)::{lambda(mfxVideoParam const&, mfxVideoParam&, MfxFeatureBlocks::StorageRW&)#1}::operator()(mfxVideoParam const&, mfxVideoParam&, MfxFeatureBlocks::StorageRW&) const::{lambda(std::function<mfxStatus (MfxEncodeHW::DDIExecParam const&)>, MfxEncodeHW::DDIExecParam const&)#1}>::_M_invoke(std::_Any_data const&, std::function<mfxStatus (MfxEncodeHW::DDIExecParam const&)>&&, MfxEncodeHW::DDIExecParam const&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#9 0x00007ffff5ce8bae in std::_Function_handler<mfxStatus (MfxEncodeHW::DDIExecParam const&), MfxFeatureBlocks::CallChain<mfxStatus, MfxEncodeHW::DDIExecParam const&>::Push(std::function<mfxStatus (std::function<mfxStatus (MfxEncodeHW::DDIExecParam const&)>, MfxEncodeHW::DDIExecParam const&)>)::{lambda(MfxEncodeHW::DDIExecParam const&)#1}>::_M_invoke(std::_Any_data const&, MfxEncodeHW::DDIExecParam const&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#10 0x00007ffff5d6a496 in MfxEncodeHW::DeviceVAAPI::EndPicture() () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#11 0x00007ffff5d065cb in std::_Function_handler<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&), AV1EHW::Linux::Base::DDI_VA::SubmitTask(AV1EHW::FeatureBlocks const&, std::function<void (unsigned int, std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)>&&)>)::{lambda(MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)#1}>::_M_invoke(std::_Any_data const&, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#12 0x00007ffff5d5ce38 in MfxFeatureBlocks::RunBlocks<bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&>(bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const&, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)::{lambda(MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > const&)#1} std::for_each<std::_List_const_iterator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > >, MfxFeatureBlocks::RunBlocks<bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&>(bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const&, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)::{lambda(MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > const&)#1}>(std::_List_const_iterator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > >, std::_List_const_iterator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > >, MfxFeatureBlocks::RunBlocks<bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&>(bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const&, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)::{lambda(MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > const&)#1}) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#13 0x00007ffff5d5cf3c in mfxStatus MfxFeatureBlocks::RunBlocks<bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&>(bool (*)(mfxStatus const&), std::__cxx11::list<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> >, std::allocator<MfxFeatureBlocks::FeatureBlocksCommon<MfxFeatureBlocks::BlockTracer>::Block<std::function<mfxStatus (MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&)> > > > const&, MfxFeatureBlocks::StorageW&, MfxFeatureBlocks::StorageW&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#14 0x00007ffff5cbf043 in MfxEncodeHW::TaskManager::TaskSubmit(MfxFeatureBlocks::StorageW&) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#15 0x00007ffff5c8c1cb in AV1EHW::Base::MFXVideoENCODEAV1_HW::Execute(void*, unsigned int, unsigned int) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#16 0x00007ffff5b16fa6 in mfxSchedulerCore::ThreadProc(MFX_SCHEDULER_THREAD_CONTEXT*) () from /usr/lib/x86_64-linux-gnu/libmfx-gen.so.1.2
#17 0x00007ffff68e64a3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#18 0x00007ffff7c90402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#19 0x00007ffff7d1f590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
Cleaned up my posts for readability. Hope the backtrace helps get to the root of the issue.
Can you build media-driver from source with these two options and see if it works?
"free" builds, same as intel-media-va-driver
from Ubuntu repo:
-DENABLE_KERNELS=ON
-DENABLE_NONFREE_KERNELS=OFF
If it the issue persists then someone should transfer this issue over there.
It's difficult to correlate output of vainfo -a
piped from grep with codec entry points. Can you, please, save output to some file then look into it and copy-paste a relevant section for AV1. Like this (just a sample output from SKL):
VAProfileH264Main/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
server@server:~/libva$ vainfo -a
libva info: VA-API version 1.18.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.18 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
vainfo: Supported config attributes per profile/entrypoint pair
VAProfileNone/VAEntrypointVideoProc
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAProfileNone/VAEntrypointStats
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAProfileMPEG2Simple/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileMPEG2Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264Main/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_RGB32
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileH264High/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264High/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_RGB32
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileJPEGBaseline/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecJPEG : VA_ROTATION_NONE
VA_ROTATION_90
VA_ROTATION_180
VA_ROTATION_270
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileJPEGBaseline/VAEntrypointEncPicture
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribEncJPEG : rithmatic_coding_mode=0
progressive_dct_mode=0
non_interleaved_mode=0
differential_mode=0
differential_mode=0
max_num_components=3
max_num_scans=1
max_num_huffman_tables=2
max_num_quantization_tables=3
VAConfigAttribEncQualityRange : number of supported quality levels is 1
VAProfileH264ConstrainedBaseline/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264ConstrainedBaseline/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_RGB32
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileHEVCMain/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VA_PREDICTION_DIRECTION_FUTURE
VAProfileHEVCMain10/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain10/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VA_PREDICTION_DIRECTION_FUTURE
VAProfileVP9Profile0/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVP9Profile0/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncROI : num_roi_regions=0
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribEncRateControlExt : max_num_temporal_layers_minus1=7 temporal_layer_bitrate_control_flag=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncDynamicScaling : supported
VAConfigAttribEncTileSupport : supported
VAProfileVP9Profile1/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVP9Profile1/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncROI : num_roi_regions=0
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribEncRateControlExt : max_num_temporal_layers_minus1=7 temporal_layer_bitrate_control_flag=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncDynamicScaling : supported
VAConfigAttribEncTileSupport : supported
VAProfileVP9Profile2/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_12
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVP9Profile2/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncROI : num_roi_regions=0
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribEncRateControlExt : max_num_temporal_layers_minus1=7 temporal_layer_bitrate_control_flag=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncDynamicScaling : supported
VAConfigAttribEncTileSupport : supported
VAProfileVP9Profile3/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_YUV422_12
VA_RT_FORMAT_YUV444_12
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileVP9Profile3/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=0
VAConfigAttribEncMaxSlices : 3
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncROI : num_roi_regions=0
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribEncRateControlExt : max_num_temporal_layers_minus1=7 temporal_layer_bitrate_control_flag=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncDynamicScaling : supported
VAConfigAttribEncTileSupport : supported
VAProfileHEVCMain12/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_12
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain422_10/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain422_12/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV420_12
VA_RT_FORMAT_YUV422_12
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain444/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV400
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain444/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VA_PREDICTION_DIRECTION_FUTURE
VAProfileHEVCMain444_10/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCMain444_10/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_MB
VA_RC_QVBR
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VA_PREDICTION_DIRECTION_FUTURE
VAProfileHEVCMain444_12/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_YUV420_12
VA_RT_FORMAT_YUV422_12
VA_RT_FORMAT_YUV444_12
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCSccMain/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV400
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCSccMain/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VAProfileHEVCSccMain10/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCSccMain10/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VAProfileHEVCSccMain444/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV400
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCSccMain444/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
VAProfileAV1Profile0/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileAV1Profile0/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_TCBRC
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=515
l1=1
VAConfigAttribEncMaxSlices : 66051
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncROI : num_roi_regions=0
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAProfileHEVCSccMain444_10/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 16384
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileHEVCSccMain444_10/VAEntrypointEncSliceLP
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV420_10
VA_RT_FORMAT_YUV422_10
VA_RT_FORMAT_YUV444_10
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGB32_10
VA_RT_FORMAT_RGB32_10BPP
VA_RT_FORMAT_YUV420_10BPP
VAConfigAttribRateControl : VA_RC_CQP
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_NONE
VAConfigAttribEncMaxRefFrames : l0=3
l1=3
VAConfigAttribEncMaxSlices : 196611
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS
VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS
VAConfigAttribMaxPictureWidth : 16384
VAConfigAttribMaxPictureHeight : 12288
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncROI : num_roi_regions=16
roi_rc_priority_support=0
roi_rc_qp_delta_support=1
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 16
VAConfigAttribFEIMVPredictors : number of supported MV predictors is 4
VAConfigAttribEncTileSupport : supported
VAConfigAttribMaxFrameSize : max_frame_size=1
multiple_pass=1
VAConfigAttribPredictionDirection : VA_PREDICTION_DIRECTION_PREVIOUS
server@server:~/libva$
That's on free driver? Hm, interesting. I feel I need review the media stack again in a sense of dependency for CQP/CBR/VBR modes. Indeed, it lists AV1 supporting all these...
I think so? It's the compiled master of oneVPL-intel-gpu (https://github.com/oneapi-src/oneVPL-intel-gpu)
It's the compiled master of oneVPL-intel-gpu
That's not a driver. Driver repo is: https://github.com/intel/media-driver.
It's the compiled master of oneVPL-intel-gpu
That's not a driver. Driver repo is: https://github.com/intel/media-driver.
In that case, it would have been provided by Linux Kernel 6.2 or Ubuntu 23.04 daily build.
apt list --installed | grep intel-media-va-driver
?
Can you build media-driver from source with these two options and see if it works?
"free" builds, same as
intel-media-va-driver
from Ubuntu repo:-DENABLE_KERNELS=ON -DENABLE_NONFREE_KERNELS=OFF
If it the issue persists then someone should transfer this issue over there.
Nice one!! :tada: :tada:
intel-media-va-driver
master, default.:green_circle: av1_qsv
works.
:green_circle: h264_qsv
works.
intel-media-va-driver
master, with -DENABLE_KERNELS=ON -DENABLE_NONFREE_KERNELS=OFF
:red_circle: av1_qsv
Segmentation fault (core dumped)
:green_circle: h264_qsv
works.
Sounds like this issue needs to be moved to https://github.com/intel/media-driver
apt list --installed | grep intel-media-va-driver
?server@server:~/Desktop$ apt list --installed | grep intel-media-va-driver intel-media-va-driver/lunar,now 23.1.1+dfsg1-1 amd64 [installed,automatic]
Now that all bitrate controls of AV1 encoder are not working in free kernel build, there must be something wrong in media-driver.
For who gets assigned to fix the bug: It'll be paramount to let the intel-media-va-driver
package maintainers know when the fix is out for this-- hopefully before the development window for Ubuntu 23.04 Lunar closes- Latest end of March to get the fix in for release of Ubuntu 23.04.
If not, it would be really sad to have this needlessly broken in Ubuntu until October (Ubuntu 23.10).
Release schedule is here: https://discourse.ubuntu.com/t/lunar-lobster-release-schedule/27284
Sounds like this issue needs to be moved to https://github.com/intel/media-driver
Yes, submit issue for media-driver, please.
See driver issue: https://github.com/intel/media-driver/issues/1617
Previous issue: https://github.com/intel/cartwheel-ffmpeg/issues/233
Trying to get the Intel Arc A380 AV1 Encoder working on Linux 6.2...
One of the major features of Linux Kernel 6.2 was the intel driver for the Arc GPU is built-in... works out of the box for typical gaming and 3D stuff. :+1:
AV1 encoding works fine in windows 10, tested using handbrake, so fairly certain this isn't a hardware issue.
:green_circle:
h264_qsv
hardware encoding WORKS GREAT on the following setup:wget
/dpkg
: https://sypalo.com/how-to-update-ubuntu)sudo apt install -y libmfx-gen1.2 libvpl2
./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v h264_qsv -y output.mp4
:+1: :+1: :+1:
:red_circle:
av1_qsv
hardware encoding is BROKEN on the same above setup../ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4
Output
:green_circle: Working:
./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v h264_qsv -y output.mp4
:red_circle: Failed:
./ffmpeg -loglevel verbose -hwaccel qsv -i ./BigBuckBunny.mp4 -c:v av1_qsv -y output.mp4