Google Coral and ESXI 7

@Tiernan23 could you confirm the version of ESXI 7 you were using - so far i have tried 7.0U3g and 7.0U1c and both of them are behaving the same as ESXI 8 (USB disappearing)

I was using 7.0U1c as it is the first version to support systemMediaSize=min (so i can install direct to SSD instead of running off USB like i used to)

@Kingy444 My ESXI version is VMware ESXi, 7.0.3, 20036589. Have you enabled passthrough for your usb host controllers to the Virtual Machine ? If you have any other USB devices plugged into this esxi host then it will get picked up by your Virtual Machine.

This is a picture of my virtual machine with the USB controllers attached.

Hi Tiernan23, i have flashed the Coral USB using another linux computer but upon unplugging it will revert back to globalchip. Did you flash the Coral USB from within the Esxi?

I have also tried disabling vmkusb but then the add USB Device is missing. I also couldnā€™t find any usb host controller on the host so that i can enable passthrough.

Any advise will be appreciated. Thank you.

Hi Reesion,

My Coral is connected to a ubuntu vm running in esxi which i flash the coral usb.
This ubuntu vm then runs frigate.

I disabled vmkusb and then i passed through the usb controller like the picture in my previous comment.
This effectively passes all the usb devices on that host to that linux machine.
Just note this will pass through any other usbā€™s you have connected to this virtual machine.

Hope this helps

Iā€™m having similar issues but with exsi 8. Frigate comes bundled with, I guess, the drivers for Coral USB because it detects the coral and changes the vendor ID once you run frigate. My issue is that processing is very slow even the though inference is 20 on a usb 3.1 my cpu with an inference of ~400 will do a better job of detecting on an 8 camera system. Is it just exsi?

1 Like

I didnā€™t know it was possible to love ESXI :slight_smile:

You actually helped me when you stated that Frigate came with the drivers etc. I forgot to uncheck protection mode in Frigate full access but noticed when I went to restart the addon. Inference speed is 17 ms but CPU usage is low and that is my main concern as Blue Iris was maxing that out all the time with DeepStack.
Now Iā€™m getting ā€œerror transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1ā€ on the VM log every few seconds. Also ā€œINFO : Detection appears to be stuck. Restarting detection processā€¦
INFO : Waiting for detection process to exit gracefullyā€¦ā€ in the Frigate log and also hearing the ā€œdingā€ the computer makes when a USB device is plugged/unplugged like itā€™s disconnecting the Coral for a split second every few minutes (on average). But at least VM sees the Coral as a Google device and so does Frigate. Maybe a USB bus problem? Will try different locations???

Guys, also started with Frigate, iā€™m runnin an HP Microserver Gen 8, with Xeox 1265cpu (no quicksync)

As you can see in sceenshot, i have already an USB Host controller in passtrough to HassOS, its used for an USB Canable, this controller has 2 ports, so 1 extra free port for maybe a coral

Only with 1 camera added to Frigate, and my cpu was acting 10-20% more

WIll an google coral help me? is it sufficiant to buy the USB version?

Iā€™m new to coral, will it work on my ESX , it still runs 6.7

thnx for feedback

image

Hey All,

I tried esx8 again and i had the same issue with the USB dying after 1-2 days and having to be unplugged/replugged in.
I was using the method from this site ā€¦

I attempted to get this working again with esx 8 but unfortunately no luck as there is no way to pass through the usb controller and get the coral AI device showing up on the VM.

I have a temporary work around but it requires another device that is always switched on.
Download this application https://www.virtualhere.com/
Get the server edition for the usb and the client edition for the vm.

1. start the server edition (i had issues with usb 3.1 so had to use usb 3.0 port)
2. start the client edition
3. ./vhclientx86_64 -t list   (this should show the devices.. you should see  --> 0x089a hostname.1)
4. ./vhclientx86_64 -t use,hostname.1 (where hostname is your computer name and the usb address)
5. use the coral software https://github.com/google-coral/webcoral with make reset
6. ./vhclientx86_64 -t "STOP USING ALL LOCAL"
7. Run step 3 and 4 again but you should see --> 0x9302.. 
8. lsusb should now show Google Inc.

The inference speed is a little slower unfortunately ā€¦ it went from 10ms to 25 msā€¦ which isnā€™t too bad for sharing over the network.

@pergola.fabio The Coral is great to use if you have alot of motion on your camera, It will take a big load off the cpu for this (but the CPU still does a little detection before it passes it off to the coral)

1 Like

For anyone still wondering about ESX8 i managed to get it working with buying another USB 3 PCI-E card. No changes required from the ESX side.

Just passthrough the PCI-E USB controller to your VM and your good to go.