Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap size of 100MB to small to render Timelapse on Pi Zero 2 #826

Open
thomaslazar opened this issue Jan 14, 2024 · 4 comments
Open

Swap size of 100MB to small to render Timelapse on Pi Zero 2 #826

thomaslazar opened this issue Jan 14, 2024 · 4 comments

Comments

@thomaslazar
Copy link

What were you doing?

On a Raspi Zero 2 I tried to render a Timelapse and got an error "Rendering of Timelapse failed with return code -9" same as described here: OctoPrint/OctoPrint#4447

What did you expect to happen?

Timelapse being rendered and offered for download.

What happened instead?

Error was thrown.

Version of OctoPi

OctoPrint 1.9.3 Python 3.9.2 OctoPi* 1.0.0cam (build 2023.10.09.154319)

Workaround

As describe in OctoPrint/OctoPrint#4447 (comment) extending the swap size from 100MB to 512MB solved the issue. It would be nice if that would be changed out of the box if that doesn't break anything else. Can't really assess that.

@guysoft
Copy link
Owner

guysoft commented Jan 15, 2024

Hey,
there is no official Pi Zero 2 build (yet).
There is an alpha branch I am working on for multi device build. Did you build it yourself? what base image did you use?

@cp2004
Copy link
Contributor

cp2004 commented Jan 15, 2024

Quite a few people use the Pi Zero 2 - I believe it was compatible with OctoPi straight away on release because it uses the same chip as one of the Pi 3 models.

@thomaslazar
Copy link
Author

I used the raspberry pi imager as described in the docs on the official site, selected the pi zero 2 and got offered an image to write to the sd card.

@kiwi-x
Copy link

kiwi-x commented Apr 27, 2024

I had the same issue on a 3B+
apt upgrade with kernel updates didn't ran and I had to reboot the raspberry pi.

After resizing swap size to 1024 anything worked

See
https://pimylifeup.com/raspberry-pi-swap-file/

-- kiwix

PS: I use a nightly build based on debian bookworm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants