mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1755] Extreme mouse and keyboard lag on client laptop over wifi unless a speedtest is running in the background #1294
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#1294
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 @chrisJuresh on GitHub (Aug 24, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1755
What happened?
I have a server connected over ethernet (arch) which works fine with my client windows laptop, but my client arch laptop is incredibly laggy, unless a speedtest is running in the background. I'm assuming this is because if wifi is not being used it goes in some sort of sleep mode unless constantly woken up?
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)
Linux
What OS versions are you using?
The issue is when Linux is on both.
Windows client works fine
Relevant log output
No response
Any other information
No response
@weelillad commented on GitHub (Aug 31, 2022):
Chiming in to share that I encounter similar issues with a Windows server and a Linux (elementaryOS) client, both using barrier 2.4.0. Some additional observations I have:
@acheronfail commented on GitHub (Jan 9, 2023):
As another data point, I'm also seeing this with a Linux server and a Windows client. (both wifi)
As an easy way to demonstrate the issue, is to run a speedtest between the two machines using something like
iperf3. For example:Linux host
Windows host
While the speedtest is running between the machines, barrier has almost no latency whatsoever and works wonderfully.
As another point, it seems it's only the client that needs network activity? If I run the same speedtest between the client and my router then it works just as well.
So, pretty much anytime the client machine is heavily using its network there's no problem, but when there's no other activity then it's laggy...
I've tried various methods and power modes for the wifi adapter on the client, all to no avail.
@i1u5 commented on GitHub (Jan 30, 2023):
Can reproduce, also Linux server and Windows client (Linux on WiFi and Windows on Ethernet). Starts lagging/freezing after a few hours of connection, restarting server doesn't fix it, and neither does reloading the client (or individually restarting Bonjour/Barrier services), sometimes it straight up disconnects:
Linux server does not lose internet access or signal when it happens so that can be ruled out.