最近组了一台 all in one 设备,迷你精致还是纯 ecc 内存功耗也低,就是不支持 pcie acs 功能。
cpu 是 5650ge ,主板是 Gagabyte b550i aorus pro ax ,2.5g 网口,支持 pcie 拆分。
Bios 里也没有 acs 选项,pve 编译了 acs 补丁内核也不起作用,导致主板上的有线网口和无线网卡都在同一个 iommu 组,没办法直通无线给里面的 win11 或者 batocera ,每次都只能用 usb 蓝牙连手柄...还不稳定,时不时开机就要重新插拔下。
cpu 5650ge 是为了用纯 ecc 内存,然后 x570i 又没有 2.5g 网卡,两个换哪一个都好不爽啊啊啊。
1
wniming 1 天前 via Android
肯定都是支持的,我是 5700x + b550 重炮手,芯片组出来的那个 x16 的插槽插了张 dg1 显卡,直通给虚拟转码用完全没问题
|
2
dant 1 天前
B550 不支持
|
3
xuangoer666 1 天前 via Android
Gagabyte 是啥?➡️ Gigabyte
|
4
Unboundwill 1 天前
我的是华硕 TUF B550M ,PVE 8.0 ,默认内核,没打 acs 补丁
B550 对 ACS 的支持不完善,有些 PCIe 是拆不开的,需要覆盖两个选项,增加拆分粒度 在 GRUB_CMDLINE_LINUX_DEFAULT 中添加 pcie_acs_override=downstream,multifunction downstream 作用于 PCIe 总线的下游设备。 当启用此选项时,内核会强制认为在 PCIe 交换机的下游所有端口都启用了 ACS 分离,从而尝试将下游设备分成更多的小组。下游包括主板连接的所有设备,比如 GPU 、NVMe SSD 等。 multifunction 作用于多功能设备( Multi-Function Devices )。 假设一个 PCIe 卡槽上的设备同时有多个功能(如多核显卡、网卡额外的管理端口),按照默认行为可能被分配到同一个 IOMMU Group 。这个选项允许内核将这些功能模块以更细的粒度划分为单独的组。 通过组合这两个选项,pcie_acs_override=downstream,multifunction 旨在尽可能地将 PCIe 设备划分成独立的 IOMMU Group ,增加虚拟化或硬件直通的灵活性。 |
5
Vtoecha OP @wniming 直通显卡没问题啊,我 pcie 拆分成 8x/8x 直通进去的,因为 pcie 显卡单独一个 iommu 组,但板载那些网卡不是。
|
6
Vtoecha OP @Unboundwill pcie_acs_override=downstream,multifunction 试过了,我是最新的 PVE 8.3 ,grub 设置了跟没设置一样
|
7
wniming 16 小时 2 分钟前
@Vtoecha 注意我说的是 “芯片组出来的那个 x16 的插槽”,这个如果不使用 acs 会和网卡那些分到同一个 iommu 组的,我把我的 iommu 分组情况给你参考一下:
d@server:~$ sudo dmidecode -t 2 # dmidecode 3.5 Getting SMBIOS data from sysfs. SMBIOS 3.3.0 present. Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: ASUSTeK COMPUTER INC. Product Name: TUF GAMING B550M-PLUS (WI-FI) Version: Rev X.0x Serial Number: 210585824000952 Asset Tag: Default string Features: Board is a hosting board Board is replaceable Location In Chassis: Default string Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0 d@server:~$ d@server:~$ iommu IOMMU Group 0: 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 1: 00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] IOMMU Group 2: 00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] IOMMU Group 3: 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 4: 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 5: 00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483] IOMMU Group 6: 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 7: 00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 8: 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 9: 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] IOMMU Group 10: 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482] IOMMU Group 11: 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484] IOMMU Group 12: 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61) 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) IOMMU Group 13: 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440] 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441] 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442] 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443] 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444] 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445] 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446] 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447] IOMMU Group 14: 01:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Blue SN570 NVMe SSD 2TB [15b7:5025] (rev 01) IOMMU Group 15: 02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller [1022:43ee] IOMMU Group 16: 02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller [1022:43eb] IOMMU Group 17: 02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port [1022:43e9] IOMMU Group 18: 03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea] IOMMU Group 19: 03:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea] IOMMU Group 20: 03:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea] IOMMU Group 21: 03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea] IOMMU Group 22: 03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea] IOMMU Group 23: 04:00.0 PCI bridge [0604]: Intel Corporation Device [8086:4910] IOMMU Group 24: 05:01.0 PCI bridge [0604]: Intel Corporation Device [8086:490f] IOMMU Group 25: 05:04.0 PCI bridge [0604]: Intel Corporation Device [8086:490f] IOMMU Group 26: 05:05.0 PCI bridge [0604]: Intel Corporation Device [8086:490f] IOMMU Group 27: 06:00.0 VGA compatible controller [0300]: Intel Corporation DG1 [Iris Xe Graphics] [8086:4908] (rev 01) IOMMU Group 28: 07:00.0 Audio device [0403]: Intel Corporation Device [8086:490d] IOMMU Group 29: 08:00.0 Memory controller [0580]: Intel Corporation Device [8086:490e] IOMMU Group 30: 09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8161] (rev 15) IOMMU Group 31: 0b:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) IOMMU Group 32: 0c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04) IOMMU Group 33: 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7) IOMMU Group 34: 0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0] IOMMU Group 35: 0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a] IOMMU Group 36: 0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485] IOMMU Group 37: 0f:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486] IOMMU Group 38: 0f:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c] IOMMU Group 39: 0f:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487] d@server:~$ d@server:~$ |