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

    Black screen at VM Console when installing Nvidia drivers to passthrough GPU

    Scheduled Pinned Locked Moved Compute
    5 Posts 2 Posters 45 Views 2 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.
    • K Offline
      kturner
      last edited by

      I’m getting a black screen at the VM Console when installing Nvidia drivers via my passthrough GPU (Nvidia L40). I’ve tried all different versions of Complete vGPU X package for XenServer 8 downloaded from https://ui.licensing.nvidia.com/software. Each one results in this black screen. I am at a loss now, I do not have any more ideas of what I can do to fix this. These packages all support my OS, my version of xcp-ng and my GPU. Has anyone experienced this before that might be able to help me figure this out?

      Host: xcp-ng 8.3
      VM OS: Windows Server 2022

      [15:45 new10-55 ~]# lspci | grep NVI
      0d:00.0 3D controller: NVIDIA Corporation AD102GL [L40] (rev a1)
      b5:00.0 3D controller: NVIDIA Corporation AD102GL [L40] (rev a1)

      [15:45 new10-55 ~]# xl pci-assignable-list
      0000:b5:00.0

      xe vm-param-set other-config:pci=0/0000:b5:00.0 uuid=<my uuid>

      [15:48 new10-55 ~]# rpm -qa | grep NVIDIA
      NVIDIA-vGPU-xenserver-8-570.133.10.x86_64
      control-NVIDIA-vGPU-xenserver-8-570.133.10.noarch
      update-NVIDIA-vGPU-xenserver-8-570.133.10.noarch

      GPU is set to passthrough
      Screenshot 2025-09-30 4.29.33 PM.png

      Shows it’s attached to this VM
      Screenshot 2025-09-30 3.50.20 PM.png

      Successfully passed through:
      Screenshot 2025-09-30 3.53.26 PM.png
      Screenshot 2025-09-30 3.55.51 PM.png

      However as soon as it installed the Nvidia driver the Xen Orchestra goes to a black screen and never recovers. I’ve had to use RDP to uninstall the driver for troubleshooting.

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

        If you are doing passthrough of the entire GPU, you don't need Nvidia vGPU drivers at all.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kturner @olivierlambert
          last edited by

          @olivierlambert I removed all traces of vgpu packages in xcp-ng and the drivers associated with them in my Windows server 2022 VM. I then installed the latest available driver release for the L40 GPU. The driver installed successfully and I can see it in Device Manager. But I do not see it in task manager. Is this normal for passthrough in Windows?

          Screenshot 2025-10-01 8.25.51 AM.png

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

            That's beyond my knowledge of Windows. Can you try to run a GPU related task and see the outcome?

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kturner @olivierlambert
              last edited by

              @olivierlambert FurMark won't open because it cannot detect OpenGL 1.1 indicating a driver issue
              Screenshot 2025-10-01 8.55.16 AM.png

              1 Reply Last reply Reply Quote 0
              • First post
                Last post