windows server 2019 hyper-v install centos7.9, and i use DDA mount GPU to centos7.9. when i install nvidia driver,there is an error: no NVIDIA GPU found!

l he 1 Reputation point
2021-12-20T08:50:28.407+00:00

windows server 2019 hyper-v install centos7.9, and i use DDA mount GPU to centos7.9. when i install nvidia driver,there is an error: no NVIDIA GPU found!
what can i do to slove this problem!

when i querry GPU in VM,there is some information:

Get-VMAssignableDevice -VMName centos7.9-tesla

InstanceID : PCIP\VEN_10DE&DEV_1DF6&SUBSYS_13D610DE&REV_A1\4&20553097&0&0000
LocationPath : PCIROOT(17)#PCI(0000)#PCI(0000)
ResourcePoolName : Primordial
VirtualFunction : 0
Name : PCI Express 端口
Id : Microsoft:DA50233A-D1C9-417E-ACB8-FEFAC1C3B92B\1375DDBA-DB14-4799-A90F-EC9A0BE286AD
VMId : da50233a-d1c9-417e-acb8-fefac1c3b92b
VMName : centos7.9-tesla
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : WIN-QFDPCC0TC3I
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
{count} votes

1 answer

Sort by: Most helpful
  1. HarryPhan-2691 7,850 Reputation points Independent Advisor
    2025-10-07T14:26:44.1933333+00:00

    Hi I He, the error “No NVIDIA GPU found” during driver installation typically points to one of the following issues:

    IOMMU and SR-IOV Support: Ensure that VT-d (Intel) or AMD-Vi (AMD) is enabled in the BIOS, and that SR-IOV is supported and enabled on the host.

    Correct GPU Isolation: Confirm that the GPU is fully isolated from the host OS before assigning it to the VM. You can use Disable-PnpDevice and Dismount-VmHostAssignableDevice to ensure it's not in use.

    PCIe Passthrough Validation: Double-check that the GPU is correctly assigned using Get-VMAssignableDevice and that the VM is configured with AutomaticStopAction = TurnOff.

    Kernel and Driver Compatibility: CentOS 7.9 may require specific kernel parameters (e.g., pci=realloc) and the correct NVIDIA driver version that supports your Tesla GPU model.

    Secure Boot: Make sure Secure Boot is disabled for the VM, as it can block unsigned drivers from loading.

    0 comments No comments

Your answer

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