Open netbrain opened 1 month ago
At the moment it checks if you have an NVidia driver installed then uses that, else it just uses /dev/dri. So skipping hte Nvidia card is easy by variable then selecting the dri card could be done maybe with switcheroo (in the container?)
Maybe install switcheroo in the container and see if it can be used to select the GPU with everything passed through.
NVidia drivers on linux are still not great and not good under wayland yet although better.
NixOs nvidia-container-toolkit have been broken for some time now, atleast on my machine.
So when running zwift i get
However as i have a laptop with dual video cards (nvidia/intel) if i run the docker command without the --gpus=all it will choose to run on my intel card instead, and work just fine albeit with less framerate.
So this got me thinking, maybe we should provide a way to choose which graphics system to try to run the container with?
WDYT @sHedC ?