Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera No signal #67

Open
dodolcool opened this issue Mar 6, 2023 · 5 comments
Open

Camera No signal #67

dodolcool opened this issue Mar 6, 2023 · 5 comments

Comments

@dodolcool
Copy link

dodolcool commented Mar 6, 2023

Hello
im running 4 instance with 4 generic webcam. the problem is only 2 camera that add the first time/ active first time will work fine and the 2 other will have no signal msg on the screen. i tried the cam on pc and they work fine. if i delete the instance that have working camera the other no signal camera will work and the one i delete and create again will have no signal msg. can you help?

ps already try add using octoprint_deploy.sh noserial but still the last 2 camera show No Signal.
im noob in linux if you need some log please kindly show how to provide it

@dodolcool
Copy link
Author

H
S1ProB

Here's what i get from check the No signal Cam

@paukstelis
Copy link
Owner

You are running out of USB bandwidth. That is what the No space left on device means.
You should avoid plugging all your cameras into a USB hub. Spread them around your device. Running printers all off a hub is typically OK, but cameras use much more USB bandwidth.

@dodolcool
Copy link
Author

Is there any solution i only have 2 usb port. each running usb hub with 4 port. each hub running 2 machines and 2 webcam.

@paukstelis
Copy link
Owner

No, not really. This is a limitation of the USB bus on your system.

@dgrabla
Copy link

dgrabla commented Jul 1, 2024

I've been researching this. If you tell the camera to use an uncompressed stream (YUY) you can use a kernel flag/quirk to fix the bandwith so not the theoretical maximum per camera is allocated. If you use compressed streams (MJPEG) you cannot use that, but there are kernel patches available you can use to tell the kernel to reserve a fix amount of bandwidth per camera (But no official way to do it with a vanilla kernel).

The software solution is hacky and probably not something this script should try to do. Most people relocate the cameras on their USB ports to hit different USB controllers, and the ones that they STILL need more cameras they probably buy PCIe usb cards to add additional USB controllers.

I think this info should be on the Readme.md as a warning. The whole point of the script is to install multiple instances, probably with at least one camera per instance so most users will hit this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants