• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Troubleshooting Intel B580 GPU for encoding

     
    • 0 Vote(s) - 0 Average

    Troubleshooting Intel B580 GPU for encoding

    Can't get hardware encoding working.
    chanthemad
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Sep
    Reputation: 0
    Country:United States
    #1
    2025-09-25, 01:55 PM (This post was last modified: 2025-09-25, 03:17 PM by chanthemad. Edited 3 times in total.)
    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-i...nux-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.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Troubleshooting Intel B580 GPU for encoding - by chanthemad - 2025-09-25, 01:55 PM
    RE: Troubleshooting Intel B580 GPU for encoding - by chanthemad - 2025-09-25, 03:33 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode