(6 hours ago)toomanytoons Wrote: Followed the guide as best I could, no errors, until I got to this command:
Code:sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
...
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.
I'm using the ARC A310, basically the same. Here's what your command looks like on my system.
I have the iGPU in bios turned off and I also don't have resizable BAR. (not a requirement)
Code:
tom@tyson:~$ sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device opencl@va
[sudo] password for tom:
ffmpeg version 7.1.2-Jellyfin Copyright (c) 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 @ 0x5fefacf7f880] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x5fefacf7f880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x5fefacf7f880] libva: Found init function __vaDriverInit_1_22
[AVHWDeviceContext @ 0x5fefacf7f880] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x5fefacf7f880] Initialised VAAPI connection: version 1.22
[AVHWDeviceContext @ 0x5fefacf7f880] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 (192fe0f).
[AVHWDeviceContext @ 0x5fefacf7f880] Driver not found in known nonstandard list, using standard behaviour.
[AVHWDeviceContext @ 0x5fefacfc27c0] 0.0: Intel(R) OpenCL Graphics / Intel(R) Arc(TM) A310 Graphics
[AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
[AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
[AVHWDeviceContext @ 0x5fefacfc27c0] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).This is an old thread where I was asking some of the same questions...
https://forum.jellyfin.org/t-transcoding...e-arc-a310
------------------------------------------------------------------------
tom@tyson:~$ apt list --installed | grep intel
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
intel-gpu-tools/noble,now 1.28-1ubuntu2 amd64 [installed]
intel-media-va-driver/noble-updates,now 24.1.0+dfsg1-1ubuntu0.1 amd64 [installed,automatic]
intel-microcode/noble-updates,noble-security,now 3.20250812.0ubuntu0.24.04.1 amd64 [installed,automatic]
intel-opencl-icd/noble,now 23.43.27642.40-1ubuntu3 amd64 [installed]
libdrm-intel1/now 2.4.122-1~ubuntu0.24.04.1 amd64 [installed,upgradable to: 2.4.122-1~ubuntu0.24.04.2]
tom@tyson:~$
--------------------------------------------------------------
Check the version of intel-opencl-icd thats the Linux distro provides:
$ apt policy intel-opencl-icd
intel-opencl-icd:
Installed: (none)
Candidate: 22.14.22890-1
...
If the version is newer than 22.xx.xxxxx just install it. For the latest products like N95/N100 and Arc A380, support is provided in 23.xx.xxxxx and newer.
Jellyfin 10.11.3 on Ubuntu 24.04.3 LTS, OptiPlex 7050 i7-6700 32GB ram (headless)
Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy
Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

