GPU passthrough guide for PopOS 20.04

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 199

  • @lumac1232
    @lumac1232 4 ปีที่แล้ว +16

    Dude, one day a guide to single gpu-passthrough? Only with your videos have I managed, thanks for everything.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +4

      No problem, and maybe one day!

    • @TechStache
      @TechStache 4 ปีที่แล้ว +1

      @@PavolElsig I would love that, I'm seriously considering a subtle gpu passthrough with popos but I'm a little scared haha. Great video btw

  • @KrylovFA-37
    @KrylovFA-37 2 ปีที่แล้ว +1

    Awesome work ! I was trying to set up a GPU passthrough and failed until I followed your guide. Thank you so much !

  • @tobycat7
    @tobycat7 4 ปีที่แล้ว +4

    Can't wait to try this when i get 2 GPUs, thanks for the tutorial!

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Let me know how it works out

  • @vector8320
    @vector8320 4 ปีที่แล้ว +6

    The hero we dident want. But we needed

    • @vector8320
      @vector8320 4 ปีที่แล้ว

      Seriusly you probably saved a lot of people butts. Included mine!

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      vector Thanks for the feedback. I’m glad it worked.

  • @wajinshu
    @wajinshu 4 ปีที่แล้ว +8

    WoW I need this guide for PoP OS. Thanks in advance. Your other video pop up in recommendation and check the videos and see this

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Thanks! Glad to hear it

  • @RobZombieHFN
    @RobZombieHFN 3 ปีที่แล้ว +1

    Thank you very much! Your script allowed me to actually unmount gpu on my laptop! Lenovo y720 on Pop_OS 21.10

  • @a1r592
    @a1r592 4 ปีที่แล้ว +5

    Heads up for anyone trying this out on a laptop, your GPU must have a dedicated output port on the laptop and show up in lspci as a VGA controller.

  • @vladislavkaras491
    @vladislavkaras491 3 ปีที่แล้ว

    Hey, nice tutorial. The speach and the demonstration are quite good!
    Everything worked as it should!
    For those, who are wondering, the GPU for guest will be all the time off, unless you add some scripts (also called hooks) for single gpu passthrough (that bounds/unbounds gpu drivers from vfio).

  • @bakedpotatokekw
    @bakedpotatokekw 3 ปีที่แล้ว +4

    After I run the script, I receive the message that my Non-primary GPU is now vfio-pci. But after reboot lspci -k still says that my videocard still has "Kernel driver in use: Nvidia".

  • @chamy969
    @chamy969 3 ปีที่แล้ว +1

    LEGEND

  • @Kivarenn82
    @Kivarenn82 2 ปีที่แล้ว +1

    Ran thru this. Enabled SVM, IOMMU, in bios. the script ran without a hitch. but my secondary graphics is still show up as using amdgpu instead of vfio-pci. I have an rx580 that i use primary, and a 5600G that i'd like to pass the integrated graphics to the VM. is it possible?

  • @realrazoblast
    @realrazoblast 2 ปีที่แล้ว

    Lovely guide, well explained :)

  • @csimpilive
    @csimpilive 2 ปีที่แล้ว

    If I add my NVIDIA PCI the VM won't even start anymore. I push start then it freezes until I REBOOT the PC

  • @Gilded30
    @Gilded30 ปีที่แล้ว

    thx for this scripts and tutorial, finally I was able to passtrought my 3060ti, sadly MacOS Catalina doesn't detect it D; I would like to try on the future on windows vm's... but im afraid gaming would not be entirely possible thanks to anti cheats systems

  • @marwentrabelsi2983
    @marwentrabelsi2983 2 หลายเดือนก่อน

    the copy paste script part is not a solution it will change or break...

  • @Omlet221
    @Omlet221 3 ปีที่แล้ว +1

    You should do a single GPU passthrough guide

  • @ThatPolishCatgirl
    @ThatPolishCatgirl 3 ปีที่แล้ว +1

    how to reverse this ?

  • @BeetleMuncher
    @BeetleMuncher ปีที่แล้ว

    Does this still work currently? i tried running the script and it said that non primary GPUs were bound to vfio-pci, but when i reboot my nvidia card says that my drivers in use are "nouveau" still.

  • @MajidKamran
    @MajidKamran 4 ปีที่แล้ว

    Thank you for making such an useful videos

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Majid Kamran Thanks

    • @MajidKamran
      @MajidKamran 4 ปีที่แล้ว

      @@PavolElsig Is it possible to make two vm based on discrete GPU?
      Of course not in the same time but it's my goal to have a windows and a Linux guest.
      Is it possible?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@MajidKamran Yes, it is possible. You just have to create another VM and add that GPU. A warning will pop up, but you can ignore it since you're not running them concurrently. If you have multiple GPUs available, you can even run multiple VMs at the same time: th-cam.com/video/rWuNAIHTIJA/w-d-xo.html

  • @Anonymous-nn5wn
    @Anonymous-nn5wn 3 ปีที่แล้ว +1

    it says driver in use: nvidia

  • @zeljkoholik5594
    @zeljkoholik5594 4 ปีที่แล้ว +1

    Thank you so much worked great

  • @acloutman
    @acloutman 2 ปีที่แล้ว

    Would this work with pop os! 21.10?

  • @shabindersingh9275
    @shabindersingh9275 3 ปีที่แล้ว

    How to passthrough igpu ? which is already primary i guess?

  • @swindlesmccoop
    @swindlesmccoop 3 ปีที่แล้ว

    this will work on mint, yeah? it uses the apt package manager, and it's similar to ubuntu just like pop is, so i figure that it will.

  • @SleepyAdam
    @SleepyAdam 3 ปีที่แล้ว

    Having a bit of an issue, everything seems to be working. The script works without a hitch or any errors, lspci shows all of my RTX 2060 kernel drivers as vfio-pci, and when I start up the VM it does start running and it looks fine when I use spice to check it on my host desktop, but I'm getting absolutely no signal from the passthrough GPU. Nada. The GPU seems to be running fine, the fans are spinning and the PC can still see it. But there's just nothing being outputted.
    I'm using an i7-8700k and a RTX 2060 on a MSI Z370 GAMING PLUS motherboard
    EDIT : Fixed by remoting into the VM from host and installing GPU drivers.

    • @JohnJigsaw420
      @JohnJigsaw420 3 ปีที่แล้ว

      Me too. Did you ever figure it out? I have the same GPU.

    • @SleepyAdam
      @SleepyAdam 3 ปีที่แล้ว

      @@JohnJigsaw420 Believe I fixed it by remoting in through a Display Spice first (the thing that lets you control the VM desktop from the host), and then installing the GPU drivers on the VM. :)

  • @levihackerman1337
    @levihackerman1337 4 ปีที่แล้ว

    the QEMU/KVM manager is stuck at "Creating Virtual Machine" part. it says creating domain... and never moves forward from that point on. any help would be awesome!!

  • @helo_test_e5609
    @helo_test_e5609 4 ปีที่แล้ว +1

    I have desktop with i5-4460 and nvidia 1050 ti. Pop Os has set nvidia as primary, can I use the Intel gpu just for virtmanager ? I can't seem to get to windows installation. After I do "press any key" then it goes to "Loading Files [][][][][][[]". I wont get to see the TianoCore logo. Its just black screen if you scroll top you would see "BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00003 " .....

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      You see that on the second monitor connected to 1050ti? Make sure you’ve deleted all the virtual gpu parts (QXL, spice ...).

    • @helo_test_e5609
      @helo_test_e5609 4 ปีที่แล้ว

      @@PavolElsig Yes I deleted all virtual gpu parts and added the intel gpu and audio pci. "Graphical console not configured for guest" is result of this.
      Actually, what I want to have is inside my host PopOS(using primarily nvidia gpu), is virt manager with windows 10 guest running on the intel hd graphics.(I haven't connected any monitor to the motherboard just the 1050 ti).
      I only need to use one monitor cuz that is all I have. Its just like if I am using virtualbox/vmware. I'm not trying to use the virtualization for another physical desktop.
      Just one to have intel graphics performance on vm. Am I misunderstanding gpu passthrough?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      In a GPU passthrough setup you’d normally have your linux outputting though the Intel GPU. Your VM would get the secondary GPU passed through to it. Your VM would be outputting video through that GPU to a monitor connected to it. That message about graphical console not being connected is what you should get. There is no video being sent back to Linux.

  • @allancuber4465
    @allancuber4465 4 ปีที่แล้ว

    My Nvidia card a gtx 1050 mobile it is a 3D controller so the script doesn't work on it is there any way to rectify this

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Laptops are generally pretty difficult to do passthrough on. If you have 2 GPUs (Intel iGPU would be enough) you might be able to do it. I would recommend a laptop specific guide though.

  • @salinora0
    @salinora0 3 ปีที่แล้ว

    should this work if i have 2 identical gpus? the popos helper script doesnt seem to actually change the kernel driver in either of my gpus

  • @salehatwah9486
    @salehatwah9486 3 ปีที่แล้ว

    what if i want to use the gpu in popos for example for python work . ? is there a quick way to switch ?

  • @linux_for_noobs
    @linux_for_noobs 3 ปีที่แล้ว

    Virt-manager ist stuck at creating domain.

  • @moose43h
    @moose43h 4 ปีที่แล้ว

    i have a fresh install of pop os with nvidia drivers and only one hdmi to the gpu. 1050 ti with i7 8700. but after the reboot the audio driver is snd_hda_intel and vga is still nvidia

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      moose43h Is linux using the Nvidia card? You might need to use the Intel GPU as the boot GPU. That way linux would be outputting from the iGPU and the guest OS would use the Nvidia.

  • @danieltracy5650
    @danieltracy5650 4 ปีที่แล้ว

    So i got the vm working and everything. But my host pop os won't boot when theirs a display plugged into the passed graphic card. I have to unplug the monitor. Boot to pop os. re plug the motor and then boot to windows. I followed your guide is, is there anyway to fix this?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Is the GPU you’re trying to pass-through in the first pcie slot?

    • @techbuildspcs
      @techbuildspcs 3 ปีที่แล้ว

      Yes. Due to limited space I can't move it. There is no uefi option to switch them either.

  • @voetvn
    @voetvn 4 ปีที่แล้ว +2

    Thank you! 👍

  • @sprayartist8459
    @sprayartist8459 3 ปีที่แล้ว

    Is there a single tutorial for single GPU pass-throughs on Pop OS?

  • @therearetoomanytomatoes
    @therearetoomanytomatoes 2 ปีที่แล้ว

    Anyone tried running the script lately on Pop!_OS 22.04 LTS? After running it and rebooting the kernel driver in use is still 'nvidia' here.
    Edit: Seems the script adds an empty vfio-pci.ids"" line to the kernelstub which I can't seem to remove with kernelstub -d. It just moves around in the list when doing so. So maybe there is something reentring it right after I delete it? I've tried adding my own vfio-pci.ids with the appropiate GPU ids from the lspci -k list, but I don't know if the empty vfio-pci.ids entry cancels it out. Still can't set the kernel driver in use to vfio.

  • @SebastianPerezG
    @SebastianPerezG 3 ปีที่แล้ว

    Question , are you using 2 graphics cards on your pc? , i mean , are you using the onboard for popos and the nvidia has your passthrough video card ?

  • @Videotest125
    @Videotest125 4 ปีที่แล้ว

    hi
    I struggle to have this working.
    I followed all the step and my secondary GPU still load the Nvidia driver instead of the vfio-pci
    I have VT-X enabled on my bios but I cannot enable VT-D (if I do so, my system doesn't boot anymore)
    Can my problem be related to VT-D being disabled?
    My motherbord is a ROGSTRIX Z370-E GAMING (I just update bios version from 1002 to 2401)
    My CPU is an Intel® Core™ i5-8600K
    Thanks in advance for your answer

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Yeah, it won’t work without vt-d being enabled.

    • @Videotest125
      @Videotest125 4 ปีที่แล้ว

      @@PavolElsig Thanks for your answer. I think I am stuck with 2 computers in this case. Since no operating system (tried on Windows10 and Pop0S 20.10 ) want to boot when I activate VT-D in bios

  • @skedyt
    @skedyt 4 ปีที่แล้ว

    what if i wanted to use my gpu on my host pop os again?

    • @blkspade23
      @blkspade23 3 ปีที่แล้ว

      The script is in plain text. Open it in a text editor to understand the changes that it makes. At the end it creates an uninstall.sh, to revert the changes.

  • @juillotine
    @juillotine 4 ปีที่แล้ว

    Do I need to have a separate keyboard and mouse for this? Will it open the vm as a window or do I need to connect a secondary display?
    Thanks

  • @salinora0
    @salinora0 3 ปีที่แล้ว

    what if the script sets the wrong gpu to run vfio? how do i choose which gpu i want to run the vfio driver?

    • @ice-rl7vh
      @ice-rl7vh 3 ปีที่แล้ว

      having this exact issue

  • @mulct4727
    @mulct4727 4 ปีที่แล้ว

    tried to do this guide, the script was never able to get the ids of my Nvidia GTX 1060 6GB and put them in the commandline

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      If the 1060 is your primary GPU, it can't be passed through. Linux would need to use a different GPU for display output and then it should work. If you have an Intel iGPU, it should be enough. Otherwise you'd need to get another GPU for the host.

    • @mulct4727
      @mulct4727 4 ปีที่แล้ว

      @@PavolElsig I have an intel iGPU that I plugged my HDMI monitor and my DVI-D monitor into it. It still says when I load the script that the boot GPU is my Nvidia GTX 1060. I have VT-d enabled in my bios so that wouldn't be an issue also. I manually put the ids of the NVIDIA GTX 1060 in the commandline and just caused my popos install to hang at startup.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@mulct4727 You might need to change the boot GPU in BIOS. Select the iGPU.

    • @mulct4727
      @mulct4727 4 ปีที่แล้ว

      @@PavolElsig For my motherboard (the Gigabyte B365M DS3H) the BIOS will automatically detect any intergrated graphics and will have an option in there. It has 3 options (Auto, Enabled, Disabled) I have it on enabled, I don't know where I would select a boot gpu in my BIOS.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@mulct4727 You should be able to change it under peripherals and initial display output.

  • @crylia8666
    @crylia8666 4 ปีที่แล้ว

    When i use my intel UHD graphics i cant see my gpu anymore if i type lspci -k.
    I got a RTX 2060 Super and an Intel I5-8600k on an Asus Z390 TUF Gaming, i have no idea why this happens.
    I selected the CPU as the main graphics in the BIOS.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Try running “lspci | grep NVIDIA” that GPU should still be there

    • @crylia8666
      @crylia8666 4 ปีที่แล้ว

      @@PavolElsig I found the problem, i have to turn it on via system76-power graphics power on.
      But now i have a different problem, when i try to boot the VM i get stuck at the Press any key to boot from CD or DVD. Whenever i press anything it stops and i have to force shut it down, any clue why this happens?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@crylia8666 Make sure the keyboard is connected/routed to the VM. You could also try to install Windows without a GPU and add it later to a fully working VM and install the drivers.

    • @crylia8666
      @crylia8666 4 ปีที่แล้ว

      @@PavolElsig it is, I now deleted the VM and made a new one. No idea what was wrong but thanks for the help it's working now

  • @ritzmat
    @ritzmat 4 ปีที่แล้ว

    You're saying in this video that secondary GPU should work with that script, could you please confirm that sentence because your previous Fedora video you were saying in the comment that it disabled any other GPU while guest VM was running

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      The primary/boot GPU always stays with the host. Secondary GPUs are bound to vfio-pci and can’t be used by the host. Only guest OSes can use those GPUs. Both the Fedora guide and the PopOS guide work like that.

    • @ritzmat
      @ritzmat 4 ปีที่แล้ว

      @@PavolElsig I lust've read it wrong then thank you for your comment and content !

  • @psyren4739
    @psyren4739 4 ปีที่แล้ว +1

    stuck creating domain any idea why?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      What hardware are you running? IOMMU groups could be another cause. Try creating a VM without a GPU just to make sure it’s GPU passthrough causing it.

    • @psyren4739
      @psyren4739 4 ปีที่แล้ว

      @@PavolElsig works w/o gpu, nvidia geforce 1060 3gb

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Is the GPU and it’s audio portion controlled by vfio-pci? If not blacklisting nouveau might help. Is it in it’s own IOMMU group? If nothing else helps using a different pcie slot might help.

  • @NimiEnthusiast
    @NimiEnthusiast 4 ปีที่แล้ว

    Could this be done with a singel GPU and intel iGPU where the iGPU is the host and the PCie GPU is the guest slave? using looking glass, 8700k + z390 motherboard?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      That would work just fine. Just make sure that the iGPU is set as your boot GPU in BIOS.

    • @NimiEnthusiast
      @NimiEnthusiast 4 ปีที่แล้ว

      @@PavolElsig Awesome, thats actually made my day, was thinking i needed to go buy another "lower end" gpu xD

  • @aidencraigallman1656
    @aidencraigallman1656 4 ปีที่แล้ว

    I've got an rtx2060 max-q in my laptop and the win10 KVM only recognises it as a Microsoft VGA adapter, the latest NVIDIA driver doesn't recognize the card, how do I go about installing the driver? Thanks you in advance

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Aiden Craig Allman Laptops are more difficult to do passthrough on. You might need some additional steps. Try following this guide medium.com/@Leduccc/simple-dgpu-passthrough-on-a-dell-precision-7450-ebe65b2e648e

    • @aidencraigallman1656
      @aidencraigallman1656 4 ปีที่แล้ว

      Probably a stupid question, I'm using kernelstub --add-options "intel_iommu", do I need to add the "vfio-pci.ids=10de:10fa,10de:1fb9" too?, The VM seems to see the PCI devices

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Kernelstub needs the GPUs you’re passing through. You’d have to list them one by one. Those devices’ll be bound to vfio-pci.

    • @aidencraigallman1656
      @aidencraigallman1656 4 ปีที่แล้ว

      @@PavolElsig might have found the root cause of my issue, looks like the subsystem id is Changing as soon as KVM starts and takes control of the vfio driver, is there a way to hardcode these so I can install the NVIDIA driver?

  • @DiegoAugustoSteffen
    @DiegoAugustoSteffen 4 ปีที่แล้ว +1

    TKS!!

  • @michaelpillai581
    @michaelpillai581 4 ปีที่แล้ว

    If I have 2 monitors , how do you set them up? One monitor to each GPU?. Is possible to use spice display? Can you have a monitor setup so it connected to different gpu example display port to one gpu1 and HDMI to the other gpu2?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Each monitor is connected to one of the GPUs. It's totally up to you whether it's connected to a display port or HDMI. You could still use spice, but if that's what you want, check out Looking Glass because it's way better.

    • @michaelpillai581
      @michaelpillai581 4 ปีที่แล้ว

      @@PavolElsig Thank you, will do haven't got it to working yet. All your videos are helpful.

  • @emiroven51
    @emiroven51 3 ปีที่แล้ว

    I want to ask, can I continue using my Nvidia GPU on Linux after I close my vm?

    • @itheapologist7612
      @itheapologist7612 3 ปีที่แล้ว

      I don't believe so. What you are referring to is something called vGPU, which is virtualizing a GPU to be used by one or more VMs and the host. Think basically how virtualization works for other hardware like RAM and CPU resources. This is still not something unlocked in consumer GPUs. What this guide is showing is passthrough, which is excluding the GPU from use with the host system and making it dedicated to the VM. Hence why, if you read the script READ.me file on Github, it requires that you have two GPUs present in your system. This can be two dedicated graphics cards or one GPU and a CPU that has integrated graphics as well.

  • @iyaanazeez8989
    @iyaanazeez8989 4 ปีที่แล้ว

    Is there any way to get GPU pass through working on a laptop with two gpus

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      It’s possible on some laptops, but it’s more complicated than on a desktop. Look for a laptop specific guide. There are a couple out there.

  • @longview3k69
    @longview3k69 4 ปีที่แล้ว

    I'm having an issue when it comes to booting into windows for the first time. After I press any key to boot into windows, it just starts loading files and then keeps showing a black screen. I've tried downloading another copy of windows and hoping that works but its the same thing as well. Can someone help me out?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Maybe try installing Windows with the default virtual GPU (the one I deleted) and add the actual GPU once Windows VM is up and running.

    • @longview3k69
      @longview3k69 4 ปีที่แล้ว

      @@PavolElsig I have a NVidia 1060 6gb. The VM will not run without the default GPU which I find weird. the Nvidia parts are already read as vfio-pci but the VM doesn't want to behave properly

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Make sure you delete all the parts associated with the virtualized GPU, spice and anything related. Use Q35 and UEFI, not Seabios. Hopefully that helps.

    • @simplestrikes6224
      @simplestrikes6224 4 ปีที่แล้ว

      I had the same problem. My solution is that the second graphics card that you are trying to pass to the VM needs to be connected to a monitor

  • @James-vu7ef
    @James-vu7ef 4 ปีที่แล้ว

    My install of pop os is using grub instead of systemmd should i follow the ubuntu 20.04 tutorial instead? i tried with the script in the description but it did not work

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      James Yes, Ubuntu 20.04 guide should work in your case.

  • @rockmanvnx6
    @rockmanvnx6 4 ปีที่แล้ว

    i have an integrated intel graphic chip and a gpu 970m. Does it count as 2 graphic cards or no?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      It does count as two GPUs. But since it’s a laptop, there will probably be some additional challenges. I’d recommend looking for a laptop specific guide.

    • @rockmanvnx6
      @rockmanvnx6 4 ปีที่แล้ว

      i couldn't find a guide for laptop so followed your instruction and have vfio.pci-ids="". I ended up add in the graphic cards pci-ids myself and got an unbootable kernel. Followed by a 30 minutes recovery I managed to get my system back. Guess i'll just have to stop playing around before things gotten worse haha.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      @@rockmanvnx6 Here are two sites talking about some of the issues facing laptop GPU passthrough. It really depends on the laptop you’re using.
      gist.github.com/Misairu-G/616f7b2756c488148b7309addc940b28
      medium.com/@Leduccc/simple-dgpu-passthrough-on-a-dell-precision-7450-ebe65b2e648e

    • @rockmanvnx6
      @rockmanvnx6 4 ปีที่แล้ว

      Thank you 😊

  • @cleman15
    @cleman15 4 ปีที่แล้ว

    Hi! Do you know if this works with a laptop? I have a MSI PE70 7RD and I'm so anxious to make this work on it! Thank you so much for this! Keep going!

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      I haven't tested it on any laptop. I'm guessing it won't.

    • @cleman15
      @cleman15 4 ปีที่แล้ว

      @@PavolElsig I'm able to passthrough my NVIDIA GTX 1050 (no audio device) but windows guest doesn't detect it. I'm wondering if I missed something...

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      This might help: medium.com/@Leduccc/simple-dgpu-passthrough-on-a-dell-precision-7450-ebe65b2e648e

  • @justincredible5406
    @justincredible5406 4 ปีที่แล้ว

    What are the options if my graphics cards are the same?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      justin credible The guides for Fedora, Manjaro and I think Suse would work in that situation.

    • @justincredible5406
      @justincredible5406 4 ปีที่แล้ว

      @@PavolElsig Wow thank you for the prompt reply! I'll report back if I get anything working.

  • @amanwithaplan6187
    @amanwithaplan6187 4 ปีที่แล้ว

    Any idea why the secondary gpu's kernal driver is not changing to VFIO-PCI?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Is your BIOS set to use the iGPU as boot GPU? That’s one thing I can think of.

    • @amanwithaplan6187
      @amanwithaplan6187 4 ปีที่แล้ว

      @@PavolElsig I went into the config file and manually changed the addresses to my GPU and it seems to have worked.
      Now the only problem I have now is the iommu group is bound with other devices. So apparently I need to do an ACS patch to isolate the 2 devices from that group. I'm just not exactly sure how. If you got any tips - please let me know. :D
      www.reddit.com/r/VFIO/comments/gu974u/gpu_passthrough_not_sure_how_to_work_acs_patch/

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Daniel Wheeler I’m planning to release a guide for ACS patching this week. Other than that, you could just move one of them to a different slot.

    • @amanwithaplan6187
      @amanwithaplan6187 4 ปีที่แล้ว

      @@PavolElsig Thanks man - keep up the good work! :D

  • @inyalgaico1563
    @inyalgaico1563 4 ปีที่แล้ว

    How do you undo this?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      There should be an uninstall.sh in the folder

  • @MrDevianceh
    @MrDevianceh 4 ปีที่แล้ว

    do i need to connect my monitor to the onboard gpu or the standalone?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Both, the output from the host comes out of the onboard GPU. Your VM will be using the standalone one.

    • @rsxhitman
      @rsxhitman 4 ปีที่แล้ว

      Pavol Elsig so you need 2 gpus for this correct? Is there a way to use one only

    • @sterkriger2572
      @sterkriger2572 3 ปีที่แล้ว

      @@rsxhitman AFAIK if you CPU has an integrated GPU like intel does or the Ryzen with Vega graphics inside you can use it in the host by the HDMI exit in the motherboard while the guest uses the dedicated GPU. If you need to use dedicated GPUs on the host and in the guest you will need 2 GPUs.

  • @40inuyasha04
    @40inuyasha04 4 ปีที่แล้ว +1

    Hey, I had this guide working on a test bench but when I tried this with my main PC, the nvidia gpu after running script still says it is using the nouveau driver and not vfio.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Make sure linux isn’t using the Nvidia GPU for display output. Linux should be using something else. The GPU you are passing through should be secondary/non boot.

    • @40inuyasha04
      @40inuyasha04 4 ปีที่แล้ว

      @@PavolElsig Linux is using and booting with an Amd gpu

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว +1

      Steven Porte Are the virtualization extensions (both of them) turned on in bios? And if that does not help blacklisting nouveau might help. Also make sure kernelstub -p (I think thats what it is) show the ids of your GPU.

    • @40inuyasha04
      @40inuyasha04 4 ปีที่แล้ว

      @@PavolElsig Do you mean vt-d and vt-x? As well, yes i see the ID's of my gpu that I want to passthrough in the Kernel Boot Options.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      Yes, those need to be enable in BIOS. Without vt-d and vt-x it won’t work.

  • @yahiaghadiry9885
    @yahiaghadiry9885 4 ปีที่แล้ว

    is there a version with one gpu

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      yahia ghadiry Yes, look for single GPU passthrough. It is significantly more difficult, though.

    • @yahiaghadiry9885
      @yahiaghadiry9885 4 ปีที่แล้ว

      @@PavolElsig Ok thanks

  • @liamphillips2918
    @liamphillips2918 4 ปีที่แล้ว

    Curious about doing this in the future. Is there any input lag or does it feel like playing natively?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      No noticeable input lag. There’s a very minimal loss of performance.

    • @liamphillips2918
      @liamphillips2918 4 ปีที่แล้ว

      @@PavolElsig Sweet! I wonder if it would work with windows LTSC version that has no bloatware and more privacy options?

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      I think it should work just fine with LTSC

  • @IzakunProject
    @IzakunProject 4 ปีที่แล้ว

    Hey, i have follow all of ur video but i get this error when i try to install windows : zupimages.net/up/20/41/yof7.png
    Have u any idea ?
    Thank's

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      This is some random Windows error. Option 3 -repair might help. Downloading a fresh iso from Microsoft's website might be a good start too.

  • @morekof1299
    @morekof1299 3 ปีที่แล้ว

    creating domain

  • @maxximus5615
    @maxximus5615 4 ปีที่แล้ว

    doesn't work

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      maxximus How many GPUs do you have? Are all the virtualization extensions enabled in BIOS?

    • @maxximus5615
      @maxximus5615 4 ปีที่แล้ว

      @@PavolElsig I have 2 GPUs. After it prompts to press any key to boot from CD-ROM, all I get is a black screen.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      maxximus Is it an AMD GPU? Try BIOS instead of UEFI and see whether that helps.

    • @maxximus5615
      @maxximus5615 4 ปีที่แล้ว

      @@PavolElsig ryzen CPU with integrated graphics with nvidia GeForce GTX 2060 GPU

  • @obinator9065
    @obinator9065 4 ปีที่แล้ว

    My iGPU only shows intel 915 when doing lspci?
    I connected it in the VM, don’t do shit

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      This won’t work for the iGPU. You could use the iGPU for Linux and passthrough a dedicated GPU to the VM. If you want to passthrough an iGPU, you could use gvt-g or gvt-d.

    • @obinator9065
      @obinator9065 4 ปีที่แล้ว

      @@PavolElsig I only find stuff about gpu switching for iGPU/NVIDIA? I have an AMD GPU.

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@obinator9065 How many GPUs do you have?

    • @obinator9065
      @obinator9065 4 ปีที่แล้ว

      @@PavolElsig 1 amd and the iGPU of the 8600k

    • @PavolElsig
      @PavolElsig  4 ปีที่แล้ว

      @@obinator9065 As long as the host/linux is using the iGPU (not the dedicated GPU), this guide should work.

  • @ice-rl7vh
    @ice-rl7vh 3 ปีที่แล้ว +3

    How does the script decide which GPU to change kernel driver on? I've tried the script a few times and it keeps using the wrong gpu. Is there a way to specify which gets used?

    • @ice-rl7vh
      @ice-rl7vh 3 ปีที่แล้ว +1

      Does it pick the card with the most PCIE bandwidth? Because I am using a 2060 and a 750, attempting to passthrough the 2060 (in top gpu slot)