• 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 Hardware recommendations still up to date?

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Hardware recommendations still up to date?

    I've got a different experience with AMD
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-11-17, 12:18 AM
    Can you share the ffmpeg logs via pastebin? Also, if you use the full reply editor (click "preview post" or "new reply") you can attach images.
    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]
    fhireman
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #12
    2024-11-17, 12:45 AM (This post was last modified: 2024-11-17, 12:51 AM by fhireman. Edited 2 times in total.)
    @TheDreadPirate let me know if you need something else or if I can get those screenshots to you in another way.

    Edit: ah just saw your new reply, I've added the screenshots to this reply.
    how do I get the ffmpeg logs seperately? I saw some ffmpeg lines in the jellyfin docker container logs so I assumed those were the necessary ones.
    do you have a command I can run with ffmpeg to try things?


    Attached Files Thumbnail(s)
                           
       
    Ubuntu Server 24.04
    Intel i5 12500
    Intel Arc A380
    OS 500GB SSD
    Storage 6TB WD Red Pro
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-11-17, 01:17 AM
    It looks like this is a docker container. Can you share your docker compose for the jellyfin container?
    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]
    fhireman
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #14
    2024-11-17, 01:52 AM (This post was last modified: 2024-11-17, 01:52 AM by fhireman.)
    I found where the ffmpeg logs were, this was the log of me trying to play something with hardware acceleration enabled: https://pastebin.com/NeYkuxhB

    My compose file looks like this(using Caddy as a reverse proxy to Jellyfin):
    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        volumes:
          - /home/frank/jellyfin/config:/config
          - /home/frank/jellyfin/cache:/cache
          - /mnt/media:/media
        expose:
          - "8096"
        networks:
          - jellyfin-net
        restart: unless-stopped

      caddy:
        image: caddy:latest
        container_name: caddy
        ports:
          - "80:80"
        volumes:
          - ./Caddyfile:/etc/caddy/Caddyfile
        depends_on:
          - jellyfin
        networks:
          - jellyfin-net
        restart: unless-stopped

    networks:
      jellyfin-net:
        driver: bridge



    I'm probably missing something specific for the Jellyfin container to properly use hardware acceleration on the host machine.
    Ubuntu Server 24.04
    Intel i5 12500
    Intel Arc A380
    OS 500GB SSD
    Storage 6TB WD Red Pro
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-11-17, 02:10 AM
    You did not pass the GPU into the container nor the render group ID.

    https://jellyfin.org/docs/general/admini...ial-docker

    Run this to get the render group ID

    Code:
    getent group render | cut -d: -f3

    Then add this to the docker compose. Replace "122" with the value from the previous command.

    Code:
    group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    Then pass in the GPU.

    Code:
    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]
    fhireman
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #16
    2024-11-17, 10:55 AM
    Nice I think I got it working with:

    Code:
    devices:
          - /dev/dri:/dev/dri
        environment:
          - PUID=1000
          - PGID=993
        group_add:
          - "993"

    ffmpeg CPU usage dropped to around 100% now and load average 0.6, way better than the 1130% and 11.2 load average before  Raising-hands

    thanks for the help!
    Ubuntu Server 24.04
    Intel i5 12500
    Intel Arc A380
    OS 500GB SSD
    Storage 6TB WD Red Pro
    fhireman
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #17
    2024-11-17, 12:53 PM (This post was last modified: 2024-11-17, 01:10 PM by fhireman. Edited 2 times in total.)
    @TheDreadPirate @crobibero

    I don't quite understand, I have a lot more issues with my new setup than my old (not Jellyfin recommended) one.
    old setup:
    - Running v10.9.11 on Tuxedo laptop with Ubuntu 24.04.1 in Docker containers
    - Ryzen 8845HS (Radeon 780M iGPU)
    - 32GB RAM
    - 4TB m.2 SSD that has both the OS and the media on it
    - Not connected with ethernet cable, hosting on WiFi (about 200/300 Mbit on average)

    Nothing done in terms of hardware acceleration, it was all CPU powered & out of the box Jellyfin container, no configuration done.
    No noise issues or CPU that has high load while playing media.
    Resuming an episode would not desync subtitles(or only for the first subtitle line after resuming and get back in sync at the next line).
    Casting to Chromecast through Jellyfin app was flawless with no stuttering.

    new setup:
    - Running v10.10.2 on Ubuntu Server 24.04.1 in Docker containers
    - Intel i5 12500 with UHD Graphics 770 iGPU
    - 16GB RAM
    - 500GB SSD for OS
    - 6TB WD Red Pro for media
    - connected with 1Gbit ethernet cable

    High CPU usage/noise and subtitle desync issues out of the box with no configuration when resuming the same media file as on old setup.
    Extra configuration to get Intel Quicksync going, lowered CPU usage/noise but still has subtitle desync issues when playing through the browser.
    Casting episode from Jellyfin app to chromecast makes the episode freeze/hang for a few seconds and then play a little bit, freeze again, and play a little bit.
    Resuming an episode on Jellyfin app itself has desynced subtitles.


    There has to be something that I'm not configuring correctly that has a big influence on the Jellyfin setup that should be running smoother than the old AMD one. Else I'm really going to regret buying a dedicated Jellyfin Intel build Slightly-frowning-face


    edit:
    Switching subtitles in this episode from Undefined - SUBRIP- External to English - PGSSUB makes subtitles sync up again with the video, that's at least one big relief.
    I'll test the casting from the jellyfin app some more this afternoon and hopefully it was just a fluke before.
    Ubuntu Server 24.04
    Intel i5 12500
    Intel Arc A380
    OS 500GB SSD
    Storage 6TB WD Red Pro
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-11-17, 03:58 PM
    SRT subtitles are rendered by the browser directly, not by Jellyfin. In testing this issue in the past, Firefox was, by far, the worst offender when it came to subtitle desync.

    What I noticed was that the videos that I had encoded did NOT have this issue. Other videos I had, that I did not re-encode, had desync issues sometimes. The way I was able to resolve the issue was to remux those videos and ensure that the container timestamps were correct.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

    Try that out on one of the files you are having issues with.
    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]
    fhireman
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Netherlands
    #19
    2024-11-17, 08:46 PM
    Thanks for all the answers TDP Smiling-face
    I'll try that when I run into a desynced one again.

    I think my setup is pretty good now, got a second chromecast/google TV thing with a remote which works way better with jellyfin than casting it from the jellyfin app. The episode that was freezing, then playing a little and then freezing again doesn't do this with the chromecast app.
    Ubuntu Server 24.04
    Intel i5 12500
    Intel Arc A380
    OS 500GB SSD
    Storage 6TB WD Red Pro
    Pages (2): « Previous 1 2

    « 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