Hi,
after upgrading Firefox form v45 ESR to v52 ESR, the image quality in the X2Go client dropped considerably. Using the same setup in both cases, I now see "blocks" of JPEG artifacts scattered around the window.
My setup:
I'm untaring Firefox to a dedicated dir and pointing X2Go to execute it. The tests were made with fresh Firefox profiles in both cases, with HW acceleration disabled and rendering by cairo. A major difference is that Firefox 45 uses GTK2 while Firefox 52 uses GTK3.
The areas with artifacts seem to be placed randomly. Icons next to each other in the chrome may or may not be affected. Multiline paragraphs are sometimes divided across the upper/lower middle of the characters.
If I highlight text around quickly, or zoom in/out, I can make the artifact blocks "jump" to other areas in the viewport. After tweaking the font configs, I managed to get rid of the artifacts consistently in text-only documents by using an aliased font against a solid background. Artifacts in the chrome remain nevertheless.
If I set the nx pack to rle for instance, the artifacts disappear. I'd still like to know if
Let me know if you need more info or sceenshots. Thanks in advance.
On Mon, Jun 12, 2017 at 11:24 PM, <south0@tuta.io> wrote:
Hi,
after upgrading Firefox form v45 ESR to v52 ESR, the image quality in the X2Go client dropped considerably. Using the same setup in both cases, I now see "blocks" of JPEG artifacts scattered around the window.
My setup:
- Ubuntu 16.04 LTS i686
Are you really using 32bit?
- X2Go server from stable PPA
- X2Go Qt client in Windows (tested in 7 and 10)
- nx set to link=lan, pack=adaptive-9, the rest as default
Are you also _running_ on a LAN?
- Firefox from Mozilla's builds (https://ftp.mozilla.org/pub/firefox/releases)
I'm untaring Firefox to a dedicated dir and pointing X2Go to execute it. The tests were made with fresh Firefox profiles in both cases, with HW acceleration disabled and rendering by cairo. A major difference is that
How did you disable hw rendering?
Have you tried the firefox (53.0.2 or newer, not an ESR version) that Ubuntu is delivering with the distro? Is it also happening with that version?
Firefox 45 uses GTK2 while Firefox 52 uses GTK3.
The areas with artifacts seem to be placed randomly. Icons next to each other in the chrome may or may not be affected. Multiline paragraphs are sometimes divided across the upper/lower middle of the characters.
If I highlight text around quickly, or zoom in/out, I can make the artifact blocks "jump" to other areas in the viewport. After tweaking the font configs, I managed to get rid of the artifacts consistently in text-only documents by using an aliased font against a solid background. Artifacts in the chrome remain nevertheless.
I suggest to clear the caches on server and client and then retry with a new session. Caches are in ~/.x2go.
If I set the nx pack to rle for instance, the artifacts disappear. I'd still like to know if
- this is a bug or expected behaviour
this is certainly not an expected behaviour.
- I can still use adaptive-9 while getting a constant/reproducible image quality
Well, it should work, it does work here on 64bit.
Let me know if you need more info or sceenshots. Thanks in advance.
Please provide some screenshots as well as some URLs your are seeing the problem with. Also I'd like to know the kind of session you are running: a full desktop environment (which?), a published application, a rootless session? Is your distro uptodate? In a broken session please post the options file from the server side (~/.x2go/C-*/options).
Uli
Am 13.06.2017 um 00:14 schrieb Ulrich Sibiller:
- nx set to link=lan, pack=adaptive-9, the rest as default Are you also _running_ on a LAN?
Somerecent tests by Alex showed that as long as you get something like, I think, 16-30 MBit/s, out of your connection*, LAN actually provides the smoothest, snappiest experience.
*Seen from Server to Client, so a Client connecting via 16MBit/s ADSL to a Server in a datacenter seems to work best with "LAN", however, if your *Server* is behind a 16MBit/s ADSL connection, its upstream will be considerably lower, so using a slower setting will increase "snappiness".
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
- Ubuntu 16.04 LTS i686 Are you really using 32bit?
Yes $ uname -a Linux x2go-i686-vm 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:57:27 UTC 2017 i686 i686 i686 GNU/Linux
I'm running all tests on a amd64 machine too, I get the same results $ uname -a Linux x2go-amd64-vm 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- nx set to link=3Dlan, pack=3Dadaptive-9, the rest as default Are you also _running_ on a LAN?
Yes, 1Gbps link 1 hop away from the server for testing purposes. Reduced it to ADSL as a test, artifacts remain.
acceleration disabled and rendering by cairo. How did you disable hw rendering?
Options -> Advanced -> uncheck "Use hardware acceleration..."
Enabling it doesn't make a difference, the artifacts remain. I'm running VMs without any GPU support.
For cairo in about:config
gfx.canvas.azure.backends cairo gfx.content.azure.backends cairo gfx.xrender.enabled true
Have you tried the firefox (53.0.2 or newer, not an ESR version) that Ubuntu is delivering with the distro? Is it also happening with that version?
Yes, current Firefox from Ubuntu repos and the latest 54.0b13 from Mozilla's build have the same issue.
I suggest to clear the caches on server and client and then retry with a new session. Caches are in ~/.x2go.
No improvement.
Please provide some screenshots
about:mozilla in Firefox 45.9.0esr https://abload.de/img/ff-45esr-html1js43.png
about:mozilla in Firefox 52.1.2esr https://abload.de/img/ff-52esr-htmllns35.png
Differing quality between adjacent elements in Firefox 52.1.2esr https://abload.de/img/differing-quality-icow4s09.png
Artifacts in the chrome seem to disappear when I resize the window and it has to be redrawn. They reappear after I hover on them (ie, after the backgound changes).
as well as some URLs your are seeing the problem with.
A good universal reference is about:mozilla.
Artifacts in the chrome are noticeable in the "+" to create a new tab, for example.
Also I'd like to know the kind of session you are running
Im running Firefox as single application, for instance: /opt/firefox52esr/firefox -P
Is your distro uptodate?
Yes, installed from 16.04.2 Ubuntu ISOs, just updated/upgraded.
In a broken session please post the options file from the server side (~/.x2go/C-*/options).
Firefox 45.9.0esr
nx/nx,link=3Dlan,pack=3Dadaptive-9,limit=3D0,root=3D/tmp/.x2go-test/C-tes= t-50-1497443353_stRfirefox_dp32,cache=3D8M,images=3D32M,type=3Dunix-kde-d= epth_32,id=3Dtest-50-1497443353_stRfirefox_dp32,cookie=3D11afc8e451487a98= e241b19d22df6e03,errors=3D/tmp/.x2go-test/C-test-50-1497443353_stRfirefox= _dp32/session.log,kbtype=3Dnull/null,geometry=3D800x600,resize=3D1,fullsc= reen=3D0,accept=3Dlocalhost,listen=3D32416,clipboard=3Dboth,client=3Dlinu= x,menu=3D0,state=3D/home/test/.x2go/C-test-50-1497443353_stRfirefox_dp32/= state:50
Firefox 52.1.2esr
nx/nx,link=3Dlan,pack=3Dadaptive-9,limit=3D0,root=3D/tmp/.x2go-test/C-tes= t-50-1497444001_stRfirefox_dp32,cache=3D8M,images=3D32M,type=3Dunix-kde-d= epth_32,id=3Dtest-50-1497444001_stRfirefox_dp32,cookie=3D531a4eb25bde9f45= deeded697cc18b62,errors=3D/tmp/.x2go-test/C-test-50-1497444001_stRfirefox= _dp32/session.log,kbtype=3Dnull/null,geometry=3D800x600,resize=3D1,fullsc= reen=3D0,accept=3Dlocalhost,listen=3D61183,clipboard=3Dboth,client=3Dlinu= x,menu=3D0,state=3D/home/test/.x2go/C-test-50-1497444001_stRfirefox_dp32/= state:50
A reproducible scenario: printing disabled, no port forwarding for audio
The non-free components can be installed later on with the package ubuntu-restricted-extras, but it doesn't make a difference.