To stub the graphics card and usb controller I highly recommend using the VFIO-PCI CFG plugin. So far it works really well and makes things much easier. Plus, it gives useful information like if your device can be reset and also which devices are attached to which usb controllers (very useful for figuring out which usb ports belong to which usb controllers). The plugin can be found in Community Apps.
Now we need to follow this video by Spaceinvader One. There is one thing I noticed that was different for my setup and that was that it was the Bus that was different and not the Slot, so I went ahead and changed the Bus to match.
I should also mention that I changed the Bus since before it was audio was 5, non-essentials device was 6, usb controller was 7 and usb controller was 8. With the audio moved to Bus 4 with the graphics card, I changed the other 3 devices to the now vacated Bus 5.
I didn't really go into actually setting up Windows and installing drivers. Spaceinvader One has a video for that as well. But basically this is where the VirtIO drivers come in and I'd have to watch the video again to tell you what exactly is needed.
Yes, the slots were the same. On a Windows 7 vm, the bus was the same but the slots were different, just like in the video. I do not know why that is. But basically, because the graphics and sound are one device and that's the way we want them to be seen by the vm, both the bus and the slot need to match.
This is one of those things that I know I have dealt with in the past, but my memory fails me to the specifics. Again, I think this may be in the video for setting up a Windows 10 vm. I think I have also recently read a post about that here on the forum somewhere?
Its not in the video about the unknown device but I have not looked on the forums really yet. Im also 99% sure it wasn't there after installing the VirtIO drivers. Im pretty sure it was when I changed from UEFI to Legacy. Mine was working fine on UEFI, I just changed it after watching the recent SpaceInvader video.
Very nice, this thread helped a lot. Have you had any luck passing onboard sound or bluetooth? I also have the x570 taichi. Feels silly buying lots of usb stuff when the board comes with so much already.
@Endy thank you for this very detailed guide. I have about the same configuration (ASRock X570 Taichi with 3950x) except that I have an AMD Radeon RX 570, and followed your instructions, and after many tries I haven't been able to get my GPU to passthrough correctly - I just get a black screen. I have also tried an Nvidia GTX 950 with the same results. I am on the latest bios version 2.70.
I, too, noticed after doing further bios updates the iommu grouping was better asrock are doing a good job of releasing newer bios so far. But I think I still ran into sam usb controller issue you mentiioned and had tried all 3 but the other 2 did not work (just hanged the vm and crashed unraid) the separate one works better but has been a bit iffy sometimes does not detect my usb soundcard rarely (creative X3), and since the other 2 usb controllers hanged vm when I used the vci plugin I think I may just get a usb 3 separate card instead to reduce headache.
Also, worth mentioning it's a good idea to enable "VFIO allow unsafe interrupts" under VM advanced tab settings, this solves the usb issue if you are hot swopping devices and won't hang the vm and crash the unraid server.
I have a Dell H310 flashed to IT mode. I just plugged it in and it worked. It was previously used in my old server using forward breakout cables and now it's connected to the backplane in my CSE-846.
I notice we've a couple of people using the same AsRock X570 Taichi motherboard here, has anything improved since the original post, for example did you manage to get audio to pass-through? and in your opinion, is this the best option if opting for the x570 platform? thanks
Sorry for not explaining well enough. I have a watercooled (h80i v2) 2700x on an Asrock Taichi x470. I have 16gb trident z ram (F4-3600C15-8GTZ), 970 evo 500gb, RM750x psu, and a gtx 1070. It functions normally at stock voltages, but when I enable PBO (Precision Boost Overdrive), the voltages seem pretty high during games/multi core workloads. I set a -0.1v offset. However, the voltages still seem high. The voltage range seems hit 1.45v max but it is going above 1.35v a lot. I do see the cores bounce around a fair bit (likely PBO does not keep the cores at high voltages for long periods of time). In games my processor is 4.3ghz @ 1.4 - 1.45v. As I said, the individual cores bounce around and do not always stay at 1.45v but I am still worried a Vcore of 1.4 - 1.45v constantly will hurt the processor. However, if this is PBO just doing it's job, then I don't have anything to worry about as PBO usually boosts to high voltage for short periods of time.
displaynerd, again, where did you see that the maximum safe voltage was 1.35Volts? I am not an OCer, but in general, I think you need to stick to Ryzen Master (RM) or BIOS for OCing. Using both is going to confused someone. Please post a screenshot of RM - just drag-n-drop the image into your reply. The absolute limits for PPT, TDC and EDC are in the BIOS and need to be changed there to allow the full range in RM. Thanks and enjoy, John.
A few clarifications: PBO DOES void your warranty, my BIOS does not allow PPT, TDC, or EDC adjustments , and I use BIOS for OC'ing. I turned Precision Boost Overdrive on in my BIOS, which basically means the PPT, TDC, and EDC ceilings are much higher for Precision Boost to use and put a -0.1 Vcore offset (this actually improves performance in my case). I get fast speeds like 4.35ghz, but also high voltages, like 1.45v (1.5v with no offset). These voltages are not constant, however. Is this normal for PBO to do? That is my question. I have heard of chips degrading with voltages of 1.45v, but Precision Boost Overdrive does not keep cores boosted for that long, and damage only occurs when high voltage is used for long periods of time (according to AMD). So will my chip degrade is all I'm asking. (Note: I believe HWinfo shows the real voltages, where AMD Master does not. The two pictures are from the same screenshot as well so they are taken at the same time)
displaynerd, thanks. I have never seen any case that RM reported numbers that I knew were wrong. I have seen HWmonitor reporting 5.1 GHz on a Ryzen that was clearly wrong. Each needs to get conformable with the tools they use. I use AIDA64 and trust its numbers as well as RM's, but since it is paid, I usually do not talk about it. I cannot answer your questions about certain voltages/times degrading your processor and strongly encourage you to open an AMD Online Support ticket. They are the only ones who can tell for sure. Thanks and enjoy, John.
Keeping the cores fed with power at higher speeds so they remain stable often requires an increase in CPU voltage as well, and your top speeds will be a balancing act between voltage, multipliers and heat. Ryzen responds best to CPU voltages (or VCore) of around 1.35-1.37V. Higher voltages up to 1.45V are possible but require exotic cooling solutions and may shorten the life of your processor, and we don't recommend them for anyone reading this guide. Keep temperature below 80-85C. Ryzen processors don't like going beyond that temperature.
I think I saw those too; keep in mind that we're talking about safe voltage range for PBO and not regular OCing. I actually found a post on r/overclocking that shows the real limit is 1.35 - 1.375v and not 1.4 or 1.45. I believe AMD recommends 1.35 as well but I can't remember. I also found posts of people with PBO fluctuating with Max voltages in the 1.5v area but don't know if it's safe. With my pbo I get voltage fluctuating between 0.75 and 1.45v. I still don't know if this is safe but I think it might be (this is my question). I can say for quite certain Ryzen Master is wrong because it shows 1.55v when I have an offset of -0.1v while Cpuz and Hwinfo show 1.45. 1.5 was the average high with dips into 1.55v before offset (some people think this is safe for PBO, I do not). Hope this helps anyone going for regular OC's. Note: I believe PBO if done properly can give little better single core OC for 2700x so do that instead of regular ocs.
c80f0f1006