mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #617] Input freezes or gets stuck, losing control for a few seconds #485
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#485
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 @linaori on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/617
Not sure what could be causing this or if it's even a bug, perhaps someone has pointers as I can't find any related issues on google. A lot of times, and I'm talking 10~50 times per hour, I have either of the following issues:
Operating Systems
Server: Win 10 (1909)
Client: Ubuntu 18.04
Barrier Version
2.3.2-snapshot-210c2b70 (server) 3 oct 2019
2.3.2-snapshot-9080ce45 (client) 10 nov 2019
I'm not sure how to get the exact same versions, as the linux version is installed via the software manager, and this gives me a newer version than available here in releases.
Steps to reproduce bug
Use the software
Other info
Connected via WiFi because Dell refuses to give support for this particular USB-C dongle, LAN not working so I can't test if that fixes it
@akisman commented on GitHub (Apr 8, 2020):
I'm seeing the exact same behavior. I haven't managed to isolate the issue, but there is one scenario I can repeatedly reproduce:
Pressing
left shiftwhile holdingright shift(tried it when typing on Konsole or Kate) always results in the first issue mentioned:Using the hotkey assigned to switch desktops back and forth "releases" it.
Anecdotally it feels like it occurs often when typing & using shift. I haven't noticed any pattern yet on the occurrence of the second issue mentioned, in which seemingly randomly I also loose control of both keyboard & mouse.
It seems to be related to this issue on the synergy-core repository.
--
Operating Systems
Server: Windows 10 Pro (Build 2004)
Client: Kubuntu 18.04 (Kernel 5.3.0-45-generic)
Barrier Version
Server: 2.3.2-snapshot-210c2b70
Client: 2.3.2-snapshot-9080ce45
Other Info
Connected via gigabit ethernet
@justdeth commented on GitHub (May 7, 2020):
I'm also experiencing this issue.
Similar issue seen in synergy: https://github.com/symless/synergy-core/issues/6487
@brenix commented on GitHub (May 18, 2020):
It looks like this was fixed in synergy-core. Do fixes like this typically get pulled down into barrier? I've applied this patch to my install of barrier to see if it helps, but curious if these fixes get pulled into barrier at some point..
@shymega commented on GitHub (May 18, 2020):
No, they don't AFAIK.
@axtux commented on GitHub (May 19, 2020):
The issue seems to be fixed by https://github.com/symless/synergy-core/pull/6685
I have same issue: sometimes the mouse freezes and movements are delayed by a few seconds.
Operating Systems
Server: Ubuntu 18.04 (Kernel 4.15.0-99-generic)
Client: Ubuntu 18.04 (Kernel 5.3.0-51-generic)
Barrier Version
Server: barrierc 2.3.2-13-g9080ce45
Client: barriers 2.3.2-13-g9080ce45
Other Info
Connected via Ethernet cable, ping running during freeze is never higher than 1ms so this excludes eventual network issues
@shymega commented on GitHub (May 19, 2020):
That patch applies fine to the current Barrier version. I'm not sure what the official position is about using upstream patches from Symless's Synergy core though. @walker0643 Thoughts?
@brenix commented on GitHub (May 19, 2020):
After running barriers with the upstream patch for over a day, I can confirm the issues (lag, input freezes, etc) I was seeing have been resolved.
@shymega commented on GitHub (May 19, 2020):
Thanks for confirming. I'm keen to get it merged, but I need to check a few factors first. Will keep this updated.
@p12tic commented on GitHub (May 19, 2020):
I think the upstream fix is a total hack. We could as well just throw away most of the X11 event queue code :-) It will cause higher power usage on laptops even when barrier is not actively used (i.e. no event) as the event polling will be a thousand times more frequent.
@p12tic commented on GitHub (May 19, 2020):
I looked into this issue and have a preliminary fix that I'm testing. The problem in my case is that's the occasions when the input is stuck are very rare, maybe once an hour or so, but so far I have not seen the issue return.
@shymega commented on GitHub (May 19, 2020):
Hm, interesting. Mind sharing the patch so far @p12tic? Thanks 👍
@p12tic commented on GitHub (May 20, 2020):
@shymega See #679. So far no freezes for a couple of days.
@linaori commented on GitHub (Aug 7, 2020):
Been running 2.3.3 for about 2.5 hours now and haven't had a single hickup yet. So far it seems the changes are working!