Hyper-V Debian VM Blank Screen Issue with NVIDIA GPU Passthrough

fti-samadhan 20 Reputation points
2024-01-17T16:20:24.4266667+00:00

Hello Community, I am currently facing an issue with my Debian 10 Hyper-V virtual machine when attempting to passthrough an NVIDIA GPU from the Windows host. I have set up the VM, mounted the NVIDIA GPU using DDA (Discrete Device Assignment), and installed the XFCE desktop environment. However, upon boot, the screen goes blank, and the desktop environment fails to launch. Debian VM Host System GRUB menu. Debian VM Host System Blank Screen Issue. Here's a brief summary of the issue:

  • Host System: Windows with Hyper-V
  • VM Guest System: Debian 10
  • Debian Desktop Environment: XFCE
  • GPU Passthrough: NVIDIA GPU using DDA Issue Description: After mounting the NVIDIA GPU to the Debian VM, the desktop environment fails to launch, and the screen remains blank.
    However, I can switch to TTY mode (terminal) using Ctrl + Alt + F1, where I can verify that services like Light Display Manager are running correctly. Additional Information: Debian 10 VM works normally without GPU passthrough. I dismounted the GPUs from the Debian VM and rebooted the system; it boots normally in the XFCE desktop environment.
    Please check the following screenshot. If anyone has encountered a similar problem or has expertise in Hyper-V GPU passthrough with Debian, I would greatly appreciate any insights or guidance on resolving this issue.

Thank you in advance for your help.

Best regards, Samadhan

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,812 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue 39,286 Reputation points Microsoft Vendor
    2024-01-19T05:01:15.21+00:00

    Hi fti-samadhan,

    Thank you for your post.

    Since the VM booted and you can access the TTY, it seems to be more a Debian issue than Hyper-V. Please make sure the latest proprietary NVIDIA driver is installed within Debian and the GBM APIs are used.

    https://wiki.archlinux.org/title/Wayland

    Please understand that the issue is out of the scope of the Microsoft Q&A forum. You'd better ask the question in Linux forums to get more professional help.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.