XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Is NVIDIA Now Allows GeForce GPU Pass-Through For Windows VMs On Linux?

    Scheduled Pinned Locked Moved News
    9 Posts 5 Posters 3.1k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      See https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-GeForce-Virt-On-Linux

      Is there people around to test it? (with latest driver)

      J E 2 Replies Last reply Reply Quote 1
      • J Offline
        jackbezos @olivierlambert
        last edited by

        How timely, because I was in the process of trying to build Xen with that cpu hv_vendor_id spoofing patch.

        I just tested with the nvidia-beta driver on a Arch Linux guest and from the kernel logs, the driver is loaded and sees the PCI device, but xorg crashes after loading the nvidia module complaining of "No devices detected".

        This might be an xorg configuration thing, but it looks promising. I've already blown enough hours trying to get it to work today, so I'll try again in a few days.

        1 Reply Last reply Reply Quote 0
        • E Offline
          escott @olivierlambert
          last edited by

          @olivierlambert

          Hey Adam I have a big xeon machine coming in this week and a spare 1070 so I could help you out.

          OOOR We can talk about this link which is way cooler.
          (https://github.com/DualCoder/vgpu_unlock)

          I can still lend that big machine out for testing if need be.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            The vGPU unlock is far more complicated. Also, it's very likely that it won't be a viable solution on the long run: I'm pretty sure Nvidia will put the authorized features in the card firmware for the next generation.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              salemm @olivierlambert
              last edited by

              @olivierlambert
              Hi,
              I'm trying to get it work,

              Ryzen 3900x 64gb ECC, with a Quadro P400
              Windows 10 VM 20H2 with the driver R465 U2 (466.11) code 43 when I boot then I remove the driver from the manager and click on the search for new and it is installing the driver correctly without code 43.
              Each time I reboot I need to do it.

              In a ubuntu 20.04 vm with the latest driver from ubuntu 460
              nvidia-smi
              Unable to determine the device handle for GPU 0000:00:06.0: Unknown Error

              Ubuntu 20.04 with 465.24.02 directly from Nvidia website
              nvidia-smi
              No devices were found

              I also tried on 20.10 with the same result with or without a desktop

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                🤔 I thought Quadro GPU were not restricted for PCI passthrough in general

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  salemm @olivierlambert
                  last edited by salemm

                  @olivierlambert
                  The Quadro P400 is the entry level and have some limitation for exemple max of 2 encoding streams.

                  Maybe I'm doing something wrong like not blacklisting the nouveau driver correctly, but when it is still active the Nvidia Driver won't install and say you still have the nouveau driver active

                  anyone else as tried or have some thought about this ?

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    axiom00 @salemm
                    last edited by

                    @salemm said in Is NVIDIA Now Allows GeForce GPU Pass-Through For Windows VMs On Linux?:

                    Quadro P400

                    @salemm Were you able to get the Quadro P400 working under Ubuntu? I am running into the same issue with nvidia-smi returns No Device were found and the following in dmesg.

                    [  781.392366] NVRM: GPU 0000:00:05.0: RmInitAdapter failed! (0x22:0x56:667)
                    [  781.392402] NVRM: GPU 0000:00:05.0: rm_init_adapter failed, device minor number 0
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      salemm @axiom00
                      last edited by

                      @axiom00 No I was not able to get it working.

                      1 Reply Last reply Reply Quote 0
                      • T TheFrisianClause referenced this topic on
                      • T TheFrisianClause referenced this topic on
                      • First post
                        Last post