debauchee / barrier

Open-source KVM software
Other
27.51k stars 1.51k forks source link

Mouse lags on M1 Mac Target for 30-60 seconds after reconnecting #1891

Open Mr-Technician opened 1 year ago

Mr-Technician commented 1 year ago

What happened?

I am running Barrier in server mode from my Windows Desktop and my M1 MacBook Pro is the client. After reconnecting to Barrier when my Mac is asleep, the mouse pointer freezes every few seconds. Typing also freezes. After 30 seconds to a minute, the issue seems to go away and I can move the mouse and type as if I were using the physical keyboard.

I am speculating that this could have to do with the Rosetta 2 emulation layer. The CPU usage also seems high on the client at around 10%. I don't have an ethernet adapter to test with but I doubt my WiFi is the issue.

If I disconnect manually and then reconnect, the issue does not occur.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

What OSes are you seeing the problem on? (Check all that apply)

macOS

What OS versions are you using?

macOS Ventura 13.1.

Relevant log output

No response

Any other information

No response

VladKorzun commented 1 year ago

I experience the same behavior using Barrier 2.4.0, Intel mac as a server and M1 mac as a client, both running on Monterey 12.6

Mr-Technician commented 1 year ago

I experience the same behavior using Barrier 2.4.0, Intel mac as a server and M1 mac as a client, both running on Monterey 12.6

I helped someone else setup their M1 Mac as the server and Windows desktop as the client and the issue didn't occur, so it may be limited to M1 Macs as the client.

teguhsatria892 commented 1 year ago

I'm using M1 too as a client, and windows as a server, maybe just uncheck 'Check clients every' option, and don't use SSL,

Mr-Technician commented 1 year ago

I highly doubt it is due to the SSL settings. Check clients is already disabled.