ESXI 显卡直通 重启修复

正常情况下A卡在直通的时候会遇到一些Bug ( AMD 俗称A卡 )

The goal of this project is to provide a kernel module that is capable of resetting hardware devices into a state where they can be re-initialized or passed through into a virtual machine (VFIO). While it would be great to have these in the kernel as PCI quirks, some of the reset procedures are very complex and would never be accepted as a quirk (ie AMD Vega 10).

By providing this as an out of tree kernel module, vendors will be able to easily create pull requests to add functionality to this module, and users will be able to easily update this module without requiring a complete kernel rebuild. By Vendor Rese

意思就是说 在虚拟机重启之后A卡失效,( 参考这篇文章 ) 也就是显卡别占用,也就是显卡再空转,而你又用不了它

他讲的很详细,我是大冤种

正常直通,还需要 虚拟机 高级 里面添加这几个参数

1
2
3
4
5
hypervisor.cpuid.v0:FALSE
pciPassthru0.msiEnabled = FALSE
pciPassthru1.msiEnabled = FALSE
pciPassthru.64bitMMIOSizeGB = 16
pciPassthru.use64bitMMIO = TRUE

再买个HDMI 欺骗卡,完美!

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way