2024-12-04, 03:54 PM
I have recently acquired an Intel Arc A750 and I would like to use it for hardware transcoding on my server. Firstly, I am using debian 12 with kernel 6.10.11 and jellyfin runs on the os, not in docker. Every package is up to date and jellyfin runs as it should for now.
I have followed the hardware transcoding setup steps according to this guide: https://jellyfin.org/docs/general/admini...nux-setups and get an error on step 8.
Here is the output of the command:
I know my card is well detected by the system and shows up in /dev/dri:
And vaininfo seems to output the appropriate data:
I have followed the hardware transcoding setup steps according to this guide: https://jellyfin.org/docs/general/admini...nux-setups and get an error on step 8.
Here is the output of the command:
Code:
# /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
[AVHWDeviceContext @ 0x55a881c5d640] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x55a881c5d640] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55a881c5d640] libva: Found init function __vaDriverInit_1_22
[AVHWDeviceContext @ 0x55a881c5d640] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55a881c5d640] Initialised VAAPI connection: version 1.22
[AVHWDeviceContext @ 0x55a881c5d640] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 24.4.2 (b6b411f).
[AVHWDeviceContext @ 0x55a881c5d640] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x55a881c97c40] No matching devices found.
Device creation failed: -19.
Failed to set value 'opencl@va' for option 'init_hw_device': No such device
Error parsing global options: No such device
I know my card is well detected by the system and shows up in /dev/dri:
Code:
# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 100 Dec 4 09:00 by-path
crw-rw---- 1 root video 226, 0 Dec 4 09:00 card0
crw-rw---- 1 root video 226, 1 Dec 4 09:00 card1
crw-rw---- 1 root render 226, 128 Dec 4 09:00 renderD128
And vaininfo seems to output the appropriate data:
Code:
# /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
Trying display: drm
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.4.2 (b6b411f)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats