Comments (16)
Please attach the full /tmp/klippy.log file containing the event and I'll take a look.
from klipper.
Alright!, I'll dry run the same 2 hour print, hopefully it is not random.
from klipper.
from klipper.
Wish I didn't reboot! That cleared the /tmp directory.
Anyways I just noticed that my ttl voltage converter (serial) is not working properly. Instead of disclosing this issue as user error only, hopefully the error code might be a hint for others for communication failure perhaps? Would be good to know.
Thanks.
Edit: sorry for my stupidity, closing until it happens with direct USB connection aswell. Thanks
from klipper.
Hello,
After trying with USB, direct connection to my PC, printer shutdown after 5 hours print 😭 . (Move out of queue)
Here is my klippy log:
klippy.txt
(note: you might find in the log that the printer did shutdown before due to sensor error adc, diy heatbed here, tho firmware/soft restarted and no issues since then. Guess this is completely unrelated)
I hope its something like bad usb cable/software (no dmesg errors for usb), else reliability might be an issue for me.
Thanks.
from klipper.
from klipper.
I simply downloaded the latest master commit as zip 2 days ago on a separate PC, and thus no git.
Here is the gcode:
mod.txt
Edit2: Firmware flashed from the same commit.
from klipper.
Upon further inspection of the log, the drift between the host and mcu clocks sometimes changes rapidly. I suspect this is what led to the above error. I need to further investigate to determine if this is due to some attribute of the AT90USB chip, a code error, or something else.
from klipper.
I'll try replicating the issue on other computer dry run. Could it be host side stuttering due to kernel/hardware issue?
from klipper.
I'll try replicating the issue on other computer dry run. Could it be host side stuttering due to kernel/hardware issue?
Yes, that's certainly possible. If you have an RPi2 or RPi3 that would make an excellent test.
FYI, I've run some tests on my AT90USB1286 chip and I can confirm that the odd timing behavior is not inherent to that micro-controller. I've also identified a few areas in the Klipper clock synchronization code that could be improved. It will likely be sometime next week before that's ready for testing though.
from klipper.
Please try the testing branch work-clocksync-20170627 (git fetch ; git checkout work-clocksync-20170627). I've reworked the clock synchronization code - I think it should be more stable now. It would be great if you could run some prints with the new code and post the klippy.log file (I'd like to see the log even if there is no failures).
Thanks,
-Kevin
from klipper.
Will do with the same setup and gcode uploaded above.
Edit: I have made a 3d printed delta kossel that I will use as main 3d printer with marlin temporarily (will switch to klipper later aswell). Ill keep this printrbot jr for dry run from now on (y axis is broken, sagging due to moisture (wood)), as a testing device for klipper., which is useful for testing stability of future commits/changes) If the following gcode passes, Ill print a 40+ hour job. (with logs and everything, ill also test high print speeds on long prints to see if its host resource issue with very complex prints)
from klipper.
Hello,
I accidentally ran the same klippy branch (didnt remove /etc/default/klippy), same gcode as above, here is the log:
klippy.txt
Printer did not crash. Ill try the same with the latest commit and post the log.
from klipper.
work-clocksync-20170627 branch:
klippy2.txt
No crash aswell. I'll stay on this branch as primary firmware.
from klipper.
Thanks. The log indicates the new code has detected the clock drift. The results should be more stable now. I've committed the changes on the test branch to the master branch.
from klipper.
Thanks, I noticed that its quite repetitive, donno if this has to do with system latency, clock source set to TSC, I hear that its affected with cpu scaling, Ill try switching to HPET, anyways this is host specific now, closing.
Issue resolved.
from klipper.
Related Issues (20)
- [FR] CANbus for LPC176x boards HOT 1
- issuses with gd32f303 chip on ender3 v2 neo HOT 1
- Unable to connect HOT 1
- Deadlock when using exclude_objects containing umlaut. HOT 4
- Ender 3, Klipper/Mainsail no longer booting HOT 1
- Request for a command to wait for a variable update HOT 1
- X axis movement inverted after TUNING_TOWER command for pressure advance configuration HOT 1
- MCU Problem HOT 4
- Ender 3 S1/Pro min_mesh value too high HOT 2
- ADC out of range issue and improvements HOT 1
- [Enhancement] M300 Support HOT 1
- Mks robin nano v3 provides only 150k steps per second HOT 1
- Wrong information about generating hex because its generating binary file HOT 1
- Apparent regression in variable PA HOT 6
- Hi, is last_stoep_clock a uint64_t value or a uint32_t one? or it's by designed to converted from uint64_t to uint32_t inexplicitly? HOT 1
- Probe pin out in Octopus Pro v1.1 HOT 1
- Manta m5p endstop stuck on HOT 1
- Klipper fails to build with Apple's cpp HOT 19
- Klipper flashing but not responding on the GTM332 Mini S HOT 1
- Hardcoded path in src/linux/main.c for sched.h HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klipper.