X2Go Bug report logs - #998
Image inverted when displayed via x2go

version graph

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

Reported by: Toby Darling <toby@mrc-lmb.cam.ac.uk>

Date: Tue, 9 Feb 2016 17:05:01 UTC

Severity: normal

Found in version 4.0.1.4

Full log


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

Received: (at 998) by bugs.x2go.org; 12 Feb 2016 08:21:53 +0000
From toby@mrc-lmb.cam.ac.uk  Fri Feb 12 09:21:51 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,SPF_HELO_PASS,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 43D5E5DA93
	for <998@bugs.x2go.org>; Fri, 12 Feb 2016 09:21:51 +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 uaSjgW+Qkaa7 for <998@bugs.x2go.org>;
	Fri, 12 Feb 2016 09:21:51 +0100 (CET)
Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 105AD5DA92
	for <998@bugs.x2go.org>; Fri, 12 Feb 2016 09:21:50 +0100 (CET)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from mail.mrc-lmb.cam.ac.uk ([131.111.85.9]:62117 helo=mail.lmb.internal)
	by ppsw-32.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25)
	with esmtp id 1aU8z8-000FXg-0k (Exim 4.86_36-e07b163)
	(return-path <toby@mrc-lmb.cam.ac.uk>); Fri, 12 Feb 2016 08:21:50 +0000
Received: from pcterm39.lmb.internal ([10.91.192.121])
	by mail.lmb.internal with esmtpsa (UNKNOWN:AES256-SHA:256)
	(Exim 4.72)
	(envelope-from <toby@mrc-lmb.cam.ac.uk>)
	id 1aU8z8-0014bS-4o; Fri, 12 Feb 2016 08:21:50 +0000
Subject: Re: [X2Go-Dev] Bug#998: Bug#998: Image inverted when displayed via
 x2go
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 998@bugs.x2go.org
References: <56BA1826.8030304@mrc-lmb.cam.ac.uk>
 <56BB6912.3010602@baur-itcs.de> <56BCA6AC.4070506@mrc-lmb.cam.ac.uk>
 <20160211214326.Horde.4CBAOKV5j7FNwNnziYONdWl@mail.das-netzwerkteam.de>
From: Toby Darling <toby@mrc-lmb.cam.ac.uk>
Organization: MRC - LMB
Message-ID: <56BD961D.1060406@mrc-lmb.cam.ac.uk>
Date: Fri, 12 Feb 2016 08:21:49 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <20160211214326.Horde.4CBAOKV5j7FNwNnziYONdWl@mail.das-netzwerkteam.de>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Hi Mike

>>> For your actual bug report, it would be helpful to know if the
>>> "flipped image" (it's not color-inverted, it's mirrored along the X
>>> axis) issue only occurs with one, or with all available algorithms.
>>
>> You are correct that the image inversion is is along the x-axis. The
>> colour/shading is correct.
>>
>> I've not been able to fix the inversion having tried with 16m,
>> 16m-png, 16m-rdp, 16m-tight, 8-tight, 8 and 8-png (I hope that's
>> enough for a representative sample)
>>
>> What I have now found is that an earlier version of the software
>> (EMAN2 2.0) *does* get displayed correctly through x2go. I've narrowed
>> this further to version 2.07 is OK when displayed via x2go, while
>> version 2.1 exhibits the inversion.
>>
>> http://ncmi.bcm.tmc.edu/ncmi/software/software_details?selected_software=counter_222
>>
>>
>>
>> Cheers
>> Toby
>
> Is the source code of the referenced software online? Is it free
> software? If yes, there is a chance we can look at changes in that
> software.

Fortunately, it is.

2.1 : http://ncmi.bcm.edu/ncmi/software/counter_222/software_129
2.07: http://ncmi.bcm.edu/ncmi/software/counter_222/software_122

> Also, does the software dynamically link in shared libraries? Or has it
> been built statically?

It's all python code and it ships with its own python 2.7.x

> I guess that there is a flaw in nx-libs that gets triggered by your
> application. If we could generate diffs of the different EMAN2 2.0
> versions, we might be able to track down the cause for the mirroring
> effect.

I did have a look, unfortunately, my python-fu is weak. I do notice that 
the python version went from 2.7.2 -> 2.7.3.

Cheers
Toby
-- 
Toby Darling, Scientific Computing (2N249)
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge CB2 0QH
Phone 01223 267070


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 12:14:35 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.