forked from gangqizai/igd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,33 @@ hostpci1: 0000:00:1f.3,romfile=gen12_gop.rom | |
|
||
#### 如果大家不愿意用两个rom文件,也可以合成一个。 | ||
|
||
#### PVE 显卡直通设定: | ||
|
||
``` | ||
vim /etc/default/grub | ||
``` | ||
``` | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" | ||
``` | ||
``` | ||
update-grub | ||
``` | ||
|
||
``` | ||
vim /etc/modules | ||
``` | ||
``` | ||
vfio | ||
vfio_iommu_type1 | ||
vfio_pci | ||
vfio_virqfd | ||
``` | ||
``` | ||
echo "blacklist i915" >> /etc/modprobe.d/pve-blacklist.conf | ||
``` | ||
``` | ||
echo "options vfio-pci ids=8086:a780" >> /etc/modprobe.d/vifo.conf | ||
``` | ||
### vifo.conf 没有 disable_vga=1,有的删掉! | ||
|
||
Email: [email protected] |