• 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 High Cpu usage while transcoding

     
    • 0 Vote(s) - 0 Average

    High Cpu usage while transcoding

    Tux
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #1
    2024-10-26, 11:06 AM (This post was last modified: 2024-10-26, 11:08 AM by Tux. Edited 2 times in total.)
    Hi,
    current situation is as following when i try to wathc a UHD move/show e.g. "House of the Dragon", which cant be direct played on a device (e.g. tablet/smartphone) I get a cpu usage of 95%-100% which obviously indicates that the gpu is not used.

    So my setup, as of now:
    OS: Ubuntu 24.04
    Kernel: 6.8.0-47-generic
    CPU: intel 12100
    Jellyfin runs in a docker container and is started via systemd
    within the following config
    Code:
    [Unit]
    Description=Jellyfin Service
    After=docker.service
    Requires=docker.service

    [Service]
    TimeoutStartSec=0
    Restart=always
    ExecStart=/usr/bin/docker run --name jellyfin --rm --publish 8096:8096 --user 1000:1000 --volume /home/stefan/jellyfin/config:/config --volume /home/stefan/jellyfin/cache:/cache --device=/dev/dri:/dev/dri --device /dev/dri/ --group-add 110 --mount type=bind,source=/media/stefan/mediastorage4/MEDIA,target=/media jellyfin/jellyfin:latest

    [Install]
    WantedBy=default.target
    group 110 = render
    with jellyfin user is part of render group
    Code:
    stefan@mediaserver:/etc/systemd/system$ getent group render
    render:x:110:jellyfin,stefan


    if i start a stream and check with "intel-gpu-top" I can see the gpu doesnt render and it basically transcodes 100% via the cpu
    here is a log from jellyfintranscode https://pastebin.com/NTgPmY6m

    If someone could help my why the igpu is not utilized this would be great.
    Also if some information is missing let me know
    Thx in advance
    Fate
    Offline

    Member

    Posts: 221
    Threads: 3
    Joined: 2023 Jun
    Reputation: 16
    #2
    2024-10-26, 12:18 PM
    That is weird your transcode log shows it is transcoding via GPU
    Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
    Stream #0:4 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
    You should be at least see some usage on intel_gpu_top.

    But it is also audio transcoding which is a CPU-only task.

    Can you take a few screenshots of the Transcoding section so see what is selected there?
    nyanmisaka
    Offline

    Team Member

    Posts: 262
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #3
    2024-10-26, 12:46 PM
    The hardware decoder is not enabled.
    Tux
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #4
    2024-10-26, 02:06 PM (This post was last modified: 2024-10-26, 02:12 PM by Tux. Edited 1 time in total.)
    (2024-10-26, 12:18 PM)Fate Wrote: That is weird your transcode log shows it is transcoding via GPU
    Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
    Stream #0:4 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
    You should be at least see some usage on intel_gpu_top.

    But it is also audio transcoding which is a CPU-only task.

    Can you take a few screenshots of the Transcoding section so see what is selected there?

    pictures attached

    Nvm thx, I just saw there is a settings for "HEVC" and "HEVC 10 bit"

    Thx, i didnt know there is a option for "HEVC" and "HEVC 10 bit", while transcoding seems to work now, cpu usage is at ~ 15% and intel_gpu_top is busy rendering. It is still struggling to keep a fluent stream. At least gpu transcoding seems to work now,
    EDIT: quality setting was at 4k/120mbps LOL, guess this is too much to transcode, switching to 1080p/60mbps seems to work just fine.

    Thx


    Attached Files Thumbnail(s)
                   
    « 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