• 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: Server becomes unresponsive when transcoding for my phone

     
    • 0 Vote(s) - 0 Average

    SOLVED: Server becomes unresponsive when transcoding for my phone

    Server becomes unresponsive when transcoding for my phone
    magguzu
    Offline

    Junior Member

    Posts: 23
    Threads: 3
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #1
    2024-10-04, 01:10 PM (This post was last modified: 2024-10-04, 01:44 PM by magguzu. Edited 2 times in total.)
    Hi folks.

    I have an issue that has been causing a lot of pain.

    Whenever I try to watch a video on some devices that require codec transcoding, notably my phone, I experience freezing and my server becomes unresponsive until I reboot.

    This doesn't seem to be for ALL transcoding though. If it's transcoding for bitrate, it seems to work well.

    For those problematic streams, it almost seems as if the server is software transcoding, since CPU spikes and the server becomes unusable.

    Jellyfin is running in a Docker container, on an Ubuntu VM in Proxmox.

    I have transcoding configured through my Intel iGPU. UHD 770 (CPU is Intel Core i5-13500)

    12 cores, 24GB RAM assigned to the VM.



    I have the iGPU passed through to the VM, then again to the container like so:


      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        ports:
          - 8096:8096
        group_add:
          - "109" # render group
          - "44" # video group
        devices:
          - /dev/driConfused-facedev/dri #iGPU for transcoding
        volumes:
          - type: bind
            source: /services/jellyfin/jellyfin/jellyfin-web/config.json
            target: /jellyfin/jellyfin-web/config.json
          - type: bind
            source: /services/jellyfin/jellyfin/system.xml
            target: /etc/jellyfin/system.xml
          - /services/jellyfin/configConfused-faceconfig
          - /services/jellyfin/cacheConfused-facecache
          - /services/jellyfin/fontsConfused-facefonts
          - /mnt/mediaConfused-facemedia
        restart: always
        environment:
          - TZ=America/New_York
          - JELLYFIN_PublishedServerUrl=xxxx
        logging:
          driver: "json-file"
          options:
            max-file: "10"
            max-size: "200k"



    My transcoding configs:

       

    I believe the i915 Intel low power transcoding is configured, though my paths are slightly different from what's in the Jellyfin doc:


    root@jellyfintempConfused-facesys/kernel/debug/dri/1/gt0/uc# cat huc_info
    HuC firmware: i915/tgl_huc.bin
    status: RUNNING
    version: found 7.9.3
    uCode: 589504 bytes
    RSA: 256 bytes
    HuC status: 0x00090001
    root@jellyfintempConfused-facesys/kernel/debug/dri/1/gt0/uc# cat guc_info
    GuC firmware: i915/tgl_guc_70.bin
    status: RUNNING
    version: found 70.20.0
    uCode: 334784 bytes
    RSA: 256 bytes
    GuC status 0x8003f0ec:
    Bootrom status = 0x76
    uKernel status = 0xf0
    MIA Core status = 0x3
    Scratch registers:
    0: 0x0
    1: 0x1633d7
    2: 0x44000
    3: 0x4000
    4: 0x40
    5: 0x4ec
    6: 0x4680000c
    7: 0x0
    8: 0x0
    9: 0x0
    10: 0x0
    11: 0x0
    12: 0x0
    13: 0x0
    14: 0x0
    15: 0x0

    GuC logging stats:
    Relay full count: 0
    DEBUG: flush count          0, overflow count          0
    CRASH: flush count          0, overflow count          0
    CAPTURE: flush count          0, overflow count          0


    Here is my ffmpeg log from my most recent reproducing:
    https://pastebin.com/rpm2KBRB

    And the container log:
    https://pastebin.com/9vMhWFb6

    Server config, database, metadata, etc are all on an NVME SSD. The media is on an HDD over NFS.

    That's everything I can think of right now. Let me know if I need to provide anything else. Thanks in advance!
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 01:10 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 01:56 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 03:18 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 03:26 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 03:37 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 04:35 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 06:08 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 06:22 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 06:24 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 08:22 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 08:51 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-04, 09:23 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-04, 11:42 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-05, 04:49 AM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-05, 05:30 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-06, 06:19 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-06, 06:27 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-10, 01:08 PM
    RE: Server becomes unresponsive when transcoding for my phone - by TheDreadPirate - 2024-10-10, 05:17 PM
    RE: Server becomes unresponsive when transcoding for my phone - by magguzu - 2024-10-18, 09:55 PM

    • 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