• 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: Help with transcoding

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Help with transcoding

    Slow transcoding issue.
    Deegee88
    Offline

    Member

    Posts: 59
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #1
    2024-06-06, 05:01 PM
    Hello - i've recently moved my server over to ubuntu desktop and installed jellyfin via a portainer stack.
    I have an A380 which i'm trying to set up for encoding but it seems very sluggish.

    Stack code:
    ---
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/London
          - JELLYFIN_PublishedServerUrl=192.168.4.86 #optional
        volumes:
          - /mnt/programs/jellyfinConfused-faceconfig
          - /mnt/programs/jellyfin/cacheConfused-facecache
          - /mnt/vault/showsConfused-faceshows
          - /mnt/vault/filmsConfused-facefilms
        ports:
          - 8096:8096
          - 7359:7359/udp #optional
          - 1900:1900/udp #optional
        devices:
          - /dev/dri/renderD128Confused-facedev/dri/renderD128
        restart: unless-stopped

    Transcode log: https://sourceb.in/1pQo3NECMk

    My system does have dual GPU's but i'm 90% sure that D128 is the A380 and not the other GPU (K2200 i believe).

    Any help on what i'm doing wrong would be appreciated.
    Jellyfin 10.10.3
    Ubuntu Desktop LTS 24.04
    Intel Xeon E5-1650 v3
    64GB DDR4
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-06, 05:05 PM (This post was last modified: 2024-06-06, 05:06 PM by TheDreadPirate. Edited 1 time in total.)
    Just pass in /dev/dri in its entirety. The Intel driver will then automatically select your Arc GPU. In a multi-GPU setup, which GPU gets assigned to which renderD number is random on reboots.

    Code:
    devices:
          - /dev/dri/:/dev/dri/
    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]
    Deegee88
    Offline

    Member

    Posts: 59
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #3
    2024-06-06, 05:23 PM (This post was last modified: 2024-06-06, 05:26 PM by Deegee88.)
    So as long as i have Intelquick sync selected in hardware encoding it'll know to use the A380?
    At the moment I have HVEC, H264, VC1, AV1, HEVC 10bit & VP9 10bit selected to be decoded.
    and encoding format is just HEVC - not AV1
    Does that sound okay?

    https://sourceb.in/IUCxzrlP3h

    It is still extremely slow...

    https://sourceb.in/DDpGovDOlc - another film title which is exactly the same.
    Jellyfin 10.10.3
    Ubuntu Desktop LTS 24.04
    Intel Xeon E5-1650 v3
    64GB DDR4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-06, 05:28 PM
    Correct. The Intel driver will automatically select your Arc GPU if you just pass in /dev/dri without specifying a particular renderD device.

    Why not enable AV1 encoding?

    Also, VC1 decoding is not supported. This table has all the codecs that Intel supports (the far right column).

    https://en.wikipedia.org/wiki/Intel_Quic...d_encoding

    Everything except VP8 and VC1.
    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]
    Deegee88
    Offline

    Member

    Posts: 59
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #5
    2024-06-06, 05:37 PM
    No particular reason it was just setup that way.

    Unforunately even with AV1 encoding and changing to /dev/dri it's still very slow.

    It's actually quicker to disable hardware acceleration - which defeats the point surely?
    Jellyfin 10.10.3
    Ubuntu Desktop LTS 24.04
    Intel Xeon E5-1650 v3
    64GB DDR4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-06, 05:56 PM
    Can you share the ffmpeg log from the "slow" transcode?
    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]
    Deegee88
    Offline

    Member

    Posts: 59
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #7
    2024-06-06, 06:04 PM
    Yup - i did post them above but here are 2:
    https://sourceb.in/IUCxzrlP3h

    https://sourceb.in/DDpGovDOlc
    Jellyfin 10.10.3
    Ubuntu Desktop LTS 24.04
    Intel Xeon E5-1650 v3
    64GB DDR4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-06, 06:13 PM
    Enable low power encoding (both check boxes). Its required 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]
    Deegee88
    Offline

    Member

    Posts: 59
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    Country:United Kingdom
    #9
    2024-06-06, 06:19 PM
    Okay - so that has helped a bit but still not perfect. Compared to no hardware acceleration with speeds of 1.5 i'm not getting 0.4 (so double what it was!) but still with some buffering - especially when first starting up.

    https://srcb.in/VSwr8VxCus

    Is this normal?
    Jellyfin 10.10.3
    Ubuntu Desktop LTS 24.04
    Intel Xeon E5-1650 v3
    64GB DDR4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-06-06, 06:31 PM
    What kernel is your system running?  sudo uname -a

    BTW, this is what you should be seeing.

       
    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 (3): 1 2 3 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