-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated 'deploy-gpu-node-pool.md' with instructions for using Headless OS #3171
Open
mgodfre3
wants to merge
8
commits into
MicrosoftDocs:main
Choose a base branch
from
mgodfre3:migodfre-edit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0018650
updated 'deploy-gpu-node-pool.md' with instuctions for using Headless OS
mgodfre3 412c583
Update deploy-gpu-node-pool.md
sethmanheim 03d48f0
Update deploy-gpu-node-pool.md
sethmanheim 0c06663
Update deploy-gpu-node-pool.md
sethmanheim ca8cf70
made suggested changes
mgodfre3 8da0cdd
Update AKS-Hybrid/deploy-gpu-node-pool.md
mgodfre3 0557b31
made suggestion from JameLiang29
mgodfre3 b447080
corrected lines 113-118
mgodfre3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ PNPUTIL /enum-drivers | |
Open an elevated PowerShell prompt and run the following command: | ||
|
||
```powershell | ||
Get-PnpDevice | select status, class, friendlyname, instanceid | findstr /i /c:"3d video" | ||
Get-PnpDevice | Where-Object FriendlyName -Like '3D Video*' | Select-Object Status, FriendlyName, InstanceId | ||
``` | ||
|
||
You should see the installed drivers in the **PNPUTIL** output. If the **Provider Name** is listed as **NVIDIA Corporation**, that is the driver you need to target for uninstalling. Make a note of the **Published Name**, as you must use that in the next command: | ||
|
@@ -104,11 +104,21 @@ Error 3D Video Controller PCI\VEN_10DE&DEV_1EB8&SUBSYS_1 | |
|
||
When you uninstall the host driver, the physical GPU goes into an error state. You must dismount all the GPU devices from the host. | ||
|
||
For each GPU (3D Video Controller) device, run the following commands in PowerShell. Copy the instance ID; for example, `PCI\VEN_10DE&DEV_1EB8&SUBSYS_12A210DE&REV_A1\4&32EEF88F&0&0000` from the previous command output: | ||
For each GPU (3D Video Controller) device, run the following commands in PowerShell. This command will create a variable named "ID1" and "lp1" and populate the instance ID of the first GPU; for example, `PCI\VEN_10DE&DEV_1EB8&SUBSYS_12A210DE&REV_A1\4&32EEF88F&0&0000` from the previous command output. | ||
|
||
```powershell | ||
$gpu=Get-PnpDevice -FriendlyName "3D Video Controller" | ||
$id1 =$gpu[0].InstanceId | ||
$id0 =$gpu[0].InstanceId | ||
$lp0 = (Get-PnpDeviceProperty -KeyName DEVPKEY_Device_LocationPaths -InstanceId $id1).Data[0] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You renamed the variables to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i see the issue, quick fix. |
||
Disable-PnpDevice -InstanceId $id1 -Confirm:$false | ||
Dismount-VMHostAssignableDevice -LocationPath $lp1 -Force | ||
``` | ||
|
||
IF you have more then one GPU, please use the additonal command: | ||
mgodfre3 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```powershell | ||
$gpu=Get-PnpDevice -FriendlyName "3D Video Controller" | ||
$id1 =$gpu[1].InstanceId | ||
$lp1 = (Get-PnpDeviceProperty -KeyName DEVPKEY_Device_LocationPaths -InstanceId $id1).Data[0] | ||
Disable-PnpDevice -InstanceId $id1 -Confirm:$false | ||
Dismount-VMHostAssignableDevice -LocationPath $lp1 -Force | ||
|
@@ -117,7 +127,7 @@ Dismount-VMHostAssignableDevice -LocationPath $lp1 -Force | |
To confirm that the GPUs were correctly dismounted from the host, run the following command. You should put GPUs in an `Unknown` state: | ||
|
||
```powershell | ||
Get-PnpDevice | select status, class, friendlyname, instanceid | findstr /i /c:"3d video" | ||
Get-PnpDevice | Where-Object FriendlyName -Like '3D Video*' | Select-Object Status, FriendlyName, InstanceId | ||
``` | ||
|
||
```output | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.