jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.29k stars 324 forks source link

Random hangs while playing videos on windows #762

Open funnything1 opened 2 months ago

funnything1 commented 2 months ago

I am having an issue with jellyfin media player where at random the program will hang, the video stops playing but i will still hear the audio until i force close it. This happens regardless of using direct play or transcoding, regardless of bitrate or display. This happens on multiple computers. This does not happen on the web version. I dont have any custom CSS or strange configs that I know of. I have attached jellyfin logs, event viewer logs, and my jellyfin media player config. I enabled verbose loggin to try to see more in the logs. I am hoping somone could help to identify the problem i have been having this issue for months.

The part of the logs I looked at to try and find out myself was the last lines before it hangs:

[info] unknown @ 0 - JS: Requesting url without automatic networking: https://example.com/Sessions/Playing/Progress
[warning] unknown @ 0 - Cannot find EGLConfig, returning null config
[warning] unknown @ 0 - QWindowsEGLContext: Failed to create context, eglError: 300e, this: 0x2a1654fdd10
[warning] unknown @ 0 - Cannot find EGLConfig, returning null config
[warning] unknown @ 0 - QWindowsEGLContext: Failed to create context, eglError: 300e, this: 0x2a1654fd860
[debug] unknown @ 0 - vo/libmpv: mpv_render_context_render() not being called or stuck.
[debug] unknown @ 0 - mkv: deselect track 0
[info] unknown @ 0 - cplayer: Video: no video
[warning] unknown @ 0 - cplayer: Audio device underrun detected.
[debug] unknown @ 0 - cplayer: restarting audio after underrun
[debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
[debug] unknown @ 0 - cplayer: Set property: video-aspect-override="-1" -> 1
[debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
[debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1

in the logs 17:32:04 is the moment the application hangs, video stops, all controls stop working, audio continues playing, end task is the only way to close it.

jellyfin logs.txt

jellyfineventviewer.txt

jellyfinmediaplayerconfig.txt

Here is a log of another time it happened: jellyfin log 9-8.txt Here is a log of when it happened and i let the remainder of the audio finish playing for the episode and then it closed on its own: JellyfinMediaPlayercrash.log

gummykage commented 2 months ago

Having this issue so much more often than before.

TauCubed commented 2 months ago

I have this issue when toggling fullscreen or sometimes just randomly.

I used taskmanager to create a dump and converted it to a minidump for inspection. Jellyfin freeze.zip

Can email the full memory dump if needed.

TauCubed commented 2 months ago

After doing some fiddling with it it seems to only happen while the video is playing. If you pause the video and then toggle fullscreen it doesn't happen.

Not a fix but at least a workaround.

TauCubed commented 3 weeks ago

It seems disabling OpenGL fixes this for me. Hope it helps.