here is error it gives:
CHECK_EXPECTED failed with status=74
[HailoRT] [error] CHECK failed - Failed to create vdevice. there are not enough free devices. requested: 1, found: 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
CHECK_EXPECTED failed with status=74
[HailoRT] [error] CHECK failed - Failed to create vdevice. there are not enough free devices. requested: 1, found: 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OUT_OF_PHYSICAL_DEVICES(74)
Root Causes:
A Hailo device might be busy with previous operations or hung processes
Multiple networks attempting to run in parallel without proper resource allocation
Insufficient virtual device configuration
Memory resource constraints due to high batch sizes
Improper network scheduling
Solution Steps:
Initial Troubleshooting:
Use htop to identify any lingering Hailo applications
Kill any stuck processes using kill -9 <PID>
Verify device availability using hailoctl list
Pipeline Modifications:
a) Initialize Virtual Device:
Before running the pipeline, set up virtual device allocation:
hailo_vdevice --device-count=2
b) Update Pipeline Configuration:
Modify your GStreamer pipeline with these key changes:
Implement scheduling-algorithm=ROUND_ROBIN for efficient resource sharing
Use proper queue management with QUEUE() functions
Configure videoconvert with multiple threads (n-threads=3)
Resource Management:
Ensure proper linking between hailonet and hailofilter
Use hailomuxer for managing multiple network outputs
Implement proper queue management to prevent bottlenecks
Configure display settings with fpsdisplaysink
Please try implementing these changes in your pipeline and let me know if you encounter any errors or issues - I’ll be happy to help troubleshoot them further.
Hi @omria,
thanks for fast answer. Can you suggest how to set up virtual machine on Raspberry pi5 Bookworm. I found only this guide: Enabling Virtual Machine to access Hailo-8 devices but obviousely it is not applicable in this case.
I tried command you provided, but get this error:
(venv_hailo_rpi5_examples) pi@raspberrypi:~ $ hailo_vdevice --device-count=2
bash: hailo_vdevice: command not found
Hi @omria, so i followed the suggestion and when i add to parameters to hailonet element f"hailonet hef-path={self.pose_hef_path} is-active=true batch-size=1 force-writable=true device-count=2 scheduling-algorithm=ROUND_ROBIN ! " , i get error:
gst_parse_error: could not set property “scheduling-algorithm” in element “hailonet” to “ROUND_ROBIN” (4). Please advice solution, thanks .