Repetier Server Linux webcam script chokes on Raspian "Buster"
Hello, I'm trying out Repetier Server on a few Raspberry Pis. I was able to get it working OK on Raspbian "Stretch" on a Raspberry Pi 3, and wanted to see what sort of performance increase a Raspberry Pi 4 would give for things like rendering the 3D previews etc.
Unfortunately I've not been able to install the webcams properly on a Raspberry Pi that is running the newer "Buster" version of Debian that is required by the Pi 4. I have been following the instructions here:
https://www.repetier-server.com/setting-webcam-repetier-server-linux/
and I think the scripts at step 6 that you install (that are located at http://download.repetier-server.com/files/server/extras/mjpgstreamer-init-debian/Repetier-Setup.zip) don't react well to how Buster is enumerating the USB bus - or something similar to that. It goes through the motions, but ends up working on a device handle that is invalid, and tries to set up a webcam at 0x0 resolution at 0fps.
I have tried manually hacking around with the scripts to force it to work at a specific resolution and fps, but the webcam setup is still very unreliable on Buster. It works perfectly on Raspbian Jessie, so it's definitely a change in Buster which is breaking the script, but my Unix knowledge isn't enough to fix the scripts properly.
(I haven't checked the pre-done Raspberry Pi image, but I want to set it up by hand so I can lean the server out as much as possible)
Unfortunately I've not been able to install the webcams properly on a Raspberry Pi that is running the newer "Buster" version of Debian that is required by the Pi 4. I have been following the instructions here:
https://www.repetier-server.com/setting-webcam-repetier-server-linux/
and I think the scripts at step 6 that you install (that are located at http://download.repetier-server.com/files/server/extras/mjpgstreamer-init-debian/Repetier-Setup.zip) don't react well to how Buster is enumerating the USB bus - or something similar to that. It goes through the motions, but ends up working on a device handle that is invalid, and tries to set up a webcam at 0x0 resolution at 0fps.
I have tried manually hacking around with the scripts to force it to work at a specific resolution and fps, but the webcam setup is still very unreliable on Buster. It works perfectly on Raspbian Jessie, so it's definitely a change in Buster which is breaking the script, but my Unix knowledge isn't enough to fix the scripts properly.
(I haven't checked the pre-done Raspberry Pi image, but I want to set it up by hand so I can lean the server out as much as possible)
Comments
i think the scripts in /usr/local/Repetier-Setup/bin should be adjusted to deal with some checks at the end. if i enter lsof -i tcp8080 (or 8081, 8082 and so on) there is no running service. Getting the status of mjpeg_streamer does not reveal a lot of useful information. So digging out the root cause is a little tedious
Raspbian Buster
Maybe a downgrade could help until scripts fixed