Camera Video stops after some period of time, full frame or partial frame

Open
#11 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
raspberry-pi, shell

Research direction

Start by reviewing the 01-update-octoprint modification and the issue's comment thread; no source file or test is named. Reproduce the freeze with the listed Raspberry Pi and camera combinations, then determine whether the OctoPi-UpToDate build scripts are involved. Done requires a confirmed cause and a validated fix or documented evidence that the problem lies elsewhere.

Written by the indexing model from the issue text.

Description

What OctoPi-UpToDate modification is involved?

01-update-octoprint

The problem

While video stream is running, it stops after some period of time either with a full frame or a partial frame. Sometimes refreshing the browser page will get it started again. Browser is Firefox 117.0 (64-bit).

I initially had this problem with a Pi Zero 2 W and a Pi camera 3. Tried a Pi camera 3 wide and same issue. Switched to a Pi 3B with both cameras and same issue. Tried 2 different power supplies and same issue. Tried with an older Pi camera and it took a lot longer to have the video freeze but it did finally fail.

I am now running the Pi 3b with old camera stream and a Pi camera 3 and all is well.

I have not looked at the source code so I don't know if things are interrupt driven. If so, my guess is that an interrupt is being lost and all video stops waiting for the interrupt to be processed.

Please confirm you have understood that you can ONLY report issues with the particular OctoPi-UpToDate build scripts here, not general OctoPrint or OctoPi issues.
  • I confirm that my issue is NOT about OctoPrint.
  • I confirm that my issue is NOT about OctoPi.
  • I confirm that my issue is ONLY about OctoPi-UpToDate.
Additional information & file uploads

I have several logic analyzers (retired IBM Engineer) and have the ability to monitor GPIO(s) pins to help troubleshoot if required.

Dominant language
Shell
Stars
72
Forks
13
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OctoPrint/OctoPi-UpToDate

All issues in OctoPrint/OctoPi-UpToDate

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.