Zits/Blobs & Performance
Hello,
I am an avid user of Repetier Server and now a huge fan however I notice when switching to Repetier my prints especially in round areas how blobs / zits. This looks like maybe a buffer issue. I am using a Raspberry Pi 3B+ and it is headless, I am not seeing the memory or processor usage spike too high.
What can I do to remedy this, do you have any suggestions? In settings I did not see any way to disable features to speed up everything.
I have 3 printers connected via USB.
I am an avid user of Repetier Server and now a huge fan however I notice when switching to Repetier my prints especially in round areas how blobs / zits. This looks like maybe a buffer issue. I am using a Raspberry Pi 3B+ and it is headless, I am not seeing the memory or processor usage spike too high.
What can I do to remedy this, do you have any suggestions? In settings I did not see any way to disable features to speed up everything.
I have 3 printers connected via USB.
Comments
For best performance there is now in printer config a test function that tests several methods and buffer sizes and checks when we get com errors so you can select the best working without frequent errors. Normally 127 byte no ping pong.
Firmware wise you can compile a version that sends line number with "ok" and wait when idle. This is to help server detect problems more quickly than with timeout.
Also, my issue was hardware - my one raspberry pi for some reason has this issue. I got my other one which is just a 2 and flashed it, set it up and it's perfect, no performance issues.
I think the built-in wifi on the Raspberry Pi 3B+ may be the issue. On the RPi2 I am using a USB adapter from Tenda and it does not fail. I believe the internal wifi locks up processes / resources on the 3B+ - maybe a kernel or driver issue.
I installed the 1.0.4 RPi Image and updated to the beta (ARMEL, but I think thats wrong) then 1.1.0 then manually to 1.1.2. I have a docker running with Home Assistant that I use for remote viewing of RS + Cameras + Temp Sensors + KASA KP115 for energy usage.
If I execute, stupidly, a Docker update or similar there is a noticeable wait on the printer for that read/write to occur on the RPi. I would maybe suggest a higher speed SD Card.
Overall, it seems very random when I get a zip/blob. But it does happen.
I am looking at moving from the RPi to a second hand Dell Optiplex i5-4th gen 8GB RAM but not sure if I can retain the touch screen web interface. This will then enable me to get klipper up on the 3rd printer without a resource issue.
I have two theories at this point:
- It could be an issue with the SD Card. Maybe the SD Card in the pi is aging or has bad sectors, etc. I would say try another card.
- It has to do with the built-in WiFi drivers. The other Pis I use simple USB WiFi sticks and those have no issues. It could be a coincidence, but there are known issues with built-in WiFi on the pi's locking up process priority on some old Linux kernels, it could be that.
In the end I am on a RPi 2 with 1GB ram, stock power supply - open air case. It's handling 3 printers (I have taped over the ground USB pin on all so they dont draw power from the pi - this is a good practice in general) and it's been a week of perfect printing with no reboots. The printers run 24x7 and print large and small models including some very complex Gcode and I have had 0 performance issues.I have "rescue" turned on and all stock options turned on. The only thing I turned off was the "Chrome" instance, which can be done via the boot partition on the sd card in the repetier-server setup text file. This saves considerable resources since I do not run a monitor connected to by Pi. I do run the awesome touch mobile interface built in on a tablet though and it's beautiful and fast.
Sure you did ground? We always tell to tape the 5v so all devices still have same potential for data lines but do not draw power. I'm not that big in electronics, but that is what I always read.
I have been having some issues with my new Ender 6, not a RS issue but rather a PSU problem with multiple printers and the RPi getting unhappy. Resolved at last.
Do you have any webcams/timelapse setup on the RPi?
Repetier-Server also appears to use Nginx, so you could just configure the rules to allow the TouchUI for the whole network if you installed Repetier-Server some other way (not using the image but the .deb for example) and the rules are off. However, yep, on the stock RPi image for Repetier-Server the TouchUI works on whole network.
Also on Android, once the UI is loaded in a browser go to the "3 dots - hamburger" menu and click "Add to Homescreen" and then Android adds it to the home screen, and it works like a full screen app with no annoying nav-bar. Absolutely epic.
Ill look into the Nginx to see what lets me in.
http://192.168.0.7:3344/modules/front2/app/app.html/
The port is important to add. If you have a segmented network aka router and then another AP with routing enable it may be segmented so even though you "see it" as one network, it's not. My home network is a single router (built into my modem) and then Ubiquiti AP's with all DHCP off so only one main router.
https://www.repetier-server.com/webserver-access-repetier-server/