OctoPrint / OctoPrint/OctoPi-UpToDate

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.

Dominant language
Shell
Stars
71
Forks
14
Avg merge
3d 21h
Merged PRs (30d)
1

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.

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.