[SOLVED] How can I add blacklist only one GPU of two nvidia GPU ?

latixia

Active Member
Jul 22, 2019
10
0
41
37
My system has two graphics cards.
Two GeForce graphics cards.
I want to add only one device to the blacklist.
One graphics card should be used by the host system. For Lxc.
But when I add nvidia to the blacklist, both devices get registered.
Is there a way to blacklist only one device?
 
My system has two graphics cards.
Two GeForce graphics cards.
I want to add only one device to the blacklist.
One graphics card should be used by the host system. For Lxc.
But when I add nvidia to the blacklist, both devices get registered.
Is there a way to blacklist only one device?
Hi,
if you add the nvidia kernel module to the blacklist, this will not work.
Instead, you can try to load pci-stub for the gpu you want to passthrough, see for example https://forums.centos.org/viewtopic.php?t=60531
 
  • Like
Reactions: logiczny