7 hours ago
(This post was last modified: 6 hours ago by toomanytoons. Edited 2 times in total.)
Followed the guide as best I could, no errors, until I got to this command:
ffmpeg version 7.1.2-Jellyfin Copyright © 2000-2025 the FFmpeg developers
built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --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. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
[AVHWDeviceContext @ 0x5baf74685880] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x5baf74685880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x5baf74685880] libva: Found init function __vaDriverInit_1_22
[AVHWDeviceContext @ 0x5baf74685880] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x5baf74685880] Initialised VAAPI connection: version 1.22
[AVHWDeviceContext @ 0x5baf74685880] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 25.3.4 (192fe0f).
[AVHWDeviceContext @ 0x5baf74685880] Driver not found in known nonstandard list, using standard behaviour.
WARNING: Small BAR detected for device 0000:03:00.0
[AVHWDeviceContext @ 0x5baf746c87c0] Failed to get number of OpenCL platforms: -1001.
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
Is any of that anything I need to try to correct? It does seem to be working, CPU usage did not hit 100% and the transcode log said it was using QSV. Hit almost 500fps transcoding for the playback in Mozilla, before on the same file it was just under 60fps. I don't have BAR support, it's 4th Gen i5. Lastest jellyfin 10.11.3 of course. Ubuntu baremetal 24.04; tried adding NEOReadDebugKeys=1 OverrideGpuAddressSpace=48 to the environment like I found in an old github forum post for the intel compute-runtime. Didn't seem to make a difference.
Thanks for looking.
Code:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@vaffmpeg version 7.1.2-Jellyfin Copyright © 2000-2025 the FFmpeg developers
built with gcc 13 (Ubuntu 13.3.0-6ubuntu2~24.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --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. 39.100 / 59. 39.100
libavcodec 61. 19.101 / 61. 19.101
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
[AVHWDeviceContext @ 0x5baf74685880] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x5baf74685880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x5baf74685880] libva: Found init function __vaDriverInit_1_22
[AVHWDeviceContext @ 0x5baf74685880] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x5baf74685880] Initialised VAAPI connection: version 1.22
[AVHWDeviceContext @ 0x5baf74685880] VAAPI driver: Intel iHD driver for Intel® Gen Graphics - 25.3.4 (192fe0f).
[AVHWDeviceContext @ 0x5baf74685880] Driver not found in known nonstandard list, using standard behaviour.
WARNING: Small BAR detected for device 0000:03:00.0
[AVHWDeviceContext @ 0x5baf746c87c0] Failed to get number of OpenCL platforms: -1001.
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
Is any of that anything I need to try to correct? It does seem to be working, CPU usage did not hit 100% and the transcode log said it was using QSV. Hit almost 500fps transcoding for the playback in Mozilla, before on the same file it was just under 60fps. I don't have BAR support, it's 4th Gen i5. Lastest jellyfin 10.11.3 of course. Ubuntu baremetal 24.04; tried adding NEOReadDebugKeys=1 OverrideGpuAddressSpace=48 to the environment like I found in an old github forum post for the intel compute-runtime. Didn't seem to make a difference.
Thanks for looking.

