• 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 SOLVED: Problems during intel arc gpu settup

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problems during intel arc gpu settup

    Intel Arc gpu: Failed to set value 'opencl@va' for option 'init_hw_device': No such device
    thatscringebro
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #1
    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:
    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
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-04, 04:07 PM (This post was last modified: 2024-12-04, 04:07 PM by TheDreadPirate.)
    You need to install the Intel OpenCL package.

    Code:
    sudo apt install intel-opencl-icd
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    thatscringebro
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #3
    2024-12-04, 04:11 PM
    (2024-12-04, 04:07 PM)TheDreadPirate Wrote: You need to install the Intel OpenCL package.

    Code:
    sudo apt install intel-opencl-icd


    It is already installed:
    Code:
    # apt policy intel-opencl-icd
    intel-opencl-icd:
      Installed: 24.39.31294.20-1032~22.04
      Candidate: 24.39.31294.20-1032~22.04
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-12-04, 04:13 PM
    What is the output of this command?

    Code:
    sudo dmesg | grep i915
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    thatscringebro
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #5
    2024-12-04, 04:15 PM
    (2024-12-04, 04:13 PM)TheDreadPirate Wrote: What is the output of this command?

    Code:
    sudo dmesg | grep i915


    Code:
    # dmesg | grep i915
    [  12.268280] i915 0000:05:00.0: [drm] VT-d active for gfx access
    [  12.268299] i915 0000:05:00.0: vgaarb: deactivate vga console
    [  13.366927] i915 0000:05:00.0: [drm] Can't resize LMEM BAR - platform support is missing
    [  13.368120] i915 0000:05:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.
    [  14.493050] i915 0000:05:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
    [  14.493965] i915 0000:05:00.0: firmware: failed to load i915/dg2_dmc_ver2_08.bin (-2)
    [  14.493973] i915 0000:05:00.0: firmware: failed to load i915/dg2_dmc_ver2_08.bin (-2)
    [  14.493975] i915 0000:05:00.0: Direct firmware load for i915/dg2_dmc_ver2_08.bin failed with error -2
    [  14.493978] i915 0000:05:00.0: [drm] Failed to load DMC firmware i915/dg2_dmc_ver2_08.bin (-ENOENT). Disabling runtime power management.
    [  14.493980] i915 0000:05:00.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
    [  15.517682] i915 0000:05:00.0: firmware: failed to load i915/dg2_guc_70.bin (-2)
    [  15.517692] i915 0000:05:00.0: firmware: failed to load i915/dg2_guc_70.bin (-2)
    [  15.517696] i915 0000:05:00.0: [drm] *ERROR* GT0: GuC firmware i915/dg2_guc_70.bin: fetch failed -ENOENT
    [  15.517699] i915 0000:05:00.0: [drm] GT0: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
    [  15.598512] i915 0000:05:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 0.0.0
    [  15.598908] i915 0000:05:00.0: [drm] *ERROR* GT0: GuC initialization failed -ENOENT
    [  15.598911] i915 0000:05:00.0: [drm] *ERROR* GT0: Enabling uc failed (-5)
    [  15.598913] i915 0000:05:00.0: [drm] *ERROR* GT0: Failed to initialize GPU, declaring it wedged!
    [  15.671773] i915 0000:05:00.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0xb7/0x350 [i915]
    [  16.752946] [drm] Initialized i915 1.6.0 20230929 for 0000:05:00.0 on minor 1
    [  17.257134] i915 0000:05:00.0: [drm] Cannot find any crtc or sizes
    [  17.321107] i915 0000:05:00.0: [drm] Cannot find any crtc or sizes
    [  17.321125] snd_hda_intel 0000:06:00.0: bound 0000:05:00.0 (ops i915_audio_component_bind_ops [i915])
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-12-04, 04:22 PM
    What is the output of this command?

    Code:
    sudo apt list --installed | grep firmware
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    thatscringebro
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #7
    2024-12-04, 04:25 PM
    (2024-12-04, 04:22 PM)TheDreadPirate Wrote: What is the output of this command?

    Code:
    sudo apt list --installed | grep firmware

    Code:
    # apt list --installed | grep firmware

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    atmel-firmware/now 1.3-4.1 all [installed,local]
    bluez-firmware/now 1.2-7~bpo11+1 all [installed,local]
    dahdi-firmware-nonfree/now 2.11.1.0.20170917-1 all [installed,local]
    firmware-amd-graphics/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-ath9k-htc/stable,now 1.4.0-108-gd856466+dfsg1-1.3+deb12u1 all [installed]
    firmware-atheros/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-bnx2/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-bnx2x/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-brcm80211/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-cavium/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-intel-sound/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-intelwimax/now 20210315-3 all [installed,local]
    firmware-ipw2x00/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-ivtv/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-iwlwifi/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-libertas/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-linux-free/stable,now 20200122-1 all [installed]
    firmware-linux-nonfree/stable-backports,now 20240709-2~bpo12+1 all [installed,automatic]
    firmware-linux/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-misc-nonfree/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-myricom/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-netronome/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-netxen/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-qcom-soc/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-qlogic/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-realtek/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-samsung/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-siano/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-sof-signed/now 1.7-1 all [installed,local]
    firmware-ti-connectivity/stable-backports,now 20240709-2~bpo12+1 all [installed]
    firmware-zd1211/now 1:1.5-7 all [installed,local]
    hdmi2usb-fx2-firmware/stable,now 0.0.0~git20151225-3 all [installed]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-12-04, 04:33 PM (This post was last modified: 2024-12-04, 04:33 PM by TheDreadPirate.)
    You do not have the firmware-linux-nonfree package installed.

    If you do not have non-free and non-free-firmware in your debian sources, add them then install the non-free-firmware and reboot.

    https://forums.debian.net/viewtopic.php?t=159039

    Code:
    sudo apt install firmware-linux-nonfree
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    thatscringebro
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    #9
    2024-12-04, 04:37 PM
    (2024-12-04, 04:33 PM)TheDreadPirate Wrote: You do not have the firmware-linux-nonfree package installed.

    If you do not have non-free and non-free-firmware in your debian sources, add them then install the non-free-firmware and reboot.

    https://forums.debian.net/viewtopic.php?t=159039

    Code:
    sudo apt install firmware-linux-nonfree

    The firmware was already installed:
    Code:
    # apt install firmware-linux-nonfree
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    firmware-linux-nonfree is already the newest version (20240709-2~bpo12+1).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-12-04, 04:40 PM (This post was last modified: 2024-12-04, 04:41 PM by TheDreadPirate. Edited 1 time in total.)
    Whoops.  Didn't scroll down the output of your last command.

    I just remembered a similar post last week.

    https://forum.jellyfin.org/t-solved-a310...8#pid44348

    Something about BPO kernels not including some firmware needed by Arc.

    https://jellyfin.org/docs/general/admini...e-on-linux

    You will need to download and install the GuC and HuC firmware manually.  Or switch to Ubuntu 24.04, which includes a new enough kernel + the needed firmware already installed.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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