X2Go Bug report logs - #1342
Graphical apps stalling in suspended session

version graph

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

Reported by: yk+bug+x2go@64.re

Date: Wed, 14 Nov 2018 19:15:01 UTC

Severity: normal

Found in version 4.0.1.0

Full log


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

Received: (at 1342) by bugs.x2go.org; 14 Nov 2018 20:51:45 +0000
From ulrich.sibiller@gmail.com  Wed Nov 14 21:51:37 2018
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=2.0 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,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 C225A5DAF0;
	Wed, 14 Nov 2018 21:51:36 +0100 (CET)
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 l2vGkfT0K68H; Wed, 14 Nov 2018 21:51:30 +0100 (CET)
Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7D8665DAEE;
	Wed, 14 Nov 2018 21:51:28 +0100 (CET)
Received: by mail-ua1-x92a.google.com with SMTP id z24so6213257ual.8;
        Wed, 14 Nov 2018 12:51:28 -0800 (PST)
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=cXuTiMQFYHOctO7PEr2OmxMxKtTE6FiEjbkbX3132t8=;
        b=dwFeQi8Ae7Tkwv/M8cLziWJEVSOia4zJ8B1ENm7oCTTnD6X0pHR7F7EuluXy2rGTwl
         534Ka8LTf0floFV9dgtQB2rSvhd9p1KU4kpOTN2rfWXihu6gZ13W2FT49iTPqyYhdMAy
         Ycd9PSxKuUzcW8Ng2VSp3VLUNWBufJp6H9A2kO7N7GR3OMTOGo27+ENMJ+LtxeCwjm1O
         B/Ag32XbLHUzFKkt24z4HmYAnXKTqOufHJE3a+nZCZ0WYyyMiAdBTIRO57VfmBsxKfpH
         uYPoqH/v1fIgvtrzvQMrrBaJqN+/M5I5NcEQ990mJb9q+M0dW3xKkfnj3kAkmYjrQAsi
         bmQQ==
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=cXuTiMQFYHOctO7PEr2OmxMxKtTE6FiEjbkbX3132t8=;
        b=UQ5H6VXlSZFgLkr35C5P7dFbAAjQI/THGuolQvuHyBNtu/qOxvO2bhjhP7wQHg+2PR
         cN2MRBewdNTM8oDkC91QQdskzHU5dA4cof3jOSBdZ7YyiLK7vUgVgzKWAqcQ39ftboSr
         TKshc6OD86Ihib8krktEBZJvd0Tk4H3FLApZovw9nTiX6hgtgdVo+hwb2cAPb3Uv1itf
         D2nEqm4kauQCYEYsnM/Q3YA/eaP3lO2a75u+WKwf+XxUs8ZCKqySKYeNufptEDv60a7+
         m4FOldKOahJXBwpsWQEjmGT7cHGppaA31cJ+jTVno2D/fFA+m2+wmyKVKKMGgtVuWxAB
         W82A==
X-Gm-Message-State: AGRZ1gJusB/HUYF+S4hwZtCAlWc0r3wAtBkr8SX4bhGEWc5vvpfmxuZ8
	Ge5BXrGeo+i3Pwl5T6aUA5lBxcY6xm3qTVuORWI=
X-Google-Smtp-Source: AJdET5cdcpyZTrhS1gG5XL1kfpEi8Rmt+NHANmFNGqNcXMPBiVV/7QtzkbhznBIkxbgdFMDOCkAj0zTEAuBlEUbyyTo=
X-Received: by 2002:ab0:225a:: with SMTP id z26mr1696194uan.100.1542228686194;
 Wed, 14 Nov 2018 12:51:26 -0800 (PST)
MIME-Version: 1.0
References: <20181114184726.667d6ae6.mx@64.re>
In-Reply-To: <20181114184726.667d6ae6.mx@64.re>
Reply-To: uli42@gmx.de
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Wed, 14 Nov 2018 21:50:59 +0100
Message-ID: <CANVnVYKK+6+Gi1=DAYgDtuvT1MZzOLTqxZQgiBNQ6-2ZUJWF9g@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1342: Graphical apps stalling in suspended session
To: yk+bug+x2go@64.re, 1342@bugs.x2go.org
Cc: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
On Wed, Nov 14, 2018 at 8:17 PM <yk+bug+x2go@64.re> wrote:
>
> Package: x2goserver
> Version: 4.0.1.0
>
> I put this in the x2goserver section but I'm not quite sure if it's the
> right component that suffers from this issue.
>
> In my company, we recently began to experience an issue similar to the
> one reported in archived bug #673 [1] and on the X2Go-User list [2]
> back in 2015. The manifestation of the issue is that when a session is
> suspended, our program that runs in a terminal inside the session is
> slowed down to a near stop, and abruptly recovers its original speed
> when the session is resumed. There seems to be a link with graphical
> components though, and my guess is it's the output scrolling in the
> terminal that is stalled, and by way of consequence slowing down the
> rest of the program downstream.
> To confirm the involvement of the graphics, I tried running glxgears as
> a test, and while it runs at about 1000 fps while the session is
> attached, it drops at about 3 fps (!) when suspended. This behaviour is
> reproducible on a freshly installed CentOS 7 VM; I can provide a
> VirtualBox VM on which I ran the glxgears test.
>
...

> A quick search for this issue raised at least 2 third parties
> experiencing the issue; one university [3] announced dropping x2go as
> of October 2018 because of this, and another [4] is listing it as a
> known issue, albeit maybe in 2015.

Oh, they should have asked before dropping X2go!

> I hope we can find a source for this problem, it's quite critical for
> us.

That has been implemented on purpose by nomachine to take some load
off the server. You can disable that via the sleep option:
       sleep=<int>
              delay X server operations when suspended (provided in
msec), set to 0 to keep nxagent session fully functional when
suspended (e.g. useful when mirroring an nxagent session via VNC)

You can set this sleep to 0 in /etc/x2go/x2goagent.options on the
server with the following line:
X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0"

This in non-obvious and should be a client option instead... Can you
please try if that helps for your setup?

Uli


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:00:33 2024; 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.