Bug 6935 - XFree86 on 24-bit, red/blue color planes swapped
Summary: XFree86 on 24-bit, red/blue color planes swapped
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-11 19:21 UTC by kellyc
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-02-04 15:34:56 UTC
Embargoed:


Attachments (Terms of Use)

Description kellyc 1999-11-11 19:21:21 UTC
When our application is run on 24-bit with Red Hat 6.0 and XFree86 3.3.3.0
the red and blue color planes are swapped.  So if RGB is 255,0,0 you get
blue and if RGB is 0,0,255 you get red.

We don't get this behavior on UNIX or Windows. (Yes, I know one's an OS and
the other's a windowing system.)

Is this fixed in XFree86 3.3.5.0?

If it's not an XFree86 problem do you have any clue why this would happen?

Thanks!

Comment 1 Preston Brown 2000-01-18 20:13:59 UTC
what video card are you using?  Chances are *very* likely this was fixed in 6.1.

Comment 2 Preston Brown 2000-02-04 15:34:59 UTC
another solution would be don't use 24 bit mode, use "32 bit mode".  32 bit mode
is really 24 bit color as far as X is concerned, the data is just passed to the
card differently.


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