Virt-manager gpu passthrough, passthrough issues

I am having issues stubbing and using the secondary GPU in my machine. I had done the
ls-iommu -grk
ls-iommu -grk
command to grab the iommu group ID, which ended up being "0000:01:00.0" so I ran
rpm-ostree kargs --append-if-missing="vfio_pci.ids=0000:01:00.0"
rpm-ostree kargs --append-if-missing="vfio_pci.ids=0000:01:00.0"
as instructed by the ujust-virtualization command. I don't know if that's the right ID, as it was much different format than the command suggested. I also can't seem to use that GPU for OpenGL, only it seems to cause graphical errors on the VM screen. Does it matter if the secondary GPU is in the top slot? I have my main GPU in the second slot since it is much bigger and doesn't fit with the mobo up top. SPECS: secondary: GTX 1060 6gb mobo: msi x670 e godlike main: RX 7900XTX CPU: AMD 7950x Any help would be appreciated.
Solution:
I managed to fix OpenGL by disabling the basic microsoft display adapter
Jump to solution
4 Replies
Nix Eyes
Nix EyesOPthis hour
I correct the kargs to
rpm-ostree kargs --append-if-missing="vfio_pci.ids=10de:1c03,10de:10f1"
rpm-ostree kargs --append-if-missing="vfio_pci.ids=10de:1c03,10de:10f1"
and now it no longer shows in available render options in opengl under spice display and it shows vm on monitor when plugged however never goes past tiano core screen when booting the vm on the monitor but the vm window boots fine
Nix Eyes
Nix EyesOPthis hour
No description
Nix Eyes
Nix EyesOPthis hour
I was able to confirm passthrough was working setup drivers in the vm but having issues with opengl
No description
Solution
Nix Eyes
Nix Eyes22h ago
I managed to fix OpenGL by disabling the basic microsoft display adapter

Did you find this page helpful?