• 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 Unable to transcode on Debian 12 (6.10 kernel) with Arc a310 GPU

     
    • 0 Vote(s) - 0 Average

    Unable to transcode on Debian 12 (6.10 kernel) with Arc a310 GPU

    Betonhaus
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #1
    2024-10-17, 06:59 PM
    Hi I can't seem to get transcoding working. I have an intel Arc a310 in my server running Debian 12 with the 6.10 backports kernel 
    ffmpg log: https://pastebin.com/rawiYxYL 
    gpu support: https://pastebin.com/ZiFKuWMh  https://pastebin.com/gES1Wcns
    Code:
    intel-opencl-icd:
      Installed: 24.35.30872.22
      Candidate: 24.35.30872.22
      Version table:
    *** 24.35.30872.22 100
            100 /var/lib/dpkg/status
        22.43.24595.41-1 500
            500 http://deb.debian.org/debian bookworm/main amd64 Packages
    I just keep getting a playback errorPlayback failed due to a fatal player error. Playback Error
    Playback failed due to a fatal player error.


    Attached Files
    .pdf   Playback.pdf (Size: 332.73 KB / Downloads: 318)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-17, 07:26 PM
    You need to check box low power encoding options. But first you need to verify that you have the packages needed to enable that.

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

    Skip step 2, not needed for Arc.
    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]
    Betonhaus
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #3
    2024-10-17, 08:02 PM (This post was last modified: 2024-10-17, 08:08 PM by Betonhaus. Edited 2 times in total.)
    (2024-10-17, 07:26 PM)TheDreadPirate Wrote: You need to check box low power encoding options.  But first you need to verify that you have the packages needed to enable that.

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

    Skip step 2, not needed for Arc.

    running that then testing gives me:
    Code:
    $ sudo dmesg | grep i915
    [    4.394028] i915 0000:05:00.0: [drm] VT-d active for gfx access
    [    4.394167] i915 0000:05:00.0: vgaarb: deactivate vga console
    [    4.394175] i915 0000:05:00.0: [drm] Can't resize LMEM BAR - platform support is missing
    [    4.394186] i915 0000:05:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.
    [    4.409104] i915 0000:05:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
    [    4.413907] i915 0000:05:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
    [    5.183759] i915 0000:05:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin (70.12.1) is recommended, but only i915/dg2_guc_70.bin (70.5.1) was found
    [    5.183767] i915 0000:05:00.0: [drm] GT0: Consider updating your linux-firmware pkg or downloading from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
    [    5.184112] i915 0000:05:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
    [    5.184128] i915 0000:05:00.0: firmware: failed to load i915/dg2_huc_gsc.bin (-2)
    [    5.184131] i915 0000:05:00.0: [drm] *ERROR* GT0: HuC firmware i915/dg2_huc_gsc.bin: fetch failed -ENOENT
    [    5.184139] i915 0000:05:00.0: [drm] GT0: HuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
    [    5.189461] i915 0000:05:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.5.1
    [    5.201363] i915 0000:05:00.0: [drm] GT0: GUC: submission enabled
    [    5.201367] i915 0000:05:00.0: [drm] GT0: GUC: SLPC enabled
    [    5.201615] i915 0000:05:00.0: [drm] GT0: GUC: RC enabled
    [    5.248878] [drm] Initialized i915 1.6.0 20230929 for 0000:05:00.0 on minor 1
    [    5.328490] i915 0000:05:00.0: [drm] Cannot find any crtc or sizes
    [    5.388466] i915 0000:05:00.0: [drm] Cannot find any crtc or sizes
    [    5.388475] snd_hda_intel 0000:06:00.0: bound 0000:05:00.0 (ops i915_audio_component_bind_ops [i915])
    $ sudo cat /sys/kernel/debug/dri/0/gt/uc/guc_info
    sudo cat /sys/kernel/debug/dri/0/gt/uc/huc_info
    cat: /sys/kernel/debug/dri/0/gt/uc/guc_info: No such file or directory
    cat: /sys/kernel/debug/dri/0/gt/uc/huc_info: No such file or directory
    then I get the following transcoding error: https://pastebin.com/PhDd9txg
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-17, 08:34 PM
    It did not find the HuC firmware.

    Code:
    sudo apt list --installed | grep firmware-linux-nonfree

    If that returns nothing then.

    Code:
    sudo apt update && sudo apt install -y firmware-linux-nonfree

    If that doesn't install anything, you need to modify the debian repos and add "non-free" to the sources list.

    https://unix.stackexchange.com/questions...2-bookworm
    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]
    Betonhaus
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #5
    2024-10-17, 08:44 PM (This post was last modified: 2024-10-17, 08:49 PM by Betonhaus. Edited 2 times in total.)
    (2024-10-17, 08:34 PM)TheDreadPirate Wrote: It did not find the HuC firmware.

    Code:
    sudo apt list --installed | grep firmware-linux-nonfree

    If that returns nothing then.

    Code:
    sudo apt update && sudo apt install -y firmware-linux-nonfree

    If that doesn't install anything, you need to modify the debian repos and add "non-free" to the sources list.

    https://unix.stackexchange.com/questions...2-bookworm

    Code:
    $ sudo apt list --installed | grep firmware-linux-nonfre

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

    firmware-linux-nonfree/stable,now 20230210-5 all [installed]

    would it be easier if I reinstall with Ubuntu 24 lts instead of Debian 12? it has a version 6.8 kernel which is sufficient for Arc support. most of my apps are in docker format so migration should be simple
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-17, 09:18 PM
    Technically, yes. But you shouldn't have to. The Intel documentation I linked earlier also has instructions for manually downloading and installing Intel's firmware.

    Code:
    cd ~/
    git clone --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
    sudo mkdir -p /usr/lib/firmware
    sudo cp -r linux-firmware/i915 /usr/lib/firmware

    Looks simple enough.
    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]
    Betonhaus
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #7
    2024-10-17, 09:36 PM
    honestly, at this point I problably would have less headaches just doiung a reinstall with ubuntu. almost everything is a docker image and it seems simple enoug to remigrate jellyfin from my old server. I've had a few other issues that would be solved by a fersh install, and the 6.8 kernel in ubuntu should be mosre stable then the 6.10 backports installed
    gnattu
    Offline

    Team Member

    Posts: 340
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #8
    2024-10-17, 11:32 PM (This post was last modified: 2024-10-17, 11:32 PM by gnattu. Edited 1 time in total.)
    Debian 12 does not have new enough firmware required for Intel Arc.

    You need to manually pull from source tree:


    Code:
    cd ~/
    git clone --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
    sudo mkdir -p /usr/lib/firmware
    sudo cp -r linux-firmware/i915 /usr/lib/firmware

    Betonhaus
    Offline

    Junior Member

    Posts: 23
    Threads: 6
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #9
    2024-10-17, 11:59 PM
    reinstalling to ubuntu worked fine, and it was abel to get a jellfyin docker image up and running with transcodign super fast - and it kept all the data from the old server.
    i'm happy now.
    « 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