vendor-reset
vendor-reset copied to clipboard
possible to work for an nvidia gpu?
Hello, i need this module to work for an rtx 3060 Ti that doesnt reset once the VM is in reboot/shutdown or sleep state, it makes PVE numb, unable to change power state from D3cold to D0, to D3hot and so on
Perhaps this will fix your issue?
IOMMU_GROUP="SET_THIS_WHERE_GPU_IS_INSIDE"
for i in $(command ls /sys/kernel/iommu_groups/${IOMMU_GROUP}/devices); do
echo "0" > /sys/bus/pci/devices/${i}/d3cold_allowed
echo on > /sys/bus/pci/devices/${i}/power/control
done
If your problem was the reset bug, your error should look rather like this:
qemu-system-x86_64: ../qemu-9.1.2/hw/pci/pci.c:1637: pci_irq_handler: Assertion 0 <= irq_num && irq_num < PCI_NUM_PINS' failed.