@@ -371,22 +371,30 @@ i915-sriov-dkms/2025.07.22, 6.8.12-20-pve, x86_64: installed
|
||||
|
||||
Intel 核显 SR-IOV 补丁包为当前运行内核 `6.8.12-20-pve` 安装成功。接下来继续按照项目 README 的指引重新配置 Intel 核显 SR-IOV 功能。
|
||||
|
||||
修改 GRUB 引导配置。
|
||||
|
||||
``` bash
|
||||
nano /etc/default/grub
|
||||
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 module_blacklist=xe"
|
||||
```
|
||||
|
||||
刷新 GRUB 引导和 initramfs。
|
||||
|
||||
``` bash
|
||||
update-grub
|
||||
update-initramfs -u
|
||||
```
|
||||
|
||||
将内核锁定在已安装Intel 核显 SR-IOV 补丁的内核。
|
||||
|
||||
``` bash
|
||||
proxmox-boot-tool kernel pin 6.8.12-20-pve
|
||||
proxmox-boot-tool refresh
|
||||
```
|
||||
|
||||
配置 SR-IOV 虚拟化。
|
||||
|
||||
``` bash
|
||||
apt install sysfsutils
|
||||
echo "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf
|
||||
@@ -394,4 +402,4 @@ echo "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf
|
||||
|
||||
最后,重启服务器。启动 Windows 虚拟机,重新安装 Intel 显卡驱动,Jellyfin 视频转码正常,成功恢复 Windows 虚拟机核显直通。
|
||||
|
||||
Windows 虚拟机配置显卡直通可参考[补丁项目 README 的相关内容](https://github.com/strongtz/i915-sriov-dkms/tree/2025.07.22#windows-guest-tested-with-proxmox-83--windows-11-24h2--intel-driver-32010164603201016259),其中提取显卡 EFI 固件的部分不一定需要。
|
||||
显卡直通的 Windows 虚拟机配置部分可参考[补丁项目 README 的相关内容](https://github.com/strongtz/i915-sriov-dkms/tree/2025.07.22#windows-guest-tested-with-proxmox-83--windows-11-24h2--intel-driver-32010164603201016259),其中提取显卡 EFI 固件的部分不一定需要。
|
||||
Reference in New Issue
Block a user