Skip to content
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

Screen Flickering #1

Open
ilovefreesw opened this issue Jun 2, 2022 · 4 comments
Open

Screen Flickering #1

ilovefreesw opened this issue Jun 2, 2022 · 4 comments

Comments

@ilovefreesw
Copy link

My build here: https://github.com/ilovefreesw/Wintermelon

It works !! But when I log in back, the screen on the second monitor flickers for a second or two everytime. Does it happen at your end as well ?

@arun-goud
Copy link
Owner

It takes 3 seconds or so for my secondary monitor to return to its original state (duplicate --> extend) after the unlock operation. The transition on my side shows up as windows being shifted back to the secondary monitor and I don't see flickering on my second monitor.
Can you check if the flickering happens when you run the following in cmd terminal one by one?

C:\Windows\System32\DisplaySwitch.exe /clone
C:\Windows\System32\DisplaySwitch.exe /extend
C:\Windows\System32\DisplaySwitch.exe /internal
C:\Windows\System32\DisplaySwitch.exe /external

This does what pressing Win+P does.
If the flickering happens then you may have to update your display drivers.

@ilovefreesw
Copy link
Author

When I run the task manually then it works but it doesn't work automatically. It happens on Windows 11, what you think can be a problem? Even when I run "Wintermelo.exe save" manually and lock the screen; it works. It's just not working from the Task Scheduler, even though the Task Scheduler shows that the task ran successfully.

@arun-goud
Copy link
Owner

I hope you have run the PowerShell script in admin mode as specified in the instructions.
If it still doesn't work then have you tried playing with these settings in Task Scheduler? I'd recommend trying them one by one.
image

@ilovefreesw
Copy link
Author

Yes, I did Admin PowerShell. I will give it a shot and will report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants