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
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"
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
Was this page helpful?