• 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: New A380, trouble with HW acceleration

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: New A380, trouble with HW acceleration

    Playback fails after enabling hardware accelerated transcoding.
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #1
    2025-02-11, 03:36 AM
    I recently got a Sparkle A380 to add to my linux server.  Up until now I have been running everything on a Ryzen 7600 with the integrated graphics.

    I think I have all of the necessary Intel GPU packages installed.  I enabled Intel QSV and checked all of the boxes under 'Enable Hardware Decoding For:' header, checked boxes for 'Enable Hardware Encoding' and allow encoding in both HEVC and AV1.

    Trying to play any video fails with the following log:
    Code:
    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [libfdk_aac @ 0x556e65015d40] Note, the VBR setting is unsupported and only works with some parameter combinations
    [av1_qsv @ 0x556e64eee800] Error initializing the encoder: unknown error (-1)
    [vost#0:0/av1_qsv @ 0x556e64f72780] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0x556e64eec840] Error sending frames to consumers: Unknown error occurred
    [vf#0:0 @ 0x556e64eec840] Task finished with error code: -1313558101 (Unknown error occurred)
    [vf#0:0 @ 0x556e64eec840] Terminating thread with return code -1313558101 (Unknown error occurred)
    [vost#0:0/av1_qsv @ 0x556e64f72780] Could not open encoder before EOF
    [vost#0:0/av1_qsv @ 0x556e64f72780] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_qsv @ 0x556e64f72780] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x556e64fed840] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!

    Disabling all HW acceleration allows video playback as normal.

    Does anybody have any tips for configuring Jellyfin to use the Intel A380?
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-02-11, 01:42 PM
    What distro is running on? Did you install the HuC/GuC firmware?

    What is the output of this command?

    Code:
    sudo dmesg | grep i915

    If your server has been up for a while, that command may not output anything. Run this command instead to search older dmesg logs.

    Code:
    sudo grep i915 /var/log/dmesg.log.1
    sudo zgrep i915 /var/log/dmesg.*.gz
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #3
    2025-02-12, 02:15 AM
    I am using OpenMandriva, this is a fresh install done after putting the A380 in my PC, so I assume the i915 installed automatically.

    Code:
    [JustAnotherDude@localhost ~]$ sudo dmesg | grep i915
    [    3.855290] i915 0000:03:00.0: [drm] Found DG2/G11 (device ID 56a5) display version 13.00 stepping C0
    [    3.856175] i915 0000:03:00.0: [drm] VT-d active for gfx access
    [    3.856201] i915 0000:03:00.0: vgaarb: deactivate vga console
    [    3.870164] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
    [    3.874748] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
    [    3.922393] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.29.2
    [    3.922396] i915 0000:03:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.16
    [    3.931859] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
    [    3.931860] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
    [    3.932064] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
    [    3.952763] i915 0000:03:00.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
    [    3.971786] [drm] Initialized i915 1.6.0 for 0000:03:00.0 on minor 0
    [    4.082359] fbcon: i915drmfb (fb0) is primary device
    [    4.082395] i915 0000:03:00.0: [drm] fb0: i915drmfb frame buffer device
    [    5.598562] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
    [    5.979337] i915 0000:03:00.0: [drm] GT0: HuC: authenticated for all workloads
    [    5.979340] mei_pxp i915.mei-gsc.768-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:03:00.0 (ops i915_pxp_tee_component_ops [i915])
    [JustAnotherDude@localhost ~]$
    OpenMandriva ROME
    Ryzen 7600
    Arc A380
    32GB RAM
    x3 8TB hdd mdadm RAID5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-02-12, 04:01 PM
    How is Jellyfin installed? Docker? A generic Linux install? RPM via RPM Fusion?
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #5
    2025-02-12, 06:21 PM
    Installed by following the generic install instructions on the documentation page, using the newest tar.xz files.
    OpenMandriva ROME
    Ryzen 7600
    Arc A380
    32GB RAM
    x3 8TB hdd mdadm RAID5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-02-12, 06:40 PM
    Did you also install jellyfin ffmpeg? Or are you using a generic version of ffmpeg?
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #7
    2025-02-12, 06:51 PM
    Jellyfin-ffmpeg 7.whatever from the downloads page.
    OpenMandriva ROME
    Ryzen 7600
    Arc A380
    32GB RAM
    x3 8TB hdd mdadm RAID5
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-02-12, 09:17 PM
    Can you share the full ffmpeg log?
    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]
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #9
    2025-02-13, 12:32 AM
    https://pastebin.com/fXNMYmmx
    OpenMandriva ROME
    Ryzen 7600
    Arc A380
    32GB RAM
    x3 8TB hdd mdadm RAID5
    JustAnotherDude
    Offline

    Junior Member

    Posts: 36
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #10
    2025-02-13, 12:45 AM
    Disabling the HEVC and AV1 options under the 'Encoding Format Options' allows for video playback. I still have 'Enable hardware encoding' option selected. Does this allow for hardware acceleration in H264 only? Or am I just falling back to CPU/software only?
    OpenMandriva ROME
    Ryzen 7600
    Arc A380
    32GB RAM
    x3 8TB hdd mdadm RAID5
    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