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

"Frames didn’t arrive within 5 seconds" – Intermittent Issue with RealSense Camera on Linux #13365

Open
nurietarc opened this issue Sep 20, 2024 · 10 comments

Comments

@nurietarc
Copy link

nurietarc commented Sep 20, 2024

Required Info
Camera Model D455
Firmware Version 2.55.1
Operating System & Version Linux (Ubuntu 22.04.5)
Kernel Version (Linux Only) 6.5.0-44-generic / 6.8.-44 (see explanation)
Platform PC (Thinkpad L390)
SDK Version Intel® RealSense™ SDK 2.0
Language ROS2 Humble
Segment Robotics

Context

I am using the Intel RealSense camera for robotics applications and trying to implement the ROS Wrapper for Intel (link here) but having issues getting it to work.

Steps followed and errors (and how to reproduce them)

Attempt 1:

  • Installed the SDK 2.0 library using the second option (Option 2: Install librealsense2 without graphical tools and examples from ROS servers for Foxy EOL distro), which does not include the RealSense Viewer.
  • Followed Step 3 to install the Intel® RealSense™ ROS2 wrapper from source (Option 2: Install from source).
  • Launched the node using ros2 launch realsense2_camera rs_launch.py and encountered the following issue:
[INFO] [launch]: All log files can be found below /home/convidat-cdei/.ros/log/2024-09-20-16-24-46-496575-PERAFITA-63105
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [realsense2_camera_node-1]: process started with pid [63106]
[realsense2_camera_node-1] [INFO] [1726842286.902101578] [camera.camera]: RealSense ROS v4.55.1
[realsense2_camera_node-1] [INFO] [1726842286.902349126] [camera.camera]: Built with LibRealSense v2.55.1
[realsense2_camera_node-1] [INFO] [1726842286.902399445] [camera.camera]: Running with LibRealSense v2.55.1
[realsense2_camera_node-1]  20/09 16:24:46,904 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto
[realsense2_camera_node-1]  20/09 16:24:46,905 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.3.auto
[realsense2_camera_node-1]  20/09 16:24:46,905 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.9.auto
[realsense2_camera_node-1]  20/09 16:24:46,905 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.2.auto
[realsense2_camera_node-1]  20/09 16:24:46,906 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.7.auto
[realsense2_camera_node-1]  20/09 16:24:46,906 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.13.auto
[realsense2_camera_node-1]  20/09 16:24:46,906 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.6.auto
[realsense2_camera_node-1]  20/09 16:24:46,906 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.12.auto
[realsense2_camera_node-1]  20/09 16:24:46,907 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.5.auto
[realsense2_camera_node-1]  20/09 16:24:46,907 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.11.auto
[realsense2_camera_node-1]  20/09 16:24:46,943 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto
[realsense2_camera_node-1]  20/09 16:24:46,943 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.3.auto
[realsense2_camera_node-1]  20/09 16:24:46,943 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.9.auto
[realsense2_camera_node-1]  20/09 16:24:46,943 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.2.auto
[realsense2_camera_node-1]  20/09 16:24:46,943 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.7.auto
[realsense2_camera_node-1]  20/09 16:24:46,944 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.13.auto
[realsense2_camera_node-1]  20/09 16:24:46,944 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.6.auto
[realsense2_camera_node-1]  20/09 16:24:46,944 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.12.auto
[realsense2_camera_node-1]  20/09 16:24:46,944 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.5.auto
[realsense2_camera_node-1]  20/09 16:24:46,944 WARNING [128721463395904] (backend-hid.cpp:1280) Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.11.auto
[realsense2_camera_node-1] [INFO] [1726842286.945833372] [camera.camera]: Device with serial number 234322305657 was found.
[realsense2_camera_node-1]
[realsense2_camera_node-1] [INFO] [1726842286.945906876] [camera.camera]: Device with physical ID /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2 was found.
[realsense2_camera_node-1] [INFO] [1726842286.945932934] [camera.camera]: Device with name Intel RealSense D455 was found.
[realsense2_camera_node-1] [INFO] [1726842286.946288765] [camera.camera]: Device with port number 1-3 was found.
[realsense2_camera_node-1] [INFO] [1726842286.946323495] [camera.camera]: Device USB type: 2.1
[realsense2_camera_node-1] [WARN] [1726842286.946344467] [camera.camera]: Device 234322305657 is connected using a 2.1 port. Reduced performance is expected.
[realsense2_camera_node-1] [INFO] [1726842286.946440699] [camera.camera]: getParameters...
[realsense2_camera_node-1] [INFO] [1726842286.946865400] [camera.camera]: JSON file is not provided
[realsense2_camera_node-1] [INFO] [1726842286.946899268] [camera.camera]: Device Name: Intel RealSense D455
[realsense2_camera_node-1] [INFO] [1726842286.946922714] [camera.camera]: Device Serial No: 234322305657
[realsense2_camera_node-1] [INFO] [1726842286.946943827] [camera.camera]: Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
[realsense2_camera_node-1] [INFO] [1726842286.946964415] [camera.camera]: Device FW version: 5.16.0.1
[realsense2_camera_node-1] [INFO] [1726842286.946982611] [camera.camera]: Device Product ID: 0x0B5C
[realsense2_camera_node-1] [INFO] [1726842286.947001497] [camera.camera]: Sync Mode: Off
[realsense2_camera_node-1] [INFO] [1726842287.084208180] [camera.camera]: Set ROS param depth_module.depth_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1726842287.086078637] [camera.camera]: Set ROS param depth_module.infra_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1726842287.097424206] [camera.camera]: Set ROS param rgb_camera.color_profile to default: 640x480x15
[realsense2_camera_node-1] [INFO] [1726842287.098209721] [camera.camera]: Set ROS param gyro_fps to default: 200
[realsense2_camera_node-1] [INFO] [1726842287.098317179] [camera.camera]: Set ROS param accel_fps to default: 100
[realsense2_camera_node-1] [INFO] [1726842287.102032293] [camera.camera]: Stopping Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1726842287.102139482] [camera.camera]: Stopping Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1726842287.118954714] [camera.camera]: Starting Sensor: Depth Module
[realsense2_camera_node-1] [INFO] [1726842287.124114264] [camera.camera]: Open profile: stream_type: Depth(0), Format: Z16, Width: 640, Height: 480, FPS: 15
[realsense2_camera_node-1] [INFO] [1726842287.242473233] [camera.camera]: Starting Sensor: RGB Camera
[realsense2_camera_node-1] [INFO] [1726842287.250494871] [camera.camera]: Open profile: stream_type: Color(0), Format: RGB8, Width: 640, Height: 480, FPS: 15
[realsense2_camera_node-1] [INFO] [1726842287.257860285] [camera.camera]: RealSense Node Is Up!
[realsense2_camera_node-1]  20/09 16:24:52,129 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842292.130101989] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:24:52,255 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842292.256250619] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:24:57,132 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842297.132309670] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:24:57,259 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842297.260214273] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:02,137 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842302.137531361] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:02,265 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842302.265455628] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:07,142 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842307.143151623] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:07,268 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842307.268391992] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:12,147 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842312.148213248] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:12,271 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842312.272116503] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:17,151 WARNING [128721159882304] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842317.152274364] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout
[realsense2_camera_node-1]  20/09 16:25:17,275 WARNING [128721149015616] (backend-v4l2.cpp:1649) Frames didn't arrived within 5 seconds
[realsense2_camera_node-1] [WARN] [1726842317.276160370] [camera.camera]: XXX Hardware Notification:Frames didn't arrived within 5 seconds,1.72684e+12,Warn,Frames Timeout

