Accelerator passthrough
Find out what your machine has with dominevo host-check, then get an Intel GPU or NPU, an AMD iGPU, an NVIDIA GPU or a Coral Edge TPU (USB or PCIe/M.2) into Dominevo — Docker, Proxmox LXC, Unraid and the desktop app — and what a Coral actually buys you.
This page gets an accelerator from the host into Dominevo. Which accelerator is worth having is a separate question — see Hardware acceleration and Inference engines.
Run this first: dominevo host-check
On the machine where Dominevo will run (the Docker host, the Unraid box, inside the Proxmox CT or on the PVE host), before you install:
npx dominevo host-check # needs Node.js 24+; --json for machine-readable outputIt reads /sys, /dev and /etc only — no hub, no login, no root, nothing
sent anywhere — and prints the GPUs by vendor (Intel, AMD and NVIDIA), an NPU,
a Coral, which of them Dominevo will use, the image tag to pick (for an NVIDIA
card, nvidia-latest or nvidia-legacy-latest), and the exact lines to
paste: docker run flags, the Compose devices: block, the Unraid template
fields and the Proxmox LXC entries. It also says when a device exists on the
host but was not passed into the container or CT you ran it in, and when an
Intel CPU's iGPU is switched off in the BIOS. With an AI assistant, the MCP
tool setup_host_check gives the same report.
A desktop with a discrete card often has the Intel iGPU switched off in the BIOS. Enabling it ("iGPU Multi-Monitor" or similar) lets Dominevo decode and detect on the iGPU as well; run the check again afterwards.
What you need
Two things, always: the host driver for the device, and the device node
passed into the container. The image already carries every userspace library
it needs (Mesa VA/Vulkan on amd-*, the Intel media and NPU stack on
intel-*, libusb on both). The container's entrypoint makes every passed
accelerator node openable by the dominevo user.
| Device | Host driver | Into the container |
|---|---|---|
| Intel iGPU | i915 / xe (in the kernel) | /dev/dri |
| Intel NPU (Core Ultra) | intel_vpu (in the kernel, 6.8+) | /dev/accel |
| AMD iGPU / GPU | amdgpu (in the kernel) | /dev/dri (no /dev/kfd: the image has no ROCm runtime) |
| AMD XDNA NPU | amdxdna | /dev/accel — detected, no inference device yet |
| NVIDIA | the NVIDIA driver + NVIDIA Container Toolkit | gpus: all |
| Coral USB | none (libusb) | /dev/bus/usb + cgroup rule c 189:* rmw |
| Coral PCIe / M.2 | gasket + apex (DKMS, below) | /dev/apex_0, /dev/apex_1, … |
| Hailo | — | not supported by Dominevo |
Coral PCIe on an older image. The entrypoint makes /dev/apex_*
openable only in images released after v1.2.583. On an older image the
Coral is passed in but stays unusable (reason: device-not-accessible), and
group_add does not help — Dominevo drops supplementary groups when it
switches to its own user. Pull a newer image. If you cannot yet, mount a copy
of the image's /usr/local/bin/docker-entrypoint.sh whose device chown
loop also lists /dev/apex_*, and remove that mount when you update: a
mounted entrypoint hides every later fix to it.
Docker Compose — uncomment what you have
Docker refuses to start a container that declares a device the host does not have, so every optional device ships commented out.
services:
dominevo:
# Pick one variant (see Choosing a tag): intel-latest, intel-legacy-latest
# (Intel Gen8–Gen11), amd-latest, nvidia-latest or nvidia-legacy-latest
# (NVIDIA, see below). Do not mix vendors' tags.
image: ghcr.io/dominevo/dominevo:intel-latest
restart: unless-stopped
network_mode: host
volumes:
- ./dominevo-data:/data
# devices:
# Intel iGPU (VAAPI/QSV decode, OpenVINO GPU)
# - /dev/dri:/dev/dri
# Intel NPU (OpenVINO NPU, Core Ultra)
# - /dev/accel:/dev/accel
# AMD iGPU/GPU (VAAPI decode, ONNX WebGPU) — use the amd-latest image
# - /dev/dri:/dev/dri
# AMD XDNA NPU (detected only, no inference runtime yet)
# - /dev/accel:/dev/accel
# Coral USB — the whole bus: the Coral re-enumerates after firmware load
# - /dev/bus/usb:/dev/bus/usb
# Coral PCIe / M.2 — one line per unit; needs the host gasket/apex driver
# - /dev/apex_0:/dev/apex_0
# - /dev/apex_1:/dev/apex_1
# device_cgroup_rules:
# Coral USB: allow any USB minor (major 189) after re-enumeration
# - 'c 189:* rmw'
# NVIDIA (CUDA) — needs the NVIDIA Container Toolkit on the host
# gpus: allThe full compose file, with every other volume and variable, is on Docker Compose.
Coral PCIe / M.2: the host driver
The in-tree gasket driver is gone from current kernels; use the maintained
fork through DKMS. On a Debian or Ubuntu host:
apt-get install --no-install-recommends linux-headers-$(uname -r) dkms git build-essential
git clone https://github.com/feranick/gasket-driver.git /usr/src/gasket-1.0
cp /usr/src/gasket-1.0/debian/gasket-dkms.dkms /usr/src/gasket-1.0/dkms.conf
sed -i 's/^PACKAGE_VERSION=.*/PACKAGE_VERSION=1.0/' /usr/src/gasket-1.0/dkms.conf
dkms add -m gasket -v 1.0
dkms build -m gasket -v 1.0
dkms install -m gasket -v 1.0
groupadd -f apex
echo 'SUBSYSTEM=="apex", MODE="0660", GROUP="apex"' > /etc/udev/rules.d/65-apex.rules
reboot # load on a clean boot
ls -l /dev/apex_* # expect crw-rw---- root apexOn Proxmox VE, install proxmox-headers-$(uname -r) instead of
linux-headers-… (enable the pve-no-subscription repository first if you
have no subscription; trixie for PVE 9, bookworm for PVE 8).
With Secure Boot on, DKMS signs the module with its own key: run
mokutil --import /var/lib/dkms/mok.pub, set a one-time password, and accept
the enrolment in the blue MOK screen on the next boot. Otherwise the module
does not load.
Proxmox: two hops
On Proxmox the driver runs on the PVE host, the device node goes into the
LXC with a devN: entry, and the compose inside the CT passes it on to the
Docker container. Validated with an unprivileged CT, Docker CE and the
amd-latest image on a Ryzen 5 7640HS with two PCIe Corals.
CT=201
pct set $CT -dev0 /dev/dri/renderD128,gid=993,mode=0660 # AMD/Intel iGPU
pct set $CT -dev1 /dev/accel/accel0,gid=993,mode=0660 # Intel NPU / AMD XDNA
pct set $CT -dev2 /dev/apex_0,gid=993,mode=0660 # Coral PCIe unit 1
pct set $CT -dev3 /dev/apex_1,gid=993,mode=0660 # Coral PCIe unit 2
pct reboot $CTgid is the group id inside the CT that should own the node. Then list
the same nodes under devices: in the CT's compose, as in the Docker block
above.
-
Coral USB in an LXC needs the bus instead, because the stick comes back with a new device number (and a new id,
18d1:9302instead of1a6e:089a) the first time Dominevo uses it. Three pieces, all verified on the machine above:PVE host — the Coral writable from an unprivileged CT cat > /etc/udev/rules.d/65-coral-usb.rules <<'EOF' SUBSYSTEMS=="usb", ATTRS{idVendor}=="1a6e", ATTRS{idProduct}=="089a", MODE="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="9302", MODE="0666" EOF udevadm control --reload-rules && udevadm trigger --subsystem-match=usb/etc/pve/lxc/<CT>.conf — then pct reboot <CT> lxc.cgroup2.devices.allow: c 189:* rwm lxc.mount.entry: /dev/bus/usb dev/bus/usb none bind,optional,create=dirand in the CT's compose
- /dev/bus/usb:/dev/bus/usbundervolumes:plusdevice_cgroup_rules: ['c 189:* rmw']. The Proxmox installer does all three when it finds a Coral USB. -
NVIDIA in an LXC needs the host driver, the same driver version inside the CT, and the NVIDIA Container Toolkit.
dominevo host-checkrun on the PVE host prints thedevN:lines for the other devices. -
A carried-over entrypoint mount. If your CT's compose mounts a host copy of
docker-entrypoint.sh(some older installs did, for/dev/dri), that copy must list/dev/apex_*in its devicechownloop before a PCIe Coral opens. With a current image, do not mount an entrypoint at all.
The rest of the Proxmox install is on Proxmox.
Unraid — fill in the device fields
The official template has one field per device; enter the value for what the
box has and leave the rest empty (an empty field is not passed).
dominevo host-check run in the Unraid terminal prints the same list for your
hardware. A Coral USB on Unraid also needs the udev rule on
Unraid.
| Template field | Value |
|---|---|
| Intel/AMD iGPU | /dev/dri |
| Intel NPU / AMD XDNA | /dev/accel |
| Coral USB (whole USB bus) | /dev/bus/usb (the template's Extra Parameters already carry --device-cgroup-rule='c 189:* rmw') |
| Coral PCIe/M.2 unit 1, unit 2 | /dev/apex_0, /dev/apex_1 |
The repository tag follows the GPU: intel-latest with an Intel GPU, a Coral
or nothing; amd-latest with an AMD GPU; nvidia-latest or
nvidia-legacy-latest with an NVIDIA card (see below).
NVIDIA GPUs
The NVIDIA variants are new and in beta: they have not yet been validated on
real hardware. Use nvidia-latest for Turing or newer (RTX 20/30/40/50,
GTX 16), and nvidia-legacy-latest for Pascal or Maxwell (GTX 10 and 9). The
host needs the NVIDIA driver and the NVIDIA Container Toolkit.
services:
dominevo:
image: ghcr.io/dominevo/dominevo:nvidia-latest # or nvidia-legacy-latest
restart: unless-stopped
network_mode: host
gpus: all
environment:
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utilityWith docker run, use --gpus all (or --runtime=nvidia) and the same
NVIDIA_DRIVER_CAPABILITIES value. On Unraid, set ExtraParams to
--runtime=nvidia and add the variable NVIDIA_VISIBLE_DEVICES=all.
Intel 8th–11th gen
Intel Gen8–Gen11 iGPUs (UHD 6xx, Coffee Lake, Jasper Lake, Ice Lake) should use
intel-legacy-latest, not intel-latest. That image carries the older compute
runtime, the last one to support these chips, and has no NPU driver.
The Coral runtime (USB and PCIe)
The Edge TPU delegate is not in the image. Install it once, from inside the
container; it lands under /data/deps and survives image updates:
docker exec -u root dominevo sh /data/addons/@dominevo/addon-pipeline/python/edgetpu-install.shIt installs the LiteRT interpreter, the libedgetpu "std" delegate and a
libusb copy beside it — the delegate needs libusb even for a PCIe Coral.
The Coral is on when it is plugged in
A Coral with no stored setting is enabled. Each unit is its own device, so two
Corals are two devices (Coral Edge TPU for USB, Coral Edge TPU (PCIe) and
(PCIe 2) for the cards). Auto tune assigns YOLOv9 Small @320 (Coral) and
sizes the device from that model's speed (32 ms / 31 fps, the slowest unit
measured in 2026-10-22).
Switch a unit off under Pipeline → the node → Inference devices if you do not want it in the rotation. An explicit off stays off. What that model finds, next to a 640 detector, is on Known limits.
How to tell it is working: the node log shows EdgeTPU: delegate bound to device 'pci:0' ('pci:1' for the second unit, 'usb:0' for a USB Coral) the
first time a model loads on it.
If the node shows no Coral at all, the node log says why:
Coral Edge TPU present but unusable with reason: driver-missing (the card
is there, the host driver is not loaded) or reason: device-not-accessible
(the driver is loaded, but /dev/apex_N is not passed in or not openable —
see the older-image note above).
What a Coral buys you
Measured on a Ryzen 5 7640HS (Zen4) with two PCIe Corals and a Coral USB on the same node: warm per-step latency, including pre- and post-processing, one request at a time, while the node served its live cameras.
| Model | Coral PCIe | Coral USB |
|---|---|---|
| YOLOv9-s @320 for the Edge TPU | 23–29 ms | 32 ms |
| YOLOv9-s @512 for the Edge TPU | 54–62 ms | 67 ms |
| SSD MobileNet V2 (COCO) | 14–18 ms | 20 ms |
| Bird classifier | 9–10 ms | — |
| YuNet face detection | 22–29 ms | — |
| YOLOX-tiny plate detection | ~61 ms | — |
A Coral takes the work off the CPU, which pays off most on a weak CPU or on a node whose CPU is already busy with decode. A USB Coral costs 10–40 % more than a PCIe one: the frames travel over USB.
Which detector on a Coral. The default is YOLOv9 Small @320 (Coral). YOLOv9 Small @512 (Coral) and SSD MobileNet V2 are in the catalog too, and you can pick any of them per node in Model Studio; a node that already has one pinned keeps it. The YOLOv9 builds know 17 COCO classes (people, vehicles, common animals), not the full set of the YOLOv9 models the other accelerators run, and their weights are GPL-3.0 (a fine-tune of the original YOLOv9 by Chien-Yao Wang et al.); Dominevo hosts an unchanged copy with its source.
Speed is not accuracy. We ran the three Coral detectors over 91 hard frames from 18 real cameras (134 boxed people, animals and vehicles, many at night or far away), on the same Coral PCIe, with the confidence floor lowered to 0.3. "Full frame" feeds the whole frame to the detector; "region crop" is an upper bound where one 320 or 512 crop is centred on each subject, as a detection region would do.
| Detector (Coral PCIe) | Full frame: found of 134 | Full frame: small subjects (< 1 % of the frame) of 57 | Region crop: found of 134 | Region crop: small subjects of 57 |
|---|---|---|---|---|
| YOLOv9 Small @512 | 50 | 12 | 81 | 40 |
| YOLOv9 Small @320 (default) | 29 | 2 | 92 | 43 |
| SSD MobileNet V2 | 18 | 2 | 91 | 35 |
- YOLOv9 Small is never worse than SSD on the same Coral, which is why @320 is the default: it is about twice as fast as @512 and the best of the three once the detector is given a region instead of the whole frame.
- Small subjects are lost on the full frame. At 320² a 16:9 frame is 320×180 pixels of content: a person across the yard is a handful of pixels. The 512 build keeps more of them, at twice the latency.
- Their scores are lower than the larger YOLOv9 models (median 0.48–0.61), so the Coral YOLOv9 builds ship with their own, lower confidence floors (person and vehicle 0.4, animal 0.3) rather than the global 0.65.
- What they find, they find well: a matched box overlaps the reference box at a median IoU of 0.90 — the gap is subjects missed, not boxes misplaced.
These are relative numbers on a deliberately hard set, not the miss rate of a typical camera.
The desktop app
The desktop app stages its own Python and installs the LiteRT package when it finds a Coral, but it does not download the Edge TPU delegate yet.
| OS | Coral USB | Coral PCIe / M.2 |
|---|---|---|
| Linux | yes, after running edgetpu-install.sh against the app's data folder and setting DOMINEVO_EDGETPU_LIB to the installed libedgetpu.so.1 | yes, the same, plus the host driver above and /dev/apex_N readable and writable by your user (the apex group) |
| macOS | not wired yet | no — there is no apex driver for macOS |
| Windows | no — no compatible Edge TPU delegate exists for Windows | no |
On Linux the desktop app runs the same inference pool as the container, so the numbers above apply.
Then
- Inference engines — how Dominevo picks an engine and spreads cameras across devices.
- Known limits — camera counts and the Coral quality bar.
- Example setups — where a Coral belongs in a real install.
- Benchmark — measure your own machine before buying anything.
Proxmox (AMD and Intel)
Run Dominevo in an unprivileged LXC on Proxmox VE, with the right image tag and device passthrough for VAAPI and accelerators.
Mac (desktop app)
Run Dominevo on a Mac with the desktop app, as the hub or as an agent, with detection on the Apple Neural Engine. Install, first run, updates, where your data lives, and how to remove it.