User avatar
josefprusa
Forum admin
Forum admin
Posts: 749
Joined: Apr 25, 2015 11:36 pm
Topics answered: 1
Contact: Send private message

OctoPrint issues and tips

Jan 05, 2018 8:58 am

Hi, I am making this sticky thread to gather all the issues with OctoPrint so we can do it as quickly as possible.

When you are reporting please mention:
- FW version
- RPi used
- Method of the connection - USB/expansion port
- Filament sensor on/off
- Crash detection on/off

5. Jan
------------

So we have been able to replicate the issues in the office and probably point down the issue into the poor AVR serial buffer coupled with the massive overhead of all the features. LinearAdvance is causing the serial timing problems, it will probably need to be rewritten in assembler. We have a build with it disabled and it seems to solve the thing so far. Please note: LA doesn't have such a big effect on the MK3 as it did on the MK2, so there is no decrease in print quality, you will see for yourself.

We made the build 143e for you to test it out. I am putting it just here and please be cautious and monitor the printer. You must either factory reset the printer or run M502 gcode followed by M500.


19. Feb
------------

We've prepared several guides to help you with Raspberry Pi Zero W and Original Prusa i3

1. How to install Raspberry Pi Zero W to your MK3

2. How to download or create your own RPi Zero W OctoPrint image

3. How to see the IP address on your printer's screen
Attachments
b143e.zip
(219.88 KiB) Downloaded 317 times
--------------------------------------------------------------------
Founder and owner / Majitel a zakladatel
josef@prusa3d.com

Olef
Posts: 334
Joined: Jun 21, 2017 9:31 am
Topics answered: 1
Location: England
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 10:42 am

Thanks Josef, will test out tonight after work :)

richard.g4
Posts: 4
Joined: Jan 22, 2017 4:40 pm
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 1:19 pm

Josef,

Just think out aloud here would it not be possible for the raspberry Pi to take over complete control of the printer and thus have a more powerful MPU at your disposable.

The AVR would then only have to handle the driving of steppers effectively becoming a salve to the PI


I see with additional features being added that the overhead problem may become more and more of a problem.


Just a thought

Richard

User avatar
billchurch
Posts: 34
Joined: Sep 26, 2016 5:00 pm
Topics answered: 2
Location: Saint Petersburg, Fl USA
Contact: Send private message YouTube

Re: OctoPrint issues and tips

Jan 05, 2018 1:32 pm

Downloaded. Installed. Re-printing a previously 2 x failed part through OctoPrint and will report back in a couple hours.
Bill Church
Saint Petersburg, Fl USA
Original Prusa i3 Mk3 Kit
Original Prusa i3 Mk2 Kit w/ 4 x Multi Material Upgrade
Mods: http://www.thingiverse.com/illc0mm/coll ... 3-mk2-mods

gorkish
Posts: 38
Joined: Sep 23, 2017 3:02 pm
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 2:38 pm

Any thought of changing Y1 to 20, 22.1184, or 24MHz
Last edited by gorkish on Jan 05, 2018 2:40 pm, edited 1 time in total.

JohnOCFII
Posts: 234
Joined: Aug 18, 2016 1:27 pm
Location: Minnesota, USA
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 2:38 pm

Just as a data point, running a version of 3.0.12 with Linear Advance with OctoPrint 1.3.5 (and later 1.3.6) on a Raspberry Pi 3 has been working fine on a MK2 for months. From that, I'd say Linear Advance alone is not the main culprit, but certainly adding in the other changes could have pushed things over the edge regarding serial communication.

Send Gina a MK3 to help troubleshoot, and also to make even more of the awesome MK3 features available when printing from OctoPrint!

John
https://3dprinting.community/login #Community Discussion for 3D Printing

adam8797
Posts: 67
Joined: Oct 02, 2017 10:30 pm
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 4:15 pm

richard.g4 wrote:
Jan 05, 2018 1:19 pm
Josef,

Just think out aloud here would it not be possible for the raspberry Pi to take over complete control of the printer and thus have a more powerful MPU at your disposable.

The AVR would then only have to handle the driving of steppers effectively becoming a salve to the PI
There exists a project to do this already:

https://github.com/KevinOConnor/klipper

Looks like a great idea to me. I doubt its been tested with the MK3 yet.

chris.n6
Posts: 312
Joined: Sep 25, 2017 7:03 pm
Topics answered: 1
Location: Sioux Falls, SD USA
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 4:37 pm

richard.g4 wrote:
Jan 05, 2018 1:19 pm
Josef,

Just think out aloud here would it not be possible for the raspberry Pi to take over complete control of the printer and thus have a more powerful MPU at your disposable.

The AVR would then only have to handle the driving of steppers effectively becoming a salve to the PI


I see with additional features being added that the overhead problem may become more and more of a problem.


Just a thought

Richard
i'd rather have a wifi accessible mk3 that i could control from my phone or computer. The pi is a running an os that can buffer, the printer is not.

User avatar
billchurch
Posts: 34
Joined: Sep 26, 2016 5:00 pm
Topics answered: 2
Location: Saint Petersburg, Fl USA
Contact: Send private message YouTube

Re: OctoPrint issues and tips

Jan 05, 2018 4:38 pm

With 143e I just reprinted a 3 hour print with failed constantly 3 times before through OctoPrint. Using the same gcode.

During the first failed print (black PLA) it seemed like it went into crash recovery mode several times and it shifted the layers a couple of time. I let it continue since it seems like the part would still be usable (yet ugly). I then reprinted it with official Prusa PLA and left it overnight and came to the silver print. Update the firmware this morning to 143e, and used the same g-code as the previous and it printed flawlessly.

Previous Examples of the failed print:
Image
Failed Print 1

Image
Failed Print 2

Image
Successful Print

Whatever you changed in 143e, seems to be working for my Setup:
Original Prusa i3 Mk3 Kit
Firmware 143e
Raspberry Pi 3
OctoPrint 1.3.6
Bill Church
Saint Petersburg, Fl USA
Original Prusa i3 Mk3 Kit
Original Prusa i3 Mk2 Kit w/ 4 x Multi Material Upgrade
Mods: http://www.thingiverse.com/illc0mm/coll ... 3-mk2-mods

richard.g4
Posts: 4
Joined: Jan 22, 2017 4:40 pm
Contact: Send private message

Re: OctoPrint issues and tips

Jan 05, 2018 5:53 pm

There exists a project to do this already:

https://github.com/KevinOConnor/klipper

Looks like a great idea to me. I doubt its been tested with the MK3 yet.
Looks exactly what I thought of. Would be intresting to see if this could work on the mk3

Return to “User mods - OctoPrint, enclosures, nozzles, ...”

Who is online

Users browsing this forum: No registered users and 1 guest