Skip to content

Commit

Permalink
add gpu fix event
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonary committed Sep 25, 2024
1 parent 75045c8 commit 8fddbc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions StreamMonitor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ try {
Wait-ForStreamEndJobToComplete
break;
}
elseif($eventName -eq "GPUAdapterChange"){
Write-Host "Script is being intentionally terminated without restoring the monitor profile because you have the Hybrid GPU Fix Script Installed, this is not considered an error. It needs to do this so that the GPU preference gets set properly once restarting sunshine."
}
else {
Wait-ForStreamEndJobToComplete
break;
Expand Down

0 comments on commit 8fddbc7

Please sign in to comment.