Part 2: Klipper on a rooted Nebula Pad

Making

Part 2: Klipper on a rooted Nebula Pad

Running Klipper, Moonraker and Fluidd on Creality's Nebula Pad: a boot-loop and a rebuild, phone-approved prints, and getting timelapses to render on 197 MB of RAM.

Datasheet

Controller
Creality Nebula Pad (rooted)
Firmware
Klipper
API
Moonraker
Web UI
Fluidd
Time-lapse
moonraker-timelapse, a frame per layer
Start macro
None: the slicer's start G-code runs as written

Parts

  • 1×Creality Nebula PadIngenic X2000E, 197 MB RAM; Destinal community firmware
  • 1×USB webcamFluidd camera and timelapse frames
  • 1×Micro-USB cablefor the Ingenic USB-boot recovery flash

The Ender-3 Pro's brain is a Creality Nebula Pad: a small touchscreen computer (an Ingenic X2000E with 197 MB of RAM) that runs Klipper. Rooted, it's a full Klipper host. Moonraker provides the API, Fluidd is the web interface, and moonraker-timelapse records the prints.

Why Klipper

Klipper runs the motion planning on the pad and just streams steps to the printer's board. That's what made the part-1 upgrades worth having. Input shaping uses the accelerometer, the BLTouch mesh compensates for the bed, and the Sprite's settings live in a plain-text config instead of compiled firmware.

Printing from the workshop, approved from my phone

Moonraker's API means prints don't need a USB stick or the touchscreen. My workshop PC slices each plate in Cura, checks it (supports, layer count, timelapse calls), and queues it with the printer tools. Then a notification comes to my phone, and nothing starts until I approve that specific job. Approval is per job and never carries over. The printer is upstairs and I'm often not, so the webcam view in Fluidd is how I check the bed is clear first.

Things that went wrong

Emergency stops. Hitting E-stop during bed probing left Klipper in "shutdown". Every remote restart, through the API or Klipper's own commands, hung or did nothing. Rebooting the pad from an SSH session fixes it in about 20 seconds.

A boot-loop and a rebuild. After one cancelled print, the pad got stuck rebooting. The way back was:

  1. An Ingenic USB-boot flash. That means opening the pad, connecting its internal micro-USB, and holding BOOT and RESET.
  2. The Destinal community firmware.
  3. My own printer.cfg, restored from a backup taken a week earlier: Sprite extruder, BLTouch offsets, mesh area, homing position.

Since then, the whole config, the Moonraker database and the pad's state are backed up before any change.

Timelapses that never appeared. moonraker-timelapse takes a frame at every layer change: the slicer adds TIMELAPSE_TAKE_FRAME after each layer, and the file is checked for the right count before it's queued. The frames were all there, but Fluidd never listed a video. Creality's ffmpeg has no libx264, and its hardware H.264 encoder doesn't work on this pad, so every render failed.

The fix:

  • install Entware in the pad's data partition, which gives a current ffmpeg with libx264;
  • point Moonraker at a small wrapper script. At 1080p with two threads, the render was killed for running out of memory after two minutes. The wrapper forces one thread, the ultrafast preset, 720p and the lowest priority, and 118 frames now render in about 45 seconds.

It was all tested before anything was relied on:

  • a direct render;
  • a render through Moonraker;
  • reverting to stock and re-applying;
  • a full reboot.

A one-line revert script puts everything back, and another flag removes Entware too.

Timelapse frame of a small black part partway through printing

A wandering address. The pad gets its network address by DHCP, and it has changed twice. Each time the API "disappeared" until the config caught up. The proper fix is a reservation on the router.

Should you update it?

Moonraker and Mainsail both offer updates on this pad. I'm holding them. The pad runs Python 3.8 on an unusual chip, with no compiler, and Creality's Klipper is an older fork. A big Moonraker update could leave the printer with no web interface at all, for features I don't need. Fluidd, which I actually use, is current.

Final timelapse frame of a finished black part on the bed, with the print head parked above it

Next: Part 3: fit tests and house rules.

What went wrong

  1. After an emergency stop, Klipper stayed in shutdown and every remote restart hung

    Fix · Reboot the pad from an SSH session; it is ready again in about 20 s

  2. The pad boot-looped after a cancelled print

    Fix · Ingenic USB-boot flash, then the Destinal firmware, then the saved config restored from backup

  3. Timelapse frames were captured but no video ever appeared

    Fix · The stock ffmpeg has no H.264 encoder; Entware's ffmpeg plus a low-memory wrapper renders them on the pad

  4. The first timelapse render was killed for running out of memory

    Fix · Wrapper forces one thread, the ultrafast preset and 720p: 118 frames in about 45 s

  5. The printer kept changing address on the network

    Fix · Config updated each time; a DHCP reservation on the router is the real fix

Photos

Webcam view of the printer laying down a first layer inside its enclosure
What the webcam sees. The same camera takes a timelapse frame at every layer change.
Timelapse frame of a small black part partway through printing
A frame from a timelapse rendered on the pad itself.
Final timelapse frame of a finished black part on the bed, with the print head parked above it
The last frame: print done, head parked.

Comments

Comments

Loading comments...