-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
downscaling server side - not just for video #2052
Comments
See also #2458. |
2020-01-30 14:08:29: leo60228 commented
|
Mostly done in:
Still TODO:
@leo60228: there is no support for any window scaling in the HTML5 client, feel free to create a new ticket for that. |
Notes:
@stdedos: I am re-assigning this ticket to you because you will see huge improvements in bandwidth usage and performance when using (this requires 4.1-r26668 or later on both client and server) |
2020-06-10 11:37:35: stdedos commented
|
This has caused a regression for normal windows when we resize them up: the |
Fixed in r27044. Side effect: we now call stdedos: I'm going to close this ticket for 4.1 - try it when you get a chance. |
This causes problems with windows that don't fit the sizing constraints exactly: we end up downscaling them to the client render size (which is often only a few pixels off) and that makes it blurry. Also makes us use pillow (png) instead of the faster options (webp, jpeg). r27525 fixes that using a threshold. |
As-seen in #2903 (comment), I can of course connect to the shadow server. Apart from the intermittent latency, jitter spikes and "pls wait" spinners, the shadowing works. The original issue was problematic, and therefore the idea of this feature was to pre-scale the video, to reduce its size - because the vp[89] was unusable on Xenial (lack of codecs? IIRC). This change, however, was only valid in v4 (i.e. >Xenial). So, I cannot expressively say that "this feature works and only this one solves the issue", since I don't know how to measure xpra's bandwidth pre/post of this feature, and the vp[89] may of course help (I have seen it in a lot of seamless rendering, and vp[89] codecs are used for said rendering), the overall quality appears to be increased, and the overall lags/"pls wait" has dropped. I can testify that "this feature did not break shadow" though 😛 |
Related fix for video scaling: a437a9e (use the same ratio or a multiple thereof) |
When the client is using a
desktop-scaling
value lower than 1.0, we end up sending pixels that aren't all used client-side since we end up downscaling the picture to display it. (the render target is smaller than the picture the client receives)It would be better if the client could tell the server about the scaling factor it is using then the server can:
The text was updated successfully, but these errors were encountered: