RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1306576 - Weird colours of remote desktop via freerdp on ppc64 and s390x
Summary: Weird colours of remote desktop via freerdp on ppc64 and s390x
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: freerdp
Version: 6.7
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ondrej Holy
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 10:39 UTC by Tomas Hudziec
Modified: 2017-02-27 14:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1308810 (view as bug list)
Environment:
Last Closed: 2016-07-15 09:19:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Weird colours of remote desktop via freerdp (deleted)
2016-02-11 10:39 UTC, Tomas Hudziec
no flags Details
Weird colours of remote desktop via freerdp (87.28 KB, image/png)
2016-02-11 10:41 UTC, Tomas Hudziec
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.