High CPU, HW accel not working? #818
-
Hi all I have Viseron up and running on an old Ubuntu machine but I am struggling with really high CPU use. The machine has an i5-3470 which should support QSV and definitely supports VAAPI. I am exposing /dev/dri in my docker-compose file when I bring the container up, it runs but I get an error libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed If I execute vainfo in the container it says similar about iHD and then seems to fall back to i965 and then work. I have one camera running currently for testing and even if I use the low res substream, when I run top in the host OS it shows python consuming 300+% CPU time. The same thing happens regardless of stream. intel_gpu_top in the host OS shows activity but it's the CPU usage that has me puzzled. I have set the detector to motion only to see if it creates peaks but once the stream starts the CPU goes high. I know the CPU is old and not that capable but I thought with a 640x480 substream at 5fps I'd be ok. Any ideas of where to start looking? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
If you run |
Beta Was this translation helpful? Give feedback.
-
Bump @roflcoopter any thoughts on this? |
Beta Was this translation helpful? Give feedback.
I have just sorted it out now.
Entirely my own fault, I had object detection on and set to detect on motion but then no motion detection enabled.