GPU passthrough: Choosing the right motherboard Ryzen CPUs

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • In this video, we will talk about the strengths of the Ryzen platform when it comes to virtualization and GPU passthrough.
    IOMMU viewer: • Intro to IOMMU groups ...
    Download from: github.com/pav...

КОМЕНТАРІ • 59

  • @mjhika
    @mjhika 2 роки тому

    This is one of the most helpful videos I've found on GPU passthrough. I attempted several times to make a host with a passthrough GPU a couple years ago and this is the first time that I've found this video. I now have such a better understanding of the motherboard issue that i was running into and feel confident to resolve the issue i was having with my k5 x370. I was looking at motherboard upgrades because i wanted another nvme spot but now with this info I can be more confident when I buy to attempt passthrough again!

  • @SyberPrepper
    @SyberPrepper 4 роки тому +6

    Very helpful. Thanks for making the video. I am trying to get into the VM "world" as I have time and videos like this really help.

    • @PavolElsig
      @PavolElsig  4 роки тому

      Good luck! VMs are definitely worth learning more about

  • @Daxter296
    @Daxter296 4 роки тому +4

    thanks Pavol, this is so helpful and you confirmed I made the right choice with a Gigabyte x570!

    • @PavolElsig
      @PavolElsig  4 роки тому +2

      You can’t really go wrong with Gigabyte or X570 in general. Enjoy the new system

  • @tidakasli7631
    @tidakasli7631 2 роки тому

    i'm curious right now. i'm not able to do single gpu passthrough with my Sapphire Nitro+ RX580 at Asrock A320M-HDV using Ryzen 3 1200. do you think it's the motherboard that caused it? i know my hardwares is very low, its all i have now. but i will consider to change the part that has the problem for doing gpu passthrough.
    Anyway thank you for your time and response. keep up the good content!

  • @paulpoco22
    @paulpoco22 3 роки тому

    14:50 really good info on msi showing x8/x4/x4 which is bad for 9211-8i HBA card for 8 HDD that is a x8 card

  • @tommykedar8979
    @tommykedar8979 3 роки тому +1

    Thanks Pavol, your videos are incredibly helpful and I really appreciate how well you explain the information! Quick (hopefully) question: If I put together an x570 (asus crosshair viii hero) with two gpus - one for my host and one for my vms - and the VM gpu is a radeon pro (the pro wx 3200 are about $200), would I be able to pass through that pro gpu to multiple VMs using sr-iov? Any resources you can recommend that I can use to understand how to set up such a rig? Thanks!

    • @PavolElsig
      @PavolElsig  3 роки тому +2

      I don’t think that the WX3200 supports SR-IOV. Most AMD GPUs that support it are passively cooled anyway. One example would be S7150 for about $350 on ebay. You’d have to come up with a way to cool it somehow, I guess with a waterblock. If you don’t have to run the VMs simultaneously, you can get away with using just a regular consumer GPU. If you can get the PC to boot with the chipset-connected pcie slot as the boot GPU slot (CSM might help), you could use the two other slots for passthrough. That way you could run 2 VMs simultaneously with one consumer GPU for each.

    • @tommykedar8979
      @tommykedar8979 3 роки тому

      @@PavolElsig thanks for the detailed response, super helpful. Really appreciate you. Looking forward to future videos!!

  • @examen1996
    @examen1996 4 роки тому +1

    I can vouch for the x570 tuf. Did my master work on it, had kvm+qemu with passtrough of both gpus worked wonderfully

    • @PavolElsig
      @PavolElsig  4 роки тому +1

      There are various workarounds on different boards. On some CSM changes the boot GPU to a different slot. You could also do it in Linux itself. It just gets pretty complicated and having a button in the BIOS makes it easier.

    • @nate3432
      @nate3432 2 роки тому

      I guess this is late, but I also have the x570 tuf. It's a x16(cpu)/x4(chipset) board. I run a 1070 on the x4 slot and I find that it can suffer in certain cases. I am now looking to find an x8/x8 board. Otherwise, the x570 tuf has pretty good iommu groups, so you can send a few usb ports to the VM. It has 8 sata which I do use. My setup seems very stable so I am quite happy with it's performance. I even did some ram overclocking (I run xmp now).
      You can also swap in your own secure boot keys. There is no boot gpu selection but that can be managed by certain linux booting options.

  • @D1Ck3n
    @D1Ck3n 3 роки тому

    hey, great videoI have a setup with Ryzen 5 2600x, an RTX 2080 and an RX 5700 xt. On my old MSI B450 Tomahawk, GPU passthrough ran quite well. I had the reset bug, but otherwise it always worked. Unfortunately, the board died and I bought the MSI B450 Tomahawk MAX, which apparently doesn't really work well with GPU passthrough. Can you recommend me a good motherboard? I want to use only one GPU for a VM and the other for my host.
    I am currently thinking about buying the same Motherboard you use, the X470 AORUS ULTRA GAMING. do you think this work fine with my current setup?

    • @PavolElsig
      @PavolElsig  3 роки тому +1

      I have the X470 Ultra Gaming and it works fine. If you can get it, especially for a good price, go for it.

    • @D1Ck3n
      @D1Ck3n 3 роки тому

      @@PavolElsig i found the x470 for under 150$ i think thats a good price

  • @newworldforward1842
    @newworldforward1842 3 роки тому +1

    Is there any reason a B550 would not work with passthru? I guess there you'd have to run an 8x8x config to split the 16x PCI-e 4.0 lanes from the CPU to two GPUs... I'm looking at an Asus ROG STRIX B550-E GAMING. It has all the features I need and it has no mechanical fans on the board so will be quiet and last a very long time...

    • @astarothmarduk3720
      @astarothmarduk3720 3 роки тому

      B550 I cannot recommend. The Asus ProArt B550-CREATOR Wifi has been tested by Wendell (Level1techs channel), all chipset goes into one single IOMMU group: ua-cam.com/video/e_PfcEuRaFA/v-deo.html

    • @newworldforward1842
      @newworldforward1842 3 роки тому

      @@astarothmarduk3720 I'm now looking at the X570S chipsets coming out. They seem to have proper IOMMU groups without moving parts.

  • @brandonphilander661
    @brandonphilander661 4 роки тому +1

    If I am using an APU with integrated graphics for the host OS and have two monitors do I connect the monitor for the host directly to the motherboard and the monitor for the guest to the gpu?

    • @PavolElsig
      @PavolElsig  4 роки тому +1

      Exactly, each GPU is outputting to it’s own monitor.

    • @brandonphilander661
      @brandonphilander661 4 роки тому +1

      @@PavolElsig Are there any settings that I have to enable in the BIOS to achieve this?

    • @PavolElsig
      @PavolElsig  4 роки тому +1

      @@brandonphilander661 You might have to set the APU/iGPU as the default/boot GPU in BIOS. Afterwards you’d have to get GPU passthrough done for your dedicated GPU. You can use one of my GPU passthrough guides or use somebody else’s you find on the internet.

  • @thechallenge293
    @thechallenge293 3 роки тому

    Would GPU passthrough work with the Lenovo 15isk 80nv laptop? It has hybrid graphics. What motherboard from intel z490 chipset(socket LGA1200) would you suggest. Thanks in advance.

    • @PavolElsig
      @PavolElsig  3 роки тому

      Any z490 motherboard will get the job done. Depending on how many pcie devices you want to pass through, you'll need as many direct-to-CPU pcie slots. Most ATX boards have at least 2 anyway.

    • @thechallenge293
      @thechallenge293 3 роки тому

      @@PavolElsig Ok thanks. I have discovered that you have made a good video about the topic. Anyway I have tried to passthrough the GTX 960m on the laptop I cited in the comment. It gives me error 43. After searching on the internet I have discovered that OVMF needs to be patched with the VBIOS ROM. I have the ROM but wasn't able to patch OVFM because the guide I was following was a bit old. Are you aware of any recent guide about the topic?

    • @PavolElsig
      @PavolElsig  3 роки тому

      @@thechallenge293 This guide goes over some steps that seem to help with GPU passthrough on some laptops: leduccc.medium.com/simple-dgpu-passthrough-on-a-dell-precision-7450-ebe65b2e648e

  • @demonx7735
    @demonx7735 4 роки тому

    What's the benifit of GPU passthrough ? How's it better than just installing and using windows normally ?

    • @PavolElsig
      @PavolElsig  4 роки тому +4

      It’s if you want to use Linux as your main OS, but still want to be able to run Windows programs natively with full GPU acceleration. It’s also useful if you want to have multiple people use one PC at the same time. Everyone of them can have their own mouse, keyboard and monitor.

  • @cepi24
    @cepi24 3 роки тому

    Thank you very much for video. Can you please recommend some motherboard for Ryzen 5 3600? Does all AM4 gigabite mainbards have nearly same bios settings? Thank you again

    • @PavolElsig
      @PavolElsig  3 роки тому +1

      x570 Aorus Pro is the cheapest one with two CPU connected pcie slots. I would go with that one. All the cheaper boards should allow you to select boot GPU at the very least. It boils down to the question of whether you want one or two direct pcie to CPU slots.

    • @cepi24
      @cepi24 3 роки тому

      @@PavolElsig so what is the benefit of using two vs one pcie cpu slots? Does that mean eg that one GPU can be passed to one VM and another GPU to other VM? Thanks

    • @PavolElsig
      @PavolElsig  3 роки тому

      @@cepi24 Exactly, you could run two VMs with GPU passthrough. Or you could passthrough a USB controller card to the same VM. It gives you flexibility in the future if you decide to expand.

    • @cepi24
      @cepi24 3 роки тому

      @@PavolElsig seems that there is also cheaper elite version which will work with specific bios forum.level1techs.com/t/gigabyte-x570-aorus-elite-iommu-groups/144937

    • @PavolElsig
      @PavolElsig  3 роки тому +1

      @@cepi24 The X570 Aorus Elite only has 1 pcie slot direct to the CPU. There is nothing wrong with that mobo. The question is whether the 2 pcie slots are worth the price premium.

  • @Agambada456
    @Agambada456 3 роки тому +1

    can x370 chipset do this? (pardon my broken english)

    • @PavolElsig
      @PavolElsig  3 роки тому

      It should work

    • @Agambada456
      @Agambada456 3 роки тому

      @@PavolElsig do you have any recommendations? or i just pick any x370 with something like you explain in this video?

    • @PavolElsig
      @PavolElsig  3 роки тому

      @@Agambada456 I’d look for a Gigabyte board because you can change the boot GPU on those. Also make sure that a reasonably new BIOS is available, because some of the older ones might have issues.

    • @Agambada456
      @Agambada456 3 роки тому

      @@PavolElsig ah yes, thank you very much. Keep up the good work👍

  • @jaynj908
    @jaynj908 4 роки тому

    I got mine to work with a Radeon VII but the performance was buggy.

    • @PavolElsig
      @PavolElsig  4 роки тому

      Double check the core allocation within the CPU tab. Make sure you’re using 1 socket and a couple of cores. Lastly make sure the cores actually get allocated.

  • @anonnimoose7987
    @anonnimoose7987 4 роки тому

    So this has 2 GPUs. How's the power

    • @PavolElsig
      @PavolElsig  4 роки тому

      It ends up behaving like two separate computers. That’s what you can compare it to.

    • @anonnimoose7987
      @anonnimoose7987 4 роки тому

      @@PavolElsig Thinking of using AMD 6800 and MSI 2060S
      I mean if your watt consumption is 800+ while the VM is off or if it is like 1 computer until you use your VM?

    • @PavolElsig
      @PavolElsig  4 роки тому +1

      @@anonnimoose7987 When not running the VM, that second GPU draws its usual idle power. If you don’t do anything graphically intense, it should also be close to idle. I made a video where I measured the power draw of a system. I was using 2 Radeon 295X2 for the guest. Those are extremely power hungry. The host used a GTX 980. You can watch it here: youtu.be/wHHLxYOi

  • @mefflecakes
    @mefflecakes 4 роки тому

    i demand to be 'first'!

    • @PavolElsig
      @PavolElsig  4 роки тому +1

      Congratulations, you are!

  • @thierrybo6304
    @thierrybo6304 2 роки тому

    I really can't understand all these hype about kvm and gpu pathtrough. How it is just simple to just dual boot windows/ Linux instead.

    • @chrisflanagan7564
      @chrisflanagan7564 2 роки тому +1

      Dual booting is a pain if you have to switch contexts often. I don't have a GPU passthrough setup in place but spinning up a windows VM when I need it, has been very useful, oh, I need a specific set up for SDR stuff? Spin up a DragonOS VM, passthrough a USB port and away I go.
      The host OS can be kept very clean, and the working VMs can be quickly changed, backed up, rolled back and replaced.
      It's been great for testing, great for hobby stuff, good for work siloing. Virtualization has been a massive boon.