Attempt 2:

  • Uninstalled the library using the purge command (dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge) and reinstalled the SDK 2.0 library using Option 1 (Option 1: Install librealsense2 debian package from Intel servers), following the steps described here.
  • Unfortunately, the RealSense Viewer was not open to verify functionality.
  • Launched the node using ros2 launch realsense2_camera rs_launch.py and encountered the same issue as before.

Attempt 3:

  • Realized that the kernel was incompatible at one point during the process. I downgraded the kernel based on the compatibility table found here as recommended.
  • Repeated the purge step (dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge) and attempted to reinstall the SDK, but encountered a new kernel error during installation
Postinst script activated...
Created user presets for convidat-cdei
Presets deployment:
no src dir
tgt dir exists
Presets deployment is skipped
Configurando librealsense2-dkms (1.3.27-0ubuntu1) ...
Loading new librealsense2-dkms-1.3.27 DKMS files...
Building for 6.5.0-44-generic 6.8.0-44-generic
Building initial module for 6.5.0-44-generic
Secure Boot not enabled on this system.
Done.

uvcvideo.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.5.0-44-generic/updates/dkms/

videodev.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.5.0-44-generic/updates/dkms/

uvc.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.5.0-44-generic/updates/dkms/

depmod....
Building initial module for 6.8.0-44-generic
Error! The /var/lib/dkms/librealsense2-dkms/1.3.27/6.8.0-44-generic/x86_64/dkms.conf for module librealsense2-dkms includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch.
The /var/lib/dkms/librealsense2-dkms/1.3.27/6.8.0-44-generic/x86_64/dkms.conf for module librealsense2-dkms includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
Skipped.

