-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SR300 multible camera couses freezes in uvc-wmf.h #129
Comments
Could be firmware issue. Can you comment, @dorodnic? |
Is there a more stable Version ? With the RS DepthManager installer, 3.15.0.0 is the most current Firmeware version I could find. |
3.15.0.0 is the most up-to-date FW. I will try to reproduce the issue and get back to you. |
Could you please send the exact program you are using to reproduce? Also, what is the average time to reproduction with 5 cameras? I made a demo that switches laser power of the first camera between 0 and 1 in a loop and ran it overnight with 6 connected SR300 cameras, but it is still running fine. |
@dorodnic usualy it does occure within a minute here. I have written a small library to handle the cameras. I will extract the code into one program in order to make this reproducable without all the overhead. Just a minute. In the meantime, can you provide your testcode, so I can be sure, that it is not just a problem with one of the cameras? UPDATE: Here is the code. I tried it with 3 cameras now and it seemed to work quite ok. Now i attached 6 cameras and it did crash after about a minute. ` int main(int argumentNumber, char* arguments[])
}` |
@Wollimayer thanks, I was doing something slightly different. You wrote "This can be reproduced by attaching more than one camera and simple keep activating and deactivating the laser of one of the camera." so I was toggling laser of just the first camera. Now the scenario is clear, I'll experiment with it once I get to the lab. |
@dorodnic : reconnecting the Camera manually will also solve the problem. |
@Wollimayer I ran the exact program you've submitted with 6 attached cameras for over an hour but still no reproduction.
|
Point 1 : The dmp was captured when the program crashed on setting up the context. UPDATE: Point 2 : Point 3 : |
@Wollimayer any updates on your end? |
Point 3 : I also did some test on a simple capture program that will :
This seems to improve the stability of the whole process but is really slow and does produces errors an rare occasions. @dorodnic Are the dmp files of any help for you ? |
Unfortunately, not enough. The files didn't capture original first-chance exception but rather the error as it was being re-thrown from librealsense API wrapper. If you are using procdump you can capture first-chance exceptions by running: |
@dorodnic I will try to reproduce the errors using procdump and upload it as soon as possible. Is there a general guidline for using multible cameras in order to keep the system stable ? |
Currently I'm experimenting with 5 RS300 Cameras, each of them connected to it's own usb controler.
It's working fine for most situations, but does couse a program freeze at some points ( sometimes, but the more cameras are connected, the more often they occure )
Setting parameters via
void set_control(device & device, const extension_unit & xu, uint8_t ctrl, void *data, int len)
(uvc-wmf.h)can freeze the whole program without a chance of recovering.
This can be reproduced by attaching more than one camera and simple keep activating and deactivating the laser of one of the camera.
Once one of the RS300 did crash the context is no longer able to be created ( even after restarting the program)
It will freeze at
WinUsb_WritePipe(usb_interface_handle, endpoint, (PUCHAR)buffer, bufferLength, &lengthWritten, NULL);
(uvc-wmf.cpp)sometimes during the usb_synchronous_write but also at usb_synchronous_read .
These problems do not occure using the F200 cameras ( tried it with 7 F200 cameras without any problems)
The text was updated successfully, but these errors were encountered: