- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having a hard time enabling qsv hw acceleration on latest ffmpeg 6.0, on a headless Ubuntu 22.04 server, 6.5.5 kernel, Intel ARC 770. I successfully compiled oneVPL, oneVPL-gpu and Intel MediaSDK, but I keep getting errors like "No VA display found for device".
Any help please?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel communities.
Can you please provide us more details on below points so that we can assist you better:
1. CPU, Processor and OS details
2. Please confirm that you have the latest versions of all the components (oneVPL, oneVPL-intel-gpu, MediaSDK, etc.)
3. Exact commands which you tried along with screenshot if possible
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure:
- AMD Ryzen Threadripper 2920X 12-Core Processor
- Acer Predator BiFrost Intel Arc A770 OC 16GB GDDR6
- Ubuntu 20.04.6 LTS
- Kernel 6.5.5-060505-generic
I compiled all the latest master branches as of yesterday of oneVPL, oneVPL-intel-gpu, MediaSDK, libva, libva-utils, GmmLib, Intel(R) Media Driver for VAAPI, and enabled --libvpl configuring latest FFmpeg 6.0...
I couldn't find the strictly required libs for transcoding AV1 on the A770 with FFmpeg, so maybe I installed something that is not strictly required?
I set there env variables:
export LIBVA_DRIVERS_PATH=/usr/local/lib/x86_64-linux-gnu/dri/
export LIBVA_DRIVER_NAME=iHD
Sample cmd:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AMD Ryzen Threadripper 2920X 12-Core Processor
Acer Predator BiFrost Intel Arc A770 OC 16GB GDDR6
Kernel 6.5.5-060505-generic
Ubuntu Server 22.04.6
There is a bit of confusion imho about what are the strictly needed libs/driver for enabling AV1 hw transcoding pipeline on Linux...
By the way, I have all the latest versions compiled, and enabled --libvpl during FFmpeg 6.0 configure.
Sample cmd:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any news on this topic?
Even a simple cmd like this one:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are checking on this internally and will get back to you with an update shortly.
Meanwhile, could you please share the below details:
1. VAinfo output details
2. Is the card inserted in qsv_device supported by FFmpeg?
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vainfo returns:
error: can't connect to X server!
error: failed to initialize display
sudo vainfo returns:
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
I also tried with a monitor attached, or with export DISPLAY=:0.0, same output.
I tried both devices listed in /dev/dri/, which are card0 and renderD128.
A770 is the only GPU currently installed in the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It seems like you were not able to enable media stack properly for VPL. So, can you please follow the below installation steps:
https://dgpu-docs.intel.com/driver/installation.html#ubuntu-install-steps
Also, please check if FFmpeg-VPL(FFmpeg-qsv-av1) is enabled or not.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Managed to install everything.
vainfo output:
Trying display: wayland
Trying display: x11
error: can't connect to X server!
Trying display: drm
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
double free or corruption (!prev)
Aborted (core dumped)
FFmpeg returns the same output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your response. We are checking on your issue internally and will get back to you with an update shortly.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Our team is working on this internally and we need the following details to get it resolved as soon as possible.
Could you please provide the output of commands below:
|
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Oct 30 12:09 by-path
crw-rw---- 1 root video 226, 0 Oct 30 12:09 card0
crw-rw---- 1 root render 226, 128 Oct 30 12:09 renderD128
id
uid=1000(developer) gid=1000(developer) groups=1000(developer),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd)
ls -l /sys/class/drm/renderD128/device/driver/module
lrwxrwxrwx 1 root root 0 Oct 30 12:15 /sys/class/drm/renderD128/device/driver/module -> ../../../../module/i915
sudo vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.21.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 error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
Please note that I have rebuilt the system using latest and updated repos, and now issuing ffmpeg results in:
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
Is there something wrong with latest libva?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for sharing all the details that we had requested.
Though you have mentioned that you have installed libva-utils, we assume that the libva-utils might have an issue. Could you please follow all the steps given in this readme file :
https://github.com/intel/libva-utils
Please let us know if the issue still persists or not.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you are right, libva-utils returns an error both using meson/ninja and autogen.
ninja
[7/59] Compiling C++ object decode/mpeg2vldemo.p/mpeg2vldemo.cpp.o
../decode/mpeg2vldemo.cpp:97:1: warning: missing initializer for member ‘_VAPictureParameterBufferMPEG2::va_reserved’ [-Wmissing-field-initializers]
97 | };
| ^
../decode/mpeg2vldemo.cpp:122:1: warning: missing initializer for member ‘_VAIQMatrixBufferMPEG2::va_reserved’ [-Wmissing-field-initializers]
122 | };
| ^
../decode/mpeg2vldemo.cpp:134:1: warning: missing initializer for member ‘_VASliceParameterBufferMPEG2::va_reserved’ [-Wmissing-field-initializers]
134 | };
| ^
[11/59] Compiling C object encode/mpeg2vaenc.p/mpeg2vaenc.c.o
../encode/mpeg2vaenc.c: In function ‘find_frame_rate_code’:
../encode/mpeg2vaenc.c:273:13: warning: using integer absolute value function ‘abs’ when argument is of floating-point type ‘float’ [-Wabsolute-value]
273 | if (abs(1000 * frame_rate_tab[i].value - 1000 * frame_rate_value) < delta) {
| ^~~
../encode/mpeg2vaenc.c:275:21: warning: using integer absolute value function ‘abs’ when argument is of floating-point type ‘float’ [-Wabsolute-value]
275 | delta = abs(1000 * frame_rate_tab[i].value - 1000 * frame_rate_value);
| ^~~
[15/59] Compiling C++ object videoprocess/vpphdr_tm.p/vpphdr_tm.cpp.o
../videoprocess/vpphdr_tm.cpp: In function ‘bool read_frame_to_surface(FILE*, VASurfaceID)’:
../videoprocess/vpphdr_tm.cpp:528:37: warning: variable ‘u_size’ set but not used [-Wunused-but-set-variable]
528 | int frame_size = 0, y_size = 0, u_size = 0;
| ^~~~~~
../videoprocess/vpphdr_tm.cpp:530:50: warning: unused variable ‘v_src’ [-Wunused-variable]
530 | unsigned char *y_src=NULL, *u_src=NULL, *v_src=NULL;
| ^~~~~
../videoprocess/vpphdr_tm.cpp:531:50: warning: unused variable ‘v_dst’ [-Wunused-variable]
531 | unsigned char *y_dst = NULL, *u_dst = NULL, *v_dst = NULL;
| ^~~~~
../videoprocess/vpphdr_tm.cpp: In function ‘bool write_surface_to_frame(FILE*, VASurfaceID)’:
../videoprocess/vpphdr_tm.cpp:630:37: warning: variable ‘u_size’ set but not used [-Wunused-but-set-variable]
630 | int frame_size = 0, y_size = 0, u_size = 0;
| ^~~~~~
../videoprocess/vpphdr_tm.cpp:632:50: warning: unused variable ‘v_src’ [-Wunused-variable]
632 | unsigned char *y_src=NULL, *u_src=NULL, *v_src=NULL;
| ^~~~~
../videoprocess/vpphdr_tm.cpp:633:50: warning: unused variable ‘v_dst’ [-Wunused-variable]
633 | unsigned char *y_dst = NULL, *u_dst = NULL, *v_dst = NULL;
| ^~~~~
../videoprocess/vpphdr_tm.cpp: At global scope:
../videoprocess/vpphdr_tm.cpp:156:1: warning: ‘int8_t read_value_float(FILE*, const char*, float*)’ defined but not used [-Wunused-function]
156 | read_value_float(FILE *fp, const char* field_name, float* value)
| ^~~~~~~~~~~~~~~~
[48/59] Compiling C object encode/av1encode.p/av1encode.c.o
FAILED: encode/av1encode.p/av1encode.c.o
cc -Iencode/av1encode.p -Iencode -I../encode -Icommon -I../common -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g -Wno-unused-parameter -Wno-sign-compare -DHAVE_VA_DRM=1 -DHAVE_VA_X11=1 -DHAVE_VA_WAYLAND=1 -pthread -MD -MQ encode/av1encode.p/av1encode.c.o -MF encode/av1encode.p/av1encode.c.o.d -o encode/av1encode.p/av1encode.c.o -c ../encode/av1encode.c
../encode/av1encode.c: In function ‘build_sps_buffer’:
../encode/av1encode.c:1419:25: error: ‘struct <anonymous>’ has no member named ‘bit_depth_minus8’
1419 | sps->seq_fields.bits.bit_depth_minus8 = ips.bit_depth - 8;
| ^
../encode/av1encode.c:1420:25: error: ‘struct <anonymous>’ has no member named ‘subsampling_x’
1420 | sps->seq_fields.bits.subsampling_x = 0;
| ^
../encode/av1encode.c:1421:25: error: ‘struct <anonymous>’ has no member named ‘subsampling_y’
1421 | sps->seq_fields.bits.subsampling_y = 0;
| ^
../encode/av1encode.c: In function ‘pack_ref_frame_flags’:
../encode/av1encode.c:1826:13: warning: variable ‘primary_ref_frame’ set but not used [-Wunused-but-set-variable]
1826 | uint8_t primary_ref_frame = PRIMARY_REF_NONE;
| ^~~~~~~~~~~~~~~~~
../encode/av1encode.c: In function ‘build_pps_buffer’:
../encode/av1encode.c:2288:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
2288 | memset(&(pps->reference_frames), VA_INVALID_ID, 8);
| ^~~~~~
../encode/av1encode.c:2344:8: error: ‘VAEncPictureParameterBufferAV1’ has no member named ‘refresh_frame_flags’
2344 | pps->refresh_frame_flags = fh.refresh_frame_flags;
| ^~
At top level:
../encode/av1encode.c:580:14: warning: ‘fourcc_to_string’ defined but not used [-Wunused-function]
580 | static char *fourcc_to_string(int fourcc)
| ^~~~~~~~~~~~~~~~
../encode/av1encode.c:537:15: warning: ‘coded_fn’ defined but not used [-Wunused-variable]
537 | static char *coded_fn = NULL;
| ^~~~~~~~
[53/59] Compiling C++ object vendor/intel/sfcsample/sfcsample.p/VDecAccelVA.cpp.o
ninja: build stopped: subcommand failed.
make
make all-recursive
make[1]: Entering directory '/home/developer/libva-utils'
Making all in common
make[2]: Entering directory '/home/developer/libva-utils/common'
CC libva_display_la-va_display.lo
CC libva_display_la-va_display_x11.lo
CC libva_display_la-va_display_drm.lo
CC libva_display_la-va_display_wayland.lo
CCLD libva-display.la
make[2]: Leaving directory '/home/developer/libva-utils/common'
Making all in decode
make[2]: Entering directory '/home/developer/libva-utils/decode'
CXX mpeg2vldemo.o
CXXLD mpeg2vldemo
CC loadjpeg.o
CC tinyjpeg.o
CCLD loadjpeg
make[2]: Leaving directory '/home/developer/libva-utils/decode'
Making all in encode
make[2]: Entering directory '/home/developer/libva-utils/encode'
CC avcenc-avcenc.o
CCLD avcenc
CC mpeg2vaenc-mpeg2vaenc.o
CCLD mpeg2vaenc
CC h264encode-h264encode.o
CCLD h264encode
CC jpegenc-jpegenc.o
CCLD jpegenc
CC vp9enc-vp9enc.o
CCLD vp9enc
CC vp8enc-vp8enc.o
CCLD vp8enc
CC hevcencode-hevcencode.o
CCLD hevcencode
CC av1encode-av1encode.o
av1encode.c: In function ‘build_sps_buffer’:
av1encode.c:1419:25: error: ‘struct <anonymous>’ has no member named ‘bit_depth_minus8’
1419 | sps->seq_fields.bits.bit_depth_minus8 = ips.bit_depth - 8;
| ^
av1encode.c:1420:25: error: ‘struct <anonymous>’ has no member named ‘subsampling_x’
1420 | sps->seq_fields.bits.subsampling_x = 0;
| ^
av1encode.c:1421:25: error: ‘struct <anonymous>’ has no member named ‘subsampling_y’
1421 | sps->seq_fields.bits.subsampling_y = 0;
| ^
av1encode.c: In function ‘pack_ref_frame_flags’:
av1encode.c:1826:13: warning: variable ‘primary_ref_frame’ set but not used [-Wunused-but-set-variable]
1826 | uint8_t primary_ref_frame = PRIMARY_REF_NONE;
| ^~~~~~~~~~~~~~~~~
av1encode.c: In function ‘build_pps_buffer’:
av1encode.c:2288:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
2288 | memset(&(pps->reference_frames), VA_INVALID_ID, 8);
| ^~~~~~
av1encode.c:2344:8: error: ‘VAEncPictureParameterBufferAV1’ has no member named ‘refresh_frame_flags’
2344 | pps->refresh_frame_flags = fh.refresh_frame_flags;
| ^~
At top level:
av1encode.c:580:14: warning: ‘fourcc_to_string’ defined but not used [-Wunused-function]
580 | static char *fourcc_to_string(int fourcc)
| ^~~~~~~~~~~~~~~~
av1encode.c:537:15: warning: ‘coded_fn’ defined but not used [-Wunused-variable]
537 | static char *coded_fn = NULL;
| ^~~~~~~~
make[2]: *** [Makefile:657: av1encode-av1encode.o] Error 1
make[2]: Leaving directory '/home/developer/libva-utils/encode'
make[1]: *** [Makefile:461: all-recursive] Error 1
make[1]: Leaving directory '/home/developer/libva-utils'
make: *** [Makefile:393: all] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for sharing the details.
We observed that you have two different versions of Intel media stack.
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
and
libva info: VA-API version 1.21.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
In the latest one, iHD was built against VA-API 1.14, so the init function is __vaDriverInit_1_14. So, can you please try a clean-up to the system since the init function should be __vaDriverInit_1_21 if it was built against VA-API 1.21.0
For the error, ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
This can also be caused because of two different media stack. Usually, libva-x11.so.2 is installed under /usr/lib/x86_64-linux-gnu/ in Ubuntu, not /lib/x86_64-linux-gnu/
Could you please try to clean up your system to make sure that you don't have conflicting versions and let us know if the issue still persists?
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
So, I tried again on a clean system, both using mediasdk and oneVPL-intel-gpu frontends (which one is the best??), without luck.
sudo vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libva-x11.so.2: undefined symbol: va_fool_postp
As you said, libva-x11.so.2 path seems to be different.
Any hints?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for sharing the details.
Can you please try uninstalling and reinstalling FFMpeg and libva with the below commands once again to see if the issue disappears?
sudo apt-get --purge remove libav-tools
sudo apt-get --purge autoremove
sudo apt remove ffmpeg
For reinstalling, try as below:
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libmp3lame-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
meson \
ninja-build \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev
sudo apt-get upgrade
sudo apt-get install ffmpeg
sudo apt-get install git cmake pkg-config meson libdrm-dev automake libtool
git clone https://github.com/intel/libva.git
cd libva
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make
sudo make install
git clone https://github.com/intel/libva-utils.git
cd libva-utils
./autogen.sh or ./autogen.sh --enable-tests
make
sudo make install
sudo apt install autoconf libtool libdrm-dev xorg xorg-dev openbox libx11-dev libgl1-mesa-glx
git clone https://github.com/intel/media-driver.git
mkdir build_media
cd build_media
cmake ../media-driver
make -j"$(nproc)"
sudo make install
Check vainfo command
Can you please try these and let us know if the issue still persists.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will try again with these steps, thanks.
In the meanwhile, I got vainfo to work in drm:
sudo vainfo
Trying display: wayland
error: XDG_RUNTIME_DIR not set in the environment.
Trying display: x11
error: can't connect to X server!
Trying display: drm
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/local/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.4.1 (94a4f8d16)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSliceLP
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointEncSliceLP
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointEncSliceLP
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointEncSliceLP
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
but if I try to convert using FFmpeg av1_qsv I still get:
[av1_qsv @ 0x55f8968fb500] Failed to create a VAAPI device.
[vost#0:0/av1_qsv @ 0x55f896ecd380] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Generic error in an external library
[out#0/matroska @ 0x55f896bddbc0] Nothing was written into output file, because at least one of its streams received no packets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for sharing the information with us.
We are checking on this internally and will get back to you shortly with an update.
Regards,
Sreedevi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for sharing the information with us.
We were able to run the command provided by you. Observing your error, it seems like something is wrong with your environment.
QSV is based on VA-API under Linux, QSV won't work as expected if VA-API is not supported. Can you please provide the output of the command below:
$ ffmpeg -hwaccels | grep vaapi
If vaapi isn't supported in your FFmpeg, you may reinstall your libva or add libva to the search path of pkg-config, then check whether libva (VA-API) is available.
$ pkg-config --modversion libva
Once libva (VA-API) is available in your environment, you may rebuild your FFmpeg.
Kindly let us know if the issue still persists.
Regards,
Sreedevi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page