plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.17k stars 170 forks source link

PMP crash on Raspberry Pi 4 #1012

Closed JusticeRage closed 3 years ago

JusticeRage commented 3 years ago

Test environment

PMS Version: 1.21.1.3876 PMP Version: Commit 5d099a167ba44942a5da841a113f23b076b622a2 Platform (Windows/macOS/Embedded RPi/Embedded Intel): Raspberry Pi 4

Steps to reproduce

Reproducing the crash isn't straightforward. I run a PMP instance on a RPI4 connected to a monitor. PMP is the only app running on it, and is always in the foreground in fullscreen, TV mode. The server is located on a machine in the local network. I watch ~30 minutes of video each day on that device. After a few days (3-4 maybe), I noticed that the starts lagging and grinds to a halt. After a while, PMP crashes back to the desktop. The videos are in low definition (480p) so I don't think there would be any transcoding involved. Here are the log contents around the time of the crash.

2021-02-12 01:04:00 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_report_swap() not being called. 
2021-02-12 01:04:04 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:06 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:07 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:07 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:12 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:13 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:14 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:18 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:20 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:23 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:25 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:25 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:42 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:42 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:43 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:43 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:43 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:43 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:43 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:49 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:49 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck. 
2021-02-12 01:04:49 [ DEBUG ] PlayerComponent.cpp @ 598 - vo/opengl-cb: mpv_render_context_render() not being called or stuck.

When I restart the RPI, I can start watching videos again normally for a few days.

Current behavior

  1. PMP crashes.

Expected behavior

  1. PMP does not crash and lets me watch videos instead.
mseeley commented 3 years ago

Thanks for the feedback @JusticeRage. It's unfortunate there's an issue but I'll be closing this issues as we don't support the Pi 4 ourselves.