mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #524] Cursor occasionally goes crazy on macOS 10.15 client #409
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#409
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 @cthart on GitHub (Dec 17, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/524
Operating Systems
Server: Ubuntu 19.10 eoan
Client: macOS 10.15.2 Catalina
Barrier Version
Server is 2.3.2 from the jonathanf PPA
Client is 2.3.2
Steps to reproduce bug
Fairly often (several times per hour it seems) the mouse pointer on the macOS client will "go crazy" when trying to move it, as if macOS and Barrier and both trying to reposition it. The mouse pointer hops around and is jittery. Sometimes clicking on the touchpad on the MacBook fixes it.
I have no idea how to reproduce this at present.
Other info
It seems like the problem started to occur under macOS 10.15.2, maybe also under 10.15.1
Had the problem with server 2.3.1 too.
@shaqesparon commented on GitHub (Dec 20, 2019):
Same here... using Mac 10.15.2 when I move the cursor off-screen to next device I can still see it moving up and down on my mac screen while moving on my windows laptop.
Using Mac Mini late 2014? and Window laptop
@github-actions[bot] commented on GitHub (Oct 1, 2020):
Is this issue still an issue for you? Please do comment and let us know! Alternatively, you may close the issue yourself if it is no longer an problem
@cthart commented on GitHub (Oct 1, 2020):
It does still happen very occasionally, but a lot less frequently.
Previously it was several times a day, now it seems like it's once a week
or so.
On Thu, Oct 1, 2020 at 2:06 AM github-actions[bot] notifications@github.com
wrote:
@AlbertBaubleDeem commented on GitHub (Mar 15, 2021):
I confirm it is still a problem on a client computer. There appear to be 2 cursors jittery splitting and uniting. Sometimes, the cursor disappears and appears back on the server.
Barrier client 1: 2.3.3-Release-3395cca9
OS: MacOS Big Sur
version 11.2.3
MacBook Pro (15-inch, 2018)
2,2 GHz 6 core Intel Core i7
Barrier client 2: 2.3.3-Release-3395cca9
OS: MacOS Big Sur
version 11.2.2
MacBook Pro (Retina 13-inch, Early 2015)
2,7 GHz 2 core Intel Core i5
Barrier server: 2.3.3-release-3395cca9
OS: Ubuntu 18.04.5 LTS
Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
Server log, related to the misbehaving client 2("ucitel-MBP.netis"):
[2021-03-15T23:30:14] DEBUG1: querying client "ucitel-MBP.netis" info
[2021-03-15T23:30:14] DEBUG1: created proxy for client "ucitel-MBP.netis" version 1.6
[2021-03-15T23:30:14] DEBUG: received client "ucitel-MBP.netis" info shape=0,0 0x0 at 849,1
[2021-03-15T23:30:14] DEBUG: Closing socket: 494F57B0
[2021-03-15T23:30:14] NOTE: new client disconnected
[2021-03-15T23:30:14] ERROR: invalid message from client "ucitel-MBP.netis": DINF
Misbehaving client 1 log:
I cannot identify the problem occuring, but it is copied from the time it occured.
021-03-15T23:34:34] DEBUG2: msg from server: DMMV
[2021-03-15T23:34:34] DEBUG2: readf(%2i%2i)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 605 (0x25d)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 329 (0x149)
[2021-03-15T23:34:34] DEBUG2: recv mouse move 605,329
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:34] DEBUG2: msg from server: DMMV
[2021-03-15T23:34:34] DEBUG2: readf(%2i%2i)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 625 (0x271)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 354 (0x162)
[2021-03-15T23:34:34] DEBUG2: recv mouse move 625,354
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:34] DEBUG2: msg from server: DMMV
[2021-03-15T23:34:34] DEBUG2: readf(%2i%2i)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 605 (0x25d)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 328 (0x148)
[2021-03-15T23:34:34] DEBUG2: recv mouse move 605,328
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:34] DEBUG2: msg from server: DMMV
[2021-03-15T23:34:34] DEBUG2: readf(%2i%2i)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 625 (0x271)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 354 (0x162)
[2021-03-15T23:34:34] DEBUG2: recv mouse move 625,354
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: checking clipboard
[2021-03-15T23:34:34] DEBUG2: flags: 2
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:34] DEBUG2: msg from server: DMMV
[2021-03-15T23:34:34] DEBUG2: readf(%2i%2i)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 606 (0x25e)
[2021-03-15T23:34:34] DEBUG2: readf: read 2 byte integer: 327 (0x147)
[2021-03-15T23:34:34] DEBUG2: recv mouse move 606,327
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: reading secure socket
[2021-03-15T23:34:34] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:34] DEBUG2: msg from server: CALV
[2021-03-15T23:34:34] DEBUG2: writef(CALV)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:34] DEBUG2: writef(CNOP)
[2021-03-15T23:34:34] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:34] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:35] DEBUG2: checking clipboard
[2021-03-15T23:34:35] DEBUG2: flags: 2
[2021-03-15T23:34:36] DEBUG2: checking clipboard
[2021-03-15T23:34:36] DEBUG2: flags: 2
[2021-03-15T23:34:37] DEBUG2: checking clipboard
[2021-03-15T23:34:37] DEBUG2: flags: 2
[2021-03-15T23:34:37] DEBUG2: reading secure socket
[2021-03-15T23:34:37] DEBUG2: reading secure socket
[2021-03-15T23:34:37] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:37] DEBUG2: msg from server: CALV
[2021-03-15T23:34:37] DEBUG2: writef(CALV)
[2021-03-15T23:34:37] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:37] DEBUG2: writef(CNOP)
[2021-03-15T23:34:37] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:37] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:38] DEBUG2: checking clipboard
[2021-03-15T23:34:38] DEBUG2: flags: 2
[2021-03-15T23:34:39] DEBUG2: checking clipboard
[2021-03-15T23:34:39] DEBUG2: flags: 2
[2021-03-15T23:34:40] DEBUG2: checking clipboard
[2021-03-15T23:34:40] DEBUG2: flags: 2
[2021-03-15T23:34:41] DEBUG2: reading secure socket
[2021-03-15T23:34:41] DEBUG2: reading secure socket
[2021-03-15T23:34:41] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:41] DEBUG2: msg from server: CALV
[2021-03-15T23:34:41] DEBUG2: writef(CALV)
[2021-03-15T23:34:41] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:41] DEBUG2: writef(CNOP)
[2021-03-15T23:34:41] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:41] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:41] DEBUG2: checking clipboard
[2021-03-15T23:34:41] DEBUG2: flags: 2
[2021-03-15T23:34:42] DEBUG2: checking clipboard
[2021-03-15T23:34:42] DEBUG2: flags: 2
[2021-03-15T23:34:43] DEBUG2: checking clipboard
[2021-03-15T23:34:43] DEBUG2: flags: 2
[2021-03-15T23:34:43] DEBUG2: reading secure socket
[2021-03-15T23:34:43] DEBUG2: reading secure socket
[2021-03-15T23:34:43] DEBUG2: want to read, error=2, attempt=1
[2021-03-15T23:34:43] DEBUG2: msg from server: CALV
[2021-03-15T23:34:43] DEBUG2: writef(CALV)
[2021-03-15T23:34:43] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:43] DEBUG2: writef(CNOP)
[2021-03-15T23:34:43] DEBUG2: wrote 4 bytes
[2021-03-15T23:34:43] DEBUG2: writing secure socket:0x7ff552a1b970
[2021-03-15T23:34:44] DEBUG2: checking clipboard
[2021-03-15T23:34:44] DEBUG2: flags: 2
Misbehaving client 2 log:
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=40000 outMask=0002
[2021-03-15T23:41:40] DEBUG1: mask=60000 outMask=0003
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=c0000 outMask=0006
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=40000 outMask=0002
[2021-03-15T23:41:40] DEBUG1: mask=60000 outMask=0003
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=c0000 outMask=0006
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=40000 outMask=0002
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=c0000 outMask=0006
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=e0000 outMask=0007
[2021-03-15T23:41:40] DEBUG1: mask=80000 outMask=0004
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=20000 outMask=0001
[2021-03-15T23:41:40] DEBUG1: mask=a0000 outMask=0005
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: mask=0000 outMask=0000
[2021-03-15T23:41:40] DEBUG1: modifiers on update: 0x0000
[2021-03-15T23:41:40] DEBUG: hiding cursor
connected to server
I initially suspected LAN problem (an ethernet and wifi adapter either a client or server connected into 1 LAN at the same time), but I can confirm this is not the case now.
@cthart commented on GitHub (May 4, 2023):
I haven't had this issue anymore in a long time.
Currently running 2.4.0 on macOS Monterey 12.6.5 as the client while the server is 2.4.0 on Ubuntu 22.04.2 LTS