flatline69
Dabbler
- Joined
- Jan 30, 2021
- Messages
- 29
@flatline69 when a GPU is added for passthrough, that will result in host not seeing it which is desired as otherwise GPU passthrough wouldn't be possible. About cuda errors, i am not sure how you are accessing it, but nothing should change and it should work just fine. If you are able to reproduce this with a clean slate on latest nightlies, please let me know and i can debug/fix as required. ( Please don't alter system state via CLI as that can potentially change system state and how middleware/system expects it to be which can result in other various issues, so during these tests, kindly avoid that so we know for sure that something is wrong with this workflow )
When I did the GPU passthrough, the host could not see the GPU (via nvidia-smi) and neither could the container (in fact, it refused to start because of this.) When I undid the change via CLI then the host/container could see it but I was back to CUDA initialization errors that I had pre-apt-package install (which originally fixed the issue for me.)