• 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 Poor Performance from Clients

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Poor Performance from Clients

    Non-Web Clients excessively slow
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #1
    2024-08-19, 01:15 PM (This post was last modified: 2024-08-19, 04:25 PM by BeastleeUK. Edited 4 times in total.)
    Configuration:

    Jellyfin Version: 10.9.9
    Installation Method: Docker (Compose)
    OS: Ubuntu 22.04 LTS (Bare Metal)
    Reverse Proxy: Traefik v3.1.2

    CPU: Intel Xeon E3-1225 v3 @ 4 x 3.2GHz
    GPU: Intel i965 GPU
    Memory: 20 GB DDR4
    HDDS:
      OS and Docker volumes: 2 x 240GB SSD
      Media: 3TB WD Red HDD
    Network: 1GBit wired / WiFi6 (clients get 200Mbps+)

    Description:
    I've been running Jellyfin for over a year but since the 10.9.x releases the performance on my non-web clients has hit a point of being unusable. The web interface is quick as ever and videos, including 4K, play instantly, however the clients on my LG TVs (one running an older version, the other up to date) and my Fire TV Stick (client app v0.17.3) all take up to 2 minutes to start playing and any skipping forward or backward renders it unusable again for a couple of minutes. Playback is DirectPlay to all devices and it affects even 1080p material, host CPU usage sits around 10% and Memory is about 40%, there's nothing obvious in the logs either.  I did try pointing the clients at the IP:port combo to rule out the proxy but that makes no discernible difference.  I've included my Docker and Traefik configs as well as a log capture when I tried to play an episode just now. Please can someone help me avoid going back to Plex?

    Logs: https://pastebin.com/a4xa0s4B

    Compose File:

    Code:
    services:
      # Jellyfin - Media Library
      jellyfin:
        hostname: jellyfin
        container_name: jellyfin
        image: jellyfin/jellyfin:latest
        restart: unless-stopped
        profiles:
          - jellyfin
        user: ${PUID}:${PGID}
        group_add:
          - "109"
        network_mode: 'host'
        environment:
          - JELLYFIN_PublishedServerUrl=https://${JELLYFIN_URL} #optional
        volumes:
          - ${DOCKERDIR}/applications/multimedia/jellyfin/config:/config
          - ${MEDIA_CACHEDIR}/jellyfin:/cache
          - type: bind
            source: ${AUTOMEDIADIR}
            target: /automedia
        devices:
          - /dev/dri:/dev/dri

    Traefik Config:

    Code:
    http:

      routers:
        jellyfin-rtr:
          rule: "Host(`jellyfin.mydomain.com`)"
          entrypoints:
            - websecure
          middlewares:
            - chain-no-auth-noindex
          service: jellyfin-svc
          tls:
            certResolver: CloudflareDNS

      services:
        jellyfin-svc:
          loadBalancer:
            servers:
              - url: "http://X.X.X.X:8096"
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-19, 01:41 PM
    Can you share your full log via pastebin? Censor domain names and WAN IPs.

    Also, I see in your docker compose that you are passing in /dev/dri, but your specs don't list a GPU.
    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]
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #3
    2024-08-19, 04:15 PM (This post was last modified: 2024-08-19, 04:26 PM by BeastleeUK. Edited 2 times in total.)
    (2024-08-19, 01:41 PM)TheDreadPirate Wrote: Can you share your full log via pastebin?  Censor domain names and WAN IPs.

    Also, I see in your docker compose that you are passing in /dev/dri, but your specs don't list a GPU.

    Thanks for taking a look, I've updated my original post to show the i965 GPU and replaced the log block with a link to the PasteBin entry. I tried turning off the transcoding at one point but it had been fine before that with no config changes, it made no difference. Plex is also set up the same way and everything plays instantly on that, including 4K at reasonably high bitrates. There's only one user ever on this at a time too, I have 2 users but we share mine.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-19, 05:05 PM
    Ah. I see that this Xeon CPU does have an iGPU in it. But it doesn't have the Quick Sync media engine. But you said it is direct playing, which the logs definitely indicate.

    My only suggestion is to try disabling the trakt plugin, restart jellyfin, and try again.
    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]
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #5
    2024-08-20, 07:37 AM
    (2024-08-19, 05:05 PM)TheDreadPirate Wrote: Ah.  I see that this Xeon CPU does have an iGPU in it.  But it doesn't have the Quick Sync media engine.  But you said it is direct playing, which the logs definitely indicate.

    My only suggestion is to try disabling the trakt plugin, restart jellyfin, and try again.


    Thanks, I've just tried that and still no difference. It's just weird how it's only the client apps that are affected and not the web interface.
    Jellyfin 10.9.9
    Docker Image
    Ubuntu 22.04 LTS (Bare Metal)
    Intel Xeon E3-1225 v3
    20GB DDR4
    CPU: Intel Xeon E3-1225 v3 @ 4 x 3.2GHz
    GPU: Intel i965 GPU
    Memory: 20 GB DDR4
    HDDS:
      OS and Docker volumes: 2 x 240GB SSD
      Media: 3TB WD Red HDD
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-20, 02:51 PM
    Long shot, can you switch your bind mount for /automedia to a plain volume mount?

    Code:
    - ${AUTOMEDIADIR}:/automedia
    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]
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #7
    2024-08-22, 08:18 AM
    (2024-08-20, 02:51 PM)TheDreadPirate Wrote: Long shot, can you switch your bind mount for /automedia to a plain volume mount?

    Code:
    - ${AUTOMEDIADIR}:/automedia

    That's actually how it used to be until about 10 minutes before I posted this thread. I was wondering if the volume mount was affecting it.

    I'm going to build a new container from scratch and point the mappings, except media, to a new set of folders. I'll see if that changes anything, I'm not bothered if I have to reconfigure anything as Trakt manages my watched times and that's the only thing I care about Grinning-face
    Jellyfin 10.9.9
    Docker Image
    Ubuntu 22.04 LTS (Bare Metal)
    Intel Xeon E3-1225 v3
    20GB DDR4
    CPU: Intel Xeon E3-1225 v3 @ 4 x 3.2GHz
    GPU: Intel i965 GPU
    Memory: 20 GB DDR4
    HDDS:
      OS and Docker volumes: 2 x 240GB SSD
      Media: 3TB WD Red HDD
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #8
    2024-08-22, 12:12 PM (This post was last modified: 2024-08-22, 12:52 PM by BeastleeUK. Edited 1 time in total.)
    Just to confirm, completely fresh server install on same hardware and with the client app reinstalled too it does the same thing. It took 30s for a 1080p stream to start and any kind of skipping delayed it the same again. Web interface is instant playback.

    I have seen other posts around reddit, etc. where the client apps seem to do this but I have now way to confirm if it is the same issue or how to debug it.

    EDIT: My client apps are now back to the problem I used to have where they won't connect to Jellyfin. They pick up the published URL but don't connect via the URL or either port. Web clients on the same devices can connect fine.
    Jellyfin 10.9.9
    Docker Image
    Ubuntu 22.04 LTS (Bare Metal)
    Intel Xeon E3-1225 v3
    20GB DDR4
    CPU: Intel Xeon E3-1225 v3 @ 4 x 3.2GHz
    GPU: Intel i965 GPU
    Memory: 20 GB DDR4
    HDDS:
      OS and Docker volumes: 2 x 240GB SSD
      Media: 3TB WD Red HDD
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-08-22, 05:14 PM
    Can you comment out the publishedURL in your docker config? Then connect from a local client directly to your server's LAN IP?
    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]
    BeastleeUK
    Offline

    Junior Member

    Posts: 9
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United Kingdom
    #10
    2024-08-22, 06:43 PM
    (2024-08-22, 05:14 PM)TheDreadPirate Wrote: Can you comment out the publishedURL in your docker config?  Then connect from a local client directly to your server's LAN IP?


    Getting weirder. I can connect better over Tailscale VPN when off WiFi (I don't have the ports open on the router). With and without the published URL removed the official client on my phone won't connect even via IP:port. Findroid and web interface will do it no problem so I think it's an Android client issue with the websockets. Really need to be able to view the log on that without ADB.

    Thanks,
    Lee
    Jellyfin 10.9.9
    Docker Image
    Ubuntu 22.04 LTS (Bare Metal)
    Intel Xeon E3-1225 v3
    20GB DDR4
    CPU: Intel Xeon E3-1225 v3 @ 4 x 3.2GHz
    GPU: Intel i965 GPU
    Memory: 20 GB DDR4
    HDDS:
      OS and Docker volumes: 2 x 240GB SSD
      Media: 3TB WD Red HDD
    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