metadata node-/dev/video11 was previously assigned
Camera Model: D400 Firmware Version: 05.12.10.00 Operating System & Version: Linux Kernel Version (Linux Only): 5.4.3 SDK Version: 2.43.0 Language: C++
Issue Description
Have a 3 camera setup with USB3.0 ports. Running cameras at 640x360 @ 15fps. Getting the error shown below in the logs while running, and also when I run the rs-enumerate -s command. Maybe similar to https://github.com/IntelRealSense/librealsense/issues/3538 but creating a new issue since that was over 2 years old.
/usr/src/debug/librealsense2/2.43.0-r0/git/src/linux/backend-v4l2.cpp: 648 - Metadata node for uvc device: id- /dev/video9
vid- 8086
pid- ad4
mi- 0
unique_id- 4-1.4-4
path- /sys/devices/platform/soc@0/38200000.usb/xhci-hcd.1.auto/usb4/4-1/4-1.4/4-1.4:1.0/video4linux/video9
susb specification- 320
metadata node-/dev/video11 was previously assigned
Hi @rupak-d https://github.com/IntelRealSense/librealsense/issues/3538 is the only case in which I can find a previous report of this particular problem.
Can you confirm please if librealsense behaves normally with 2 cameras but not with 3.
Also, does the problem go away if you boot the computer without any cameras inserted and then insert them one by one after boot-up and perform rs-enumerate-devices -s
Hi @rupak-d Do you require further assistance with this case, please? Thanks!
Hi @MartyG-RealSense none of them are solutions we can use since we need 3 cameras to run as soon as possible at start. The issue still happens randomly.
Did you build librealsense from source code with CMake, please? And if you did do so, did you include the term DCMAKE_BUILD_TYPE=release
Otherwise, the default build mode would be Debug, which can have slower performance. Building librealsense in Release mode means that it has optimizations included in it.
If you build librealsense in RSUSB mode with DFORCE_RSUSB_BACKEND=true then I recommend avoiding doing so for your particular application because RSUSB is suited to single-camera applications rather than multicam ones.
We do build in release mode and do not build in RSUSB mode set to true.
How are you activating and controlling the three cameras, please? It sounds as though this should be a multicam application where query_devices is used to automatically build a list of all attached devices, and each camera is queried by its unique serial number (which can be retrieved from the camera hardware). The SDK's rs-multicam sample program is an example of such a program.
https://github.com/IntelRealSense/librealsense/tree/master/examples/multicam
Hi @rupak-d Do you have an update that you can provide about this case, please? Thanks!
Hi @MartyG-RealSense , sorry for the late response. We are using query_devices to find all connected devices. Each device found is started by finding the depth sensor on the device, and then calling start on the sensor and providing a callback when frames are received from the sensor.
Have you tested your cameras in librealsense 2.44.0 to see whether the problem is still present in that SDK version, please?
Hi @rupak-d Do you require further assistance with this case, please? Thanks!
Case closed due to no further comments received.