librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

metadata node-/dev/video11 was previously assigned

Open rupak-d opened this issue 5 years ago • 11 comments

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 

rupak-d avatar Mar 30 '21 20:03 rupak-d

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

MartyG-RealSense avatar Mar 31 '21 11:03 MartyG-RealSense

Hi @rupak-d Do you require further assistance with this case, please? Thanks!

MartyG-RealSense avatar Apr 07 '21 08:04 MartyG-RealSense

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.

rupak-d avatar Apr 07 '21 15:04 rupak-d

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.

MartyG-RealSense avatar Apr 08 '21 12:04 MartyG-RealSense

We do build in release mode and do not build in RSUSB mode set to true.

rupak-d avatar Apr 13 '21 16:04 rupak-d

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

MartyG-RealSense avatar Apr 14 '21 11:04 MartyG-RealSense

Hi @rupak-d Do you have an update that you can provide about this case, please? Thanks!

MartyG-RealSense avatar Apr 20 '21 06:04 MartyG-RealSense

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.

rupak-d avatar Apr 21 '21 17:04 rupak-d

Have you tested your cameras in librealsense 2.44.0 to see whether the problem is still present in that SDK version, please?

MartyG-RealSense avatar Apr 22 '21 11:04 MartyG-RealSense

Hi @rupak-d Do you require further assistance with this case, please? Thanks!

MartyG-RealSense avatar Apr 28 '21 07:04 MartyG-RealSense

Case closed due to no further comments received.

MartyG-RealSense avatar May 04 '21 06:05 MartyG-RealSense