Unable to get depth stream from SR300
| Required Info | |
|---|---|
| Camera Model | SR300 |
| Firmware Version | 3.21.0.0 |
| Operating System & Version | Ubuntu 16.04 LTS |
| Kernel Version (Linux Only) | 4.13.0-43-generic |
| Platform | Dell PC |
| SDK Version | 2.11.1 |
Issue Description
When I start the realsense viewer and connect my SR300 camera I got warnings above 05/06 16:35:37,568 WARNING [139703620278848] (backend-v4l2.cpp:1156) Pixel format 435a4e49-b602-480f-978c-e4e88ae likely requires patch for fourcc code INZC! 05/06 16:35:37,569 WARNING [139703620278848] (backend-v4l2.cpp:1156) Pixel format 52494150-8536-4841-b6bf-8fc6ffb likely requires patch for fourcc code PAIR! 05/06 16:35:37,569 WARNING [139703620278848] (sensor.cpp:330) Unregistered Media formats : [ INZC PAIR Y10 YUYV ]; Supported: [ ]
Then when I try to get depth data it gives error above 05/06 16:36:58,406 ERROR [140301745822272] (types.h:179) xioctl(VIDIOC_STREAMOFF) failed Last Error: No such device 05/06 16:36:58,407 ERROR [140301745822272] (sensor.cpp:253) An error has occurred while stop_streaming()!
I try some suggested solutions but none of them is worked. The following packages of realsense are installed in my pc. ii librealsense2-dkms 1.2.0-0ubuntu5 all Modified kernel modules for librealsense2 ii librealsense2-udev-rules:amd64 2.12.0-0~realsense0.73 amd64 Intel(R) RealSense(tm) Camera Capture API - udev rules ii realsense-sdk-udev-rules:amd64 2.7.7-0~realsense0.29 amd64 Intel(R) RealSense(tm) Camera Capture API - udev rules ii realsense-uvcvideo 1.1.0-0ubuntu3 all DKMS-registered uvcvideo kernel module
I tried all the USB port in my computer , also tried a self-powered usb hub, but it also didn't work. More interestingly, I can get depth-stream once when I first build the drivers and sdk yesterday. it was working. but now I am getting errors all the time, I don't know what changed.
This failed Last Error: No such device seems suspicious, can you try running the device via powered USB3 hub? I think the device gets disconnected when you start streaming.
I tried a powered hub, it say the output is 5V-1A. it didnt worked but I am not sure if it is usb3 or not. Do you know how can I check if it is usb3 or not? The interesting thing, the camera was working yesterday without any external hub. Today, sometimes it show 1 frame and gives xioctl(VIDIOC_STREAMOFF) failed Last Error: No such device error, sometimes it shows nothing.
Well, SR300 is only recognized via USB3, so it is USB3. Did you try changing the cable?
[Realsense Customer Engineering Team Comment] Hi @elfslmn you can use lsusb -t or lsusb -v to get detail info of USB devices and SR300 require USB3 connection.
[Realsense Customer Engineering Team Comment] Hi @elfslmn, is this still an issue on your setup? you can use lsusb -t or lsusb -v to get detail info of USB devices to know if SR300 is enumerated and SR300 required USB3 connection best
[Realsense Customer Engineering Team Comment] issue is closed