2022年6月27日 星期一

Linux | 在不重開機下重新載入GPU(Reload GPU without reboot)

When using Proxmox virtualiztion, GPU sometime will occur some error. VM can't use GPU anymore. Here has an easy method to fix this issue. 

STEP1: Find PCI Device ID

Go to hardware then edit PCI Device.



STEP2: Reload GPU


Going to shell, input command as below.
# echo 1 > /sys/bus/pci/devices/0000:1a:00.1/remove # Remove GPU
# echo 1 > /sys/bus/pci/rescan # Rescan PCI Device

Using nvidia-smi command to verify GPU status is OK.





Reference:








沒有留言: