-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A barrage of network-congestion prompts #3092
Comments
Didn't |
When they start, they just won't stop (see the taskbar, and imagine that as a video). Interacting with any of them is impossible, closing them via explorer.exe is impossible, xpra is at 18.5% CPU, explorer.exe at 35%!! The only solution is to kill the client, and reconnect. ( |
Ah. Gotcha. So there are many pieces to this puzzle:
I don't understand this bit. |
Pending replication.
Make sure that there is some minimum delay between "modifying" the window, if that would make it unable to be interacted with (e.g. 500ms is a good enough tradeoff on updating vs able-to-be interacted with).
No idea what that is 😀
I was thinking if this #3089 (comment) would somehow affect. I did see the problem again after upgrading to fix that. |
Maybe this isn't working:
This should ensure that you don't get more than one notification per minute.. Adding |
No, definitely the client did not honor that from where I was sitting (the way I understand it at least) xpra/xpra/server/source/windows_mixin.py Line 27 in 9e5f3ce
|
Found the problem: f8b2ef3 uses I am so confident that this fix is correct that I am closing this ticket already. (the latest beta builds uploaded have this fix) |
Successfully disappeared: "Xpra-Python3-x86_64_4.2-r28905\xpra_cmd" attach ssh://user@ip/2 --ssh="plink -ssh -agent" -d notify,bandwidth -d clipboard --modal-windows=no --title="@title@ on @@/@server-display@" --headerbar=off --opengl=no --bandwidth-limit=6Mbps
XPRA_EXECUTABLE=Xpra-Python3-x86_64_4.2-r28905
2021-04-16 12:28:26,458 Xpra GTK3 client version 4.2 64-bit
2021-04-16 12:28:26,465 running on Microsoft Windows 10
2021-04-16 12:28:31,868 GStreamer version 1.18.4 for Python 3.8.9 64-bit
2021-04-16 12:28:32,688 created named pipe 'Xpra\2104'
2021-04-16 12:28:33,284 keyboard layout code 0x409
2021-04-16 12:28:33,301 identified as 'United States - English' : us
2021-04-16 12:28:33,777 make_clipboardmenuitem()
2021-04-16 12:28:34,452 keyboard settings: layout=us
2021-04-16 12:28:34,477 desktop size is 4160x1440 with 1 screen:
2021-04-16 12:28:34,482 Default (1100x381 mm - DPI: 96x96) workarea: 4160x1400
2021-04-16 12:28:34,483 Generic PnP Monitor 1600x900 at 0x534 (309x174 mm - DPI: 132x131) workarea: 1600x860 at 0x534
2021-04-16 12:28:34,484 C32JG5x 2560x1440 at 1600x0 (697x392 mm - DPI: 93x93) workarea: 2560x1400 at 1600x0
2021-04-16 12:28:38,794 DISCARD_TARGETS=re.compile('^NeXT'), re.compile('^com\\.apple\\.'), re.compile('^CorePasteboardFlavorType'), re.compile('^dyn\\.'), re.compile('^resource-transfer-format'), re.compile('^x-special/')
2021-04-16 12:28:38,800 DISCARD_EXTRA_TARGETS=re.compile('^SAVE_TARGETS$'), re.compile('^COMPOUND_TEXT'), re.compile('GTK_TEXT_BUFFER_CONTENTS')
2021-04-16 12:28:38,801 server clipboard: supported=True, direction=both
2021-04-16 12:28:38,803 client clipboard: supported=True, direction=both
2021-04-16 12:28:38,804 parse_clipboard_caps() clipboard enabled=True
2021-04-16 12:28:38,806 enabled remote logging
2021-04-16 12:28:38,808 Xpra GTK3 X11 server version 4.2-r28886 64-bit
2021-04-16 12:28:38,815 running on Linux Ubuntu 20.04 focal
2021-04-16 12:28:38,817 process_ui_capabilities() clipboard_enabled=True
....
2021-04-16 14:22:24,726 CloseClipboard()=1
2021-04-16 14:22:24,730 clipboard event: CLIPBOARDUPDATE, current owner: our window (hwnd=0x140a0a)
2021-04-16 14:22:24,756 remove_block: CLIPBOARD
2021-04-16 14:24:21,899 process_clipboard_packet: clipboard-token, helper=ClipboardProtocolHelperCore
2021-04-16 14:24:21,910 ignoring token for clipboard 'PRIMARY' (no proxy)
2021-04-16 14:25:47,981 process_clipboard_packet: clipboard-token, helper=ClipboardProtocolHelperCore
2021-04-16 14:25:47,987 process clipboard token selection=CLIPBOARD, local clipboard name=CLIPBOARD, proxy=Win32ClipboardProxy
2021-04-16 14:25:47,989 wire selection to raw, encoding=bytes, type=UTF8_STRING, format=8, len(data)=11
2021-04-16 14:25:47,991 got token, selection=CLIPBOARD, targets=(b'UTF8_STRING', b'STRING'), target data={'UTF8_STRING': ('UTF8_STRING', 8, b'N\n')}, claim=True, can-receive=True
2021-04-16 14:25:47,993 _filter_targets(UTF8_STRING, STRING)=('UTF8_STRING', 'STRING')
2021-04-16 14:25:47,994 _filter_targets(UTF8_STRING, STRING)=('UTF8_STRING', 'STRING')
2021-04-16 14:25:47,996 got_contents: tell OS we have UTF8_STRING, STRING
2021-04-16 14:25:48,002 we got a byte string: b'N\n'
2021-04-16 14:25:48,003 MultiByteToWideChar wlen=12
2021-04-16 14:25:48,005 GlobalAlloc buf=0x18ae0088
2021-04-16 14:25:48,010 with_clipboard_lock(1313290, <function Win32ClipboardProxy.set_clipboard_text.<locals>.set_clipboard_data at 0x00000000071615e0>, <function Win32ClipboardProxy.set_clipboard_text.<locals>.set_clipboard_error at 0x0000000007161ca0>, 5, 10)
2021-04-16 14:25:48,014 OpenClipboard(0x140a0a)=1
2021-04-16 14:25:48,027 clipboard event: DESTROYCLIPBOARD, current owner: our window (hwnd=0x140a0a)
2021-04-16 14:25:48,028 EmptyClipboard()=1
2021-04-16 14:25:48,040 SetClipboardData(CF_UNICODETEXT, 12 chars)=414056584
2021-04-16 14:25:48,041 <function Win32ClipboardProxy.set_clipboard_text.<locals>.set_clipboard_data at 0x00000000071615e0>()=True
2021-04-16 14:25:48,042 CloseClipboard()=1
2021-04-16 14:25:48,044 clipboard event: CLIPBOARDUPDATE, current owner: our window (hwnd=0x140a0a)
2021-04-16 14:25:48,052 remove_block: CLIPBOARD
---- NOTIFICATION ---
2021-04-16 14:29:04,533 server is not responding, drawing spinners over the windows
2021-04-16 14:29:04,849 server is OK again I don't see anything useful I think the buttons to interact with have disappeared too, however 😕 |
That means the popup was being shown again - fixed in 3d5ac37. From your server log, the key congestion events are:
Then again at Both times something was really wacky with the network: the screen update packets should not take 10 seconds to do the roundtrip! |
Will more frequent server ping-pongs portray the problem better? For the record, the situation is much more stable and usable on Focal. |
YES, I get it, something is up with the network 😛
Please staph now!
Nothing exceptionally wrong in the server log, with the exception of 7-8k
send_delayed_regions: using full window update, merged region covers almost the whole window
messagesThe text was updated successfully, but these errors were encountered: