I have several pi's (PI3, latest stable Jessie). They're all used to (only) play short mp4 pmovies in a loop, using omxplayer. Omxplayer is starting up with a short script (in /home/pi/.config/lxsession/LXDE-pi/autostart). There is no user interaction, (except from watching the movie), and PI is only connected to screen with HDMI and one network cable. No other devices attached, an GPIO pins are not used.
Now, it happens sometimes (let's say once every 2-3 weeks) that one of the PI's is displaying a frozen image, so the video stopped somewhere and keeps displaying that screen.
All of the PI's reboot automatically once a week using crontab, and the reliability has improved a lot, yet, those freeze still happen occasionaly...
I have watchdog running, yet it seems such a screen freeze is not considered as a "system freeze" and thus the system is not rebooting. When the screen is freezing, I can still log in (using ssh).
When the image freezes, omxplayer process is still running (checked with top), so making a script for checking running processes (and restart if needed) won't resolve the issue.
The omxplayer log doesn't report abnormal behavior.
I was wondering if there is a way to monitor those kind of screen freezes, and execute a reboot in case they occur. Would there be anything we could get back from the HDMI signal, or read the video buffer (and compare to previous buffer)? Any thoughts or suggestions?
Thanks - Pieter