• 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 AV1 HW Accelerated Decoding Issue with Intel

     
    • 0 Vote(s) - 0 Average

    AV1 HW Accelerated Decoding Issue with Intel

    DangerBK
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Feb
    Reputation: 0
    Country:United States
    #1
    2024-12-15, 09:54 PM (This post was last modified: 2024-12-15, 09:58 PM by DangerBK. Edited 3 times in total.)
    After much research and testing I discovered that there is a reported issue in ffmpeg here https://github.com/intel/media-driver/issues/1852

    I have an A580 Intel Arc graphics card and when playing an AV1 file on a TV that didn't support it, transcoding failed due to the issue above. There's an example of the ffmpeg log output with the errors I saw. Intel Arc A580 absolutely supports AV1 Decode however, the issue is Film Grain kernels apparently. So for now because I've only run into this issue on a very small number of files I'm going to disable hardware accelerated decoding of AV1. This was an issue using either VAAPI or QSV. Hopefully this is helpful to someone and also I hope that they fix this issue with AV1 decode support as AV1 is a big reason to have an Intel card in the first place. Unfortunately it says for DG2 it may never for free driver. It's a bit confusing to me as I am using the non-free driver and it's still a problem. Not sure.

    Code:
    frame=    0 fps=0.0 q=0.0 size=N/A time=N/A bitrate=N/A dup=5 drop=0 speed=N/A   
    [hevc_qsv @ 0x6460429c0d80] Invalid FrameType:0.
    [vost#0:0/hevc_qsv @ 0x6460429c0580] Error submitting video frame to the encoder
    [vost#0:0/hevc_qsv @ 0x6460429c0580] Error encoding a frame: Invalid data found when processing input
    [vost#0:0/hevc_qsv @ 0x6460429c0580] Task finished with error code: -1094995529 (Invalid data found when processing input)
    [vost#0:0/hevc_qsv @ 0x6460429c0580] Terminating thread with return code -1094995529 (Invalid data found when processing input)
    [av1 @ 0x6460429f8540] Failed to end picture decode issue: 23 (internal decoding error).
    [av1 @ 0x6460429f8540] HW accel end frame fail.
    [vist#0:0/av1 @ 0x646042db3ac0] [dec:av1 @ 0x6460429a9bc0] Error submitting packet to decoder: Input/output error
    [hls @ 0x646042bdcdc0] Opening '/cache/transcodes/68aab3baad289ab7eea9be187f84b2752.ts' for writing
    [out#0/hls @ 0x646042bddc00] video:0KiB audio:1347KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
    frame=    0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A dup=6 drop=0 speed=N/A   
    Conversion failed!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-15, 10:32 PM (This post was last modified: 2024-12-15, 10:34 PM by TheDreadPirate. Edited 3 times in total.)
    Can you share the full ffmpeg log?

    Do you also have the Intel non-free-firmware installed?

    What is the output of "sudo dmesg | grep i915"? And which kernel are you running?
    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]
    DangerBK
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Feb
    Reputation: 0
    Country:United States
    #3
    2025-01-02, 11:44 PM
    (2024-12-15, 10:32 PM)TheDreadPirate Wrote: Can you share the full ffmpeg log?

    Do you also have the Intel non-free-firmware installed?

    What is the output of "sudo dmesg | grep i915"?  And which kernel are you running?

    I don't have the full log. I do have the non-free firmware. I am running a kernel with the proper support. 

    Quote:adam@smithflix:~$ sudo dmesg | grep i915
    [sudo] password for adam: 
    [    3.567363] i915 0000:0b:00.0: [drm] VT-d active for gfx access
    [    3.585981] i915 0000:0b:00.0: vgaarb: deactivate vga console
    [    3.586451] i915 0000:0b:00.0: [drm] Local memory IO size: 0x00000001fc000000
    [    3.586453] i915 0000:0b:00.0: [drm] Local memory available: 0x00000001fc000000
    [    3.602458] i915 0000:0b:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+memFace-with-open-mouthwns=none
    [    3.606319] i915 0000:0b:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.Nerd-face
    [    3.614266] i915 0000:0b:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.20.0
    [    3.614271] i915 0000:0b:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3
    [    3.622852] i915 0000:0b:00.0: [drm] GT0: GUC: submission enabled
    [    3.622856] i915 0000:0b:00.0: [drm] GT0: GUC: SLPC enabled
    [    3.623093] i915 0000:0b:00.0: [drm] GT0: GUC: RC enabled
    [    3.648453] i915 0000:0b: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.669194] [drm] Initialized i915 1.6.0 20230929 for 0000:0b:00.0 on minor 1
    [    3.670087] i915 display info: display version: 13
    [    3.670089] i915 display info: cursor_needs_physical: no
    [    3.670091] i915 display info: has_cdclk_crawl: no
    [    3.670092] i915 display info: has_cdclk_squash: yes
    [    3.670093] i915 display info: has_ddi: yes
    [    3.670094] i915 display info: has_dp_mst: yes
    [    3.670095] i915 display info: has_dsb: yes
    [    3.670096] i915 display info: has_fpga_dbg: yes
    [    3.670097] i915 display info: has_gmch: no
    [    3.670099] i915 display info: has_hotplug: yes
    [    3.670100] i915 display info: has_hti: no
    [    3.670101] i915 display info: has_ipc: yes
    [    3.670102] i915 display info: has_overlay: no
    [    3.670103] i915 display info: has_psr: yes
    [    3.670104] i915 display info: has_psr_hw_tracking: no
    [    3.670105] i915 display info: overlay_needs_physical: no
    [    3.670107] i915 display info: supports_tv: no
    [    3.670108] i915 display info: has_hdcp: yes
    [    3.670109] i915 display info: has_dmc: yes
    [    3.670110] i915 display info: has_dsc: yes
    [    3.696385] fbcon: i915drmfb (fb0) is primary device
    [    3.696389] i915 0000:0b:00.0: [drm] fb0: i915drmfb frame buffer device
    [    3.696341] snd_hda_intel 0000:0c:00.0: bound 0000:0b:00.0 (ops i915_audio_component_bind_ops [i915])
    [    4.244280] i915 0000:0b:00.0: [drm] GT0: HuC: authenticated for all workloads
    [    4.244290] mei_pxp i915.mei-gsc.2816-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:0b:00.0 (ops i915_pxp_tee_component_ops [i915])
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-03, 03:16 PM
    Do you have an Intel CPU with an iGPU?
    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]
    « 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