JohnCLeBlanc

Does Synergy prevent monitor from going to sleep?

17 posts in this topic

My monitor will stay on permanently in spite of my W10 power management set to turn it off after 20 minutes of inactivity. From searching the web, this appears to be due to a bad hardware driver or some software. in a command prompt, I ran "powercfg /requests and got:
DISPLAY:
[PROCESS] \Device\HarddiskVolume2\Program Files\Synergy\synergy-core.exe

SYSTEM:
[PROCESS] \Device\HarddiskVolume2\Program Files\Synergy\synergy-core.exe

Is it possible that Synergy v. 2.1 is preventing my monitor from going to sleep? Can I disable it without uninstalling it to test this hypothesis? E.g., can I disable services temporarily?

 

Share this post


Link to post
Share on other sites

Great tip thanks! Hopefully this persists beyond rebooting. One of my machines is a Mac; I'll test to see if it's affected since the above solution won't work for it.

 

Share this post


Link to post
Share on other sites

Yes, it writes to the registry and persists indefinitely. And Macs aren't affected from what I've seen.

Share this post


Link to post
Share on other sites

I'm going back and forth between Windows and Red Hat with Windows acting as the host.  Once my Windows monitor goes to sleep, Red Hat will not turn off and actually notifies me that a program will not let it go to sleep.  Do you know anything I can do for Red Hat to fix this?

Share this post


Link to post
Share on other sites
On 11/20/2017 at 5:49 AM, Theo said:

Had exactly the same problem on all clients, so I did

powercfg /REQUESTSOVERRIDE process synergy-core.exe display system

from elevated command prompt on every client machine and it took care of it.

Thanks Theo, sorted my similar issue out. :)

Share this post


Link to post
Share on other sites

my system stopped showing the lock screen after the screen saver when I updated to the 2.0, will the above procedure work as well?

Share this post


Link to post
Share on other sites

I had the same problem with Win 10 Pro 64-bit <> Win 10 Pro 64-bit running Synergy 2.0.2 and 2.0.3

Theo's solution seems to have worked for me. 

Thank you, I never would have found that solution on my own

Edited by Andy Hall

Share this post


Link to post
Share on other sites
On 11/23/2017 at 1:52 PM, Lucas001 said:

my system stopped showing the lock screen after the screen saver when I updated to the 2.0, will the above procedure work as well?

No, not in my experience.

Share this post


Link to post
Share on other sites

Would this change prevent Synergy from being able to wake a secondary system from sleep on mouse movement?  As it stands now I see this issue on and off, but I am concerned if I make the change then moving the mouse to the remote system might not wake it, thoughts?

Share this post


Link to post
Share on other sites
10 minutes ago, PortableTech said:

Would this change prevent Synergy from being able to wake a secondary system from sleep on mouse movement?  As it stands now I see this issue on and off, but I am concerned if I make the change then moving the mouse to the remote system might not wake it, thoughts?

Yes, it will prevent it.

Share this post


Link to post
Share on other sites

That could be an issue as I do not keep a keyboard and mouse attached to the second system, thus no other easy way to wake it up if the change is made.

Share this post


Link to post
Share on other sites
30 minutes ago, PortableTech said:

That could be an issue as I do not keep a keyboard and mouse attached to the second system, thus no other easy way to wake it up if the change is made.

Not an extremely elegant solution but you could run a script to wake it up over LAN.

Share this post


Link to post
Share on other sites

I should have been more clear when I said wake it up.  This is not a case where I need a WOL to get it to power up, rather that Power Management is shutting off the screen to save power.  As it works now, if it does go to sleep which can take hours despite being set at 10 mins, if I move the mouse towards that screen it will wake up the display.  That is what I was trying to describe.

Share this post


Link to post
Share on other sites

There is a downside of Theo's solution which I believe others have noticed.  It is not just the monitor that goes to sleep, so does the CPU.  Somehow you have to manually wake it up.  In my case, you can push the power button but not all systems support this.  My problem is that I have a Linux VM running on the Windows 10 client which performs some builds and backups during the night.   They don't run with this solution in place.

So I would appreciate some instructions on how to undo Theo's fix.  I will go back to manually turning off the monitor until this is fixed properly.   In the meantime, I will probably just set "Sleep" to "Never"

Share this post


Link to post
Share on other sites
1 hour ago, Andy Hall said:

So I would appreciate some instructions on how to undo Theo's fix.  I will go back to manually turning off the monitor until this is fixed properly.   In the meantime, I will probably just set "Sleep" to "Never"

To remove the override do just

Quote

powercfg /REQUESTSOVERRIDE process synergy-core.exe

(without specifying the types of override)

My systems never sleep, only their monitors, so I wasn't aware of the downsides.

Edited by Theo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now