-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
shadow desktop scaling broken for scaling < 100% #4324
Comments
Can you try running version LTS 5.x instead? |
i downgraded only the client. opengl works but it downscales using nearest neighbor (no bilinear), so not really useful. thanks! i will test once the fix is released. i'll come back to this issue in case of trouble. |
In your case, the downscaling is done server-side, it should be possible to teach the module to use a different sampling algorithm when downscaling. xpra/xpra/codecs/libyuv/converter.pyx Lines 183 to 188 in 474343f
Another (less optimal) option would be to tell the server to not downscale before compression and let the opengl client apply the linear sampling: Lines 566 to 572 in 474343f
I am afraid that I have found some more issues, so it could take a while. |
for now im using v5.0.9-r0 client in non-GL mode against current 6.x server. it works fine like this (bilinear), so for me there is no need to debug the downscaling filtering in GL mode (unless you want to). thanks again! |
FYI: I have created a ticket for improving the scaling filters based on the window's content-type: #4326 |
Describe the bug
shadow desktop scaling is broken when using
--desktop-scaling
< 100%. this issue is worked-around if--opengl=off
is specified (but then bug #4323 hits, so workaround is also unusable).what happens when scaling < 100% is used is:
To Reproduce
Steps to reproduce the behavior:
xpra shadow ssh:XXX:0 --desktop-scaling=70%
System Information (please complete the following information):
Additional context
on both sides:
Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin vt: 7 dm: LightDM v: 1.30.0
standard X11 session
client:
Graphics: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Lenovo driver: i915 v: kernel arch: Gen-12.2
The text was updated successfully, but these errors were encountered: