Configuring GPU Pass-Through for AMD cards on openSUSE Kalpa
Prerequisites You need an additional display card on the host (eg. 1 igpu + 1 dedicate gpu or 2 dedicate gpu). GPU pass-through is supported on the AMD64/Intel 64 architecture only. Configuring the...

Source: DEV Community
Prerequisites You need an additional display card on the host (eg. 1 igpu + 1 dedicate gpu or 2 dedicate gpu). GPU pass-through is supported on the AMD64/Intel 64 architecture only. Configuring the host Verify the host environment Verify that the host support VT-d technology and that it is already enabled in the firmware settings: # dmesg | grep -e "Directed I/O" [ 0.283295] [ T1] DMAR: Intel(R) Virtualization Technology for Directed I/O Enable IOMMU IOMMU is disabled by default. You need to enable it at boot time in the /etc/kernel/cmdline configuration file. 1) For Intel CPU add this line to file: intel_iommu=on iommu=pt rd.driver.pre=vfio-pci 2) For AMD CPU add this line instead: amd_iommu=on iommu=pt rd.driver.pre=vfio-pci 3) Finally, when you cat the file, you will see content like this: # cat /etc/kernel/cmdline root=/dev/nvme0n1p2 splash=silent swapaccount=1 systemd.show_status=1 mitigations=auto quiet security=selinux selinux=1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci Con