-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Text editors laggy #2248
Comments
@alyst: 2.4.3 is no longer supported, the current version in the repository is 2.5 If you can reproduce the problem with this version, please post the server's |
2019-04-09 14:50:44: alyst uploaded file
|
2019-04-09 14:57:23: alyst commented
|
Exactly:
Which means that the application is repainting the whole 4K monitor all the time, even when you've changed just one character on screen. There's only so much we can do when we have to deal with such a humongous amount of (totally unnecessary) pixels repaints every few hundreds of milliseconds or so. That said, xpra is compressing those screen updates in around 50ms, and I would expect the client to decompress it very quickly, so your overall picture latency should be below 80ms (plus whatever network latency you may have) - which isn't too bad. The only thing I can recommend at this point is to use an application that doesn't use this crazy window repaint behaviour. Unless I am missing something, I would like to close this ticket as 'wontfix'. BTW, there's also this:
You usually want to leave this on auto unless you're on a low-latency Gbps connection or better. |
2019-04-09 15:30:51: alyst commented
|
We do this for scrolling detection, but only when we get enough screen redraws per second. Doing this for every screen update could be costly. |
Updates:
This enables "scroll" encoding, which does compare with the previous image on a line by line basis only - so the blinking cursor of rstudio only costs this now:
And the rest of the bogus damage request is ignored. This does come at a cost:
1ms for 1200x900 may not seem like much, but the overhead will be higher (as a percentage) for lower resolutions, hence why we have a minimum size since r22543. Notes:
@alyst: does that work for you? |
2019-05-09 19:15:37: alyst commented
|
2019-05-09 19:16:39: alyst uploaded file
|
Please include the "scroll" debug flag ( r22686 adds debug logging to all the code paths that skip using the scrolling detection. |
2019-05-10 12:05:51: alyst uploaded file
|
2019-05-10 12:09:56: alyst uploaded file
|
2019-05-10 12:12:03: alyst commented
|
My best guess is that opengl accelerated rendering is disabled. |
2019-05-10 14:50:19: alyst commented
|
Please see ReportingBugs, following the instructions there would have captured this information from the get go.
"scrolling" is now also enabled for the non-opengl case: #2295 So you can compare scrolling with both options.
What hiccups? |
Issue migrated from trac ticket # 2248
component: network | priority: major | resolution: fixed
2019-04-03 10:26:49: alyst created the issue
The text was updated successfully, but these errors were encountered: