Single GPU passthrough guide for Intel iGPUs with GVT-g on Ubuntu 20.04

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 191

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

    A video on how to switch GPU between host and guest and more on looking glass and sound had been nice :)

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

      OzzyKampha That would be nice. One day I’ll make it

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

    Thankyou so much for making this.

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

      No problem! Let me know how it goes

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

    Thanks for the video and scripts. You talk about looking glass, but no mention of an additional display. Can you not just connect another display to the connector from the integrated Intel graphics and have that be a dedicated display for the VM?

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

    Thanks Pavol, your videos really help! Could you make one for GVT-g where we use DMA-BUF and Virt-Viewer instead of looking glass? Thanks again

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

    Sorry to throw more questions at you on this! When trying this in Ubuntu 20.04 I found that my Linux environment ran extremely slowly when my primary display was connected to my 2080ti, but fine if the display was attached to the igpu. This is regardless of whether the vm was on it off. Have you seen this before? Also, a lot of the time my mouse and keyboard doesn't get passed back when shutting down the vm, works sometimes but not others? Thank you for your videos, they're fantastic.

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

      In Linux try to change some settings in Nvidia Prime. Maybe try setting it to performance mode. Im just guessing though. I think I had a similar issue on an optimus equipped laptop.

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

    This is awesome. Thank you!

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

    This time I able to install GVT-g on my skylake i5-6500 CPU but I had to use arch linux and seabios instead of UEFI OVMF. No more BSOD and things running perfectly well. Just your virsh.txt helped me here.
    Thanks for your work on that part and I wanna see arch/manjaro tutorial from your channel about gvt-g.

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

      I wanted to make a Manjaro guide for gvt-g too, I just never got to it.

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

    Hello Pavol, I wanted to know if we can make the host machine use the virtual gpu instead of the guest and pass-through nvdia card to the guest?

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

      You can have the host use the iGPU, and passthrough the dGPU. I have regular passthrough guides for that too.

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

    If it's possible to do single gpu passthrough with a dGPU (in my case, a nvidia gtx 1060 with a Intel i5-9400F meaning it has no iGPU) could you link any guides or try to make a guide on it?

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

      Unixian You can not do exactly the same thing with a 1060. Only Intel iGPUs and a couple of of server GPUs support it. If you look for single GPU passthrough guides, they allow you to switch GPUs between the host and the guest. In those cases only one is using it at a time.

  • @titaprincessdiary
    @titaprincessdiary Рік тому

    Will this work in my system? GVT-g helper dl are a bit intimidating. My system is Jammy LTS > uses the same kernel driver i915 in my host. I have virt-manager already. Windows 10 in default settings/setup works fine but I want to do this, the pass through. any advice.

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

    Hey Pavol, nice guides. In your opinion what is the best distro for doing gpu pass through?

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

      Beer Goggler I personally use Fedora, but Ubuntu and Manjaro are really popular too. You’ll find a lot of help on the Internet for all of these. Can’t go wrong with any of them.

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

      Pavol Elsig I’m struggling to even get Ubuntu desktop installed on my Z620. Got an old GT710 as my primary GPU and Ubuntu refuses to boot to it on install USB, and after install on safe graphics mode. Managed to get to terminal and lots of Nouveau data error messages on dmesg. Trying apt-get update/upgrade but not hopeful. Will fall back to Fedora if this does t work

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

      Beer Goggler Do you also have an AMD GPU in that PC? In cases like that, it might help to add nomodeset to grub. It helps with errors like that, at least until all the secondary GPUs are bound to vfio-pci.

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

      Pavol Elsig Yep got an RX580 as 2nd GPU. Update didn’t help. This isn’t an exotic hardware set. Why is Linux still so broken? I’ll try nomodset

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

      Update: managed to isolate the amd gpu with vfio, then had a weird edid issue with the gt710 on HDMI. Got lucky by swapping the HDMI monitor port. Got it all working in the end. Why does it have to be so difficult? Thanks anyway.

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

    Great tool and great video. THX

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

    I really enjoy all your tutorials, very informative and helpful. Thank you.
    Just tried this tutorial (a little modified as I am on Arch) on a thinkpad with Intel/Nvidia combination. All works fine until the restart of the VM after adding the intel graphics adapter via virsh. The VM comes up and I believe it found and the new graphics adapter, but the screen turns black. It does not crash, as I am able to shutdown the laptop. Both monitor outputs (mini display as well as HDMI) don't have a signal either. Any idea/pointer as to what might be the problem for further investigation? Thanks!

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

      Arno Speitkamp Glad to hear you find these tutorials helpful. I was having issues like that too. I had to disable the Nvidia GPU through nvidia-control panel / prime. After that it seemed to work pretty well.

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

      @@PavolElsig Thanks for taking the time to answer, really appreciate it. The pointer with NVIDIA/Prime is great, to be honest I actually skipped this step in your tutorial, as the NVIDIA control panel (450.66) does not have the section with the PRIME profiles on my Thinkpad. Guess I have to do some reading on this to figure out how to get it ;-) Just for my understanding: selecting "Intel - Power Saving" basically disables the NVIDIA GPU?

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

      Arno Speitkamp Yes, that should disable the dedicated GPU. I’m sure the is a different way of getting this to work too. I would check the Arch Linux wiki’s GVT-g section to see if they have any helpful tips.

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

    Hi, I following your guide. I get my intel vga driver installed, but after restart windows display adapter still there, and I cant start looking glass on guest side. Any step I missed?

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

    Pavol, this tutorial is amazing. It was very easy to accomplish the installation with your scripts and commentary. Unfortunately, I'm facing strange problem that I haven't solved yet. Even though everything is installed on the first attempt with no error (according device manager UHD630 seems installed within guest) my user experience is very, very bad. Every mouse move is incredibly slow (looking glass capturing is enabled), every graphic render stutters . It seems like frame rate is somehow decreased and latency somehow prolonged. Do you have any advice for this situation?

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

      Try changing the CPU topology in VM manager. Change it to one socket and a couple of cores. And than make sure that the allocation on the top of the page matches it.

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

      @@PavolElsig I think I did. Manual assignment: 1 socket, 3 cores, 2 threads. Do you think that this issue is related? github.com/intel/gvt-linux/issues/35

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

      @@albertogarcia5311 Not sure whether its related, but I have seen issues with this even without running gvt-g.

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

      @Pavol Elsig I tried a lot in recent days and I managed to collect further details. The problem seems to be related to looking glass to me. I have found out that there is a quite considerable performance difference between QXL and Looking glass approach. I switched to QXL that within guest's resolution seems to be stucked to 800x600. Anyway, I tried to download Unigine benchmark, I put it to low settings, picked DX11 and the result was around 75FPS. Then I turned it off and went for looking glass approach again. I set the guest's resolution also to 800x600 and ran benchmark with same settings, the result was only around 30FPS. After that I ran looking glass with -k parameter to view a frame related information. There are two values - FPS is always close to 60FPS, but UPS is not. When I run 60FPS video within guest that its resolution is set up to 1920x1080 the UPS is about 27FPS. When I increase guest's resolution to my screen native 3840x2160 and run the same video the gap between UPS and FPS is even worse - UPS is just about 6-7. It seems that I'm facing performance problem in my particular setup. But I don't understand why. I mean it supposed to be native like experience...at least in 1080 resolution, isn't it? My setup is pretty generic I'd say. Intel 10th gen core processor with UHD630, plenty of RAM, SSD, newly installed Ubuntu 20.10 and within guest it seems that UHD630 is correctly installed.

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

      @@albertogarcia5311 Have you tried adjusting the memory size value for looking glass. Other than that 4k might be a lot to ask for from Looking Glass. You could try one of the game streaming utilities like moonlight or steam streaming.

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

    Very helpful! Using this on my laptop to run windows cad programs. I'm just running into one small but very annoying problem. After booting up the vm, the host system's mouse (pop os 21.10) gets flickery and glitchy. It doesn't stop after shutting down the vm either. Really not sure what to do. It's usable, but very irritating.

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

    is it possible to passthrough Intel hd 4000 not by this method but by any other

  • @frederic-xavierdubois8289
    @frederic-xavierdubois8289 3 роки тому

    Great Guide.
    Would it work with PCI GPU also ?

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

      I have videos and scripts for passthrough of dedicated GPUs too. ua-cam.com/video/ID3dlVHDl0c/v-deo.html

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

    Hi, can I use this guide for a thinkpad laptop with integrated graphics and NO other graphics card

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

    Hey so everything works but once I get to the windows desktop it freezes the screen after a few seconds and I have to close the window and run the looking glass command again.

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

      I don’t know what exactly is causing that. I would maybe try a different version of LG.

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

      @@PavolElsig got it to work, on vmm you have to give the vm all of your available cores otherwise it will freeze the display

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

    my laptop is not detecting the new display drivers (intel UHD 620). any suggestions?

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

    Do you get a nice smooth 60 fps VM output ?

  • @maskedredstonerproz
    @maskedredstonerproz Рік тому

    Sir, is there any equivalent for 4th gen intel integrated graphics cards??

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

    Amazing tutorial, trying to do this before manually but cannot got Looking Glass up. Hopefully it is somewhat good enough for gaming :)

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

    I have a Hades Canyon NUC which has both intel iGPU and AMD graphics but, the way that intel designed the hardware is that all video display output goes through the AMD GPU. Is it possible to run this setup the same way but using the AMD GPU?

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

      Seba13xp Do you actually see the Intel iGPU when you run lspci? If that’s the case, it might work.

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

    can you make a single gpu guide for fedora using an amd gpu and amd cpu?

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

    Can i Passthrough my IGPU , leaving my Nvidia has my primary Video ?
    it will be nice if you can make tutorial about this, also , i only put the vfio-pci addresses in my grub file , i do not create any file in modprobe folder , i can pass the igpu but after the first boot, the device returns a Code 43.

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

    Hi, thanks for the tutorial! I have done every step but I used looking glass version b3 and got stuck on looking glass icon. In the terminal, I see "Host ready, reported version: B3-rc1
    Starting session". Sometimes I see Windows desktop but everything is frozen.
    Update: I was able to fix it by changing the current CPU cores to match the core assigned to the machine. It has something to do with the CPU cores i guess as reported by someone else here.

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

    Can I passthrough my intel UHD 620 to a Macos guest?

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

      Bro did you got it working ? If yes, then plz do help out with the correct steps to make this work

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

    With a skylake CPU my VM works fine (Intel iGPU and everything) but then once windows update takes over, it can never restart and I have have to force it off. Startup repair never works and the VM is hosed. This happens every time rip.

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

      just disable windows update service

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

    I need you help, my laptop keyboard and mouse not working on lg, thanks

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

    Is i3 9100 CPU supported? In my configuration the directory /sys/devices/pci0000:00/0000:00:02.0/mdev_supported_types is empty.

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

      After I increase gpu aperture size in the bios it works. Thank you

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

      Glad it worked. Thanks for letting me know that increasing the aperture size helped.

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

    I'm trying to do this in Linux mint 19.3 but i'm geeting a lot error messages at end of part 1 firmware not found? and doing part 2 my username doesn't show up something about chown? I'm forced to upgrade to Ubuntu 20. Is it safer doing it on desktop or live cd?

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

      I’ve not tested it on 19.3. Also, this has to be done on a fully installed OS, live CD won’t work as changes won’t persist when it’s rebooted.

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

      @@PavolElsig When I meant by the live cd meaning upgrade the Distro version to Ubuntu 20 or use apt get upgrade command from the terminal? I did a Timeshift snapshot i choose to upgrade to ver. 20 which I'm scared. My laptop with intel i5-7200U, Intel HD 620 graphics. Yes Vt-d and Virtualization is enabled in the bios.

  • @Jim-bh2tb
    @Jim-bh2tb 4 роки тому

    Do you think XPS 13 9310 will work doing this? I have so many questions about VFIO but first, I want to know if XPS 9310 is workable.

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

      Jim It will probably work for gvt-g. I don’t know how well it’ll run since it’s only a ULV quad-core. Make sure to set the CPU topology (in VM manager) to single socket and give the VM a couple cores.

    • @Jim-bh2tb
      @Jim-bh2tb 4 роки тому

      @@PavolElsig Follow-up question tho, I don't quite understand how GPU passthrough works so If I will use the igpu in windows VM, does it mean I can't now use it to play some linux native games? I read that this will be difficult to do. So I have to use Dgpu like egpu. Is that correct?

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

      Jim With gvt-g you can use the Intel iGPU for both the host and the guest at the same time. Any other form of GPU passthrough gets pretty difficult on laptops. For most other forms of passthrough, you’d need two GPUs - one for the host and one for the guest.

    • @Jim-bh2tb
      @Jim-bh2tb 4 роки тому

      @@PavolElsig Ohh okay. Thank you for clarifying. And also thanks for the tutorial this is awesome. I will use this when I got my laptop at the end of the year (hopefully not the world tho)

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

      I don’t believe it will work as it has Intel Xe graphics which sadly don’t support this feature. I think Intel is working on a alternative though.

  • @dylan-xq1qh
    @dylan-xq1qh 3 роки тому

    think this is possible to use with mac os? since i dont have a amd gpu at hand atm

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

      Looking Glass doesn’t have a MacOS executable. You could try using Nomachine instead and in theory it should work.

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

    Can you make a guide for passing through nvidia gpu with looking glass with laptop?

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

    great :)
    can i pass through nvidia gpu to guest and use intel gpu as primary gpu in linux host
    and when vm is shutdown use nvidia for launch programs like gimp, blender ...... in host?

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

      There are some single GPU passthrough guide out there. Try using one of those.

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

      @@PavolElsig thank you
      i search a lot but i can't find guide for what i mentioned
      would you give a link to it?

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

      @@alirezarezazadeh6632 Try this one: github.com/joeknock90/Single-GPU-Passthrough

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

    Is there any similar procedure that can be done with AMD integrated GPUs such as Ryzen Vega?

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

      No, only some some server GPUs support SRIOV.

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

    hi, do you have any tutorial for single GPU passthrough with nvidia or amd? i don't have a cpu with integrated graphics

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

      I don’t have a single GPU passthrough guide for Nvidia or AMD yet.

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

      @@PavolElsig so it is possible to do that 😀

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

    And why doesn't it work with older intel processors?

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

    Hi, my desktop has a GTX1050Ti, and Intel i7 6700K. Will I be able to use GTX 1050 Ti for Ubuntu, and passthrough my intel iGPU with GVT-g to a windows guest?

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

      It should work

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

      @@PavolElsig thank you for the reply. This tutorial is really good.

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

    Soo, my laptop has a i3 4010u and it's spec page shows that it has Intel® Virtualization Technology (VT-x). The laptop also has a an AMD card in it but for some reason it simple won't work in the virtual environment. My question is will my i3 with igpu be enough?.

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

      00WarLok00 I think you’d need at least a 5000 series processor. Even if this did work, it only has two cores and that’s not ideal.

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

      @@PavolElsig Yeah that's true. Thank you for the reply.

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

    Hey, once I run all of the parts, the check_gpu file doesn't get created, any help?

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

    brother I am using macOS inside KVM so what about scream in macOS and all the other stuffs, please make a video about that

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

      Please help

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

      praveen shahi I don’t think there is a MacOS driver for Scream. You could use a USB sound card or your GPU’s sound card.

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

      @@PavolElsig what about the gvt-g drivers and can the igpu passdown to the macos, as my laptop is a optimus based laptop and i cannot use mx230 gpu in macos

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

      @@PavolElsig i really do not care about the audio coming just can i passdown the igpu to macos using this method

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

      praveen shahi It should be possible to passthrough the iGPU using this method.

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

    Hey does it work with intel ivy bridge?

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

    When i typed in the terminal "sudo virsh edit win10-2" (win10-2 was the name of my VM) it said "failed to get domain 'win10-2'

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

    I need help for GVT-g causes BSOD after driver is installed for Intel HD Graphics 530

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

      Try rebooting the guest and see whether that helps. Trying an older driver might also be worth it.

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

      @@PavolElsig later I found out it's a bug side from intel, tried everything, changed driver from safe mode. Same case, BSOD when guest tries to load iGPU driver. HD 530 is not for GVT-g then for now. Here's the github issue comment github.com/intel/gvt-linux/issues/60#issuecomment-691852789

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

    I desperately need your help in making these steps work for macOS guest vm
    Plz plz help out
    🙏🙏🙏

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

    will this work on my chuwi tablet / laptop. has intel 650 graphics and a celeron 8gb ram and real SSD

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

      It might, but performance won’t be very good. I think a quad-core might be the minimum for reasonable performance.

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

      @@PavolElsig it has 4 cores. Although I undertand it is only 2.2ghz per core (unlocked)

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

      Ryan Birks Only one way to find out

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

    will it work on arch linux?

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

    Thankyou so much for the video, i have aorus b450 pro with r5 3600 and gtx 1070 ^_^ any Single GPU passthrough guide, if you can help :)

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

      it done :D i resolved by myself thanks

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

    after passthrough intel 630 can i add in gtx1650 also?

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

      As long as you follow the right steps for direct GPU passthrough.

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

    When i tried to install the drivers for my intel hd 520 it doesnt find any drivers. Any fixes?

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

      Try downloading them from Intel’s website

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

      @@PavolElsig Ill try doing that

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

      @@PavolElsig it just tells me your device does not meet the minimum requirements to run this program

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

      @@vboodesu9150 That’s an interesting error. Just to make sure, you see 2 GPUs in the device manager and neither one works (one should be the qxl emulated and one the iGPU). Make sure you’re using UEFI and 64bit Windows 10. Possibly trying an older driver might work.

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

      @@PavolElsig i think it doesnt detect my gpu

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

    Can you make a video about Lokking Glass on Pop OS?

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

      I could look into it one day, but it should pretty much the same as Ubuntu.

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

      Pavol Elsig thank you:) having problems with it, you see

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

    Would I be able to use something similar to this with a GTX 1070

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

      Jarvis Smith You can passthrough the 1070 to a VM and I have guides for that. You would then use Looking Glass to display the content of the VM on the host. But you’d need two GPUs. You can not use the 1070 concurrently in the host and the guest if it’s the only GPU. GVT-g is only available on some server GPUs and on Intel iGPUs.

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

      @@PavolElsig Understandable. I took a jab at the passthrough earlier this month, but I believe I wasn't able to make my GPU use virt-io as it was stuck on Nvidia. After going through the helper steps

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

      @@jarvissmith7868 If you ever want to try it again, try my Fedora guide (I think Suse would work too). Those can take grub parameter rd.driver.pre=vfio-pci. That should help with vfio-pci loading before nvidia/nouveau. That usually happens when both your GPUs are Nvidias. Just make sure that Linux display output is not coming from the same GPU.

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

      @@PavolElsig I gotcha. So silly question, would that mean I would have to switch my input to the igpu for the GPU to have guest?

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

      @@jarvissmith7868 If you have both an iGPU and a 1070, it makes the most sense to passthrough the 1070. You’d end up with linux using the iGPU and the guest using the 1070. You’re right that you’d have to change the boot GPU to the iGPU in that scenario. Once the 1070 is bound to the vfio driver, the host can’t use it. Intel iGPU is the only consumer GPU that can run the guest and the host at the same time. If you want to passthrough anything else, you have to decide beforehand which GPU will be used for the host/guest.

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

    would this work on Debian as well?

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

      I haven’t tested it on Debian. It might need some adjustments.

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

    Everything worked well, but unfortunately, after that, I found out that snapshots are not supported when passthrough is enabled :(
    Btw, many thanks for your work.

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

      Live snapshots don't work with passthrough. You should still be able to create a snapshot of a machine that's shut down.

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

    When i try to extract the files it asks me for password any fixes?

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

      They added a password. It’s the commit hash right next to the date.

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

    I'd like to thank you so much for your efforts, i just came through some errors on pop os, i think it's mainly due to using systemd and not grub. will be highly appreciated if u can assist with this.

  • @mdzaid5925
    @mdzaid5925 11 місяців тому

    Unfortunately, 10th gen and higher does not supports this technology.

    • @frisk4499
      @frisk4499 8 місяців тому

      It worked with my 10210u

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

    looking glass host win required password to extract , what is it ?

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

      It’s the commit hash. Right next to the date in the row where you clicked on the download.

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

      @@PavolElsig i use this version Tag: B2-rc2 i type d579705b but give me wrong

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

      @@hilaleah Try the one from the other versions. The full release of B2. You’ll probably have to start over though. The password requirement is new. It wasn’t there when I made the video.

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

      @UCM-_JBFej0QAuVYKv2mTSgg Do you get any errors?

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

      @@PavolElsig okey its working for me , i run full screen and its open but when i pess click L and right in mouse Mouse cursor goes to corner automatically

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

    can you make a gvt g tutorial for manjaro?

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

      I might update that script at some point to work with Manjaro.

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

      @@PavolElsig Thank you! I would like to know when that happens!

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

    can i use single igpu for macos?

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

      I haven’t tried it, but it should work

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

      @@PavolElsigPlease do try it if you are available , please

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

    Can you make one for ArchLinux?

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

      Arch linux wiki has a really good guide for gvt-g.

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

      Stupid question: I need to compile the intel/gvt-linux kernel myself right?

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

      @@prathameshjadhav5047 I didn’t compile anything. I don’t think you’d need to either.

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

      @@PavolElsig because i find nothing in ls /sys/devices/pci${GVT_DOM}/$GVT_PCI/mdev_supported_types

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

      @@prathameshjadhav5047 What processor do you have? Have you edited and updated grub?

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

    CMake Error at CMakeLists.txt:14 (target_link_directories):
    Unknown CMake command "target_link_directories".

  • @frederic-xavierdubois8289
    @frederic-xavierdubois8289 3 роки тому

    Great Guide.
    Would it work with PCI GPU also ?

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

      For PCI GPU you don't usually have this functionality (it depends on whether the host driver supports it). On the other hand classical passthrough works properly on them and, since you're outputting to an actual display it's much easier to deal with.

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

    Is there a alternative one for a amd gpu?

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

      Antoine Roquentin You’d have to have a GPU that supports SR-IOV like Firepro S7150. Even then, it would be quite a journey. Your best bet is just passing a dedicated secondary GPU.

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

      Pavol Elsig so what did this guy do? ua-cam.com/video/3BxAaaRDEEw/v-deo.html didn’t he use a and gpu?

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

      Antoine Roquentin In his case the host and the VM aren’t using the GPU concurrently. The host has to disengage the GPU and then the VM can use it. If you follow that guide, the performance can be much better because you’re not stuck with an iGPU. The only downside is that you can’t alt tab between the VM and the host.