[Support]: Hailo8 driver mismatch #22032
Replies: 4 comments 1 reply
|
You're encountering a Hailo driver version mismatch where your system has driver version 4.23.0 installed, but Frigate 0.16.4 expects library version 4.21.0(1). The installation script from the Frigate documentation is designed to install the correct driver version for your Frigate release(2). Since you just created this LXC today and are running Frigate 0.16.4, the script should have installed the matching driver version. To resolve this issue:
wget https://raw.githubusercontent.com/blakeblackshear/frigate/dev/docker/hailo8l/user_installation.sh
sudo chmod +x user_installation.sh
./user_installation.sh
ls -l /dev/hailo0
lsmod | grep hailo_pciThe installation script will install the driver version that matches the Frigate library version (4.21.0 in your case), which should resolve the Note: If you're using a Raspberry Pi, you must also disable the built-in Hailo kernel driver before running the installation script(2). 📚 Sources:
Have another question? Just tag @inkeep. |
|
You should run the installation script on the host where the Hailo device is physically connected - in your case, that's your Proxmox host, not the LXC container(1). Since you're passing the Hailo device through to the LXC ( However, there's an important issue: the Here are your options: Option 1: Wait for Frigate 0.17 Option 2: Manual Driver Installation # Download and compile v4.21.0 Hailo driver
git clone https://github.com/hailo-ai/hailort-drivers.git
cd hailort-drivers
git checkout v4.21.0
# Compile against your kernel
cd linux/pcie
make -C /lib/modules/$(uname -r)/build M=$PWD modules
# Install the driver
sudo make -C /lib/modules/$(uname -r)/build M=$PWD modules_install
# Update modules dependencies
sudo depmod -a
# Remove old driver and load the new one
sudo modprobe -r hailo_pci
sudo modprobe hailo_pci
# Verify the version installed
modinfo hailo_pci | grep versionYou may also need to update the firmware symlink to point to version 4.21.0(4): sudo rm /etc/alternatives/hailo8_fw.bin
sudo ln -s /lib/firmware/hailo/hailo8_fw.4.21.0.bin /etc/alternatives/hailo8_fw.bin
sudo rebootOption 3: Use Frigate dev/beta The key point is that all three components must match: the host driver version, the firmware version, and the Frigate container's library version(3)(4). 📚 Sources:
Have another question? Just tag @inkeep. |
|
That's great to hear you got it working! Glad the troubleshooting steps helped resolve the Hailo driver version mismatch(1)(2). If you run into any other issues with your Frigate setup, feel free to reach out. 📚 Sources: Have another question? Just tag @inkeep. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem you are having
I'm running Frigate on a Proxmox LXC and have passed through both my iGPU and my Hailo8. Frigate complains about a driver mismatch:
I originally installed the drivers manually and got this error but then I read to use the install script from the Frigate documentation and that for some reason installed the same driver. Is there a way to go back to the correct driver version? Did the installation script install the correct driver? Or should I try to upgrade frigate to a newer version (I just created this LXC today)?
Version
0.16.4-4131252
What browser(s) are you using?
Google Chrome 145.0.7632.76
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
No response
Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
Other
Network connection
Wired
Camera make and model
N/A
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
All reactions