proxmox
Proxmox (Remote Gaming!) – Hardware Passthrough (IOMMU) Como
Proxmox (Remote Gaming!) – Hardware Passthrough (IOMMU) Como Ativar Corretamente Sua GPU.
#Proxmox #Remote #Gaming #Hardware #Passthrough #IOMMU #Como
“Facillitytec Soluções em Informática”
In this tutorial we will virtualize Windows 10 in Peoxmox for remote gaming and pass your GPU to a virtual machine? Do you want to use GPU acceleration for Games or Adobe After Effects, Premiere or Plex? Do you dream of setting up Steam Link or Remote Play In Home Streaming and…
source
To see the full content, share this page by clicking one of the buttons below |
Ajustes =====>
1) BIOS: UEFI, VT-d (Intel) ou AMD-Vi , Multi-monitor mode
2) Comandos
Edit GRUB
nano /etc/default/grub
Change this line from
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Para Intel:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
Para AMD:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
Salvar arquivo e update grub ( Ctrl + X = Y para Salvar )
update-grub
Reiniciar ( reboot )
Editar arquivo de modulos
nano /etc/modules
Adicionar as Linhas
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Salvar E Reiniciar ( reboot )
IOMMU Remapping
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
Blacklist the GPU drivers (this will kkeep the host system from trying to use the new GPU)
nano /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
Salvar
Adding GPU to VFIO
lspci -v
Procure o Endereço da sua Gpu Principal
Rodar o Comando
lspci -n -s 01:00
Pegar o numero do ID e Fabricante
Editar arquivo
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67ef,1002:aae0,8086:a36d disable_vga=1
Rodar o comando
update-initramfs -u
Reiniciar o servidor. ( reboot )
Verificar se Abilitou o IOMMU
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
————————-
Fontes:
Link 1) https://pve.proxmox.com/wiki/PCI(e)_Passthrough
Link 2) https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
Link 3) https://store.steampowered.com/remoteplay
Link 4) https://store.steampowered.com/app/353380/Steam_Link/
Ótimo vídeo, muito bem explicado. Com a documentação, ficou ainda melhor, kkk. Só me tira uma dúvida: fazendo esse procedimento, em vez de acessar a VM por RDP, é possível colocar o cabo HDMI na placa de vídeo e acessar a imagem diretamente pelo monitor?