Bug 431811

Summary: [RHEL5.2] X-server displays weird color
Product: Red Hat Enterprise Linux 5 Reporter: Saori Fukuta <fukuta.saori>
Component: gtk-vncAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 5.2CC: hbrock, xen-maint
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEA-2008-0370 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:37:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ScreenShot of Actual results
none
Fix endian conversions none

Description Saori Fukuta 2008-02-07 02:42:38 UTC
Description of problem:
 The X-server displays weird color when X-server is using big endian,
 since the endian between VNC server and X-server is different.
 I think the conversion of endian at gtk-vn is needed for this problem.
 
Version-Release number of selected component (if applicable):
 gtk-vnc-0.2.0-4.fc8

How reproducible:
 always

Steps to Reproduce:
 1. use the X-server that is using big endian

Actual results:
 The X-server displays weird color, see the attached file(with_bigendian.PNG).

Expected results:
 The X-server displays normal color like native.

Additional info:
 This is already fixed in Upstream of gtk-vnc.
 http://gtk-vnc.codemonkey.ws/hg/outgoing.hg/rev/e65d8e4758b3

Comment 1 Saori Fukuta 2008-02-07 02:42:38 UTC
Created attachment 294182 [details]
ScreenShot of Actual results

Comment 2 Daniel Berrangé 2008-02-07 02:56:13 UTC
This is a regression wrt to RHEL-5.1 which displayed the colours normally.

Comment 3 RHEL Program Management 2008-02-07 02:58:48 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 4 Daniel Berrangé 2008-02-07 03:04:37 UTC
NB, the patch quoted upstream solves one problem (big-endian vs little-endian
colours), but causes another problem (24 vs 16 bpp colour). We'll get a fully
operational patch for this from upstream soon...

Comment 6 Daniel Berrangé 2008-03-12 18:58:22 UTC
This is actually a problem with the GTK-VNC widget.


Comment 7 Bill Burns 2008-03-12 19:06:03 UTC
Set dev ack for Dan.


Comment 11 Daniel Berrangé 2008-03-19 15:56:22 UTC
Created attachment 298529 [details]
Fix endian conversions

Comment 12 Daniel Berrangé 2008-03-19 16:07:16 UTC
Fix built into gtk-vnc-0.3.2-2.el5

Comment 17 Daniel Berrangé 2008-03-25 03:34:22 UTC
What X server & OS platform is being used for the display ?

I have tested on a big-endian PPC display and it works correctly, so there must
be some further difference.

Please provide output of 'xdpyinfo' on the display being used for testing.


Comment 19 Daniel Berrangé 2008-03-26 14:06:01 UTC
I have now reproduced the problem.

My previous fix addressed the case where GTK-VNC was running ona big-endian
machine, and the X display was on a big-endian machine, with the VNC server on
little endian.

The scenario reported here is slightly different - GTK-VNC is running on a
little-endian machine, but displayed on an X server on big-endian, and using VNC
server on little-endian. This combination is not operating correctly.

I am working on a fix for this problem


Comment 21 Daniel Berrangé 2008-03-28 01:20:46 UTC
Fixed in gtk-vnc-0.3.2-3.el5

Comment 25 errata-xmlrpc 2008-05-21 15:37:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2008-0370.html