[GH-ISSUE #1507] very slow image clipboard copy between machines #1141

Open
opened 2026-05-05 07:31:53 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @syadnom on GitHub (Jan 8, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1507

What happened?

Everything 'works', but if I copy an image into the clipboard on either of the two machines (Win11, Mac M1) it takes 3-5 seconds or more to move the mouse over. Seems that the amount of data in the clipboard makes this struggle. The larger the image I copy, the slower it is.

Both machine are on wireless, both have WiFi6 on a WiFi6 AP and both machines can pull 400Mbps speed tests individually.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

pre-built executables from main site.

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

Windows, macOS

What OS versions are you using?

Windows 11
MacOS 12.0.1 on M1

Relevant log output

[2022-01-08T13:39:10] INFO: bitmap: 1498x948 32
[2022-01-08T13:39:10] INFO: convert image from: depth=32 comp=3
[2022-01-08T13:39:10] INFO: screen "DESKTOP-29U8UE1" updated clipboard 0
[2022-01-08T13:39:10] INFO: bitmap: 1498x948 32
[2022-01-08T13:39:10] INFO: convert image from: depth=32 comp=3
[2022-01-08T13:39:10] INFO: screen "DESKTOP-29U8UE1" updated clipboard 1
[2022-01-08T13:39:17] INFO: switch from "Dans-Mac-mini.local" to "DESKTOP-29U8UE1" at 3438,724
[2022-01-08T13:39:17] INFO: entering screen

Any other information

No response

Originally created by @syadnom on GitHub (Jan 8, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1507 ### What happened? Everything 'works', but if I copy an image into the clipboard on either of the two machines (Win11, Mac M1) it takes 3-5 seconds or more to move the mouse over. Seems that the amount of data in the clipboard makes this struggle. The larger the image I copy, the slower it is. Both machine are on wireless, both have WiFi6 on a WiFi6 AP and both machines can pull 400Mbps speed tests individually. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? pre-built executables from main site. ### What OSes are you seeing the problem on? (Check all that apply) Windows, macOS ### What OS versions are you using? Windows 11 MacOS 12.0.1 on M1 ### Relevant log output ```shell [2022-01-08T13:39:10] INFO: bitmap: 1498x948 32 [2022-01-08T13:39:10] INFO: convert image from: depth=32 comp=3 [2022-01-08T13:39:10] INFO: screen "DESKTOP-29U8UE1" updated clipboard 0 [2022-01-08T13:39:10] INFO: bitmap: 1498x948 32 [2022-01-08T13:39:10] INFO: convert image from: depth=32 comp=3 [2022-01-08T13:39:10] INFO: screen "DESKTOP-29U8UE1" updated clipboard 1 [2022-01-08T13:39:17] INFO: switch from "Dans-Mac-mini.local" to "DESKTOP-29U8UE1" at 3438,724 [2022-01-08T13:39:17] INFO: entering screen ``` ### Any other information _No response_
Author
Owner

@thibaut2hd commented on GitHub (Jan 15, 2022):

Hi,
Had a similar problem between my MacBook Pro (server) and Mac mini M1 (client) (pop up window saying "connecting..." very time I copied large clipboard on a remote machine).

I noticed that switching off MacOS Handoff on the client (System preferences > General > Allow handoff between etc.) solved this and I have not observed any more delay afterwards.

So maybe an issue with Handoff rather than Barrier?

Cheers,

Thibaut

<!-- gh-comment-id:1013654149 --> @thibaut2hd commented on GitHub (Jan 15, 2022): Hi, Had a similar problem between my MacBook Pro (server) and Mac mini M1 (client) (pop up window saying "connecting..." very time I copied large clipboard on a remote machine). I noticed that switching off MacOS Handoff on the client (System preferences > General > Allow handoff between etc.) solved this and I have not observed any more delay afterwards. So maybe an issue with Handoff rather than Barrier? Cheers, Thibaut
Author
Owner

@syadnom commented on GitHub (Jan 15, 2022):

This is between PC and Mac so handoff isn't being used. I did disable
handoff on the Mac but it didn't change anything.

On Sat, Jan 15, 2022 at 2:56 AM Antioche @.***> wrote:

Hi,
Had a similar problem between my MacBook Pro (server) and Mac mini M1 (client) (pop up window saying "connecting..." very time I copied large clipboard on a remote machine).

I noticed that switching off MacOS Handoff on the client (System preferences > General > Allow handoff between etc.) solved this and I have not observed any more delay afterwards.

So maybe an issue with Handoff rather than Barrier?

Cheers,

Thibaut


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1013701015 --> @syadnom commented on GitHub (Jan 15, 2022): This is between PC and Mac so handoff isn't being used. I did disable handoff on the Mac but it didn't change anything. On Sat, Jan 15, 2022 at 2:56 AM Antioche ***@***.***> wrote: > > Hi, > Had a similar problem between my MacBook Pro (server) and Mac mini M1 (client) (pop up window saying "connecting..." very time I copied large clipboard on a remote machine). > > I noticed that switching off MacOS Handoff on the client (System preferences > General > Allow handoff between etc.) solved this and I have not observed any more delay afterwards. > > So maybe an issue with Handoff rather than Barrier? > > Cheers, > > Thibaut > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > Triage notifications on the go with GitHub Mobile for iOS or Android. > You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@jockie commented on GitHub (May 7, 2022):

@syadnom : Maybe the lag is caused by encryption. If you're on a safe network, try disabled crypto on the settings (F4).

<!-- gh-comment-id:1120178834 --> @jockie commented on GitHub (May 7, 2022): @syadnom : Maybe the lag is caused by encryption. If you're on a safe network, try disabled crypto on the settings (F4).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1141
No description provided.