VirtualBox iGPU Passthrough

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I followed this quick guide to enable PCI passthrough using KVM on Fedora, the main steps are:



  • Enable IOMMU and Virtualization on the motherboard

  • Prevent my device from being grabbed by a module during statup

So far so good. dmesg| grep -i iommu:



[ 0.000000] DMAR: IOMMU enabled
...
[ 1.165288] vboxpci: IOMMU found


(even the vbox module notices it!)



lspci -nnk:



00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
Kernel driver in use: vfio-pci
Kernel modules: i915


I did notice that vfio-pci is not present as an available module for my iGPU, but it still says it's being used, so I think this is good as well.



I then proceeded to attach the iGPU to my VBox VM with the following:



VBoxManage modifyvm "Windows 10" --pciattach 00:02.0


It didn't complain so I guess it's fine. I finally booted up the virtual machine but it still shows up the VirtualBox Graphics Adapter instead of the integrated graphics on the device manager (and there are no signs of the iGPU anywhere as well):



enter image description here



Dmesg even says that an IOMMU domain is being created when I fire up the VM (not sure what that means, though, but I guess it means it's kinda working):



[ 80.632320] vboxpci: created IOMMU domain ffff8816e45e9fe8
[ 159.674621] vboxpci: freeing IOMMU domain ffff8816e45e9fe8


So what did I do wrong?



Some clarification:



  • I do have a discrete graphics card (NVidia GTX 1050) but I use it on the host, so I don't want to passthrough it

  • I enabled the iGPU on the motherboard so it doesn't get disabled when it detects a discrete graphics card

  • I just need to passthrough the iGPU for some light gaming that's only possible on windows with HW acceleration support, as software acceleration won't work (games refuse to even start)

Since almost all guides out there are for passing through a secondary graphics card, they tell you to blacklist the nouveau module, but since I am doing it the other way around, should I also blacklist the i915 module?







share|improve this question
























    up vote
    2
    down vote

    favorite












    I followed this quick guide to enable PCI passthrough using KVM on Fedora, the main steps are:



    • Enable IOMMU and Virtualization on the motherboard

    • Prevent my device from being grabbed by a module during statup

    So far so good. dmesg| grep -i iommu:



    [ 0.000000] DMAR: IOMMU enabled
    ...
    [ 1.165288] vboxpci: IOMMU found


    (even the vbox module notices it!)



    lspci -nnk:



    00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
    Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
    Kernel driver in use: vfio-pci
    Kernel modules: i915


    I did notice that vfio-pci is not present as an available module for my iGPU, but it still says it's being used, so I think this is good as well.



    I then proceeded to attach the iGPU to my VBox VM with the following:



    VBoxManage modifyvm "Windows 10" --pciattach 00:02.0


    It didn't complain so I guess it's fine. I finally booted up the virtual machine but it still shows up the VirtualBox Graphics Adapter instead of the integrated graphics on the device manager (and there are no signs of the iGPU anywhere as well):



    enter image description here



    Dmesg even says that an IOMMU domain is being created when I fire up the VM (not sure what that means, though, but I guess it means it's kinda working):



    [ 80.632320] vboxpci: created IOMMU domain ffff8816e45e9fe8
    [ 159.674621] vboxpci: freeing IOMMU domain ffff8816e45e9fe8


    So what did I do wrong?



    Some clarification:



    • I do have a discrete graphics card (NVidia GTX 1050) but I use it on the host, so I don't want to passthrough it

    • I enabled the iGPU on the motherboard so it doesn't get disabled when it detects a discrete graphics card

    • I just need to passthrough the iGPU for some light gaming that's only possible on windows with HW acceleration support, as software acceleration won't work (games refuse to even start)

    Since almost all guides out there are for passing through a secondary graphics card, they tell you to blacklist the nouveau module, but since I am doing it the other way around, should I also blacklist the i915 module?







    share|improve this question






















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I followed this quick guide to enable PCI passthrough using KVM on Fedora, the main steps are:



      • Enable IOMMU and Virtualization on the motherboard

      • Prevent my device from being grabbed by a module during statup

      So far so good. dmesg| grep -i iommu:



      [ 0.000000] DMAR: IOMMU enabled
      ...
      [ 1.165288] vboxpci: IOMMU found


      (even the vbox module notices it!)



      lspci -nnk:



      00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
      Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
      Kernel driver in use: vfio-pci
      Kernel modules: i915


      I did notice that vfio-pci is not present as an available module for my iGPU, but it still says it's being used, so I think this is good as well.



      I then proceeded to attach the iGPU to my VBox VM with the following:



      VBoxManage modifyvm "Windows 10" --pciattach 00:02.0


      It didn't complain so I guess it's fine. I finally booted up the virtual machine but it still shows up the VirtualBox Graphics Adapter instead of the integrated graphics on the device manager (and there are no signs of the iGPU anywhere as well):



      enter image description here



      Dmesg even says that an IOMMU domain is being created when I fire up the VM (not sure what that means, though, but I guess it means it's kinda working):



      [ 80.632320] vboxpci: created IOMMU domain ffff8816e45e9fe8
      [ 159.674621] vboxpci: freeing IOMMU domain ffff8816e45e9fe8


      So what did I do wrong?



      Some clarification:



      • I do have a discrete graphics card (NVidia GTX 1050) but I use it on the host, so I don't want to passthrough it

      • I enabled the iGPU on the motherboard so it doesn't get disabled when it detects a discrete graphics card

      • I just need to passthrough the iGPU for some light gaming that's only possible on windows with HW acceleration support, as software acceleration won't work (games refuse to even start)

      Since almost all guides out there are for passing through a secondary graphics card, they tell you to blacklist the nouveau module, but since I am doing it the other way around, should I also blacklist the i915 module?







      share|improve this question












      I followed this quick guide to enable PCI passthrough using KVM on Fedora, the main steps are:



      • Enable IOMMU and Virtualization on the motherboard

      • Prevent my device from being grabbed by a module during statup

      So far so good. dmesg| grep -i iommu:



      [ 0.000000] DMAR: IOMMU enabled
      ...
      [ 1.165288] vboxpci: IOMMU found


      (even the vbox module notices it!)



      lspci -nnk:



      00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
      Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
      Kernel driver in use: vfio-pci
      Kernel modules: i915


      I did notice that vfio-pci is not present as an available module for my iGPU, but it still says it's being used, so I think this is good as well.



      I then proceeded to attach the iGPU to my VBox VM with the following:



      VBoxManage modifyvm "Windows 10" --pciattach 00:02.0


      It didn't complain so I guess it's fine. I finally booted up the virtual machine but it still shows up the VirtualBox Graphics Adapter instead of the integrated graphics on the device manager (and there are no signs of the iGPU anywhere as well):



      enter image description here



      Dmesg even says that an IOMMU domain is being created when I fire up the VM (not sure what that means, though, but I guess it means it's kinda working):



      [ 80.632320] vboxpci: created IOMMU domain ffff8816e45e9fe8
      [ 159.674621] vboxpci: freeing IOMMU domain ffff8816e45e9fe8


      So what did I do wrong?



      Some clarification:



      • I do have a discrete graphics card (NVidia GTX 1050) but I use it on the host, so I don't want to passthrough it

      • I enabled the iGPU on the motherboard so it doesn't get disabled when it detects a discrete graphics card

      • I just need to passthrough the iGPU for some light gaming that's only possible on windows with HW acceleration support, as software acceleration won't work (games refuse to even start)

      Since almost all guides out there are for passing through a secondary graphics card, they tell you to blacklist the nouveau module, but since I am doing it the other way around, should I also blacklist the i915 module?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 18 at 19:39









      arielnmz

      273212




      273212

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f425012%2fvirtualbox-igpu-passthrough%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f425012%2fvirtualbox-igpu-passthrough%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)