Hello ,
I have proxmox latest installed on amd Ryzen 4650g with built in Readon VGA
I try VGA Passthrough with : https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
but allows vm not start with error :
my configuration :
grub
`GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"`
------------------------
cat /etc/modules
```
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
```
------------
- cat /etc/modprobe.d/kvm.conf
`options kvm ignore_msrs=1`
--------------------------------
- cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
`options vfio_iommu_type1 allow_unsafe_interrupts=1`
----------------------------
- /etc/modprobe.d/blacklist.conf
```
blacklist radeon
blacklist nouveau
blacklist nvidia
```
--------------------------------------
- lspci -v
```
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: ccp
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller (rev ff) (prog-if ff)
DeviceName: Realtek ALC1220
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
```
--------------
- lspci -n -s 06:00
```
06:00.0 0300: 1002:1636 (rev ff)
06:00.1 0403: 1002:1637 (rev ff)
06:00.2 1080: 1022:15df (rev ff)
06:00.3 0c03: 1022:1639 (rev ff)
06:00.4 0c03: 1022:1639 (rev ff)
06:00.6 0403: 1022:15e3 (rev ff)
```
-----------------
- /etc/modprobe.d/vfio.conf
`options vfio-pci ids=1002:1636,1002:1637,1022:15df,1022:1639,1022:1639,1022:15e3 disable_vga=1`
----------------------------
I have proxmox latest installed on amd Ryzen 4650g with built in Readon VGA
I try VGA Passthrough with : https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
but allows vm not start with error :
kvm: -device vfio-pci,host=0000:06:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-vga=on,multifunction=on: vfio 0000:06:00.0: failed getting region info for VGA region index 8: Invalid argument
device does not support requested feature x-vga
TASK ERROR: start failed: QEMU exited with code 1
my configuration :
grub
`GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"`
------------------------
cat /etc/modules
```
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
```
------------
- cat /etc/modprobe.d/kvm.conf
`options kvm ignore_msrs=1`
--------------------------------
- cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
`options vfio_iommu_type1 allow_unsafe_interrupts=1`
----------------------------
- /etc/modprobe.d/blacklist.conf
```
blacklist radeon
blacklist nouveau
blacklist nvidia
```
--------------------------------------
- lspci -v
```
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: ccp
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller (rev ff) (prog-if ff)
DeviceName: Realtek ALC1220
!!! Unknown header type 7f
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
```
--------------
- lspci -n -s 06:00
```
06:00.0 0300: 1002:1636 (rev ff)
06:00.1 0403: 1002:1637 (rev ff)
06:00.2 1080: 1022:15df (rev ff)
06:00.3 0c03: 1022:1639 (rev ff)
06:00.4 0c03: 1022:1639 (rev ff)
06:00.6 0403: 1022:15e3 (rev ff)
```
-----------------
- /etc/modprobe.d/vfio.conf
`options vfio-pci ids=1002:1636,1002:1637,1022:15df,1022:1639,1022:1639,1022:15e3 disable_vga=1`
----------------------------