Bug 10791 - Graphical corruption when application uses 24 bit depth under 16 bit depth
Summary: Graphical corruption when application uses 24 bit depth under 16 bit depth
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 03:03 UTC by Nathan Pardoe
Modified: 2010-05-10 11:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Nathan Pardoe 2007-04-28 03:03:29 UTC
If the default depth, or display-specific depth is set to 16 bit, but you attempt to launch a 24 bit application, xorg crashes with graphical corruption best described as multi-coloured lines running across my screen, which is tinted green. I can reproduce this by opening urxvt 8.1 with 24 bit transparency, when the current screen is running 16 bit depth, under xorg 7.2.
I'm using CRUX Linux 2.3, with Linux 2.6.21.1 and can reproduce this bug using the Intel i810 driver on an Intel 945GMA card, and the Nvidia 1.0-9755 driver on a Nvidia 6200SE TurboCache card. There's no output from the Xorg.log that sheds light on the crash, but here's the version information -

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Comment 1 Nathan Pardoe 2007-04-28 03:15:38 UTC
The depth urxvt tries to use is 32-bit, not 24-bit, sorry.
Comment 2 Adam Jackson 2010-05-10 11:16:53 UTC
commit f98dfec79dadb70fa7bba84e7335f92b3a73dc02
Author: Keith Packard <keithp@koto.keithp.com>
Date:   Sat Sep 1 21:14:22 2007 -0700

    [COMPOSITE] Composite used for pixmap population on redirect. (Bug #7447)
    
    compNewPixmap copies bits from the parent window to the redirected child
    pixmap to populate the pixmap with reasonable data. It cannot always use
    CopyArea as that only works across matching depths. Use Composite when
    the depths do not match.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.