-
Notifications
You must be signed in to change notification settings - Fork 76
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
impossible to complete installing #127
Comments
Maybe a memory issue? I tried on a RPI4 8GB and, despite it slows down a lot at 85%, it will move forward. If you have only 1 GB of memory, I'd suggest to try to add the -j1 flag to make (sudo make -j1 install). It will be much slower but less memory intensive. |
I am sorry that I didnt answer earlier. Quite busy and preparing for vacation... Yes, it is unfortunatly a known issue, I have only a Pi 4 (2 and 4G model) and a Zero2. Regards Kwad |
I will also add to this that i run into a problem trying to build during the install process on a pizero2 despite setting the make flag to
is the step that is stalling for me, i am going to try and stop all other processes on the pi and increase the swap and see if the build completes. Using precompiled binaries for the official install would make a lot of sense here for use of resource constrained devices. EDIT - |
I was having issues with the build hanging at 85% on a Pi Zero 2W. |
@RoisinDubh79 did you change the swap size and disable all other processes before attempting building? |
No, I was doing this all through the KIAUH menus, and at that point wasn't aware there were flags I could set. The pi zero 2W wasn't able to run klipper and the pi camera V2 at the same time (mcu shut down), so I didn't look into it any further. |
I think the end solution here will be using precompiled binaries for the installer instead of building from source as in reality there isn’t much reason to rebuild from source unless you are on a dev build I the camera working fine for mine with klipper but the frame rate is capped at 10, it’s not quite powerful enough to handle the zerocam I use and klipper at an uncapped frame rate without occasional crashes mid print |
Is there any progress on resolving this? |
Until the installer uses precompiled binaries instead of building your options are A) using a device with more available memory, or B) increasing the swap size and disabling all background processes before building. |
Can you give some more detail on how to attempt B? |
Sure 😃
Close background services -> sudo systemctl stop klipper.service
sudo systemctl stop crowsnest.service
sudo systemctl stop moonraker.service
sudo systemctl stop mainsail.service
sudo systemctl stop nginx.service
sudo systemctl stop klipper-mcu.service depending on your setup you may not have all of these running ( or you may have more) check htop for running services -> build crowsnest -> cd ~
git clone https://github.com/mainsail-crew/crowsnest.git
cd ~/crowsnest
sudo make -j1 install Note it may still fail, restart and retry if this happens. Mine has worked on the 1st or 2nd attempt. |
Ok so this did work! It took awhile for sure. I am however now getting MCU timer to close failures. Should I reduce the swap size back down? Or just reduce the camera FPS and resolution? |
I have run into this issue on a couple of prints. You could try reducing resolution and FPS as this is most likely the issue. The end result however is that the pi zero2 is probably not quite powerful enough to run klipper and camera streaming simultaneously at higher resolutions and a more powerful device may be required. I am likely to move to a Pi4 as i have one that used to run homeassistant and the DSI interface will be useful for klipperscreen. |
Just to give my 2 cents. @needs-coffee Your suggestions to reduce the fps and resolution are absolutely right, as this is most likely a CPU overload or USB-bandwidth issue. |
I registered an account to add to this thread and confirm that I was having issues building with my Pi 3 Model B, only 1GB memory, but this work-around sorted everything. Thanks very much! |
worked for me as well - raspberry 3 a+ (512mb ram) on anycubic i3. thank you! i got stuck at compiling options.cc for camera-streamer before. |
This worked perfectly for me, same situation on Pi3b. Thank you. |
This worked for me on my pi z2w aswell, many thanks |
What happened
when arrive at
[ 85%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/sctptransport.cpp.o
it stop e disconnect the terminal
What did you expect to happen
finish installation
How to reproduce
every time i try installation
Additional information
No response
The text was updated successfully, but these errors were encountered: