mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1638] Windows running server with scaled DPI doesn't work (v2.4.0) #1208
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @badvision on GitHub (Apr 7, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1638
What happened?
I was using an older RC of 2.3.3 on Windows (running server) and MacOS (running client). I have a 4k monitor with scaling factor usually set to 250%. This was working fine in 2.3.3, but after upgrading to 2.4.0 (both mac and windows) when I connect the client, the mouse gets stuck in the bottom-right corner of the client (which layout-wise is on the right with the server windows machine on the left.)
When I set my desktop scaling in windows to 100% and restart, the issue goes away. So I suspect very strongly this is a regression in how Windows HiDPI settings are handled by Barrier.
Given that HiDPI is neither a new windows feature nor is it uncommon to use it, it would be wonderful if the application were more aware of it.
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Installed from the github release downloads
What OSes are you seeing the problem on? (Check all that apply)
Windows
What OS versions are you using?
Windows (server): 10 21H1
Mac (client): 12.3.1
Relevant log output
Any other information
No response
@badvision commented on GitHub (Apr 10, 2022):
After a lot of trial and error (and reading bug reports from Synergy dating back to 2014) here's what I've come up with as a work-around:
@badvision commented on GitHub (Apr 10, 2022):
Can a 6-year old bug get some love?
@airsoftsnake commented on GitHub (Apr 15, 2022):
Confirm that this works, important to do the "change setings for all users" I did not do that at first - I only did the change high dpi settings. Once I did the "all users", it worked. Thanks!
@igoticecream commented on GitHub (May 5, 2022):
I can confirm this was the solution to my problem, I couldn't move the mouse on the client (clicks and keyboard did work). My display is 4K 150%
@greenkalx commented on GitHub (May 7, 2022):
This resolved the problem for me as well.
Windows server: 4k monitors with 200% scaling
Linux client: single monitor 1600x1200
This wasn't a problem with Barrier 2.3.2.
@yatli commented on GitHub (May 20, 2022):
Can confirm it works.
It's the server program
barriers.exe, not the UI programbarrier.exe! :D@damienvancouver commented on GitHub (Jun 22, 2022):
I have tried the workaround every which way but had no luck using Windows 11, 250% scaling on my 4k builtin with an external 1440p DP -> HDMI. If I set scaling to 100% on the builtin monitor it works, but i literally have to use a magnifying glass i have sitting by the laptop if i have to look at any text on that screen, lol!
Has anyone else got the workaround to behave in win11?
Do we know what changed or where to look to start working on a fix?
EDIT: I was able to workaround by uninstalling then downloading/reinstalling barrier v2.3.4. Everything works properly with scaling using that version.
@sejinK commented on GitHub (Jun 30, 2022):
I can't find v2.3.5
after v2.3.4 there is only v2.4.0
@damienvancouver commented on GitHub (Jun 30, 2022):
Sorry, it is version 2.3.4 you want, my mistake!
@patpadgett commented on GitHub (Nov 2, 2022):
Thanks! This helped me TREMENDOUSLY!
@NaiveXu commented on GitHub (Jun 13, 2023):
thanks a lot for solving my problem!
@amias-channer commented on GitHub (Nov 3, 2023):
would be great if this setting could be enabled by the installer
@gleitoncampos commented on GitHub (Nov 7, 2023):
Confirmed here too, this workaround works like a charm.
@hiuling commented on GitHub (Jan 3, 2024):
win 11 doesnt work..
@SpaceCowboy850 commented on GitHub (Jan 31, 2024):
Barrier 2.4.0-release-3e0d758b
I can't get the workaround to work.
Windows 11 as server with 4K screen
Ubuntu 23.10 as client
I've set C:\Program Files\Barrier\barrier.exe Properties->Compatibility -> Change Settings For All Users -> Change High DPI scaling override -> CHECKED Override high DPI scaling behavior Scaling performed by "Application"
And on dragging the mouse to my Ubuntu machine, the mouse still locks to the bottom right corner of the screen. If I change DPI scaling to 100%, everything works, but my server becomes unreadable.
Any other ideas?
@kzaoaai commented on GitHub (Feb 22, 2024):
Putting this here in case someone had the same situation as I have. My case was MacOS server with Windows 11 client. Follow the same steps above, but instead of the "barrierS.exe" (server) file, apply them to the "barrierC.exe" (client) file.
@randall-liao commented on GitHub (Jul 15, 2024):
Solved my issues too, thanks!
@jarrard commented on GitHub (Jul 30, 2024):
Cheers this helped me when connection a Win11 to Win10 Client. was barrierd.exe that needed that settings for me.
@olaims commented on GitHub (Aug 1, 2024):
omg thanks a lot!! your comment should be pinned on the README.MD
@sharim commented on GitHub (Aug 18, 2024):
Solved my issue on win11 server with 4K screen and 200% scaling, THANKS!!!
@mandomwu commented on GitHub (Apr 24, 2025):
THANKS! It worked for me.
Server: win11 DPI:125%
Client: win11 DPI:100%
Barrier 2.4.0
@grndkntrl commented on GitHub (Sep 11, 2025):
Thanks! I can confirm this works with Barrier v2.4.0 for my setup:
@nbolton commented on GitHub (Sep 11, 2025):
Try Deskflow or Input Leap, as Barrier is no longer in development.
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
The 'Insights' tab of each GitHub project may help you decide which one to use.
Both are compatible with Barrier client/server, so you can try on one of your computers.
If this is still an issue in those projects, we would appreciate a cross-post of this issue.
@grndkntrl commented on GitHub (Sep 11, 2025):
Hi Nick. So to clarify, are you saying that we can use Barrier as the client on Windows 7 (because Deskflow/Input Leap aren't available for it), while Deskflow/Input Leap runs as the server on Windows 11, without having to fiddle with the server's DPI compatibility settings?edit: To answer my own question, yes Deskflow (on Win11 as server) can connect to a Windows 7 Barrier client. Thanks!
@nbolton commented on GitHub (Sep 11, 2025):
Awesome! Yeah, we made Deskflow compatible with all Synergy-like apps; it supports both the "Synergy" and "Barrier" protocol (note: the Barrier protocol is not actually different from the Synergy protocol, just the 'hello' message was changed to make it incompatible with Synergy).