• 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 GPU usage is too high during hardware transcoding

     
    • 0 Vote(s) - 0 Average

    GPU usage is too high during hardware transcoding

    Peaynan
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    #1
    2024-10-17, 02:32 PM
    When I use Jellyfin for hardware transcoding, the GPU usage is very high, reaching up to 95% or more.

    However, in a previous version (I can't recall which one), the GPU usage remained stable at around 30%.

    I've noticed that the transcoding logic seems to quickly transcode the set portion (I've set it to 3 minutes) by utilizing extremely high GPU usage, and after the task is complete, the GPU usage drops back to 0. This causes a problem: when someone is streaming with transcoding, my machine generates a lot of noise. I would prefer my GPU to continuously transcode rather than finishing the task quickly and then stopping.
    (This is unrelated to the video bitrate, as this situation can occur even with a very low bitrate.)

    My CPU is AMD Ryzen 7 8845H, and my GPU is RTX 4060 Laptop.

    I am not sure if this is a bug or a change in the new version. I hope someone can clarify my doubts, and it would be great if a solution could be proposed. Thank you.


    Attached Files Thumbnail(s)
       
    Fate
    Offline

    Member

    Posts: 213
    Threads: 3
    Joined: 2023 Jun
    Reputation: 15
    #2
    2024-10-17, 02:55 PM
    I'm confused....
    Is the server running on the Laptop? If yes, with what device are you watching?

    You could try to enable the "throttle transcoding" option in jellyfin, then jellyfin will only transcode 3mins of video and then wait for the viewer to catch up.

    Also transcoding should not let your GPU-fan to be much louder since encoding takes place on a special area of the chip that does not generate as much heat as a game for example.

    Can you post a transcode log file?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-10-17, 03:17 PM
    Other than what Fate mentioned, "throttle transcoding", there is no mechanism available in ffmpeg to only go "50%". ffmpeg will always go as fast as possible. Throttle transcoding will pause ffmpeg, but will still run as fast as possible in between pauses.

    Since the compute usage is also high, I am assuming this was an HDR video that was tone mapped. Which would use more power than an SDR transcode.
    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]
    nyanmisaka
    Offline

    Team Member

    Posts: 232
    Threads: 0
    Joined: 2023 Jun
    Reputation: 8
    #4
    2024-10-17, 04:21 PM (This post was last modified: 2024-10-17, 04:22 PM by nyanmisaka. Edited 1 time in total.)
    For NVIDIA, all video processing filters are executed on GPU/CUDA, not in fixed-function hardware like Intel's VPP. This means more power consumption and more heat generation compared to Intel iGPU. And higher GPU utilization means there are almost no bottlenecks in the transcoding pipeline, which is good for video transcoding performance.

    If you don't want fan speed fluctuations due to transcoding pauses and continues, you can disable the "throttle transcoding" option in "Dashboard->Playback".
    « 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