Loading the modified modules into kernel... complete
Current status:
librealsense2-dkms/1.3.27, 6.5.0-44-generic, x86_64: installed
mod: videodev version: realsense-1.3.27
mod: uvcvideo version: 1.1.1-realsense-1.3.27
mod: uvc version: realsense-1.3.27

Tests on other machines

  • The issue with the RealSense Viewer does not occur when connecting the camera to the RealSense Viewer on Windows using the same cable.
  • The issue with the RealSense Viewer does not occur when connecting the camera to the RealSense Viewer on a desktop running Ubuntu (without ROS) using the same cable with the following specs:
Required Info
Firmware Version 2.55.1
Operating System & Version Linux (Ubuntu 22.04.5)
Kernel Version (Linux Only) 6.8
Platform Intel Core i7-7700 CPU
SDK Version Intel® RealSense™ SDK 2.0
  • The issue with ROS2 does occur on another ThinkPad L390 with the same specifications (kernel 6.8.0-44, which is theoretically incompatible). Installation was done using Option 2 for the SDK (without the RealSense Viewer) and Option 1 for the wrapper.
  • This same camera worked on another machine around 3–4 months ago, which I no longer have access to. The setup involved Ubuntu, the SDK, and the ROS2 wrapper, but occasionally experienced the same or similar transport errors that could be fixed by changing cables, reconnecting the camera, or restarting ROS2. It did not have any issues with the RealSense Viewer.

Prior attempts to resolve the issue

  • Tried different cables of varying quality to rule out cable issues, as suggested in various issues, but the error persists.
  • The laptop (ThinkPad L390) has USB 3.1 ports on the motherboard.
  • Updated the camera firmware as recommended in the RealSense Viewer. The same error occurred before and after the firmware update.
  • Lowered the frame rate and resolution of the camera to reduce the data load.
  • Uninstalled and reinstalled the SDK and wrapper several times.
  • Attempted to install the SDK following the backend installation tutorial (link here), but the same errors occurred.
  • Tried launching the node with the initial_reset parameter.

The problem

Even though the camera works on some machines, we cannot pinpoint the root cause of the issue or why the error occurs intermittently between different computers, and even on the same machines, where it may "magically" stop working after a few days without any apparent reason. This makes the camera unreliable for robotics applications, as we never know when the next unexpected error might appear. Any suggestions?

Many thanks!

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 20, 2024

