I can confirm frigate run on ESX 7.0 (ubuntu server 20.04) with google coral and ffmpeg hardware acceleration
See original GitHub issueI didn’t know where to write but I can confirm that frigate works very well on ESX 7.0. I think it is worth adding this information to the readme file since there is information about Proxmox. My server configuration is based on the Xeon E3 1275v2 processor. Ubuntu works as one of the systems and frigate works on it in the docker. Google coral is connected not as a USB device but via the PCI Passtrough function together with the USB 3.1 gen2 controller. I used a PCIE controller. I disconnected the IGPU graphics card from the ESX server (not showing esx video) and made it available via Ubuntu PCI Passtrough. In the docker, just add the access options to the GPU device and it just works for 3 weeks. Advantages: trouble-free connection of Google Coral as if it were a physical computer and the operation of hardware acceleration of ffmpeg decoding.
{“asfalt”:{“camera_fps”:5.0,“capture_pid”:37,“detection_fps”:0.0,“frame_info”:{“detect”:1605478179.349492,“process”:0.0},“pid”:38,“process_fps”:5.0,“skipped_fps”:0.0},“brama”:{“camera_fps”:5.2,“capture_pid”:54,“detection_fps”:13.2,“frame_info”:{“detect”:1605478179.549442,“process”:0.0},“pid”:55,“process_fps”:5.2,“skipped_fps”:0.0},“budowa”:{“camera_fps”:5.0,“capture_pid”:48,“detection_fps”:0.0,“frame_info”:{“detect”:1605478179.465885,“process”:0.0},“pid”:50,“process_fps”:5.0,“skipped_fps”:0.0},“detection_fps”:18.3,“detectors”:{“coral”:{“detection_start”:0.0,“inference_speed”:7.71,“pid”:16}},“poludnie”:{“camera_fps”:5.1,“capture_pid”:40,“detection_fps”:0.0,“frame_info”:{“detect”:1605478179.444079,“process”:0.0},“pid”:44,“process_fps”:5.1,“skipped_fps”:0.0},“stodola”:{“camera_fps”:5.0,“capture_pid”:58,“detection_fps”:0.0,“frame_info”:{“detect”:1605478179.688275,“process”:0.0},“pid”:62,“process_fps”:5.0,“skipped_fps”:0.0},“taras”:{“camera_fps”:5.0,“capture_pid”:52,“detection_fps”:5.1,“frame_info”:{“detect”:1605478179.655248,“process”:0.0},“pid”:53,“process_fps”:5.0,“skipped_fps”:0.0}}
sudo docker run --rm --name frigate --privileged --shm-size=1024m --device /dev/dri:/dev/dri -v /dev/bus/usb:/dev/bus/usb -v /home/ws/frigate/config:/config:ro -v /etc/localtime:/etc/localtime:ro -p 5000:5000 -e FONTCONFIG_PATH='/etc/fonts' -e FRIGATE_RTSP_PASSWORD='password' blakeblackshear/frigate:0.7.3-amd64
https://tinkertry.com/vmware-vsphere-esxi-7-gpu-passthrough-ui-bug-workaround The guy from the link above was doing everything right but he had some strange problem, I suspect the reason was doing everything in one go. Please restart after each step in esx settings. So we can not turn off the esx graphics card without restart, set passtrouch to enable, connect gpu to the virtual machine and usb controller. This is a job for 4x reboot esx.
on esx paste: esxcli system settings kernel set -s vga -v FALSE is only way to passtrough GPU and on virtual machine set in parameters: svga.preset = FALSE
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (4 by maintainers)
Top GitHub Comments
I can confirm the following setup is working:
ESXi 6.0U3 on Dell T3610 XEON E5-1650v2
NVIDIA K600 Passthrough
UBUNTU 20.04 with Docker 20.10.12 and Nvidia-Docker 2.8.0
NVIDIA-SMI: Driver Version: 470.86 CUDA Version: 11.4 6 CAMS connected nvdia-smi on host
nvdia-smi in container
Did you have to add anything to the VMX file for this to work? For some reason I get USB errors when using this exact same card after it runs for a bit. I verified I don’t see the same issue on my Mac, so I know it is not the cable/coral itself. Maybe the PCI-E card is bad, but it only happens when I use a USB 3.0 cable. If I use a USB 2.0 cable and force it to run at lower speeds it works fine.