Jellyfin Forum
SOLVED: Integrated GPU Irregularly Invoked, Playback Issues Result - 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: SOLVED: Integrated GPU Irregularly Invoked, Playback Issues Result (/t-solved-integrated-gpu-irregularly-invoked-playback-issues-result)



Integrated GPU Irregularly Invoked, Playback Issues Result - Brian - 2024-08-27

BLUF: 

Beginning with v10.9.7 and continuing through current v10.9.10, my Jellyfin server no longer reliably invokes integrated GPU resources (Intel UHD Graphics 770) at every playback request. If not invoked, during playback of recordings the progress and time remaining timestamps are nonsensical and fast-forward and rewind functions do not work. This post reflects additional observations and conclusions concerning playback issues about which I have posted previously.

Details:

Whether the GPU is invoked can be determined at recording launch using sudo intel_gpu_top. If properly invoked, the GPU generates numerous 3MB .ts files in the /var/lib/jellyfin/transcodes folder. If these transcodes files are generated, the time markings displayed during pause, fast forward, and rewind are accurate - the bottom left corner shows progress through the recording, while on the right time remaining, in the format hr:min:sec. If time is accurate, fast-forward and rewind behave as expected.

If the GPU is not invoked, the small .ts files are not generated, and I assume playback is driven directly off the single very large .ts file generated at recording; The timestamps are nonsensical extremely long numbers, or if segmented into hr:min:sec, a one hour recording appears to be on the order of 4-5 hours.

Why the GPU is no longer invoked in all instances is a mystery. All source recording files are .ts. I've even seen instances when a particular recording is sometime replayed properly, and other times not. I've monitored the logs in /var/log/jellyfin but have not recognized any indication why the GPU is not being invoked.

Is anyone else experiencing this, have a suggestion for changing a setting or otherwise resolving this, or should I file this as a bug report?

Thank you.


RE: Integrated GPU Irregularly Invoked, Playback Issues Result - TheDreadPirate - 2024-08-27

If the client can directly play the file, it will. You can force transcoding by using the quality selector and selecting a bit rate lower than the video's native bit rate.

Why it was always transcoding before and not now is hard to say and varies depending on what client you are watching the recordings on. There have been changes to direct play profiles on various clients that could have changed when it requests a transcode.


RE: Integrated GPU Irregularly Invoked, Playback Issues Result - Brian - 2024-08-31

Thank you for that tip - you were spot on.

My principle client happens to be the Jellyfin Roku app. Going into Settings-->Playback-->Video Codec Support and disabling "Support Direct Play" of both MPEG-2 and MPEG-4 resolved the issue, forcing the involvement of the server GPU during playback, but more to the point resolving the time counter and rewind/fast-forward issues.

I suppose my next stop should be to file a report with the Roku Jellyfin app folk and see what they might have to say.