D457 realsense-viewer get VIDIOC_G_EXT_CTRLS failed with Jetpack 6.0 on Nvidia AGX Orin.
I am trying to use Intel D457 mipi driver with Nvidia Jetpack 6.0 on Jetson AGX Orin DevKit.
HW:
AGX Orin DevKit + Intel D457 x1
SW:
Nvidia Jetpack 6.0 (L4T 36.3.0)
Intel D457 MIPI driver : (tag 1.0.1.25)
https://github.com/IntelRealSense/realsense_mipi_platform_driver
D457 MIPI on NVIDIA Jetson AGX Orin JetPack 6.0
https://github.com/IntelRealSense/realsense_mipi_platform_driver/blob/r/1.0.1.25/README_JP6.md
Intel RealSense viewer V2.55.1.0
https://github.com/IntelRealSense/librealsense/tree/master/tools/realsense-viewer
Issue:
I am using the Intel D457 MIPI driver ((tag 1.0.1.25) to Nvidia Jetpack 6.0 (L4T 36.3.0) on Jetson AGX Orin DevKit + Intel D457 camera.
It could see the /dev/video0~5 after AGX Orin bootup.
video-rs-color-0 -> /dev/video2
video-rs-color-md-0 -> /dev/video3
video-rs-depth-0 -> /dev/video0
video-rs-depth-md-0 -> /dev/video1
video-rs-imu-0 -> /dev/video5
video-rs-ir-0 -> /dev/video4
But the Intel realsense-viwer (V2.55.1.0) could not detect D457 device and it get "xioctl(VIDIOC_G_EXT_CTRLS) failed" in log.
How to fix this VIDIOC_G_EXT_CTRLS error and let realsense-viwer is working with D457 camera?
realsense-viwer log
root@agx-orin-devit:/ # realsense-viewer --debug
14/02 16:41:32,846 DEBUG [281473023563840] (context.cpp:55) Librealsense VERSION: 2.55.1.0
14/02 16:41:32,132 DEBUG [281473023563840] (synthetic-stream-gl.cpp:80) Initializing rendering, GLSL=1
14/02 16:41:32,132 DEBUG [281473023563840] (synthetic-stream-gl.cpp:89) 0 GPU objects initialized
14/02 16:41:32,132 DEBUG [281473023563840] (synthetic-stream-gl.cpp:132) Initializing processing, GLSL=1
14/02 16:41:32,163 DEBUG [281473023563840] (synthetic-stream-gl.cpp:146) 0 GPU objects initialized
14/02 16:41:32,359 INFO [281473023563840] (context.cpp:116) ... /dev/video-rs-depth-0
14/02 16:41:32,359 INFO [281473023563840] (context.cpp:128) Found 1 RealSense devices (0xff requested & 0xff from device-mask in settings)
14/02 16:41:32,518 INFO [281473023563840] (rs.cpp:3103) Framebuffer size changed to 2688 x 1512
14/02 16:41:32,519 INFO [281473023563840] (rs.cpp:3103) Scale Factor is now 1
14/02 16:41:32,570 ERROR [281472888830016] (librealsense-exception.h:52) xioctl(VIDIOC_G_EXT_CTRLS) failed Last Error: Out of streams resources
14/02 16:41:32,571 ERROR [281472888830016] (rs.cpp:237) [rs2_create_device( info_list:0xaaaadced4500, index:0 ) Backend] xioctl(VIDIOC_G_EXT_CTRLS) failed Last Error: Out of streams resources
14/02 16:41:32,571 ERROR [281472888830016] (rs.cpp:237) [rs2_delete_device( device:nullptr ) UNKNOWN] null pointer passed for argument "device"
14/02 16:41:32,571 WARNING [281472888830016] (rs.cpp:373) null pointer passed for argument "device"
14/02 16:41:32,571 WARNING [281472888830016] (rs.cpp:3106) Couldn't refresh devices - xioctl(VIDIOC_G_EXT_CTRLS) failed Last Error: Out of streams resources
14/02 16:41:32,817 INFO [281473023563840] (context.cpp:116) ... /dev/video-rs-depth-0
14/02 16:41:32,817 INFO [281473023563840] (context.cpp:128) Found 1 RealSense devices (0xfe requested & 0xff from device-mask in settings)
-
Hi Ctelix,
We noticed that you opened a similar question at https://github.com/IntelRealSense/realsense_mipi_platform_driver/issues/255
Could you please remove the following file and see if the issue can be resolved?
/lib/udev/rules.d/60-librealsense2-udev-rules.rulesRegards,
Wan
Please sign in to leave a comment.
Comments
1 comment