• 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: Jellyfin Server Hangs HW Transcoding

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin Server Hangs HW Transcoding

    stnd
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Cambodia
    #1
    2024-01-09, 11:37 PM (This post was last modified: 2024-01-09, 11:41 PM by stnd. Edited 1 time in total.)
    HI, hoping I can get some help or direction with my issue.

    Setup is Proxmox (i5-12500 UHD770) -> Ubuntu LXC -> Jellyfin

    When hardware transcoding and I try to navigate the video timeline the container CPU  and Memory will max out and hang the system requiring stopping the container and starting it again.

    Transcoding Settings
    https://imgur.com/a/J3eSGBS

    Transcode Log
    https://pastebin.com/62nqpArG

    /usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device vaapi=va
    https://pastebin.com/vq60TrXN

    What else can I provide to help with this.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-09, 11:59 PM
    Couldn't you run Jellyfin as an LXC container directly on proxmox? Seems like an unnecessary virtualized layer.

    1) You need to pass your GPU twice. Once from your Proxmox host to Ubuntu, then Ubuntu to LXC container.
    2) Select Intel Quick Sync instead of Intel
    3) Which image you using? The official jellyfin/jellyfin image? A third party image?
    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]
    stnd
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Cambodia
    #3
    2024-01-10, 02:43 AM
    (2024-01-09, 11:59 PM)TheDreadPirate Wrote: Couldn't you run Jellyfin as an LXC container directly on proxmox?  Seems like an unnecessary virtualized layer.

    1) You need to pass your GPU twice.  Once from your Proxmox host to Ubuntu, then Ubuntu to LXC container.
    2) Select Intel Quick Sync instead of Intel
    3) Which image you using?  The official jellyfin/jellyfin image?  A third party image?

    Thanks for responding.

    Official Jellyfin is installed using install script in he LXC container running Ubuntu. The vgpu is passed through once. How could I figure out why my CPU and Memory usage goes to 100% and the LXC container hangs until I force stop it. right now it happened again after I tried changing bandwidth options.
    Revv23
    Offline

    Member

    Posts: 87
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #4
    2024-01-10, 02:59 AM
    I have same questions a TDP.

    Why run a container in a container?

    did you switch to QSV?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-01-10, 03:23 AM
    You need to pass the GPU twice. Proxmox > Ubuntu > LXC. Which one did you already do?
    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]
    stnd
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Cambodia
    #6
    2024-01-10, 12:36 PM (This post was last modified: 2024-01-10, 12:39 PM by stnd. Edited 1 time in total.)
    (2024-01-10, 02:59 AM)Revv23 Wrote: I have same questions a TDP.

    Why run a container in a container?

    did you switch to QSV?

    (2024-01-10, 03:23 AM)TheDreadPirate Wrote: You need to pass the GPU twice.  Proxmox > Ubuntu > LXC.  Which one did you already do?

    I am sorry if I am confusing things. Where am I running a container in a container? 

    I only have Ubuntu as a Linux container LXC. Once Ubuntu was installed, Jellyfin was installed using the automated script.
    Code:
    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    This is the guide I followed https://www.michaelstinkerings.org/gpu-v...u-uhd-730/ and the transcoding seems to work, but if I mess with the stream and try to change the position in the timeline or bitrate it can cause full CPU/MEM usage and cause the Ubuntu LXC Container to become unresponsive requiring stopping and restarting.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-01-10, 06:23 PM
    My bad, misunderstood your setup. How much RAM does your Ubuntu VM have?
    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]
    stnd
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Cambodia
    #8
    2024-01-10, 06:44 PM
    (2024-01-10, 06:23 PM)TheDreadPirate Wrote: My bad, misunderstood your setup.  How much RAM does your Ubuntu VM have?

    Ubuntu LXC
    CPU: 4
    MEM: 4GB
    SWAP: 1GB
    DISK: 8GB
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-01-10, 06:56 PM (This post was last modified: 2024-01-10, 06:57 PM by TheDreadPirate. Edited 2 times in total.)
    Jellyfin writes transcodes to disk. Are you running out of disk space? You can change where Jellyfin writes transcodes to in Dashboard > Playback and have Jellyfin write them to a disk with more space.
    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]
    stnd
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Cambodia
    #10
    2024-01-10, 07:39 PM (This post was last modified: 2024-01-10, 07:39 PM by stnd. Edited 1 time in total.)
    (2024-01-10, 06:56 PM)TheDreadPirate Wrote: Jellyfin writes transcodes to disk.  Are you running out of disk space?  You can change where Jellyfin writes transcodes to in Dashboard > Playback and have Jellyfin write them to a disk with more space.

    Thank you. I upped the memory to 8GB and the disk space to 32GB and have been messing with the streams and so far so good. That must have been it and would explain why it maxed out resources and froze. I will use it today and if all is good, mark your post and thread solved.
    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