Jellyfin Forum
Troubleshooting Intel B580 GPU for encoding - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Troubleshooting Intel B580 GPU for encoding (/t-troubleshooting-intel-b580-gpu-for-encoding)



Troubleshooting Intel B580 GPU for encoding - chanthemad - 2025-09-25

So I bought an Intel Arc B580 (Battlemage) GPU in order to do some encoding for Jellyfin. I'm running Ubuntu 24.04 LTS 6.14 HWE Kernel.  

However, I can't get it to work. I followed https://jellyfin.org/docs/general/post-install/transcoding/hardware-acceleration/intel#linux-setups

I did check version of the intel-opencl-icd. It is up to date. 

Then I checked the supported QSV/VA-API codecs. How it supposed to look like is this: 

sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128

libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
Trying display: drm
vainfo: VA-API version: 1.17 (libva 2.17.0)
vainfo: Driver version: Intel iHD driver for Intel® Gen Graphics - 23.1.2 (xxxxxxx)
vainfo: Supported profile and entrypoints

Mines looks like this: 

sudo /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

Bus error

How would I fix this bus error? 

Also I checked the Open CL runtime status. Supposed to look like this... 

sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va

[AVHWDeviceContext @ 0x55cc8ac21a80] 0.0: Intel® OpenCL HD Graphics / Intel® Iris® Xe Graphics [0x9a49]
[AVHWDeviceContext @ 0x55cc8ac21a80] Intel QSV to OpenCL mapping function found (clCreateFromVA_APIMediaSurfaceINTEL).
[AVHWDeviceContext @ 0x55cc8ac21a80] Intel QSV in OpenCL acquire function found (clEnqueueAcquireVA_APIMediaSurfacesINTEL).
[AVHWDeviceContext @ 0x55cc8ac21a80] Intel QSV in OpenCL release function found (clEnqueueReleaseVA_APIMediaSurfacesINTEL).
...

Mines looks like this: 

sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va

-init_hw_device opencl@va
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 --disabl
e-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-ver
sion3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-lib
xml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-l
ibbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-lib
dav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enabl
e-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 --enabl
e-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 @ 0x5b2918494880] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x5b2918494880] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x5b2918494880] libva: Found init function __vaDriverInit_1_22

Bus error

Another bus error. So my question is, how do we fix this problem? 

When I try to detect the GPU with lspci -nn | grep -Ei "3d|display|vga"

11:00.0 VGA compatible controller [0300]: Intel Corporation Device..  [8086:e20b]

It is getting picked up. 

Also on the encoding dashboard, which codecs should I check? 

Thanks in advance.


RE: Troubleshooting Intel B580 GPU for encoding - chanthemad - 2025-09-25

Well I fixed it, I just checked to enable Re-sizable BAR or ReBAR in the BIOS.

I posted this on this forum because I thought I had enabled it in the BIOS, but upon further review, it wasn't enabled. 

Credit this post for pointing me in the right direction.  https://github.com/jellyfin/jellyfin/issues/13944

Curious, what encoding settings should I use now?