I've been trying to add an Intel Arc A310 GPU to my Plex container that already has an NVIDIA RTX 1660 Super working without issues. However, recently, I decided to remove all references to the NVIDIA GPU for troubleshooting because I'm having constant issues with the Arc GPU. The strange part is, even after trying to remove the RTX GPU, it still shows up in my Plex server whenever I restart the container.
I added "/dev/dri" to include the Intel GPU, and I deleted the runtime: nvidia line along with the environment variables for NVIDIA_VISIBLE_DEVICES and NVIDIA_DRIVER_CAPABILITIES. Despite all this, the NVIDIA GPU is still the only one visible in my Plex container.
I also attempted to change GPUs for my Immich and Tdarr containers, but they still only recognize the RTX GPU, not the A310. Just to clarify, my host system is Debian 12, and I can see the Intel GPU listed without issues using hwinfo, systemctl, and renderD128 alongside card0 and card1 in /dev/dri. What am I missing?
3 Answers
It sounds like you're running into issues with how Docker handles GPU passthrough. If you're using NVIDIA-specific container options, it might be forcing the container to use the NVIDIA GPU regardless of your changes. Make sure to fully remove any NVIDIA flags from your Docker run command or configuration and try again. If it still shows the NVIDIA GPU, consider double-checking your container settings to confirm they've been saved correctly.
Just a heads-up: Intel GPUs can have compatibility issues with some Docker setups, especially if you're on Debian. Since you're able to see the Intel GPU with hwinfo, I’d suggest clearing your Docker cache and images related to the Plex container, as there may be cached settings forcing it to recognize the NVIDIA GPU. Also, check your Docker logs for any errors that might give more clues.
Have you checked if other container configurations might be affecting your GPU visibility? Sometimes, if there are leftover configurations or mounts, they can prevent new changes from taking effect. It could be worth recreating the Plex container from scratch as a last resort, just to see if that clears things up.
Thanks for the suggestion! I might just give that a shot if I can't figure this out.

I had the same problem before. Sometimes even after removal, changes don’t take effect until a complete restart of the Docker service. It might be worth giving that a try.