Renamed linux to Linux.
This commit is contained in:
28
Linux/gpu passthrough.md
Normal file
28
Linux/gpu passthrough.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
## Find GPU IDs
|
||||
|
||||
```bash
|
||||
lspci -nn | grep -E "VGA|Audio"
|
||||
```
|
||||
Reference in New Issue
Block a user