diff --git a/gpu passthrough on linux.md b/gpu passthrough on linux.md new file mode 100644 index 0000000..5d95cfc --- /dev/null +++ b/gpu passthrough on linux.md @@ -0,0 +1,22 @@ +# GPU Passthrough on Linux + +## Enable IOMMU + +```bash +sudo vim /etc/default/grub +``` + +Add amd_iommu=on iommu=pt + +`GRUB_CMDLINE_LINUX_DEFAULT="... amd_iommu=on iommu=pt"` + +```bash +sudo grub-mkconfig -o /boot/grub/grub.cfg +sudo reboot +``` + +Verify + +```bash +sudo dmesg | grep -i iommu +```