Howto gpu passthrough: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
for amd:
for amd:
  GRUB_CMDLINE_LINUX_DEFAULT="quiet ... amd_iommu=on"
  GRUB_CMDLINE_LINUX_DEFAULT="quiet ... amd_iommu=on"
re-configure your grub:
re-configure your grub:
  grub-mkconfig -o /boot/grub/grub.cfg
  grub-mkconfig -o /boot/grub/grub.cfg
= isolating gpu =
find the device id of the gpu:
lspci -nn

Revision as of 23:34, 3 March 2023

configure grub

add the following to /etc/default/grub:

for intel:

GRUB_CMDLINE_LINUX_DEFAULT="quiet ... intel_iommu=on"

for amd:

GRUB_CMDLINE_LINUX_DEFAULT="quiet ... amd_iommu=on"

re-configure your grub:

grub-mkconfig -o /boot/grub/grub.cfg

isolating gpu

find the device id of the gpu:

lspci -nn