X2Go Bug report logs - #1391
X2Go Flickering on KDE remote desktop with compositor enabled

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Tom Butler <tom@r.je>

Date: Mon, 10 Jun 2019 18:05:02 UTC

Severity: normal

Full log


Message #15 received at 1391@bugs.x2go.org (full text, mbox, reply):

Received: (at 1391) by bugs.x2go.org; 14 Jun 2019 12:08:57 +0000
From ulrich.sibiller@gmail.com  Fri Jun 14 14:08:17 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.4 required=3.0 tests=BAYES_00,DKIM_INVALID,
	DKIM_SIGNED,FREEMAIL_FROM,FREEMAIL_REPLYTO,FREEMAIL_REPLYTO_END_DIGIT,
	T_SPF_HELO_TEMPERROR,URIBL_BLOCKED autolearn=no autolearn_force=no
	version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 8DE155DAF1;
	Fri, 14 Jun 2019 14:08:17 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id G6Mp5GlnUVJU; Fri, 14 Jun 2019 14:08:11 +0200 (CEST)
Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id F0A5E5DAE7;
	Fri, 14 Jun 2019 14:08:00 +0200 (CEST)
Received: by mail-ua1-x933.google.com with SMTP id c4so862636uad.1;
        Fri, 14 Jun 2019 05:08:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:reply-to:from:date:message-id
         :subject:to:cc;
        bh=00q2y1bb0g5doJY7lfYcqBQpibw0pi+09EQJC8iT17o=;
        b=Jln/XtYR7S/6ySkIrMlvMjU7v9a6liKPutgNE6XGpYgCAJbUqYCubKFcAnAcDIzS2s
         ec3e3K3DG1ihJc3GIRlINfzvfhnsGfoxZT/WFqGjuMe3PQI7ieFR/s0JAr3roA74l16v
         sSETyw7GiAwwUbwFYbyEz/d0yHVgu8XybQ8r+rjgiNDSGjfBVtVVV3gAeSe9Yx6d8LMF
         OEAT0tCYC7G1/LRjDvn5X8FHvSTexpR8IG8K4CO2vtwAo3oIB4C5bo48dHybn1aZ7wnb
         XIaw381fdAgGOOzRhAUBuu5Ddll6nCptW3uz11HK5sFdCm26ut/ZArFqSC8fdYa2nbC1
         YGPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:reply-to
         :from:date:message-id:subject:to:cc;
        bh=00q2y1bb0g5doJY7lfYcqBQpibw0pi+09EQJC8iT17o=;
        b=EcSksgesw6Esjwb9SVMihcMf8BS69g1eRddhLevqzcvVwiYab0yKnPk62h12FLg3MO
         4ICiifeycZfFD3Paz6RJ+hz5/4L26ZHzWasp8inhxfjAquIlkOUs5YDphdiZq2/M0hvY
         wTeHRMl5w5PTapDOqj4bYMU9zq9ZYrshvcEgclW5aSFy0VVKuaqUe5ECP63EtXYUt7GQ
         aopYJylvvMgXrS8ga/IGVytCsputUF6XZm+HPKwGhOVfqbFJre3Rv1yN5qlS/euQIcn/
         c/thkXs/QPB8rh21GSp6dGlr5/SA3LK0rUv3Fz8WFgqZgEuzsEcEjiL+jQXy3WQtrLnH
         zg1A==
X-Gm-Message-State: APjAAAXMny8MR7Br+dC8a8+XEoOxkf+VcsrYgxcOIueFO0cTCcm1X2c9
	lzG7ZW/M1qwarpOrNEBcZGTqqfmr2GMXB8s8QGI=
X-Google-Smtp-Source: APXvYqyYPrdrDI+HISzhnFyeFZRhAwaMKsXHM18Axb4mYKE2gSXXjdyKXXy/pS302nzxDwSA37ZXQGFDwJN4SUSqPCM=
X-Received: by 2002:ab0:70ab:: with SMTP id q11mr30295937ual.88.1560514079482;
 Fri, 14 Jun 2019 05:07:59 -0700 (PDT)
MIME-Version: 1.0
References: <14881927-465f-878c-d78e-62eceea87627@r.je>
In-Reply-To: <14881927-465f-878c-d78e-62eceea87627@r.je>
Reply-To: uli42@gmx.de
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Fri, 14 Jun 2019 14:07:32 +0200
Message-ID: <CANVnVYJN_xP9BiLbwYS4Nb2B8jrTbwQodQh=V3jrP2XEchXUbQ@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1391: X2Go Flickering on KDE remote desktop with
 compositor enabled
To: Tom Butler <tom@r.je>, 1391@bugs.x2go.org
Cc: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Hello Tom

in your video I do not see any flickering. I only see slow graphics
updates. And it is clear, why. X2go uses NX, an NX is optimized for
reducing X traffic. Modern dekstops are not using the X protocol where
NX could optimized but instead send images over the line. While NX
still compresses these it is far less efficient than the X protocol
optimizations. That is what's causing your lags.

You should disable desktop effects altogether in that session. And you
should set the Compositing Type to "Xrender". You can slow try to
disable graphics compression in X2go, see
https://github.com/ArcticaProject/nx-libs/issues/802 for an overview.

We do not offer any video compression/optimization and are not
planning that in the near future (there are more important structural
things to fix first). You can try xpra or Nomachine's commercial NX
product if you need that.

Uli


On Fri, Jun 14, 2019 at 10:53 AM Tom Butler <tom@r.je> wrote:
>
> Package: x2goserver
>
> Version: 4.1.0.3
>
> I am using X2Go to connect to a running KDE desktop over a gigabit LAN
> connection. Both the client machine (running x2goclient) and the server
> are running KDE Plasma 5.15. When the compositor is enabled, it causes
> flickering. It's most visible on windows with transparency effects like
> the taskbar and menu, however the window decorations of any window also
> flickers. I have uploaded a video of the problem here:
> https://www.youtube.com/watch?v=Hg8g1TXLndo  a rather unpleasant
> experience.
>
> The server uses Intel graphics with an i7 8650u if it's a GPU/driver
> issue. The flickering does not happen on the server's display, only when
> viewed using x2go. The same thing happens in VNC, though it is
> significantly less frequent/annoying.
>
> Ideally, x2go would support the compositor. Is it possible to just do
> full-screen polling? I can stream an x264 or vp9 video of the screen
> from the host and view the desktop that way but obviously that lacks
> input, although inefficient, it would solve any display issues if x2go
> could just stream a complete video from ffmpeg and then handle the input.
>
> However, a workaround would be disabling the compositor on a connection.
> Is there currently any method that I can run a script on
> connect/disconnect or even just ask x2goserver how many clients are
> connected so I can stop the compositor when an x2go client connects and
> then re-enable it when there are no clients?
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jun 26 02:15:32 2022; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.