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 94431cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Check the logs to see if they claim the primary monitor was successfully restore
### Change Log
### v1.2.0
- **Hybrid GPU Script Support:** Implements changes required for the Hybrid GPU Fix (https://github.com/Nonary/DuplicateOutputFailFix). Allowing those with laptops to always force NVIDIA Encoding, etc.
### v1.1.9
- **Updated MultiMonitorTool:** Updated to v2.10.
- **Primary Monitor Validation:** Added a new option to increase the strictness of validation on restoring the primary monitor. This should reduce false positives for some users but may cause problems for others, so this option is not enabled by default.
Expand Down
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 94431cd

Please sign in to comment.