Hi. As I’m trying to revise my setup, I seek for advice if what I’m looking for is feasible.
My environment is:
- host HW is RaspberryPi 4 8GB
- host OS is Ubuntu Server 22.10 64-bit (X11 server is currently here altogether with PulseAudio)
- one non-privileged “GUI” container for wchich I require graphics acceleration for RPi VideoCore4/vc4 (mesa, vulkan) though apps themselves are GPU-lightweight - RetroPie, Project OutFox (former StepMania).
- non-GUI containers
I want to rework my setup and make host OS as light as possible. Thus I think of pushing all X11, mesa/vulkan/vc4 drivers into a container and also to get rid of PulseAudio on both host and container (and work with ALSA directly).
My main question is: Is it possible to keep host OS clean from graphic acceleration assets (mesa, vulkan, …) and X11 components?
Will I hit any obvious issues/limitations, like, maybe, ones relevant to non-privileged class of my GUI container?
If it’s not possible to get rid of it completely, what’s the bare minimum I have to keep on host OS?
Minor question: if the above is doable, can I switch to Ubuntu Core as host OS for such LXD setup?
Are there any limitations of Ubuntu Core’s LXD that are relevant to audio/GUI part? It is mentioned that GUI snaps are supposed to be based on Wayland, but I suppose it doesn’t affect me, as my GUI apps will be hidden within LXD.