Open matt2005 opened 1 year ago
I got the sound working in the end. I had to add the following to the docker compose
- '/dev/null:/etc/asound.conf:ro'
So the file extract now looks like this
rpi-kodi:
#platform: linux/armhf
profiles: ["mediacentre"]
image: rimago/rpi-kodi:latest
container_name: "kodi"
user: kodi
network_mode: host
restart: unless-stopped
privileged: true
devices:
- /dev/fb0:/dev/fb0 # HDMI
- /dev/vchiq:/dev/vchiq #HDMI CEC
- /dev/snd:/dev/snd # Sound over HDMI
- /dev/vcio:/dev/vcio
- /dev/vcsm-cma:/dev/vcsm-cma
- /dev/dma_heap:/dev/dma_heap
- /dev/dri:/dev/dri
volumes:
- /home/pi/mount/kodi/home:/home/kodi
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
- '/var/run/dbus:/var/run/dbus'
# - "/opt/vc:/opt/vc"
- '/dev/null:/etc/asound.conf:ro'
tmpfs:
- /tmp
environment:
- PULSE_SERVER=192.168.1.113
- LD_LIBRARY_PATH=/opt/vc/lib
# - DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
hi,
i updated from buster to bullseye and pulled the latest container image. the audio devices don't show and the config page takes +10secs to open.
below is docker compose extract
/boot/config.txt
/boot/cmdline.txt
kodi.log