WTH why no drivers for AMD or NVIDIA in HAOS

When could we have drivers for amd and Nvidia graphics cards with haos and frigate used so much now it really needs a gpu supported form haos,

It’s killing me not to have drivers, I’m running HAos, on a badass laptop, but I can’t use any of the graphics hardware for video acceleration.

You do realize that Home Assistant is a server? What graphics would benefit from a GPU? Also, the vast majority of Home Assistant users are on the Raspberry Pi, and I am unaware of any GPU support for the Pi.

Off the top of my head, I can think of local LLMs and computer vision applications like Frigate. Is AMD not supported with the standard kernel already?

I agree this is quite niche though, I would not want my 24x7 PC to have the power overhead of a CPU.

It’s a bit more involved, but you could:

  • use proxmox
  • create hass vm
  • create lxc to be a docker container host, install docker, nvidia-container-toolkit and configure it to use docker
    • use proxmox to pass GPU through to lxc so the lxc can pass the GPU through to the docker containers it will host
  • create frigate docker container and pass GPU through to it
  • configure hass to use the docker frigate container
  • use the docker lxc to create GPU accelerated docker containers for whatever you need.

This is what I do and it works great (proxmox setup, i don’t use frigate) . The biggest benefit of using LXCs is that you can share 1 physical GPU with many LXC containers at once AND then pass through the GPU to many docker containers.

If I create a VM and pass the GPU through to the VM, only the VM can use it. You could pass the GPU through to many docker containers in that VM.

1 Like