Replies: 4 comments 3 replies
-
|
Hi @McPaHa, based on the title did you want this to be deleted? If not, I'll take a look. I'm not sure I understand the premise here though; we don't have support for the Coral accelerator as far as I know, and gfx1035 doesn't have support in our mainline ROCm releases so I doubt the base Docker image has a compatible ROCm installed. Can you clarify what you want/need here and what seems to be blocking you? |
Beta Was this translation helpful? Give feedback.
-
|
You can delete this thread. Basically I have 680M gpu and struggling with this. Cannot find combination which doesn't crash my server. Tried both Debian and Ubuntu. One of the main prupose for home server is Frigate NVR but I put this question totally wrong place. However ROCm support for 680M would be nice. Anyway. If you can guide me to the correct direction for getting my server working, it would be nice ;) |
Beta Was this translation helpful? Give feedback.
-
|
Are there specific errors you're running into when trying to use ROCm? If so, could you provide the error output? We don't have mainline support for the 680M, but I've seen some reports of users having success in the past with Regarding the docker-compose settings, not sure if any of these will help without seeing an error log but generally I run containers with |
Beta Was this translation helpful? Give feedback.
-
|
Hi! There is no specific erros. Computer is lagging first like a h....ll and then it craches (or get stuck). Only way to manage this is with reboot. Sorry - linux noob ;) Need help with where to put this: "HSA_OVERRIDE_GFX_VERSION=10.3.0" Docker part I do understand. However, this is not ROCm related as far as I understand. Even if I am using Frigate NVR (non ROCm) version it is doing the same whenever Debian (or Ubuntu) is starting to use HW acceleration one way or other. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Just bought new Debian machine.
and HA, Frigate, Teslamate use pc Beelink EGR6.
Machine's hardware details can be found in the file: hw.txt
I'm using a Coral USB accelerator, but of course, I also want to get hardware acceleration working. How can I get it to work on this AMD machine?
hw.txt
Docker-compose file now:
`version: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable-rocm
shm_size: '512mb' # update for your cameras based on calculation
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri/renderD128:/dev/dri/renderD128 # Pääsy AMD:n iGPU:lle
- /dev/dri # AMD/ROCm GPU detector
- /dev/kfd # AMD/ROCm GPU detector
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/ubupaha/config.yml:/config/config.yml # modify to match your setup
- /home/ubupaha/frigate:/media/frigate
- /home/ubupaha/frigate:/db # modify to match your setup
ports:
- '5000:5000'
- '8554:8554'
- '8555:8555/udp'
- '8555:8555/tcp'
`
Relevant config.yml:
`mqtt:
host: 192.168.1.60
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt
password: xxxx
detectors:
coral:
type: edgetpu
device: usb
birdseye:
enabled: true
width: 1280
height: 720
quality: 8
mode: motion
ffmpeg:
hwaccel_args: preset-vaapi
ui:
time_format: 24hour
date_style: short
record:
enabled: true
retain:
days: 10
alerts:
retain:
days: 21
detections:
retain:
days: 21
snapshots:
enabled: true
bounding_box: true
crop: false
retain:
default: 21
objects:
track:
- person
- dog
- cat
- car
- motorcycle
- boat
go2rtc:
streams:
paaty:
- rtsp://admin:xxxx@192.168.1.67:554/Streaming/channels/101
etupiha:
- rtsp://admin:xxxx@192.168.1.79:554/cam/realmonitor?channel=1&subtype=0
takapiha:
- rtsp://admin:xxxx@192.168.1.65:554/cam/realmonitor?channel=1&subtype=0
takapiha2:
- rtsp://admin:xxxx@192.168.1.66:554/cam/realmonitor?channel=1&subtype=0
mokkitie:
- rtsp://admin:xxxx@mcmokkixxx:1111/cam/realmonitor?channel=1&subtype=0
jarvenpuoli:
- rtsp://admin:xxxx@mcmokki.xxx:554/cam/realmonitor?channel=1&subtype=0
mokkisisa:
- rtsp://root:xxxx@mcmokki.xxx:8554/unicast
eteinen:
- ffmpeg:rtsp://mckoti:xxxx@192.168.1.50:554/stream1
cameras:
paaty:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/paaty
input_args: preset-rtsp-restream
roles:
- detect
- record
output_args:
record: preset-record-generic-audio-copy
and so on....
`
ubupaha@HA:~$ sudo docker exec -it frigate /bin/bash -c '(unset HSA_OVERRIDE_GFX_VERSION && /opt/rocm/bin/rocminfo |grep gfx)' Name: gfx1035 Name: amdgcn-amd-amdhsa--gfx1035So... what is your suggestion what I have to fix?
Beta Was this translation helpful? Give feedback.
All reactions