AMDGPU Reset bug fix help

Baftastic

New Member
Jun 26, 2022
1
0
1
Hi guys! I recently installed proxmox on my system and i really like it, but i cant figure out how to fix the amd gpu reset bug. I Installed the vendor-reset dkms-module, and now i need a hook script because the kernel is later than 5.14 (github issue), but the script only exist for libvirtd, someone can help me with this? Thanks

This is the libvirtd script that i need in proxmox

Bash:
#!/bin/sh

GUEST_NAME="$1"
HOOK_NAME="$2"
STATE_NAME="$3"
MISC="${@:4}"

if [[ "${HOOK_NAME}" == "start" ]]; then
    echo 'device_specific' > /sys/bus/pci/devices/<pci_device_id_here>/reset_method
fi