I have two oak-d-s2 cameras; one which is a year old and one which I just purchased. On connecting the new camera I noticed that it was running very laggy / slow.

After a bit of digging it seems that the new camera is connecting a lower usb speed to the older one. The following is the output from the oak_bandwidth_test.py utility showing the difference in speeds between the two cameras:

(venv) john@JMCD-L7400:~/Luxonis/depthai-experiments/random-scripts$ python3 oak_bandwidth_test.py 
Downlink 337.9 mbps
Uplink 303.1 mbps
Press any key to continue...
(venv) john@JMCD-L7400:~/Luxonis/depthai-experiments/random-scripts$ python3 oak_bandwidth_test.py 
Downlink 2905.0 mbps
Uplink 2207.2 mbps
Press any key to continue...

I have also run device_manager.py which shows that the older camera has a USB max speed of "SUPER" whereas the newer camera's max speed is reported as "HIGH".

I have tried factory resetting and reflashing the factory bootloader on the off-chance that that might rectify the situation but this has not had any obvious effect.

Does this look like a hardware fault or are there any other suggestions people might have before escalating to support?

Thanks for your help.

    johnmcd
    Did you try switching the cables? And USB ports?

    Thanks,
    Jaka

    Yes, however the cable and port should be ok since the second oak-d-s2 works fine on the cable and port. The behaviour is evident on a dev pc and a raspi.

    John.

      johnmcd
      Do you have any other USB3 capable cables available to test. I have never seen this issue before, it was always the cable or the port, that's why I ask.

      Thanks,
      Jaka

      Hi Jaka,

      Apologies for the delayed response. I am awaiting a second usb cable -- however, I don't think this is the source of the problem given that every thing works fine with the cable and one of the cameras i.e. the only variable is the camera change results in the slow down … which makes it most likely that either there is a hardware fault with the camera or there is a software setting (hopefully) that can be updated / fixed.

      I have also verified the same behaviour across a PC running linux, windows, and a raspberry pi (albeit with a single cable).

      Thanks for the assistance.

      Best regards,

      John.

      PS I will update once I have the second USB cable.

      Hi @johnmcd ,
      This seems like a hardware issue, especially if the exact same setup (cable/computer) works on the other OAK camera. Perhaps the USB-C port got somehow damaged (some line used by USB3), and it only supports USB2 now. It'd be best to replace your device, could you please fill out the RMA form? https://www.luxonis.com/rma
      Thanks, Erik