jellyfin using cpu when watching movie with NVENC - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: jellyfin using cpu when watching movie with NVENC (/t-jellyfin-using-cpu-when-watching-movie-with-nvenc) |
jellyfin using cpu when watching movie with NVENC - giovacca - 2024-04-24 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? logs attached below RE: jellyfin using cpu when watching movie with NVENC - bitmap - 2024-04-24 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. RE: jellyfin using cpu when watching movie with NVENC - giovacca - 2024-04-24 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! RE: jellyfin using cpu when watching movie with NVENC - giovacca - 2024-04-24 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: RE: jellyfin using cpu when watching movie with NVENC - bitmap - 2024-04-24 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#%EF%B8%8F-warning-for-jellyfin-109-%EF%B8%8F |