[Config Support]: Wanted to upgrade from 14 to 15 and migrate from LXC to Docker. No detectors work #16656
Replies: 3 comments
-
While some users have found success, Proxmox is an unsupported installation method. See the official docs for suggestions: https://docs.frigate.video/frigate/installation#proxmox Also, see this comment from a user: #15644 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
I've had success running Frigate on proxmox as follows:
I wonder if OpenVino actually requires the GPU? It was a bit fiddly getting the USB connected Coral and the GPU mapped through to the Docker container, but once it's working, it is stable and I had no problems upgrading to 0.15.0. Once you have the GPU mapped through to the docker container - try it again? I had to install the usbutils in the LXC hosting docker and the proxmox host from memory ("apt install usbutils") so that I could see which bus the Coral device was on and debug things. The following posts were helpful: https://community.home-assistant.io/t/google-coral-usb-frigate-proxmox/383737 Doing an "lspcu -nnv | grep VGA" was useful for seeing how Proxmox saw the GPU. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the resources Shred99. the HA one is far too old to shed and light on my particular situation, however, this did give me motivation to try again. Which was worthwhile as i got it working finally. So my issue was as follows. Proxmox host detected the Coral as the generic
The docker LXC detected the same
However when lsusb was run on the frigate docker container it returned the following
I read on another post that the Coral needed to go through an initialization process before it would be detected and could be used by frigate. Attempting to simply follow the setup and test instructions here https://coral.ai/docs/accelerator/get-started/ doesnt work as all the dependencies are outdated and no long installable by the pycoral command. in order to get pycroal installed i had to run the pip install commands as referenced here google-coral/edgetpu#771 (comment) I also had to manually install Pillow and Numby as referenced at these 2 websites
https://stackoverflow.com/questions/8863917/importerror-no-module-named-pil only then was i able to run the command to test the Coral
once this ran running the command lsusb FINALLY reported the initialized Coral (both in the proxmox host AND the docker LXC)
I updated the Frigate config to use the Coral TPU as a detector and it picked it up and used it straight away The Coral-ai "getting started" page needs an update. but i read in my travels that google doesnt seem to be reposive to those requests as the board is no longer in development? anyway. thanks again. i hope the above helps someone in the future |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
My version 14 of frigate was working fine using the IGPU on my proxmox system via the frigate LXC script. I wanted to upgrade to 15 but the LXC required a fresh install, however this has not been updated. I decided to migrate to a docker VM, I firstly started with the Docker LXC, but this couldn't use my iGPU is it simply wasn't detected and wasn't passed from the host to the LXC (even though it worked fine with the frigate LXC) however with the docker LXC at least the CPU detection worked (as the config below is currently set)
So then I tried to install a full docker VM from the tteck script repository. This all went fine, I migrated my config, however when the system started it kept crashing complaining about a detector not been found. I'm simply using the open vino and CPU detection method which is worked in the past on exactly the same hardware, but now frigate is stuck in a boot loop. I don't understand why the open vino using CPU no longer works.
Can someone point me in the right direction
Version
0.15.0-cea210d
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Proxmox
Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
OpenVino
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
Proxmox Host --> Docker VM (https://community-scripts.github.io/ProxmoxVE/scripts?id=docker-vm) --> Portainer 2.21.5
Beta Was this translation helpful? Give feedback.
All reactions