• 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 General Questions Am I using the hardware acceleration correctly?

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Am I using the hardware acceleration correctly?

    Grimlock
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #1
    2024-03-13, 07:57 PM (This post was last modified: 2024-03-13, 07:58 PM by Grimlock. Edited 1 time in total.)
    Pretty new to everything Jellyfin
     
    CPU is a 100% while transcoding, but it appears the iGPU isn’t working very hard:
       

    Or is it just a matter of working/not working and this is just expected performance?
     
    Jellyfin is deployed as a docker from the linuxserver repository on my unraid system.
    Intel Quicksync (QSV) has been enabled.
    Intel GPU TOP plugin is installed and the --device=/dev/dri:/dev/dri flag has been added

     
    System
    CPU: 12th Gen Intel® Core™ i3-12100 @ 3267 MHz
    Memory: 32 GiB DDR4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-13, 08:02 PM (This post was last modified: 2024-03-13, 08:02 PM by TheDreadPirate.)
    Is a single core running at 100%? Or all cores? A single core at 100% probably means that the audio is transcoding on the CPU, which is expected.

    Can you share your ffmpeg log with us via https://sourceb.in/ ?
    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]
    Grimlock
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #3
    2024-03-13, 08:23 PM
    All cores are pretty much at 100%

    Here are my FFmpeg logs

    https://srcb.in/eyLyRzzGy2
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-03-13, 08:46 PM
    It is using the iGPU.

    Code:
    Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))

    Your video is a bit weird. It has 2 video streams? One with and without Dolby Vision?

    Did you apply the Intel OpenCL mod for the LSIO Jellyfin container? Can you share the full docker config for Jellyfin?
    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]
    Grimlock
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #5
    2024-03-13, 09:46 PM
    Here is where my inexperience starts to show... Grimacing-face

    How do I share my docker config from unRaid? this is what I could grab: https://sourceb.in/267c2UwI8Z

    I did not apply the Intel OpenCL mod for the LSIO Jellyfin container... but I would not know how

    here is a link to another file transcoding log if that's helpful: https://sourceb.in/GFU2e5wJNF
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-03-13, 09:56 PM (This post was last modified: 2024-03-13, 09:56 PM by TheDreadPirate. Edited 1 time in total.)
    You have to add an environment variable to the Docker config for Jellyfin.

    https://github.com/linuxserver/docker-mo...encl-intel

    Code:
    DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel

    Since your video is HDR, you need the OpenCL mod.
    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]
    Grimlock
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #7
    2024-03-13, 10:21 PM
    Thanks for the help. I've added the mod, but still CPU is running at 98~100%.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-03-13, 10:29 PM
    For a sanity check, can you try another video? Preferably one that isn't HDR? The video we've been trying is a bit weird. Has two video streams.

    Code:
    Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 60746 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
        Metadata:
          creation_time   : 2023-01-11T16:59:46.000000Z
          vendor_id       : [0][0][0][0]
          encoder         : HEVC Coding
      Stream #0:1[0x2](und): Video: hevc (Main 10) (dvhe / 0x65687664), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9], 12172 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
        Metadata:
          creation_time   : 2023-01-11T16:59:46.000000Z
          vendor_id       : [0][0][0][0]
          encoder         : DOVI Coding
        Side data:
          DOVI configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 0, compatibility id: 6

    The first 4K HEVC 10 stream and a separate HEVC 10 + DOVI 7.6 stream that is 1080P instead of 4K? Its a bit unusual. Normally you have the HEVC and DV side channel in the same stream.
    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]
    Grimlock
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #9
    2024-03-15, 07:22 PM
    Sorry - Took me a while to test out another video

    This one is better but still chewing up 85% ~ 90% CPU

    Here are the logs: https://sourceb.in/ZkVVVQDvJz

    iGPU looks a little better though?
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-03-15, 07:48 PM
    For testing, can you spin up a jellyfin/jellyfin docker image? I've found that the LSIO docker image behaves differently than the official image in a lot of weird ways. This may be another.

    Replace the group_add value with the GID of the render group on your PC. Add your media paths, etc.

    Code:
    version: '3.5'
    services:
      jellyfin:
        image: jellyfin/jellyfin:10.8.13-1
        container_name: jellyfin-test
        user: 1000:1000
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment
        network_mode: 'host'
        volumes:
          - /path/to/config:/config
          - /path/to/cache:/cache
          - type: bind
            source: /path/to/media
            target: /media
          - type: bind
            source: /path/to/media2
            target: /media2
            read_only: true
        restart: 'unless-stopped'
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
    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