-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bouncing mouse at screen edge. #490
Comments
I am experiencing the same. Barrier Version: 2.3.2 Windows 10 Home (Server) on the left and Ubuntu 20.04 LTS (Client) on the right If I move the mouse to the edge of the Windows 10 screen and stop, the mouse will switch screens without any issues, and then I can continue to move the mouse on Linux. If I try to continuously move to the right as I pass from Windows to Linux, the mouse will get "trapped" on the edge. It behaves as if it is constantly re-triggering the move from Windows to Linux and thus constantly placing the mouse at the left edge of my Linux screen where the crossover happened. As a note, it generally is less of an issue if the mouse is very quickly or very slowly. You can see it still will sometimes hover on the edge for a moment, but it will break away. Moving at a moderate (normal) speed, it tends to get trapped for a second plus, or, never crosses over at all. I am currently using "Switch After Waiting" set 10ms to mitigate the problem (But 100ms and 250ms worked with varying degrees of success as well). @lovelydumpling mentioned that that didn't work for them. It does mostly work for me. I can still see that it wants to get trapped, but, it doesn't get trapped for an extended period of time. So it's a good work around for now. |
experienceing the same. Barrier Version 2.3.3 Server: Windows 10 Pro some logs:
the only operation I did is just move the cursor from "2600x" to "2500u" and move it back, but the screen switches 5 times... if I try to move cursor to "2500u" from "2600x" at a super high speed, the switch time could be above 20, looks like the cursor is bouncing at the scrren edge. |
I'm experiencing the same on a windows/windows setup. So I don't think this is purely a Linux issue. I have two Windows boxes and two Linux boxes and I have the issue between all setups. To be clear, the host is Windows, then I have 3 clients (2xLinux and 1xWindows). |
Try setting your mouse's polling rate down to 125hz - I have this issue if it's set to 250hz or above. |
@vitaminmoo is that a client or server setting? I can't find it anywhere |
I am reproducing this bug on Windows 11 + MacOS Monterey 12.3.1. The bounciness increases when the Windows machine slows down with CPU and memory intensive tasks. |
@exhuma it's a mouse setting - If you're using a Logitech mouse it's in the G HUB software |
I have the same issue on win 10 server + ubuntu 20.04lts, barrier 2.4.0 on both machines. The mouse setting dind't do anything for me, but found the solution in here: #206 (comment) The display scaling on windows 10 server was messing with this. Just changed it to 100% and that fixed the issue (right click on desktop, screen config, set to 100%) |
Confirmed setting my polling rate <= 250ms resolved this issue for me. |
Operating Systems
Server: Windows 10 Pro 1809
Client: ubuntuMATE 18.04
Barrier Version
2.3.2
Steps to reproduce bug
Other info
Edit: My hypothesis about it detecting the screen edge and immediately switching back seems to be bust. I toggled on "Switch after waiting" and the issue persists. Notably when it bounces back to Windows, half the time the Linux cursor jumps to the center of its screen.
The text was updated successfully, but these errors were encountered: