• 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 jellyfin using cpu when watching movie with NVENC

     
    • 0 Vote(s) - 0 Average

    jellyfin using cpu when watching movie with NVENC

    giovacca
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:Italy
    #1
    2024-04-24, 02:50 PM (This post was last modified: 2024-04-24, 02:53 PM by giovacca.)
    Hello, can someone tell if it's normal for jellyfin to make all cores hot when watching a movie on 3 devices even while using GPU encoding?
    My Cpu: AMD Ryzen 7 5800x3d
    My GPU: RTX 3060 Ti ( With nvidia-patch so it should be unlocked )
    i wonder if i can lower my CPU usage?

    [Image: 1PNXZB3.png]

    [Image: a4lyR7G.png]

    [Image: uwgiPmB.png]

    logs attached below


    Attached Files
    .txt   transcode.txt (Size: 60.47 KB / Downloads: 86)
    .txt   directstream.txt (Size: 16.43 KB / Downloads: 60)
    .txt   general log.txt (Size: 134.05 KB / Downloads: 63)
    bitmap
    Offline

    Community Moderator

    Posts: 910
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #2
    2024-04-24, 03:09 PM
    Based on what I can garner quickly from your transcode and general logs, NVENC appears to be functioning as expected (it's being used as HWA for the transcoding and there are no errors), plus I'd be impressed if you could hit 15x+ with just your CPU doing actual transcoding of video and audio streams simultaneously.

    If you look at the only other ffmpeg calls in your general log, there are 95 instances of "trickplay" which utilizes ffmpeg to generate mjpeg/bif files for scrubbing (as far as I can tell...there's no documentation yet). So you just happened to spot an operation happening while you were transcoding as well. It's actually pretty nice that you're able to utilize your GPU for transcoding while your CPU handles "administrative" tasks. That's how HWA should work: as a force multiplier for your server.

    If you want to "fix" this, go to Dashboard > Scheduled Tasks and change the triggers for any of these that you notice degrade performance. Set the trickplay file generation to 3 AM and you'll never see this particular "issue" again. Most of this is inferences since 10.9 is so new and I'm learning as I test as well.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    giovacca
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:Italy
    #3
    2024-04-24, 03:33 PM
    Hi, thank you much for replying, I might have been scrolling on "Jellyseer" while watching the movie but i noticed the CPU usage only go up while streaming jellyfin, actually i double checked now without doing any background work and it's the same issue with 3-4 streams.

    I looked in "Scheduled Tasks" and didn't find anything related to "trickplay file generation" could you tell me where i can locate it?

    Thank you!
    giovacca
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:Italy
    #4
    2024-04-24, 03:47 PM
    Actually i might have found the issue, it seems to have been the jellyfin plugin "JellyScrub" which was causing this issue, after disabling it i'm streaming 9 movies and having this cpu usage which seems way normal:

    [Image: ktNBDJI.png]
    bitmap
    Offline

    Community Moderator

    Posts: 910
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #5
    2024-04-24, 07:21 PM (This post was last modified: 2024-04-24, 07:23 PM by bitmap. Edited 1 time in total.)
    Ah, yeah that's my bad. "Trickplay" is essentially the same thing as JellyScrub as far as I can tell, but it's only implemented in 10.9. So you found what I was talking about, just a different name for it. Trickplay = JellyScrub in terms of purpose AFAIK. They both generate BIF files for image-accompanied scrubbing of media.

    More info for anybody curious: https://github.com/nicknsy/jellyscrub#%E...-%EF%B8%8F
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « 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