Tappas on Redhat

Have hailo-drivers and hailort installed successfully on a non-Ubuntu platform (RHEL 9 based).

[omni@ng3-2104 ~]$ sudo ./hailortcli fw-control identify
Executing on device: 0000:06:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.18.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
Serial Number: HLLWMPA224600381
Part Number: HMP1RB1C2GAE
Product Name: HAILO-8 AI ACC PCIE MINI CARD EXT TEMP

Also managed to build/install TAPPAS

    Tappas was successfully installed.
    To start using it please set required environment variables, by running:

    source /root/.hailo/tappas/tappas_env

Attempting to run tappas/apps/h8/gstreamer/general/detection at master · hailo-ai/tappas · GitHub

[root@ng3-2104 detection]# ./detection.sh
xvinfo:  Unable to open display 
Running yolov8m
gst-launch-1.0 filesrc location=/home/omni/tappas/apps/h8/gstreamer/general/detection/resources/detection.mp4 name=src_0 ! decodebin ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoscale qos=false n-threads=2 ! video/x-raw, pixel-aspect-ratio=1/1 ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=2 qos=false ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailonet hef-path=/home/omni/tappas/apps/h8/gstreamer/general/detection/resources/yolov8m.hef batch-size=1 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailofilter function-name=yolov8m so-path=/home/omni/tappas/apps/h8/gstreamer/libs/post_processes//libyolo_hailortpp_post.so config-path=null qos=false ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! hailooverlay qos=false ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=2 qos=false ! queue leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! fpsdisplaysink video-sink=xvimagesink text-overlay=false name=hailo_display sync=false
WARNING: erroneous pipeline: no element "hailofilter"
[root@ng3-2104 detection]# gst-inspect-1.0 | grep hailo
hailo:  hailodevicestats: hailodevicestats element
hailo:  hailonet: hailonet element
hailo:  synchailonet: sync hailonet element

I am having this exact problem (install_hailo_gstreamer.sh causes error)

I followed the recommendation in that thread (author never replied), but still

root@ng3-2104 detection]# export GST_PLUGIN_PATH=$GST_PLUGIN_PATH:/usr/lib64/gstreamer-1.0/
[root@ng3-2104 detection]# gst-inspect-1.0 | grep hailo
hailo:  hailodevicestats: hailodevicestats element
hailo:  hailonet: hailonet element
hailo:  synchailonet: sync hailonet element

I was able to resolve the issue, it was related to the install_hailo_gstreamer.sh script.

  1. The build.release folder existed for some reason already, but Ninja was not finding a valid build root there and failing the meson build step
  2. The hailo headers/libs install at /usr/local/include on my distro rather than /usr/include

After resolving both of these issues I was able to run install_hailo_gstreamer.sh successfully. This built the libgsthailotools.so which contained the missing gstreamer plugins.

2 Likes

Hey @brad.johnson,

Welcome to the Hailo Community!

Great job on your work—it’s truly impressive! If you need any further assistance or have any questions, we’re here to help.

1 Like