Thanks I didn’t see it turned on after the bios update but still no luck. But what do you mean an empty rom? I downloaded the rom for my gpu Sapphire pure 9070xt. I guess I could dump it myself? But not sure if thats the issue… I’ve placed all the configurations files I could think of in some .txts I’ll upload them here if anyone has any clue what could be troubling me. Would be really appreciated. I’ve also tried using vendor-reset but I had some issues setting it up it’s not really working. I also read something about needing to manually build my kernel? I’m not sure if i got that right if its required or not. Not sure where to start… Anyhow thanks in ahead if anyone gives it a go. My last output trying to get the vm started is
qm start 100
error writing ‘1’ to ‘/sys/bus/pci/devices/0000:03:00.0/reset’: Inappropriate ioctl for device
failed to reset PCI device ‘0000:03:00.0’, but trying to continue as not all devices need a reset
kvm: vfio: Unable to power on device, stuck in D3
kvm: vfio: Unable to power on device, stuck in D3
Ah I cant uplaod the txt files here. I guess I’ll pastebin them… or the links to the pastebin. Idk how long of a post this lets write out but I’ll try inputting them here .
qemu-server config:
cat /etc/pve/qemu-server/100.conf
#hostpci0%3A 03%3A00.0,pcie=1,multifunction=on
#hostpci1%3A 03%3A00.1
balloon: 0
bios: ovmf
boot: order=ide2
cores: 6
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,size=4M
ide2: local:iso/cachyos-desktop-linux-250330.iso,media=cdrom,size=2654240K
hostpci0: 03:00.0,pcie=1,romfile=9070xt.rom
hostpci1: 03:00.1
machine: q35
memory: 16000
meta: creation-qemu=9.0.2,ctime=1743608628
name: Catchy
net0: virtio=BC:24:11:4D:6B:7C,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
sata0: local-lvm:vm-100-disk-1,size=200G,ssd=1
sata1: local:iso/virtio-win-0.1.266.iso,media=cdrom,size=707456K
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=29a8d829-81c9-4812-87d1-220a2f35413f
sockets: 1
vga: none
vmgenid: 4fc80aa0-f23e-4a63-879a-d497bbca6e69
vfio:
lspci -nnk | grep -A3 -E ‘VGA|Audio’
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7550] (rev c0)
Subsystem: Sapphire Technology Limited Device [1da2:3490]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab40]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab40]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev ca)
Subsystem: ASUSTeK Computer Inc. Raphael [1043:8877]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
0f:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: ASUSTeK Computer Inc. Rembrandt Radeon High Definition Audio Controller [1043:8877]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
0f:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
dmesg | grep -i vfio
[ 3.353623] VFIO - User Level meta-driver version: 0.3
[ 3.358469] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 3.358581] vfio_pci: add [1002:7550[ffffffff:ffffffff]] class 0x000000/00000000
[ 3.459648] vfio_pci: add [1002:ab40[ffffffff:ffffffff]] class 0x000000/00000000
[ 3.474458] vfio-pci 0000:0f:00.0: vgaarb: deactivate vga console
[ 3.474463] vfio-pci 0000:0f:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 3.474574] vfio_pci: add [1002:164e[ffffffff:ffffffff]] class 0x000000/00000000
[ 3.498833] vfio_pci: add [1002:1640[ffffffff:ffffffff]] class 0x000000/00000000
cat /etc/initramfs-tools/modules
vfio
vfio_pci
vfio_iommu_type1
vfio_virqfd
grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off”
GRUB_CMDLINE_LINUX=“”
#cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.12-9-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off
cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist amdgpu
blacklist snd_hda_intel
some other things:
dmesg | grep -i acs
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-9-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.004060] ACPI: FACS 0x0000000073C8F000 000040
[ 0.004096] ACPI: Reserving FACS table memory at [mem 0x73c8f000-0x73c8f03f]
[ 0.025929] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.12-9-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off
root@prox:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.12-9-pve root=/dev/mapper/pve-root ro quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off
lsinitramfs /boot/initrd.img-$(uname -r) | grep vfio
etc/modprobe.d/vfio.conf
cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:7550,1002:ab40,1002:164e,1002:1640 disable_vga=1
BIOS
CSM disabled
resizable bar disabled
Above 4G decoding enabled
D3 support disabled
Primary gpu set to igpu
IOMMU enabled
PROXMOX and kernel version
pve-manager/8.3.5/dac3aa88bac3f300 (running kernel: 6.8.12-9-pve)
6.8.12-9-pve
dkms status
modprobe vendor-reset
ls /sys/bus/pci/drivers/vendor-reset
vendor-reset/0.1.1, 6.8.12-9-pve, x86_64: installed (WARNING! Diff between built and installed module!)
ls: cannot access ‘/sys/bus/pci/drivers/vendor-reset’: No such file or directory
root@prox:~# /usr/bin/vendor-reset 0000:03:00.0
ioctl: Operation not supported
and the iommu groups i guess:
find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/17/devices/0000:05:00.0
/sys/kernel/iommu_groups/35/devices/0000:0f:00.2
/sys/kernel/iommu_groups/7/devices/0000:00:08.0
/sys/kernel/iommu_groups/25/devices/0000:07:00.0
/sys/kernel/iommu_groups/15/devices/0000:03:00.1
/sys/kernel/iommu_groups/33/devices/0000:0f:00.0
/sys/kernel/iommu_groups/5/devices/0000:00:03.0
/sys/kernel/iommu_groups/23/devices/0000:05:0c.0
/sys/kernel/iommu_groups/13/devices/0000:02:00.0
/sys/kernel/iommu_groups/31/devices/0000:0d:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:02.1
/sys/kernel/iommu_groups/21/devices/0000:05:07.0
/sys/kernel/iommu_groups/11/devices/0000:00:18.3
/sys/kernel/iommu_groups/11/devices/0000:00:18.1
/sys/kernel/iommu_groups/11/devices/0000:00:18.6
/sys/kernel/iommu_groups/11/devices/0000:00:18.4
/sys/kernel/iommu_groups/11/devices/0000:00:18.2
/sys/kernel/iommu_groups/11/devices/0000:00:18.0
/sys/kernel/iommu_groups/11/devices/0000:00:18.7
/sys/kernel/iommu_groups/11/devices/0000:00:18.5
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/38/devices/0000:10:00.0
/sys/kernel/iommu_groups/28/devices/0000:0a:00.0
/sys/kernel/iommu_groups/18/devices/0000:05:04.0
/sys/kernel/iommu_groups/36/devices/0000:0f:00.3
/sys/kernel/iommu_groups/8/devices/0000:00:08.1
/sys/kernel/iommu_groups/26/devices/0000:08:00.0
/sys/kernel/iommu_groups/16/devices/0000:04:00.0
/sys/kernel/iommu_groups/34/devices/0000:0f:00.1
/sys/kernel/iommu_groups/6/devices/0000:00:04.0
/sys/kernel/iommu_groups/24/devices/0000:05:0d.0
/sys/kernel/iommu_groups/14/devices/0000:03:00.0
/sys/kernel/iommu_groups/32/devices/0000:0e:00.0
/sys/kernel/iommu_groups/4/devices/0000:00:02.2
/sys/kernel/iommu_groups/22/devices/0000:05:08.0
/sys/kernel/iommu_groups/12/devices/0000:01:00.0
/sys/kernel/iommu_groups/30/devices/0000:0c:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:02.0
/sys/kernel/iommu_groups/20/devices/0000:05:06.0
/sys/kernel/iommu_groups/10/devices/0000:00:14.3
/sys/kernel/iommu_groups/10/devices/0000:00:14.0
/sys/kernel/iommu_groups/29/devices/0000:0b:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/19/devices/0000:05:05.0
/sys/kernel/iommu_groups/37/devices/0000:0f:00.4
/sys/kernel/iommu_groups/9/devices/0000:00:08.3
/sys/kernel/iommu_groups/27/devices/0000:09:00.0