#klipper error

110 messages · Page 1 of 1 (latest)

rancid cloud
#

I get this error evry time im done with a print how can i fix it

#

And cpu overloed i only have klipper add overheid also not its on a fan

grand latch
#

Are you using timelapse, and do you have autorender at the end of print?

#

Like the error message states, this is most likely caused by something CPU intensive. It's impossible to tell anything without logs. Make sure to roll them over and then reproduce the error.

rancid cloud
high musk
#

What Pi are you using? Seems like pi1 or zero maybe?

rancid cloud
#

i found the problem

high musk
# rancid cloud i found the problem

Just use Hard recovery or send the output of git status inside your ~/moonraker folder to further analyse the problem that mightr have occured

rancid cloud
#

you tink its fix because i need to print a long prunt

#

print

high musk
#

I don't know

rancid cloud
#

i hope

high musk
#

I don't think so

rancid cloud
#

ow

high musk
#

I get this error evry time im done with a print how can i fix it
So you get the error midprint and not only at the end?

high musk
#

Are you interacting with mainsail during the print or are you running some webcams or klipperscreen with it?

#

Or are you using a telegram or discord bot?

rancid cloud
#

umm im had a webcam but not anymore

rancid cloud
#

maybe i need a heat sink

#

nervermind its under a fan

#

ohh i see cpu is getting high spikes 100%

high musk
#

I'm not sure if a fan is enough for short spikes

high musk
#

Are the temps spiking with it or only the cpu usage?

rancid cloud
#

only the cpu

high musk
#

I want to see the temp under load

#

not just 1.5%

#

If the temp at 100% is like 80°, you really need a heatsink

rancid cloud
#

how can i get it too 100%

#

starting a print ?

high musk
rancid cloud
#

ohh i meant 100% if cpu useig

high musk
#

Maybe it was your homeassistant thing, that spiked it

rancid cloud
#

or it just was the moonraker

high musk
rancid cloud
#

i had a bad setup

high musk
rancid cloud
#

then it is 25

high musk
#

Ok it's not the temp of the pi then

rancid cloud
#

let me measure my 5v power supply with volt meter

#

if its stays the same voltage and w

high musk
#

Can you send the output of ls ~ and maybe look at htop for a while and try to capture the process that spikes your cpu usage

rancid cloud
high musk
#

You have to look at the top line marked blue in your screenshot. If something goes over like 50% cpu usage, try to memorize the command line at the end of the marked line

#

You screenshot looks like cut off as the cpu% doesn't add up to 80%

#

or maybe you scrolled down

rancid cloud
#

like this bar

high musk
#

Yes

#

Please run systemctl disable crowsnest, you don't need crowsnest enabled anymore if you don't run a webcam

rancid cloud
#

can i enebel it back when i connect cam ?

high musk
#

With systemctl enable crowsnest you can enable it again

rancid cloud
#

oke great

high musk
#

But atm it doesn't make sense to add a cam as your pi cpu already overloads

rancid cloud
#

its not normal that is keeps begin 100% right

high musk
#

That's why I want you to find the process that is spiking your cpu

rancid cloud
#

now its on 100% when this comes op and something with moonrakker

#

if i need to make a screen shot when its above 50% i got like 10000 screens

#

wait i need to shower

#

brb

high musk
#

100% is good too

#

Just need the processes above 50%

#

When you are back please send your webcam settings in Mainsail

#

And send your printer.cfg and moonraker.conf

#

Did you disable crowsnest already?

#

Atm something seems to call ffmpeg sometimes. This spikes your CPU. My guess would be something with crowsnest or moonraker-timelapse

rancid cloud
rancid cloud
high musk
#

As I can't find anything on disabling timelapse, best would be to uninstall timelapse

#

Run cd ~/moonraker-timelapse && make uninstall

#

After that keep an eye on htop again to see if it still appears

grand latch
#

Just my two cents, you need more processing power than 700 MHz and 512mb ram. No fans or anything will give your sbc more power. Best would be to disable as many features as possible until you can upgrade the hardware. It will only get worse as more features are introduced as they are all depending on your host machine cpu

high musk
#

A pi zero 2 should be enough, even listed under the recommended devices

rancid cloud
#

i can upgrade to a pi 3

rancid cloud
high musk
#

That would maybe solve your problem but as it should run on a pi zero 2 we will try to fix that first

#

Then keep an eye on htop again to see if it still appears to spike

rancid cloud
#

still getting this

high musk
#

Can you send your mainsail webcam settings? The one you set in the cog wheel in the top right corner?

high musk
rancid cloud
high musk
#

Are there other processes taking sometimes more than 50% cpu?

rancid cloud
#

now i got normal cpu stats

#

dont see ffmpeg

high musk
#

Did you reboot after uninstalling timelapse?

rancid cloud
#

nope

#

i will do know

#

do you have a cmd for that

#

F i shut it down now i need to walk to the hall in the gardian

#

i will look in it tomorow

high musk
#

For reboot, just use sudo reboot

rancid cloud
#

Yea i dit shutdown

#

I didentncopy it

rancid cloud
#

this is the only command that get the cpu to 100% i think

high musk
#

Ok that's bad as it could crash your print then maybe.

#

You could try a few smaller prints to see but I can't promise that it will work on longer prints without any problems

rancid cloud
#

oke doeing a case for the pi now

#

on 3% load normal it whent getting some spiks but i dont see any

#

so its a good thing i hoop

high musk
#

It should still spike but this time it's moonraker and not ffmpeg and that could already have solved your problem

rancid cloud
#

yeah its runing from 12:40pm and still no spikes