-
Notifications
You must be signed in to change notification settings - Fork 9
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
Lag after restoring primary.cfg #56
Comments
I've confirmed that this is related to PowerShell staying open, and trying to run a command of some kind. Manually ending the task seems to fix the issue. |
Noticed the same thing when I started using this. Given the lack of response on the issue, I might take an attempt to fix it. |
After some diagnosing, I found the clean up process was getting stuck in an infinite loop as it was unable to determine my primary monitor. This was because, at some point in the set up process, I modified the primary.cfg and dummy.cfg files to escape slashes in the monitor names. Undoing this change caused the script to succeed and shut down correctly, and so far i've not noticed any side effects. If you did the same thing as me, perhaps undo that change and see if it solves the problem for you. |
I don't think I've fucked that up, but may have? Example below. [Monitor0] |
Your monitor names don't look quite right, according to my testing. Name=\.\DISPLAY5 Note the double \ at the start. If that doesn't work, try replacing the Helpers.ps1 file in the directory with the one in this file. MonitorSwapper.zip. It just hard codes the debugging. Then clear out all of the logs inside the logs folder, start and stop a stream, and upload the log it created so I can try to diagnose. |
Noticed that github seems to strip the slashes...
|
Ah so it does, here is the blocked version of mine.
Thanks for all your help, but due to Issue #44 I've decided to just move to MonitorSwitcher, which has been flawless. |
The latest version of this script now uses MonitorSwitcher due to issues with 24H2 and general reliability seems to be better. |
After I switch back to my correct monitor configuration, I will get about 1 second of intense lag, in 20 second intervals. This only started happening after I started using MonitorSwapAutomation.
The text was updated successfully, but these errors were encountered: