billw2 / pikrellcam

Raspberry Pi motion vector detection program with OSD web interface.
GNU General Public License v3.0
262 stars 70 forks source link

Pikrellcam claims cannot connect to Camera but Timelapse Still works #90

Open rleyden559 opened 11 months ago

rleyden559 commented 11 months ago

Pikrellcam sometimes (apparently randomly) claims it's lost contact with the camera sensor and suggests checking for a loose cable. I'm fairly sure its not the cable but a software fault. The camera will continue to take pictures in the timelapse mode. However, the date/time isn't superimposed on the resulting timelapse videos, in the videos folder. Nor are motion events captured. Of course, no preview. I have the same issue on two pi's both pi 3's. I have not seen it on Pi 4's or Pi zero.. Completely re-installing pikrellcam temporarily fixed the issue but it returned in time, days or weeks. Power cycling sometimes fixes it but not always. My theory is that it is due to some timing issue. Perhaps, the OS isn't done setting up the camera before pikrellcam checks for the camera.

rleyden559 commented 11 months ago

Issue may be related to "Glamor" graphic acceleration in raspi-config,
https://forums.raspberrypi.com/viewtopic.php?t=323547 Tried it on a Pi3, problem went away on reboot. Too soon to tell if this is a permanent fix.