Easy-GPU-PV
Easy-GPU-PV copied to clipboard
GPU not recognized/wrong driver version detected after Update-VMGpuPartitionDriver
I created a VM with this script and the GPU seemed to be working fine on it. Then, I updated my GPU (RTX 4070) and ran Update-VMGpuPartitionDriver.ps1, and although the script completed successfully, Steam in the VM gives a warning about no GPU detected, and then gives another warning about an out-of-date GPU! Confusing. And the VM OS reports a GPU version different from the host OS (see last line of each scriptblock below)
Host OS dxdiag.exe:
Card name: NVIDIA GeForce RTX 4070 Laptop GPU
Manufacturer: NVIDIA
Chip type: NVIDIA GeForce RTX 4070 Laptop GPU
DAC type: Integrated RAMDAC
Device Type: Full Device
Device Key: Enum\PCI\VEN_10DE&DEV_2860&SUBSYS_3B5A17AA&REV_A1
Device Status: 0180600A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_REMOVABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: 16009 MB
Dedicated Memory: 7948 MB
Shared Memory: 8061 MB
Current Mode: Unknown
HDR Support: Unknown
Display Topology: Unknown
Display Color Space: Unknown
Color Primaries: Unknown
Display Luminance: Unknown
Driver Name: C:\WINDOWS\System32\DriverStore\FileRepository\nvltsi.inf_amd64_16678c565d093b7e\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvltsi.inf_amd64_16678c565d093b7e\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvltsi.inf_amd64_16678c565d093b7e\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvltsi.inf_amd64_16678c565d093b7e\nvldumdx.dll
Driver File Version: 32.00.0015.7216 (English)
Driver Version: 32.0.15.7216
VM OS dxdiag.exe:
Card name: NVIDIA GeForce RTX 4070 Laptop GPU
Manufacturer: Microsoft
Chip type: Unknown
DAC type: Unknown
Device Type: Render-Only Device
Device Key: Enum\PCI\VEN_1414&DEV_008E&SUBSYS_00000000&REV_00
Device Status: 0180600A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_REMOVABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: Unknown
Dedicated Memory: n/a
Shared Memory: n/a
Current Mode: Unknown
HDR Support: Unknown
Display Topology: Unknown
Display Color Space: Unknown
Color Primaries: Unknown
Display Luminance: Unknown
Driver Name: c:\windows\system32\driverstore\filerepository\vrd.inf_amd64_4dd0e6d66a75bb7e\vrd.sys,c:\windows\system32\driverstore\filerepository\vrd.inf_amd64_4dd0e6d66a75bb7e\vrd.sys
Driver File Version: 10.00.26100.1150 (English)
Driver Version: 10.0.26100.1150
Note the driver file names and driver file versions are totally different. Any idea what to do here?
I had the same issue. I tried fixing the script, but I was unsuccessful. For some reason the wrong folder was being copied to C:\Windows\system32\HostDriverStore\FileRepository on the guest OS.
I fixed this by mounting the guest's drive in the host os, then copying over the correct folder from "C:\Windows\System32\DriverStore\FileRepository" (on the host) to "C:\Windows\system32\HostDriverStore\FileRepository" (on the guest). The folder you should copy over is the most recent nv_dispi.inf_amd64_{guid}. I also deleted the old folder in the guest os, but I'm not sure you need to.
I pretty much followed the instructions from here: https://gist.github.com/neggles/e35793da476095beac716c16ffba1d23#gathering-driver-files-manually
I fixed this by mounting the guest's drive in the host os, then copying over the correct folder from "C:\Windows\System32\DriverStore\FileRepository" (on the host) to "C:\Windows\system32\HostDriverStore\FileRepository" (on the guest). The folder you should copy over is the most recent nv_dispi.inf_amd64_{guid}. I also deleted the old folder in the guest os, but I'm not sure you need to.
I pretty much followed the instructions from here: https://gist.github.com/neggles/e35793da476095beac716c16ffba1d23#gathering-driver-files-manually
I did exactly this, but there's no change. It's still giving me errors about having no GPU or outdated drivers. @MarkShark2 would you mind running dxdiag.exe on your host PC and again in your guest VM, and share the "Display Devices" section of the output here (or at least share screenshots of the info on the "Display" tabs of the dxdiag GUI)?
Resolved via https://github.com/jamesstringerparsec/Easy-GPU-PV/issues/407#issuecomment-2670224210