adafruit / pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.
GNU General Public License v2.0
451 stars 239 forks source link

Video looper running ok for months but now freezing #156

Closed foilandwater closed 9 months ago

foilandwater commented 2 years ago

I have an install of adafruit video looper running on a pi4 with 2GB of ram and a 16GB sanddisk sd card. The whole setup has been playing 1920x1080 videos perfectly fine via HDMI to a TV on loop for maybe 10 months. Within the last few days it has been freezing and I'm trying to trouble shoot. No software has been updated...

I'm no pro but from what I can tell using htop is that the RAM slowly fills up and then the swap file slowly fills up - over a period of about 12 hours or more. Eventually the pi locks up and I can't ssh in (because it's at a remote location). If I stop the player, turn swapoff and then back on again I see all the RAM empty. I don't understand how a player that has been working fine suddenly develops this problem.

Since trying to troubleshoot I have increased GPU memory from 100 to 256 and I have also increased the swap file from 100 to 300.

Has anyone seen this before?

christiansievers commented 2 years ago

It might be hardware failure. SD cards wear out, especially when it’s hot. That depends on luck and on the quality of the card. And I’ve seen power adapters breaking (though only after some years of continuous service).

foilandwater commented 2 years ago

Thanks for the insight. The pi has been running continuously since Feb 2021 so I guess it's likely that the sd card is giving up. I will try and replace it and then give an update. Thank you.

tofuSCHNITZEL commented 9 months ago

Stale