Synergy

Issue Tracker (powered by SPIT)

Bug #28 - Windows monitor power save not working

Status:
Accepted
Priority:
Normal
Assignee:
None
Category:
None
Target:
None
Found:
None
Created by:
Created on:
26 Mar 2009
Updated by:
Updated on:
30 Jul 2012 23:43
Platform:
None
Google ID:
gc-19
Redmine ID:
29

  • Related to: Bug #2701 - Linux client screensaver sync does not work
  • Duplicated by: Bug #152 - Monitor power save not working as expected
  • Duplicated by: Bug #258 - Screen saver and low-power mode not activating on Win7 'server'
  • Duplicated by: Bug #347 - Display never goes to sleep on windows 7
  • Duplicated by: Bug #903 - Display not turning off when idle
  • Duplicated by: Bug #988 - with srerver is running. monitor doesn't enter power save
  • Duplicated by: Bug #1404 - Monitor Does not enter power save
  • Duplicated by: Bug #1639 - Vista won't sleep

Google user: tra...@travisanddenise.com

The power save setting are set the same on both machines. The vista
computer shuts monitor off correctly but the xp machine stays on.

What version of the product are you using? On what operating system?
Client windows xp Pro SP3
Server Vista

I am using version 1.3.3


#1

27 May 2009: Issue Importer wrote a comment.

Google user: nick.bolton.uk

I also confirm this issue. Not 100%% sure if it's caused by Synergy+, as it was
working before upgrading from 3.1.1 (also not 100%% sure on that though).

Anyway, bug is accepted, but may be quite hard to debug and fix.


#2

27 May 2009: Issue Importer wrote a comment.

Google user: nick.bolton.uk

By the way, thanks for submitting a bug report!


#3

27 May 2009: Issue Importer wrote a comment.

Google user: nick.bolton.uk

I can recreate on:

Server: Win Vista
Client: Ubuntu 9.04


27 May 2009: Issue Importer changed Status.

New Accepted


27 May 2009: Issue Importer changed Target.

?


27 May 2009: Issue Importer changed Title.

Client monitor power save not working


#4

24 Jul 2009: Issue Importer wrote a comment.

Google user: nick.bolton.uk


24 Jul 2009: Issue Importer changed Target.

? ?


#5

25 Oct 2009: Issue Importer wrote a comment.

Google user: lorddarkstorm.com

The problem is only on the client for me. When the client is on an connected, they
will not go into power save mode. If I turn off synergy on the client, then power
save works as it is supposed to. I've seen this with vista server and win7 client,
and win7 server with win7 client. I have also tried this with two different
computers and both have the same issue with synergy running.


#6

25 Oct 2009: Issue Importer wrote a comment.

Google user: lorddarkstorm.com

I found the problem. If the option to synchronize screen savers is checked, then
power save never happens. Turn off the synchronize and the power save works again.


#7

5 Jun 2010: Issue Importer wrote a comment.

Google user: nick.bolton.uk


5 Jun 2010: Issue Importer changed Target.

? ?


10 Sep 2010 10:07: Nick Bolton changed Title.

Client monitor power save not working Windows monitor power save not working


#8

2 Oct 2010 06:43: Aaron Chan wrote a comment.

Reproducible on Synergy+ 1.3.4.

Client: Windows 7 64-bit
Server: Ubuntu 10.04 64-bit

The server's display (Ubuntu) is able to turn off but the client's display (Win7) isn't.


13 Jan 2011 16:33: Nick Bolton changed Target.

?


#9

29 Jan 2011 19:14: Scott John wrote a comment.

I still experience this on 1.36. The server's monitors will never enter powersave.


#10

18 Apr 2011 00:08: David Cheney wrote a comment.

I have a few more details that I hope are useful, sorry my programming skills are not good enough to find the error in the code itself.

using v1.4.2 beta (32 bit) on all
Server: Win7 (64)
Clients: Win7 (64) and WinXP (32)

The screen saver will invoke on the server exactly one time. In the logs, I see this sequence on screen saver kicking in on the server:

watching screen saver desktop
onScreenSaver activated
send screen saver to "Express" on=1
send screen saver to "Pavlov" on=1

on screen saver exiting on the server I see:
onScreenSaver deactivated
send screen saver to "Express" on=0
send screen saver to "Pavlov" on=0

it seems that CMSWindowsScreenSaver::unwatchProcess() is never being called (so, apparently, the system never realizes the screen saver is off, thus it will never try to invoke it again).

I can provide a more complete log if it would be useful.


#11

4 Jun 2011 05:59: Mike Grant wrote a comment.

Workaround for Windows 7
Tested on Windows 7 64 Bit
Should also work on 32 bit and maybe Vista?

From and Elevated Command Prompt type
For the Server
powercfg -REQUESTSOVERRIDE process synergys.exe system display awaymode
powercfg -REQUESTSOVERRIDE service "Synergy Server" system display awaymode

Confirm with powercfg -REQUESTSOVERRIDE
Should come back with
[SERVICE]
Synergy Server DISPLAY SYSTEM AWAYMODE

[PROCESS]
synergys.exe DISPLAY SYSTEM AWAYMODE

[DRIVER]

For the Client
powercfg -REQUESTSOVERRIDE process synergyc.exe system display awaymode
powercfg -REQUESTSOVERRIDE service "Synergy Client" system display awaymode

Confirm with powercfg -REQUESTSOVERRIDE
Should come back with
[SERVICE]
Synergy Client DISPLAY SYSTEM AWAYMODE

[PROCESS]
synergyc.exe DISPLAY SYSTEM AWAYMODE

[DRIVER]

Possible to add this to the installer to do it automatically?

Mike.


#12

11 Nov 2011 08:58: Barton Cline wrote a comment.

Thanks, Mike!
I can confirm that a Windows 7 server will blank the screen properly.
Mike's workaround for a Windows 7 client works like a charm!
I've been manually putting my client machine to sleep for almost a year (since I built up a Fedora server which I leave on 24-7).
Now my desk is almost clutter free thanks to the great work being done on Synergy - Thank you sooo much!
The only hiccup left is getting the Security Protocol settings on Home Premium so that UAC elevation dialogs are able to see the button clicks. Then I'll be able to put the client's mouse in a drawer, off my desk!

Thanks, again, everyone!


30 Jul 2012 23:43: Nick Bolton changed Target.

1.4.11


#13

15 Aug 2012 07:14: B Campag wrote a comment.

Unfortunately, REQUESTOVERRIDE is not an available parameter of powercfg under Vista32.