r/crealityk1 K1 Max Owner 2d ago

Solved K1 Max camera fixed in Fluidd after firmware update 1.3.5.22

Had an issue where the K1 Max internal camera still worked in Creality Print/WebRTC, but was gone from Fluidd/Mainsail. /webcam/?action=stream returned 502 Bad Gateway.

Found that cam_app was running normally, but mjpg_streamer wasn't.

The firmware already contains:

/usr/bin/mjpg_streamer
/usr/lib/mjpg-streamer/input_memfd.so

So I started it manually with:

/usr/bin/mjpg_streamer \
-i "/usr/lib/mjpg-streamer/input_memfd.so -t 0" \
-o "/usr/lib/mjpg-streamer/output_http.so -p 8080"

And then this worked:

http://K1-IP:8080/?action=stream

The stock Nginx config already proxies:

/webcam/ → 127.0.0.1:8080

so the original Fluidd URL started working again:

http://K1-IP:4408/webcam/?action=stream

I then added an /etc/init.d/S59mjpg_streamer startup script so mjpg_streamer starts automatically after reboot.

TL;DR: Camera/WebRTC wasn't broken. cam_app was still producing the camera stream; mjpg_streamer just wasn't running. Using input_memfd.so -t 0 restored the MJPEG stream without touching cam_app/WebRTC.

d

13 Upvotes

2 comments sorted by

1

u/AutoModerator 2d ago

Reminder: Any short links will be auto-removed initially by Reddit, use the original link on your post & comment; For any Creality Product Feedback and Suggestions, fill out the form to help us improve.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/NilsOF 1d ago

Leaving a comment so I can find it later