Hi @nurietarc The error Failed to read busnum/devnum is a very rare one. Usually when it has occurred, it has been related to a problem in the USB system, such as insufficient power being provided to the camera by the USB port to meet its power-draw needs.

Frames didn't arrived within 5 seconds would also suggest that new camera frames have stopped arriving at the computer from the USB port.

RealSense 400 Series cameras can run indefinitely so long as they remain within recommended operating temperature tolerances (not more than 35 degrees C internal temperature and not less than 0 degrees C).

If a problem does occur in a long-run session (3 to 4 days before the problem occurs), it is likely to be related to the computer hardware, its operating system or the USB hardware (port / hub / controller / cable) rather than a fault with the camera hardware.

If a computer has a USB power-saving plan set then I would recommend disabling that to ensure that there is not a situation where the computer may reduce USB port power and make the camera unable to operate.

@nurietarc
Copy link
Author

Hi @MartyG-RealSense

Thank you for your help. First, these are not long-run sessions. We are still testing in the lab, and the tests last about 10 minutes to ensure everything works well. The camera shouldn’t be overheating or anything like that.

Regarding the error you mentioned, I removed any power-saving configurations on the laptop. I upgraded the kernel to 6.8 again (as mentioned, downgrading to 6.5 didn’t allow me to install the RealSense library, and since the library works fine on other machines with kernel 6.8, I gave it another try). I purged the previous installation and reinstalled the library using Option 1.

Upon opening the RealSense Viewer, I got the following error:

1: /etc/udev/rules.d/99-realsense-libusb.rules  
2: /lib/udev/rules.d/60-librealsense2-udev-rules.rules  
Make sure to remove redundancies!  

Additionally, I got this warning:

