-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
UHD/4K DPI scaling broken on Windows server #4041
Comments
Seems to be related when Desktop scaling is in use. Users report that disabling desktop scaling i.e. set back to 100%%, everything works fine. If however desktop scaling is in use i.e. 125%%, 150%% etc, the problems occur. Unfortunately, desktop scaling cannot be disabled for HiDPI devices because the desktop would be tiny. |
I have this problem on Windows 7 (server, HDPI) + Windows 8.0 (client) as well with 1.4.17, or at least I think I do. When the mouse switches to the other PC it sometimes works and other times I completely lose my mouse (can't move it on either PC) and I have to press Ctrl+Alt+Del to get it back. |
I am having this same issue. I have confirmed that disabling desktop scaling fixes the problem. I am using a Surface Pro 2 as the server with Windows 8.1 Update 1. |
The display scaling appears to not be a factor when it is acting as a client. I was able to switch the SP2 as a "client" and was able to control it with another machine. |
Updated the original issue information after it appears it doesn't really matter if the device in question is high resolution or not. If a Windows device that uses DPI scaling is configured as the server then the problem will occur. Also added a couple of workarounds since posting. |
I also ran into this problem today. Maybe the following information helps. In both cases I see lots of "DEBUG: SetCursorPos did not work; using fakeMouseMove instead" on the server and the mouse is completely stuck in place. |
After thinking about it some more, I found a working workaround. Note: my windows installation is in german, so my translations are probably way off!
The mouse on the client is a bit faster than on the server, but at least it works now. You can even switch between the screens automatically. For the devs: I would try that myself, but I don't have a clue how to build synergy on windows. The explanations in your wiki Synergy Wiki Compiling are a bit short for someone who has no strong background in developing on windows. What exactly do I have to do on Windows x64, without buying a licence for visual studio? Is there an express edition that works for x64? Maybe someone could extend that wiki page. BTW: building on linux was easy, but the code in question is windows specific ;-) |
Good catch there Christian, I tried this setting a while ago, but didn't think to use the change settings for all users option, not realising Synergy runs under a different user. Confirmed this is solid workaround for any Windows 7/8/8/1 device using DPI scaling configured as the server. I'll add it to the original issue post. |
I've been able to solve the problem by changing compatibility mode for synergy.exe AND synergys.exe (server process) to "Deactivate scaling for hiDPI" and "run as Windows 7" and by setting those options for "all users" (Tested on Windows 8.1 pro, DPI Scaling 200%) |
Thanks for the suggestion. I hadn't used synergy in months because of this exact issue. This fixed it finally! |
Deactivating desktop scaling works, but is super tiny on this 1440p display. For some reason on my Windows 7 box I'm unable to select the checkbox "Deactivate scaling..." on synergys.exe. The checkbox itself is greyed out whether I'm changing the setting for all users, or for just me. I was able to change it for all users on synergy.exe, but that had no effect on a similar 'overlap' issue I'm getting. I found a different workaround in Windows 7 and am trying it on to see if I can deal with it. Control Panel->Appearance and Personalization->Display, click Set Custom text size (DPI) on the left sidebar, then check the "Use Windows XP style DPI scaling". Logout and login makes it all work great. Unfortunately things that don't work well with Windows XP style DPI scaling look tiny. Steam is one of them. |
I recently reported this issue to Wes at Synergy support. I add it here, in case it can help anyone else who understand coding and such-like. I am not sure that I have the super-high resolution display discussed in this thread, but I did follow the suggestions to disable the high DPI settings on the synergys.exe file. This has taken car of the first of the two problems mentioned below. A big plus already! This is the report I submitted to the Synergy Support: Hi Synergetics: Recent problem suddenly appeared, and I cannot find why. Upgrading to Version 151 has not solved the problem. Both computers are running Windows 7, 64 bit. All was working working properly until recently... There are two issues:
Any additional thoughts would be welcome. Peter Hi Synergetics: Recent problem suddenly appeared, and I cannot find why. Upgrading to Version 151 has not solved the problem. Both computers are running Windows 7, 64 bit. All was working working properly until recently... There are two issues:
|
I think similar issues happen with other OSes as server as well. |
Having the same issue and unable to disable display scaling on synergys.exe (option is disabled). |
I see the workaround, but the bug is closed. Is there a planned fix for this or is the workaround posted above the long-term fix? |
Hi fuzzerd: I don't know if the Synergy people are working on this, but I recently added the workaround suggested by mabott to the other settings with the synergys.exe file: "Control Panel->Appearance and Personalization->Display, click Set Custom text size (DPI) on the left sidebar, then check the "Use Windows XP style DPI scaling". " That, with the other settings I previously reported, gets Synergy back to "normal" .The problem with the open windows of certain programs seems to have gone away. Of course, that is just my own particular set-up, and may be of no use to others. I still do not know what provoked it in the first place as I had not touched those settings for a long time. I hope that Synergy support gurus are still trying to find the root of the problem. |
Oops! I spoke too soon. While it is true that Synergy works now as expected, the change to the Win XP DPI scaling wreaks havoc on a number of programs -- in particular by shrinking down the type in the programs to an unreadable small font size. So I have unchecked that setting again, so that I can see what I am doing. I do not really have the time to mess around with the font settings in half-a-dozen programs that I use frequently... I hope that this bug is not "closed" but actively being pursued. Peter |
This is exactly the issue; it works fine if you disable DPI scaling for the entire operating system, but on devices with high dpi that is not a solution, because as you mention sizes of screen elements are too small to see. I have not yet tested out the settings specifically on the DPI settings for the synergy service; but even still that seems like a poor solution to a problem. Some how mouse without borders doesn't have this issue. While that's a separate topic, it seems like there has to be a way to fix this inside the synergy service. |
PtrDr - I am not sure where you're seeing this bug is closed, it is very open and high priority for Synergy. fuzzzerd - Of course, the workarounds are not in any way intended to be the "fix" for the issue. It's just to get us by until we can find a good permanent solution. |
the-wes: Thanks for the clarification. I see a Closed button beside "Cursor jumps down and to the right #4016" on Jan 1. Maybe that refers to a different, but related topic, that perhaps has been rolled into this one? Anyway, i am very glad that someone much smarter than I am is working on it :) Best luck to those toiling away at it. |
Just diagnosed and found this issue using Sierra (client) + Win10 (server) on a new laptop (150% HiDPI recommended). Both client and server running 1.8.3 stable with OS appropriate builds. |
Could anyone experiencing DPI scaling related issues on Windows 10 please try this build and let us know if there any changes in behaviour? |
This updates fixes movement rigth and down. But now speed on client computer too high. |
@WhiskeyBravo thanks for the feedback. we just disabled DPI scaling at source in this build. @dvv47 thanks |
@dvv47 Could you try this build? http://symless.com/nightly?filter=b112617 It'll be there as soon as the buildbot is done. Would be much appreciated. |
@nlyan Thanks, with build 112617 all works as expected. |
I noticed that in the discussion people were referring to Win 10. Does it apply to Win 10 Home as well as Pro and other types of Win variations? And the recent W10 upgrades? Is it also compatible with Win 7? |
@PtrDr as far as I am able to determine this was caused by the changes in behaviour with respect to DPI scaling across Windows versions 8, 8.1 and 10. Windows 10 now has DPI scaling factors for each screen independently. Windows Edition (Home vs Pro) won't make a difference. |
@nylan: Thanks for the reply. I originally ran across this problem with 2 computers running Win7. The two monitors were exactly the same. I did report the problem and efforts were made at the time to resolve the issue. Eventually had to abandon Synergy as it was having a serious impact on my daily work. . Do you (or any others who have been involved with this issue) know if the most recent build has solved it for Win 7 also? |
I don't know for sure, all I can suggest is you try Synergy again :) |
this problem came up again on 1.8.8 |
This bug is back in Windows 10 r1709. The fix that eventually worked for me was to remove the "Run in compatibility mode for: Windows 7" setting on synergys.exe. Unfortunately the configuration tool forces this setting back on any time you open it. |
Imported issue:
Since an unspecified update to Windows 8.1 (I can't track the exact update at this time) Synergy 1.5 and 1.5.1 no longer works properly when a HiDPI device is configured as the server. In my case I'm using a Dell XPS 9530 running Windows 8.1 Update 1 with all the latest updates, with a screen resolution of 3200 x 1800 using DPI scaling.
What happens on all clients in my setup (regardless of Operating System) is when the focus is moved to said client, the mouse cursor immediately jumps to the bottom right hand side of the screen and becomes stuck, it cannot move, but mouse buttons and keyboard input are still correctly captured. Unfortunately, the only way to unstick the mouse is to kill the Synergy client software on the client machine. Because of this Synergy has now become unusable on my setup.
Steps to reproduce:
Expected: Mouse should be able to move freely on the client as normal
Actual: On focus on the client the mouse immediately gets placed in the bottom right hand corner of the client screen and becomes stuck, unable to move.
Versions and operating systems:
Tested with the following setup:
Windows 8.1 with 200% scaling (Server)
Ubuntu 14.04 normal DPI (Client)
Windows 8.1 normal DPI (Client)
Temporary workarounds:
Best workaround:
Disable Desktop Scaling for all users on the synergys.exe.
To do this, go to the installer directory of Synergy, this is usually:
C:\Program Files\Synergy or C:\Program Files (x86)\Synergy
Locate synergys.exe, right click on the executable and click properties. Select the compatibility tab and click "Change settings for all users". Tick the Disable scaling on high DPI settings" tick box and apply the settings. Restart the synergys.exe via the GUI or via services.msc.
This should give you normal functionality back without the mouse sticking in the corner, noticeable side affects of this workaround appear to be the mouse speed being faster on the client.
Credit to Christian Liebscher for finding this workaround.
Other workarounds:
Disable Desktop Scaling i.e. switch to 100%. (Note: this will be not be possible on high resolution devices, because the UI will be tiny)
Spaces out clients displays and disable automatic switching. Use user defined keystrokes. See http://superuser.com/a/771618 for more info.
Do not configure a Windows device that is using DPI scaling as the server, designate an alternative device as the server and connect as a client.
Similar bugs:
None.
Additional comments:
This problem initially wasn't present but as occurred more recently. It is likely that an update via Windows Update has broken this or an API change related to DPI is the cause.
The text was updated successfully, but these errors were encountered: