Execute:
nano /etc/default/grub
Change this line from GRUB_CMDLINE_LINUX_DEFAULT="quiet" to this
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
or this iGPU & CPU
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on i915.enable_gvt=1 iommu=pt pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu"
or this nvidia ok si defaut avec les autre equipement cette commande fonctionne
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction"
Save file and exit the text editor
Execute the command:
update-grub
Execute:
nano /etc/modules
Add these lines:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Save file and exit the text editor
a) Execute:
nano /etc/modprobe.d/iommu_unsafe_interrupts.conf
Add this line:
options vfio_iommu_type1 allow_unsafe_interrupts=1
Save file and exit the text editor
b) Execute:
nano /etc/modprobe.d/kvm.conf
Add this line:
options kvm ignore_msrs=1
Save file and exit the text editor
Execute:
nano /etc/modprobe.d/blacklist.conf
Add these lines:
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
Pour IGPU ajouter dans le balcklist 👇
blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
blacklist snd_hda_core
blacklist amdgpu
#blacklist i915
#blacklist Kvmgt
Save file and exit the text editor
##Step 6: Adding GPU to VFIO
a) Execute:
lspci -v
Look for your GPU and take note of the first set of numbers
b) Execute:
lspci -n -s (PCI card address)
This command gives you the GPU vendors number. Or Execute:
lspci -nnk | grep -A 3 -i vga
c) Execute:
nano /etc/modprobe.d/vfio.conf
Add this line with your GPU number and Audio number:
options vfio-pci ids=(GPU number,Audio number,iGPU) disable_vga=1
Save file and exit the text editor
a) Execute:
update-initramfs -u
b) Then restart the your Proxmox Node
sudo apt update && sudo apt install qemu-guest-agent -y && sudo systemctl enable qemu-guest-agent && sudo systemctl start qemu-guest-agent
Boot sur l'iso ubuntu "essayer" puis lancer le terminal
Puis
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update && sudo apt install -y boot-repair
Ensuite
boot-repair
Pour debian
nano /etc/network/interfaces
Pour ubuntu
nano /etc/netplan/*.yaml
sudo reboot