• DepthAI
  • After calibrating ...critical error

erik Hi , just made as like you suggested ( in depthai made git pull then python3 install_requirements.py ) and the result is
pi@luxonis:~/depthai $ python3 depthai_demo.py -usbs usb2
Using depthai module from: /home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-arm-linux-gnueabihf.so
Depthai version installed: 2.17.3.0
Setting up demo...
Available devices:
[0] 14442C10010AAACE00 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.HIGH
Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
[14442C10010AAACE00] [1.1.2] [95.395] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
[CRITICAL] [0:01:35.395173] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
File "/home/pi/depthai/depthai_demo.py", line 655, in run
self.instance.run_all(self.conf)
File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
self.run()
File "/home/pi/depthai/depthai_demo.py", line 271, in run
self.device.startPipeline(self.pm.pipeline)
XLinkReadError: Couldn't read data from stream: '__rpc_main' (X_LINK_ERROR)
libEGL warning: DRI2: failed to authenticate
QXcbClipboard: Unable to receive an event from the clipboard manager in a reasonable time
pi@luxonis:~/depthai $
Any suggestions ?

a month later

Hi erik

It is about a month since i have posted the problem with Depth AI , is there any " echo " ?

  • erik replied to this.

    erik Hi Eric
    Yes , as i have mentioned above , it is OAK_CM4_POE V7,7 z .

    • erik replied to this.

      Hi ZANO ,
      Could you try updating the depthai version? Looks like there's a crash, likely due to USB2 mode.
      Thanks, Erik

      10 days later

      Hi Eric
      I have just updated depthai ( git pull ,then ,python3 install_requirements.py) and reuslt is that the depthai error dialog box shows the error ( File "/home/pi/depthai/depthai_demo.py", line 655, in run
      self.instance.run_all(self.conf)
      File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
      self.run()
      File "/home/pi/depthai/depthai_demo.py", line 271, in run
      self.device.startPipeline(self.pm.pipeline)
      XLinkReadError: Couldn't read data from stream: 'rpc_main' (X_LINK_ERROR)
      ) and the terminal shows ( pi@luxonis:~ $ python3 depthai_demo.py -usbs usb2
      python3: can't open file '/home/pi/depthai_demo.py': [Errno 2] No such file or directory
      pi@luxonis:~ $ ls
      Bookshelf Desktop Music reqirements.txt venv
      depthai Documents Pictures rpi-eeprom Videos
      depthai-python Downloads Public Templates
      pi@luxonis:~ $ cd depthai
      pi@luxonis:~/depthai $ python3 depthai_demo.py -usbs usb2
      Using depthai module from: /home/pi/.local/lib/python3.9/site-packages/depthai.cpython-39-arm-linux-gnueabihf.so
      Depthai version installed: 2.17.3.0
      Setting up demo...
      Available devices:
      [0] 14442C10010AAACE00 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      [14442C10010AAACE00] [1.1.2] [2257.494] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      [CRITICAL] [0:37:37.494477] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      File "/home/pi/depthai/depthai_demo.py", line 655, in run
      self.instance.run_all(self.conf)
      File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
      self.run()
      File "/home/pi/depthai/depthai_demo.py", line 271, in run
      self.device.startPipeline(self.pm.pipeline)
      XLinkReadError: Couldn't read data from stream: '
      rpc_main' (X_LINK_ERROR)
      libEGL warning: DRI2: failed to authenticate
      Setting up demo...
      Available devices:
      [0] 14442C10010AAACE00 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      [14442C10010AAACE00] [1.1.2] [11.317] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      [CRITICAL] [0:00:11.317383] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      File "/home/pi/depthai/depthai_demo.py", line 655, in run
      self.instance.run_all(self.conf)
      File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
      self.run()
      File "/home/pi/depthai/depthai_demo.py", line 271, in run
      self.device.startPipeline(self.pm.pipeline)
      XLinkReadError: Couldn't read data from stream: 'rpc_main' (X_LINK_ERROR)
      Setting up demo...
      Available devices:
      [0] 14442C10010AAACE00 [X_LINK_UNBOOTED]
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      [14442C10010AAACE00] [1.1.2] [17.038] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      [CRITICAL] [0:00:17.038597] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 8028F158' '0'
      File "/home/pi/depthai/depthai_demo.py", line 655, in run
      self.instance.run_all(self.conf)
      File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
      self.run()
      File "/home/pi/depthai/depthai_demo.py", line 271, in run
      self.device.startPipeline(self.pm.pipeline)
      XLinkReadError: Couldn't read data from stream: '
      rpc_main' (X_LINK_ERROR)
      Setting up demo...
      Available devices:
      [0] 14442C10010AAACE00 [X_LINK_UNBOOTED]
      [2022-09-30 11:42:21.868] [warning] OpenVINO 2021.1 is deprecated!
      USB Connection speed: UsbSpeed.HIGH
      Enabling low-bandwidth mode due to low USB speed... (speed: UsbSpeed.HIGH)
      [14442C10010AAACE00] [1.1.2] [67.486] [system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 80289E00' '0'
      [CRITICAL] [0:01:07.486697] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 09, address: 80289E00' '0'
      File "/home/pi/depthai/depthai_demo.py", line 655, in run
      self.instance.run_all(self.conf)
      File "/home/pi/depthai/depthai_demo.py", line 132, in run_all
      self.run()
      File "/home/pi/depthai/depthai_demo.py", line 271, in run
      self.device.startPipeline(self.pm.pipeline)
      XLinkReadError: Couldn't read data from stream: '__rpc_main' (X_LINK_ERROR)
      QXcbClipboard: Unable to receive an event from the clipboard manager in a reasonable time
      pi@luxonis:~/depthai $ ) the only advancment is that the depthai GUI does not crash and disapear ( formerly it was crashing and disapearing ) so i have tried to change some settings in menu like lowering the resolution and decresing frame rates from 30 to 10 with no success , the same dialog box with the same error !

      • erik replied to this.

        Hi JanIbrahim ,
        The problem is the USB2 - it's the culprit of many issues, especially on the RPI (armv7). Could you please try with USB3 cable?
        Thanks, Erik

        Hi , currently i use HDMI cable to connect to screen display and the USB's are occupied by WIFI internet and the other by wiereless keyboard , how can i connect by means of USB .

        • erik replied to this.

          Hi JanIbrahim ,
          My bad, I just now saw you are using the OAK-D-CM3. I have tried to reproduce; I flashed POE-CM4-V9.img from here to the SD card, and booted OAK-D-CM3 from that uSD card. I tried running a simple example from depthai-python (rgb-mobilenet.py one) and it worked as expected. Could you try following the same steps, please?
          Thanks, Erik

          Hi Eric
          Ok i will try the steps that you have mentioned .