09:55:27 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto`

Despite these errors and warning and a "frames didn't arrive" error at first, I was able to connect and view the camera in RealSense Viewer after some fiddling around, even with the errors still showing.

Then I proceed to removed the redundancies as indicated by the error (although I’m not entirely sure if I did this step correctly, I may need some guidance...), and just to be sure, I purged and reinstalled again. The redundancy and busnum/devnum errors persist and now I can't vew the camera RGB signal in RealSense Viewer anymore. Below is the complete log:

10:02:39 [Info]  - librealsense version: 2.55.1

10:02:39 [Warn] /home/convidat-cdei/librealsense/common/notifications.cpp:511 - Multiple realsense udev-rules were found! :
1:/etc/udev/rules.d/99-realsense-libusb.rules
2: /lib/udev/rules.d/60-librealsense2-udev-rules.rules
Make sure to remove redundancies!
10:02:39 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Framebuffer size changed to 1663 x 862
10:02:39 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Window size changed to 1663 x 862
10:02:39 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Scale Factor is now 1
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video2
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video3
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video4
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video5
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video6
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video7
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video2
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video3
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video4
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video5
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video6
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video7
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video2
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video3
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video4
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/video4linux/video5
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video6
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/video4linux/video7
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device1
10:02:39 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.3.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.9.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.2.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.7.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.13.auto
10:02:39 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.6.auto

Thanks again!

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 25, 2024

You are very welcome!

Multiple udev rules (/lib and /etc) occur when librealsense has been installed from packages and from source code on the same computer. One method or the other (packages or source) should be used but not both, otherwise you could have two versions of librealsense on the same computer that conflict with each other.

When the multiple udev rules error occurs, the rule that should always be removed is /etc/udev/rules.d/99-realsense-libusb.rules, as removing the /lib rule breaks linkages to the packages.

As the above log shows that the multiple udev rules error is still present, please try deleting the /etc rule to see whether any of the errors that follow afterwards disappear. The udev rule is responsible for handling RealSense camera devices in Ubuntu.

@nurietarc
Copy link
Author

Hello,

I have removed the rule doing sudo rm /etc/udev/rules.d/99-realsense-libusb.rules and rebooting the system. The redundancies error isn't showing now in the Realsense viewer. Hoewever, i still get the "Frames didn't arrive". Complete log of the Realsense viewer:

11:02:13 [Info]  - librealsense version: 2.55.1

11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Framebuffer size changed to 1663 x 862
11:02:13 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Window size changed to 1663 x 862
11:02:13 [Info] /home/convidat-cdei/librealsense/src/rs.cpp:3103 - Scale Factor is now 1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video4
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video5
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video6
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video7
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video4
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video5
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video6
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video7
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video4
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video5
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video6
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video7
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.3.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.9.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.2.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.7.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.13.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.6.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.12.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.5.auto
11:02:13 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.11.auto
11:02:13 [Info]  - Intel RealSense D455 was selected as a default device
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video1
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video4
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video5
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video6
11:02:13 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video7
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device1
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1250 - Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.4.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.3.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.9.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.2.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.7.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.13.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.6.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.12.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.5.auto
11:02:14 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-hid.cpp:1280 - Failed to read busnum/devnum. Custom HID Device Path: /sys/bus/platform/drivers/hid_sensor_custom/HID-SENSOR-2000e1.11.auto
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video1
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video4
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video5
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video6
11:02:14 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video7
11:02:14 [Info] /home/convidat-cdei/librealsense/src/context.cpp:116 - ... /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video0
11:02:14 [Info] /home/convidat-cdei/librealsense/src/context.cpp:128 - Found 1 RealSense devices (0xfe requested & 0xff from device-mask in settings)
11:02:14 [Info] /home/convidat-cdei/librealsense/common/notifications.cpp:538 - Current SW version: 2.55.1.0
Recommended SW version: 2.55.1.6486
11:02:14 [Debug]  - Current FW >= Bundled FW for: Intel RealSense D455      (S/N 234322305657)
Current Version: 5.16.0.1
Recommended Version: 5.16.0.1
11:02:32 [Info]  - Starting streaming of Color...
11:02:32 [Info] /home/convidat-cdei/librealsense/src/proc/formats-converter.cpp:267 - Request: RGB8 Color,
Resolved to: YUYV Color,
11:02:32 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:2240 - Video node was successfully configured to YUYV format, fd 13
11:02:32 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:2242 - Trying to configure fourcc YUYV
11:02:32 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:2473 - Metadata node was successfully configured to D4XX format, fd 16
11:02:37 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:02:37 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:02:37 [Warn] /home/convidat-cdei/librealsense/common/notifications.cpp:511 - Frames didn't arrived within 5 seconds
11:02:42 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:02:42 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:02:47 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:02:47 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:02:52 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:02:52 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:02:57 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:02:57 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:02 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:02 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:07 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:07 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:12 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:12 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:17 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:17 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:22 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:22 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:27 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:27 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:32 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:32 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:37 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:37 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:42 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:42 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:47 [Warn] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
11:03:47 [Info] /home/convidat-cdei/librealsense/src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
11:03:52 [Info]  - Stopping streaming
11:03:52 [Info] /home/convidat-cdei/librealsense/src/linux/backend-v4l2.cpp:1427 - V4L stream is closed

Thank you!

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 27, 2024

The ROS launch log atthe beginning of this case indicates that the camera was being detected as being on a slow USB 2.1 connection instead of a fast USB 3.1 or 3.2 connection.

Device 234322305657 is connected using a 2.1 port. Reduced performance is expected.

A camera may be mis-detected as being on a USB2 connection even if it is plugged into a USB3 port. It may work fine on one machine but have problems with another. This may be due to the USB controller that a particular computer manufacturer has chosen for handling devices plugged into the USB ports, as some USB controllers will work with RealSense cameras better than others.

Testing the camera with it attached to a USB hub rather than plugged directly into the computer is the best way to test whether there is a controller compatibility issue, as a USB hub will use its own brand of USB controller different from the controller that the computer's built-in USB ports are using.

In a case at the link below, a RealSense user found that their busnum/devnum problem disappeared when the camera was used on a different computer (a laptop).

https://support.intelrealsense.com/hc/en-us/community/posts/27878881494419/comments/27902533368851

@nurietarc
Copy link
Author

Hi Marty,

I am aware of the Device 234322305657 is connected using a 2.1 port. Reduced performance is expected error. I get this error as well in other computers (the ones listed at first comment of the issue) in which the camera works properly. That is a problem that I had in mind to attack whenever I solve the one of this issue (Frames didn't arrive error in some computers), since the cable is supposed to be high-quality and the USB ports of the computer should be 3.1 as well. In any case, I am not using any USB hub.

Since you have said that the laptop itself and its connectors could be the problem behind, I have tried to open the RealSense viewer in another laptop which has exactly the same specifications (ThinkPad L390). I get the Frames didn't arrive error but no the busnum/devnum. Here is the log:

14:43:42 [Info]  - librealsense version: 2.55.1

14:43:42 [Info] ./src/rs.cpp:3103 - Framebuffer size changed to 1344 x 756
14:43:42 [Info] ./src/rs.cpp:3103 - Scale Factor is now 1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
14:43:42 [Warn] ./common/device-model.cpp:442 - Exception caught trying to detect presets: could not open directory: /home/convidat-cdei/Documents/librealsense2/presets/
14:43:42 [Info]  - Intel RealSense D455 was selected as a default device
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
14:43:42 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
14:43:42 [Info] ./src/context.cpp:116 - ... /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
14:43:42 [Info] ./src/context.cpp:128 - Found 1 RealSense devices (0xfe requested & 0xff from device-mask in settings)
14:43:43 [Info] ./common/notifications.cpp:538 - Current SW version: 2.55.1.0
Recommended SW version: 2.55.1.6486
14:43:43 [Debug]  - Current FW >= Bundled FW for: Intel RealSense D455      (S/N 234322305657)
Current Version: 5.16.0.1
Recommended Version: 5.16.0.1
14:43:48 [Info]  - Starting streaming of Color...
14:43:48 [Info] ./src/proc/formats-converter.cpp:267 - Request: RGB8 Color,
Resolved to: YUYV Color,
14:43:48 [Info] ./src/linux/backend-v4l2.cpp:2240 - Video node was successfully configured to YUYV format, fd 13
14:43:48 [Info] ./src/linux/backend-v4l2.cpp:2242 - Trying to configure fourcc YUYV
14:43:48 [Info] ./src/linux/backend-v4l2.cpp:2473 - Metadata node was successfully configured to D4XX format, fd 16
14:43:53 [Warn] ./src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
14:43:53 [Info] ./src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
14:43:53 [Warn] ./common/notifications.cpp:511 - Frames didn't arrived within 5 seconds
14:43:58 [Warn] ./src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
14:43:58 [Info] ./src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
14:44:03 [Warn] ./src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
14:44:03 [Info] ./src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
14:44:08 [Warn] ./src/linux/backend-v4l2.cpp:1649 - Frames didn't arrived within 5 seconds
14:44:08 [Info] ./src/core/notification.cpp:22 - Frames didn't arrived within 5 seconds
14:44:12 [Info]  - Stopping streaming
14:44:12 [Info] ./src/linux/backend-v4l2.cpp:1427 - V4L stream is closed
14:44:28 [Info] ./src/rs.cpp:3103 - Framebuffer size changed to 1850 x 1016
14:44:28 [Info] ./src/rs.cpp:3103 - Window size changed to 1850 x 1016

I am even more lost than before... haha Thank yoy again very much!

@nurietarc
Copy link
Author

As I was telling you, sometimes these errors seem to appear "suddenly." Let me explain what happened now: I have noticed that in the log of the previous comment (link here), there were no warnings related to the USB 2.1 port, despite the RealSense Viewer indicating it was connected via USB 2.1 in the top left corner.

Therefore, I wanted to see if making small adjustments would trigger that error in the log. Simply starting and stopping the RGB profile streaming caused the camera to begin functioning properly, and frames started arriving without any further intervention (in the same computer that 5 minutes, reported the log of my last comment!).

Taking advantage of the camera's functionality, I have adjusted some settings (like battery saving options and whether the laptop was plugged in or not), and I also have connected and disconnected the camera to see if that would cause it to stop working. The response is no... it continues to function without issues. Here is the log:

15:10:48 [Info]  - librealsense version: 2.55.1

15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
15:10:48 [Info] ./src/rs.cpp:3103 - Framebuffer size changed to 1850 x 1016
15:10:48 [Info] ./src/rs.cpp:3103 - Window size changed to 1850 x 1016
15:10:48 [Info] ./src/rs.cpp:3103 - Scale Factor is now 1
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
15:10:48 [Warn] ./common/device-model.cpp:442 - Exception caught trying to detect presets: could not open directory: /home/convidat-cdei/Documents/librealsense2/presets/
15:10:48 [Info]  - Intel RealSense D455 was selected as a default device
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
15:10:48 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
15:10:49 [Info] ./common/notifications.cpp:538 - Current SW version: 2.55.1.0
Recommended SW version: 2.55.1.6486
15:10:49 [Debug]  - Current FW >= Bundled FW for: Intel RealSense D455      (S/N 234322305657)
Current Version: 5.16.0.1
Recommended Version: 5.16.0.1
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video0
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/video4linux/video1
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video3
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video4
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video5
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video6 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video6
15:10:49 [Info] ./src/linux/backend-v4l2.cpp:753 - Enumerating UVC video7 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.3/video4linux/video7
15:10:49 [Info] ./src/context.cpp:116 - ... /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/video4linux/video2
15:10:49 [Info] ./src/context.cpp:128 - Found 1 RealSense devices (0xfe requested & 0xff from device-mask in settings)
15:10:54 [Info]  - Starting streaming of Color...
15:10:54 [Info] ./src/proc/formats-converter.cpp:267 - Request: RGB8 Color,
Resolved to: YUYV Color,
15:10:54 [Info] ./src/linux/backend-v4l2.cpp:2240 - Video node was successfully configured to YUYV format, fd 13
15:10:54 [Info] ./src/linux/backend-v4l2.cpp:2242 - Trying to configure fourcc YUYV
15:10:54 [Info] ./src/linux/backend-v4l2.cpp:2473 - Metadata node was successfully configured to D4XX format, fd 16

This raises the same question: why (and how to avoid that) do these errors occur sporadically, sometimes on the same computer and at other times on different machines, even under similar conditions?

@MartyG-RealSense
Copy link
Collaborator

It is difficult to mitigate against random events. You might be able to reduce the likelihood of them occurring though if you build the librealsense SDK from source code with the libuvc backend or the RSUSB backend installation methods though (if you are not using them already). A build of librealsense created with these methods bypasses the Linux kernel and so can avoid unpredictable errors caused by conflicts between librealsense and the kernel.

@nurietarc
Copy link
Author

I'll try to build the librealsense with RSUSB backend once again, thank you. However, would this solve the "frames didn't arrive" error? Isn't it a power-related error?

Thank you!

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 30, 2024

It would not typically be a power-related error. It could occur because of causes such as:

  • The computer's CPU processor chip not being able to keep up with the rate that new frames are arriving from the camera. Reducing FPS speed could test whether this is the cause;

  • The frame pipeline becoming "jammed up" with frames because old frames are not being released fast enough and so new frames cannot enter the pipeline. The pipeline, which is like a continuously moving conveyor belt where new frames enter and old frames drop off the end, can only hold 16 frames at a time from each stream type by default. The frame queue size can be increased to hold more frames, though I am not aware of a ROS parameter for setting this in a launch.

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

No branches or pull requests

2 participants