[HAILO_RPC_FAILED(77)] after switching from GDM3 back to LightDM — pipeline fails to terminate on RPi5 + Hailo-8L (DeGirum SDK)

[HAILO_RPC_FAILED(77)] after switching from GDM3 back to LightDM — pipeline fails to terminate on RPi5 + Hailo-8L (DeGirum SDK)


System Setup

  • Board: Raspberry Pi 5
  • Accelerator: Hailo-8L
  • Companion SDK: DeGirum
  • OS: Raspberry Pi OS (Bookworm)
  • Display Server: Likely using Wayland with LightDM
  • Python env: Virtualenv
  • OpenCV: Installed via opencv-python

Problem Description

I’m encountering critical failures when running a pipeline using HailoRT. The pipeline starts, then at a certain point:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "/home/prometx/Desktop/PX-Ai-OnEdge/venv/lib/python3.11/site-packages/cv2/qt/plugins"
[HailoRT] [critical] Executing pipeline terminate failed with status HAILO_RPC_FAILED(77)
[HailoRT] [critical] Failed to finish_listener_thread in VDevice
[HailoRT] [critical] ConfiguredNetworkGroup_release failed with status: HAILO_RPC_FAILED(77)

This issue appeared after I temporarily switched from LightDM to GDM3 while attempting to install AnyDesk. Although I reverted back to LightDM afterward, the error began occurring after this change. Previously, the pipeline was running fine with no errors. I suspect this display manager switch may have affected the environment or session configuration (possibly related to Wayland vs X11), but I’m not sure how or why it would impact the HailoRT pipeline termination.


Questions

  1. What causes HAILO_RPC_FAILED(77)?
  2. Is this related to GUI rendering (cv2.imshow) or a separate issue with the HailoRT daemon?
  3. Are there known issues running HailoRT under Wayland or LightDM on Raspberry Pi OS (Bookworm)?
  4. Could switching display managers (and possibly between Wayland/X11) interfere with HailoRT or socket-based communication?
  5. Are there known compatibility issues with Raspberry Pi OS (Bookworm) and LightDM or GDM3 when running inference with Hailo-8L?

Any Help Would Be Greatly Appreciated!

Thanks in advance :folded_hands: