vendor-reset icon indicating copy to clipboard operation
vendor-reset copied to clipboard

possible to work for an nvidia gpu?

Open mirko8054 opened this issue 1 year ago • 1 comments

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

mirko8054 avatar Jan 22 '24 00:01 mirko8054

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.

ballerburg9005 avatar Dec 06 '24 22:12 ballerburg9005