![]() |
Taichi x399 iommu groups |
Post Reply ![]() |
Author | ||
Våge ![]() Newbie ![]() Joined: 07 Nov 2017 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 07 Nov 2017 at 1:45pm |
|
![]() |
||
Akiko ![]() Newbie ![]() ![]() Joined: 27 Sep 2017 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
|
You won't like this.
For the the network stuff it looks like this (even with the ACS UEFI option, version 1.70):
Also PCI-passthrough for graphic cards is completely broken in KVM (vfio), Xen and even VirtualBox. All cards suffer from getting stuck in D3cold powersave mode. You also have to set the Promotory PCIe connection (the one between the chipset and the CPU) to PCIe gen2 or you will suffer from data link level issues (PCIe AER) spaming the kernel, onboard network not working properly and some very serious performance issues. The whole PCIe PME (power management) looks like a complete fuckup (at least on Linux). And this is true for all UEFI versions up to 1.70 (didn't had the time to test 1.80 yet). It is also true for all Kernels starting from 4.10 to 4.14.rc8. I'm using the last one, because that one works best with all iommu/kvm features and I patched it to have working NPT (an old AMD KVM issue) and TR4 temperatures. Edited by Akiko - 09 Nov 2017 at 8:39pm |
||
loading failed @ 0xD3ADB33F
|
||
![]() |
||
Våge ![]() Newbie ![]() Joined: 07 Nov 2017 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
Thx for the info!
|
||
![]() |
||
Akiko ![]() Newbie ![]() ![]() Joined: 27 Sep 2017 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
|
The new 1.80 UEFI fixes some of the PCIe PME issues. The Promotory Link now works in gen3 mode and the PCIe AER spaming is gone and with that the network and performance issues. But PCI-passthrough is still broken and it looks like that.
After vfio failed to bring up the graphics card, the whole PCI device is in an undefined state.
|
||
loading failed @ 0xD3ADB33F
|
||
![]() |
||
Våge ![]() Newbie ![]() Joined: 07 Nov 2017 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
|
:(
Thx! Then i will go for a fatal1ty x399 that seems doing better as per Level1 Linux channel |
||
![]() |
||
Akiko ![]() Newbie ![]() ![]() Joined: 27 Sep 2017 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
|
I'm looking into this issues for quite a while now. All X399 boards are affected by this. The only way to get it working is by using a Vega card, where the reset function (FLR) is broken. These cards actually do not go into D3cold powersave mode because of their faulty BIOS code.
|
||
loading failed @ 0xD3ADB33F
|
||
![]() |
||
LevitateMe ![]() Newbie ![]() Joined: 10 Nov 2017 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
|
So far, the only success on threadripper passthrough that seems to be reliable is ESXi but only on motherboards with 6 SATA ports. For some reason, the 8 port SATA port mobos can't pass dedicated storage devices through.... which means it doesn't work on Taichi. :( |
||
![]() |
||
Akiko ![]() Newbie ![]() ![]() Joined: 27 Sep 2017 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
|
This is easy to explain. Look up into my post with the iommu group 11, there the device 01:00.1 is actually the SATA controller with the real SATA ports. So it shares the same iommu group with all the network cards. If you want to use this, you have to pass all the devices (looks like the whole southbridge) of the group into the VM or find a way to split it up a little bit more. Actually the ACS option in the UEFI should exactly do this, but no, the option doesn't seem work right.
|
||
loading failed @ 0xD3ADB33F
|
||
![]() |
||
Akiko ![]() Newbie ![]() ![]() Joined: 27 Sep 2017 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
|
This is actually not true. It looks like it got worse, now this issues even appear in gen2 mode. But the problem completely disappears by turning off the whole ASPM feature of the PCIe subsystem (kernel parameter: pcie_aspm=off). I'm not sure If performance is affected, but USB transactions seem a bit slow. That turning off ASPM helps is quite interesting, because the ASPM code of current Linux is known for being in a really bad shape. There will be a big update coming with the 4.15 kernel, fixing a lot of powersave, PME and ASPM stuff. |
||
loading failed @ 0xD3ADB33F
|
||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |