Skip to content

[JetPack 6.0] RealSense viewer get xioctl(VIDIOC_G_EXT_CTRLS) failed on AGX Orin DevKit. #255

Open
@sammychentw

Description

@sammychentw

Hi, all:

I use Intel D457 GMSL MIPI camera on Jetson AGX Orin DevKit,
and I build the realsense_mipi_platform_driver dev branch,
and install it to JetPack6.0.

I could get the /dev/video0~5 device on Jetson AGX Orin DevKit:

video-rs-depth-0 -> /dev/video0
video-rs-depth-md-0 -> /dev/video1
video-rs-color-0 -> /dev/video2
video-rs-color-md-0 -> /dev/video3
video-rs-ir-0 -> /dev/video4
video-rs-imu-0 -> /dev/video5

But the realsense-viewer will get the "xioctl(VIDIOC_G_EXT_CTRLS) failed" and it can't play video.

[ RealSense viewer log ]
# 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)

How to know what's root cause? How to debug this VIDIOC_G_EXT_CTRLS fail?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions