-
Notifications
You must be signed in to change notification settings - Fork 57
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
Distorted image in HTML5 client #115
Comments
Server log with HTML5 Encoding is |
This looks like a scaling issue. You have the decode worker disabled right? |
My guess is that 31bef75d521a1247be151245947fa44dbb115f28 needs to be added to the non-decode worker code path. |
which may be different from the encode dimensions when the contents are scaled (ie: downscaled for video mode)
@basilgello does the commit above fix things? (for the non-decode worker code path) If that's the case, then the remaining question is to figure out why the screen updates ended up using downscaling in the first place. |
I tested it by copying the master tree into However, let me build two master trunks (xpra + html5) and test again. |
No, both trunks are the same as reported so it is not a fix |
I still dont understand why the master trunk of xpra still has this error:
|
And what's more interesting, breakages on scroll coincide with these,error messages in |
@basilgello please clarify:
That's the way I test too. Just make sure that you wipe this directory first because any existing pre-compressed files would take precedence.
"still" as in, you saw it before?
The |
Yes
With Xpra-org/xpra@d75d53d and xpra-org/xpra-html5@master I could not reproduce screenshot number 1 either with What still remains is dim and blurry image that starts rendering on scroll event. In the logs, this corresponds to notice grey area while firefox headerbar is clear. |
Yep, it is in the log in my 2nd comment in this issue:
|
That's exactly what subsampling to |
Why video mode is triggered on if HTML5 client has "Video" advanced settong checkbox turned off? |
Because those are only distantly related. |
So it is intentional and there is no way to disable ot except ewverting to the working build? |
Like I said before, I am working on this. Please be patient. |
Not rushing you at all :) I am working on keyboard stuff too ;) |
Update on latest master trunk: I could not reproduce this issue running Firefox with LinkedIn, Youtube, etc a number of times. Encoding performance (3337) is still worse than Xpra-org/xpra@39c8838 Should I package libspng for Debian and build Xpra using it? |
The fix is probably this one: Xpra-org/xpra@35d030e#diff-ec21731672c0e9db9865626ceef607852d95efb34ed1bda017cd40b97fc6fe5c
Please define what you're measuring and how. Having the
At present this will make zero difference to the html5 client because only the decoder (Xpra-org/xpra#3373) is actually used. Longer term though, it's probably a good idea as this will allow us to take advantage of Xpra-org/xpra#3357 |
@totaam the latest master trunk of Xpra again introduced yuv subsampling on scroll making the stream quality non-acceptable. Reverting to 20211203 Xpra build restores the proper behavior (though still not as smooth as 2021110 but anyway) |
Too late for 4.3 which was released today. Please provide more details: reproducer, bisection or something i can use to narrow things down. |
Next time please ping me on RC1 before the release :) Free QA wont hurt ;)
Let me capture the log first, then blame the commit :) |
Hi all, Oddly enough this did not happen in the previous stable build. Only once I switched to beta so I could test the fix for issue #148 (which does work btw) I am using CentOS Stream 8 Are there any logs or additional information that would be helpful to you? I am not sure what to provide at this point. thanks! |
Steps to reproduce would be good.
Command lines, tweaks, etc. |
Hi, To reproduce I: The XPRA version that I am using is: [root@centosstream8 xpra]# rpm -qa |grep xpra
python3-xpra-client-4.4-10.r31209.el8.x86_64
xorg-x11-drv-dummy-0.4.0-3.xpra1.el8.x86_64
python3-rencode-1.0.6-11.xpra1.el8.x86_64
xpra-common-4.4-10.r31209.el8.noarch
python3-xpra-4.4-10.r31209.el8.x86_64
python3-pyopengl-3.1.5-2xpra1.el8_3.x86_64
xpra-html5-5.0-1.r1256.el8.noarch
python3-xpra-server-4.4-10.r31209.el8.x86_64
x264-xpra-20211215-1.el8.x86_64
ffmpeg-xpra-5.0.1-1.el8.x86_64
xpra-common-server-4.4-10.r31209.el8.noarch
xpra-common-client-4.4-10.r31209.el8.noarch
xpra-4.4-10.r31209.el8.x86_64
[root@centosstream8 xpra]# uname -a
Linux centosstream8 4.18.0-373.el8.x86_64 #1 SMP Tue Mar 22 15:11:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux My XPRA config file is: Finally, as for the Logs, I am a bit new to this... I'm not entirely sure what you mean by... ...if not, how can I get the info that you need? EDIT: I found that it seems like the problem originates in the encoding option section. Thanks for your help. |
Superseded by #231 |
The 39c8838 + html5 master works fine but 31e258e produces distorted image on scroll either with 8cf87c2 or ea8f02b
The text was updated successfully, but these errors were encountered: