initial
This commit is contained in:
22
gpu passthrough on linux.md
Normal file
22
gpu passthrough on linux.md
Normal file
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user