Issue with HWaccel #5720
-
Hi I have searched here (and everywhere else it seems) and I can't get any further. I keep getting "Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found" My Frigate image: ghcr.io/blakeblackshear/frigate:dev-4dc6c93-tensorrt Command "lspci -v" gives docker-compose.yaml: version: '3.9'
services:
frigate:
container_name: Myfrigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:dev-4dc6c93-tensorrt
shm_size: "64mb"
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/askpet/Docker/Frigate/frigate.yml:/config/config.yml:ro
- /home/askpet/Docker/Frigate/media:/media/frigate
- type: tmpfs # Optional: 1GB of mem~Docory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "1935:1935" # RTMP feeds
environment:
FRIGATE_RTSP_PASSWORD: "foo_foo" the hwaccel command in frigate.yml It seems as if my docker container does not have access to the GPU - but I am lost. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
If you don't have an nvidia GPU, there is no reason to use the What do you see when you run If frigate runs with the |
Beta Was this translation helpful? Give feedback.
-
Problem solved |
Beta Was this translation helpful? Give feedback.
If you don't have an nvidia GPU, there is no reason to use the
tensorrt
version.What do you see when you run
ls -lah /dev/dri/
on your host?If frigate runs with the
hwaccel_args
that you have specified, then it is using the GPU. It's just the stats around GPU usage that can't be found.