• 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 GPU Maxing Out With Hardware Acceleration

     
    • 0 Vote(s) - 0 Average

    GPU Maxing Out With Hardware Acceleration

    fFIRE332A
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2023-07-07, 12:55 PM
    I am just trying Jellyfin for the first time and my GPU tends to keep maxing out with hardware acceleration (NVENC) on. I have an RTX 3070, I turned on hardware acceleration as without it my CPU was maxing out (Ryzen 5 3600). I am unsure why this happens, but due to this video will keep freezing up when streaming. Any help would be appreciated!
    Shadowghost
    Offline

    Linter Overlord

    Posts: 23
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #2
    2023-07-07, 01:17 PM
    What does your hardware accelleration configuration look like?
    It would also help if you can post a FFmpeg transcoding log.
    fFIRE332A
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #3
    2023-07-07, 01:52 PM
    (2023-07-07, 01:17 PM)Shadowghost Wrote: What does your hardware accelleration configuration look like?
    It would also help if you can post a FFmpeg transcoding log.

    I attached a photo of the hardware acceleration, other than what is in the photo, the rest was left to default. I am unsure how to fine the FFmpeg transcoding log, sorry I am new to all of this...


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-07-07, 02:14 PM
    (2023-07-07, 01:52 PM)fFIRE332A Wrote:
    (2023-07-07, 01:17 PM)Shadowghost Wrote: What does your hardware accelleration configuration look like?
    It would also help if you can post a FFmpeg transcoding log.

    I attached a photo of the hardware acceleration, other than what is in the photo, the rest was left to default. I am unsure how to fine the FFmpeg transcoding log, sorry I am new to all of this...

    In the Jellyfin dashboard it should tell you the path for your log directory.  C:\ProgramData\Jellyfin\Server\log is the default for Windows.  /var/log/jellyfin for Linux.
    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]
    fFIRE332A
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #5
    2023-07-07, 03:30 PM
    Here is the latest transcoding log. I posted it in pastebin. 
    https://pastebin.com/upSjeueW
    nyanmisaka
    Offline

    Team Member

    Posts: 258
    Threads: 0
    Joined: 2023 Jun
    Reputation: 10
    #6
    2023-07-07, 04:10 PM
    Your CPU can’t keep up with such a fast GPU. The throttle transcoding feature can be enabled to limit the transcoding speed, or you can change the encoding quality preset to slow.
    1
    fFIRE332A
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #7
    2023-07-07, 08:54 PM (This post was last modified: 2023-07-07, 09:02 PM by fFIRE332A. Edited 2 times in total.)
    (2023-07-07, 04:10 PM)nyanmisaka Wrote: Your CPU can’t keep up with such a fast GPU. The throttle transcoding feature can be enabled to limit the transcoding speed, or you can change the encoding quality preset to slow.

    Even with the throttle on GPU is still maxing out.

    Edit: I did more testing, it appears this did fix GPU maxing out overall, with only occasional spikes to 100%. But if I watch jellyfin from the same computer I host it on the video still skips and the gpu will still max out.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-07-07, 09:21 PM
    Each time Jellyfin is transcoding (which is a pretty bursty process) it takes resources away from video playback for a short interval. Smooth video playback requires very consistent frame times and transcoding 4K HDR is both a CPU and GPU intensive process.

    What is it like watching Jellyfin on another device?
    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]
    fFIRE332A
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #9
    2023-07-08, 11:50 AM
    On other devices, even when on multiple watching different shows and/or movies, the playback is smooth. When I watch on the device the server is hosted from, playback (only on that device) is quite choppy and consistently freezes.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2023-07-08, 04:11 PM
    I'm going to double down and say that this is not unexpected. Do the logs say why it is transcoding when playing locally? I would assume if it can transcode a video that it would also be able to direct play the video.
    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]
    « 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