Hello Proxmox Community,
I am currently working on a project where I need to passthrough a GPU to an LXC container on a Proxmox host. I have successfully followed the steps outlined in this guide: Nvidia GPU Passthrough to LXC Container in Proxmox, and the GPU is now accessible within my container. However, I've encountered an issue that I'm struggling to resolve on my own.
Current Situation:
I am currently working on a project where I need to passthrough a GPU to an LXC container on a Proxmox host. I have successfully followed the steps outlined in this guide: Nvidia GPU Passthrough to LXC Container in Proxmox, and the GPU is now accessible within my container. However, I've encountered an issue that I'm struggling to resolve on my own.
Current Situation:
- I've successfully passed the GPU through to the LXC container.
- The GPU functions in the container, but the Proxmox host system still uses the same GPU for console output.
- I aim to achieve a setup where the GPU output switches between the Proxmox host and the LXC container. Similar to how it works with GPU passthrough to a VM, where the host stops using the GPU when the VM is active.
- I need the Proxmox host to stop outputting to the GPU when the container is running, allowing the container to take over the GPU output.
- Additionally, I plan to use the container in a graphical mode in the future, which makes resolving this issue even more essential.
- Is there a way to configure Proxmox and the LXC container to achieve this kind of output switching, especially for graphical use?
- What settings or configuration changes are needed for the host to completely relinquish GPU usage when the container is active?
- Has anyone tackled a similar challenge or can offer any solutions?
Last edited: