Bug 1306576

Summary: Weird colours of remote desktop via freerdp on ppc64 and s390x
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Hudziec <thudziec>
Component: freerdpAssignee: Ondrej Holy <oholy>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1308810 (view as bug list) Environment:
Last Closed: 2016-07-15 09:19:48 UTC Type: Bug
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
Weird colours of remote desktop via freerdp
none
Weird colours of remote desktop via freerdp none

Description Tomas Hudziec 2016-02-11 10:39:43 UTC
Description of problem:
Weird colours of remote desktop via freerdp on ppc64 and s390x architectures.

Version-Release number of selected component (if applicable):
freerdp-1.0.2-4.el6.(ppc64|s390x)

How reproducible:
always

Steps to Reproduce:
1. xfreerdp $WindowsIP

Actual results:
colours of remote desktop are deformed, maybe due to different endianness

Expected results:
colours of remote desktop are normal

Additional info:
This is arch specific bug, appears on ppc64 and s390x; x86_64 and i386 are fine.

Comment 2 Tomas Hudziec 2016-02-11 10:41:39 UTC
Created attachment 1123122 [details]
Weird colours of remote desktop via freerdp

Comment 3 Tomas Pelka 2016-02-12 07:00:54 UTC
Endianess issue?

Comment 4 Oded Gabbay 2016-02-12 07:13:45 UTC
I'm missing some info about the setup.

What is the client and what is the remote machine ? Are they both ppc64 ? 

Please describe the steps you did both on the client and the remote machine (steps to setup the remote display server)

Comment 5 Tomas Pelka 2016-02-12 07:36:08 UTC
Tomas was connected from x86_64 to ppc4/s390x via VNC and in VNC session freerdp was executed.

Comment 6 Ondrej Holy 2016-02-12 09:28:33 UTC
I see weird colors with 8/16/24 color depth also. 32bit color depth (-a 32) seems to work correctly...

Yes probably endianess issue.

I used ssh -X to connect from x86_64 to ppc64 machine and see this issue when accessing Windows 7 machine over rdp.

Comment 7 Ondrej Holy 2016-02-12 15:08:47 UTC
I hoped it is fixed upstream, but it seems it is even worse. I tried several newer versions and the result is almost same, or it exits with decryption error, or it crashes with segfaults instead.

Several upstream reports exists in regards to color/endianness problems. Probably the most relevant one is following:
https://github.com/FreeRDP/FreeRDP/issues/2520

Comment 10 Ondrej Holy 2016-05-27 10:43:01 UTC
(In reply to Ondrej Holy from comment #6)
> I see weird colors with 8/16/24 color depth also. 32bit color depth (-a 32)
> seems to work correctly...
> 
> Yes probably endianness issue.
> 
> I used ssh -X to connect from x86_64 to ppc64 machine and see this issue
> when accessing Windows 7 machine over rdp.

Just a note that it works correctly with -a 32 over SSH X11 forwarding, because X11 server on client is used, which is actually little endian. However it fails in all cases if VNC is used, or if the big endian machine is used directly...

Comment 12 Tomas Hudziec 2016-07-20 11:43:33 UTC
Bug occurs also with package version freerdp-1.0.2-10.el7.

Comment 13 Tomas Hudziec 2016-07-20 12:05:52 UTC
on architectures ppc64 and s390x