• DepthAI
  • Windows Issues - Connectivity - Insufficient Permissions?

Hello,

I am trying to use an OAK-D Lite after a while I left the camera unused.
Since my purchase, the tooling has improved and there are more recent SW versions that I promptly downloaded to make sure I was up to date.

Unfortunately, that broke my previously working setup with OAK-D Lite.

I am running the camera on:

OS Name	Microsoft Windows 10 Pro for Workstations
Version	10.0.19045 Build 19045

The camera is connected via USB2 cable. Indeed, I tried to pull the repository and run with the -usbs usb2 option. I used this cable before and never had this issue.

I obtain the following error log with this cable:

Available devices:
[0] 1844301041AA7D1200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.HIGH
Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
Creating MJPEG link for MonoCamera node and left xlink stream...
Creating MJPEG link for MonoCamera node and right xlink stream...
Creating MJPEG link for ColorCamera node and color xlink stream...
[2022-12-19 23:51:59.468] [warning] Insufficient permissions to communicate with X_LINK_BOOTED device having name "3.2". Make sure udev rules are set
<MY_HOME>\AppData\Local\Programs\DepthAI\venv\lib\site-packages\depthai_sdk\previews.py:186: RuntimeWarning: invalid value encountered in cast
  dispFrame = (dispFrame * 255. / dispIntegerLevels).astype(np.uint8)

I can stream from the camera, I can see all the streams, visualize the stereo depth... but I cannot apply any of the UI settings and restart the streaming.

I then switched cable to USB3, yielding

Depthai version installed:  2.19.0.0
Setting up demo...
Available devices:
[0] 1844301041AA7D1200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
[2022-12-20 08:03:12.105] [warning] Insufficient permissions to communicate with X_LINK_BOOTED device having name "3.17". Make sure udev rules are set

and no other message. The udev rules error message persists even when changing connection or port. I still cannot apply and reset and therefore load any model from the DepthAI app.
I also tried running as Administrator (hoping it would work around any user permissions), without any luck.

Is this a known issue (I have seen some in the forum, but not quite identical), and is there a known solution? Could it be due to specific USB port rules applied by the OS?

  • erik replied to this.

    Hi ValerioCambareri ,
    We apologize for the trouble - I don't think udev rules should be relevant for windows. We will investigate this issue further.
    Thanks, Erik

    5 months later

    Was this resolved? I'm having the same issue. I've even tried a C to C cable with the same issue. Just got this and it appears unusable since I can't even run the demos!

      Hi AdamShortland
      The warning message you are getting probably isn't the culprit of the issue.
      To make sure, could you try running cam_test.py script with debug enabled and posting the whole terminal log?
      Enable debug

      Thanks,
      Jaka

      I bought a replacement already for the first since it was determined to be a hardware issue. Tried the new OAK-D-LITE on two different Windows 11 machines and a Pi 4 and getting the following.

      PS C:\Users\AdamT\source\repos\depthai> python depthai_demo.py

      Using depthai module from: C:\Users\AdamT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\depthai.cp310-win_amd64.pyd

      Depthai version installed: 2.21.2.0

      Setting up demo...

      Available devices:

      [0] 1844301051205F0E00 [X_LINK_UNBOOTED]

      USB Connection speed: UsbSpeed.HIGH

      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)

      Creating MJPEG link for MonoCamera node and left xlink stream...

      Creating MJPEG link for MonoCamera node and right xlink stream...

      Creating MJPEG link for ColorCamera node and color xlink stream...

      [1844301051205F0E00] [1.3] [3.212] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

      [CRITICAL] [0:00:03.212991] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

      Stopping demo...

      === TOTAL FPS ===

      File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 656, in run

      self.instance.run_all(self.conf)

      File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 133, in run_all

      self.run()

      File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 317, in run

      self.loop()

      File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 370, in loop

      raise self.error

      RuntimeError: Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

      On the Windows 11 machines I tried both a USB3 to C and a C to C cable with the same result. Also tried both with the installer and manually installing, but the issue is the same

      • erik replied to this.

        AdamShortland Looks like an issue with USB cable, as it's using USB2 mode;

        USB Connection speed: UsbSpeed.HIGH
        Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)

        And USB2 mode is, unfortunately, a known issue on Windows.

        I don't think that's what's going on here, the following is with the USB3 to C cable attached, same cable was also used to test on the Pi 4 so not Windows specific…

        Also, on the previous unit this same cable and another would display the left/right cameras, but the rgb camera had an issue on that unit.

        PS C:\Users\AdamT\source\repos\depthai> python depthai_demo.py

        Using depthai module from: C:\Users\AdamT\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\depthai.cp310-win_amd64.pyd

        Depthai version installed: 2.21.2.0

        Setting up demo...

        Available devices:

        [0] 1844301051205F0E00 [X_LINK_UNBOOTED]

        USB Connection speed: UsbSpeed.SUPER

        [2023-06-04 13:15:52.652] [warning] Insufficient permissions to communicate with X_LINK_BOOTED device having name "3.4.3.1". Make sure udev rules are set

        [1844301051205F0E00] [3.2.3.1] [2.168] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

        [CRITICAL] [0:00:02.168988] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

        Stopping demo...

        === TOTAL FPS ===

        File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 656, in run

        self.instance.run_all(self.conf)

        File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 133, in run_all

        self.run()

        File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 317, in run

        self.loop()

        File "C:\Users\AdamT\source\repos\depthai\depthai_demo.py", line 370, in loop

        raise self.error

        RuntimeError: Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0'

        Have you tried a different USB port? If using one on the front of the computer try the back.