Hailo version mismatch 4.23 vs 4.20

I just installed a fresh rpi-5 64 distribution and want to add hailo support. All fresh out of the box.

Here is what I get:

$ hailortcli fw-control identify
[HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.23.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_DRIVER_VERSION(76)

Here are the installed packages:

$ dpkg -l | grep hailo
ii  hailo-all                             4.23.0                               all          Hailo support (metapackage)
ii  hailo-tappas-core                     5.1.0                                arm64        Core components of the Hailo TAPPAS platform
ii  hailort                               4.23.0                               arm64        AI acceleration runtime library for Hailo hardware
ii  hailort-pcie-driver                   4.23.0                               all          Hailo PCIe driver and firmware
ii  python3-hailo-tappas                  5.1.0                                arm64        Python binding for tappas
ii  python3-hailort                       4.23.0-1                             arm64        HailoRT Python API, which wraps the runtime library
ii  rpicam-apps-hailo-postprocess         1.10.0-1                             arm64        Raspberry Pi AI HAT+ post-processing plugin for rpicam-apps

What did I not do right?

Hey @Christophe_Bernard,

Welcome to the Hailo Community!

I’m guessing the issue is probably because DKMS isn’t installed yet. The older hailort driver (4.20) that comes with the kernel is still hanging around, and without DKMS, it’s not getting properly removed—which is what’s causing the version mismatch.

Here’s what I’d recommend running:

sudo apt update
sudo apt full-upgrade
sudo apt install dkms
sudo apt install hailo-all

This should install DKMS and then reinstall the driver through it, which will clean up that older version and fix the conflict.

Let me know if this fixes the issue!

That was indeed the problem. I saw code looking for dkms during install but for some reason I assumed that dkms (developed by Dell) was only for PCs.

Then I saw the announcement of version 4.23 where indeed you underlined dkms was mandatory.

I should have waited a bit longer before posting.

Many thanks!

1 Like