Bug 6935 - XFree86 on 24-bit, red/blue color planes swapped
Summary: XFree86 on 24-bit, red/blue color planes swapped
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
Depends On:
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:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-02-04 15:34:56 UTC

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
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

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


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.