libhailort failed with error: 76 (HAILO_INVALID_DRIVER_VERSION)

Hi All
I encountered an issue when I ran yolox_stream_inference.py found under Hailo-Application-Code-Examples/runtime/python/streaming
it thrown the error message below, which i do not know how to overcome
libhailort failed with error: 76 (HAILO_INVALID_DRIVER_VERSION)
I installed the latest drivers
hailort-pcie-driver_4.19.0_all.deb
hailort-4.19.0-cp311-cp311-linux_aarch64.whl
hailortcli -v
HailoRT-CLI version 4.19.0
hailortcli scan
Hailo Devices:
[-] Device: 0000:04:00.0
ls -la libhailort.so
libhailort.so → libhailort.so.4.19.0

Could someone tell me what I missed out?

Regards
Sherman

Hey @sherman.cl.chan

The error HAILO_INVALID_DRIVER_VERSION (76) suggests that there’s a mismatch between the HailoRT driver version and the Hailo software version. Even though you’ve installed the latest driver (hailort-pcie-driver_4.19.0) and the corresponding HailoRT version (hailort-4.19.0), there might be a compatibility issue with the hardware or a misconfiguration during the driver installation.

Can you check if there is still any left over installations from the 4.18 driver version ?

sudo find /user/lib/ | grep hailo 

Best Regards,
Omri

Hi omria
Thanks for your response. I finally figured out what was cause. When I 1st installed the pci-driver after I received the board, and it was version 4.18.0!!, I still not sure how i got that version installed, it placed the driver under
/kernel/drivers/media/pci/hailo
and update modules.dep accordingly. However, when I installed
hailort-pcie-driver_4.19.0_all.deb
it placed the 4.19.0 driver under
/kernel/drivers/misc
and did NOT update modules.dep,
therefore no matter how many times I re-installed the driver or rebooted the box, only the one mentioned in modules.dep was loaded, which was 4.18.0.
After I moved the 4.19.0 driver to the folder that listed in modules.dep, too lazy to make change in modules.dep, the correct driver was loaded after reboot, I guess I also could do rmmod and modprob to reload the driver without reboot the box.

I guess this is a minor mistake forgot to update the modprob,dep when package the latest driver.

Cheers
Sherman

1 Like