顯卡直通

開啟IOMMU

nano /etc/default/grub

註釋以下

#GRUB_CMDLINE_LINUX_DEFAULT=quiet

如要停止使用核顯

GRUB_CMDLINE_LINUX_DEFAULT=quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb textonly nomodeset video=efifb:off

如保留核顯, 只需將獨顯直通 (留給virtio GPU給其他虛擬機使用)

GRUB_CMDLINE_LINUX_DEFAULT=quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb textonly nomodeset

保存後

update-grub

重啟

reboot

在PVE UI操作 VM->硬體->增加->PCI裝置->選要直通的顯卡

Navi xxx => AMD 相關顯卡, Navi 23為6600XT, GA104 [GeForce RTX 3070] 很明顯就不用說了吧

打開進階, 勾選所有功能, 主要GPU, PCIE ->增加

開機

Windows開機後安裝驅動
黒果支持的開機就可以了 (AMD 6700系不支持, 其他6600以上都支持, N卡不支持(10系舊卡好像有些支持, 忘了))

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *