Bug 5843

Summary: Rendering errors in MagicPoint when Composite is enabled
Product: xorg Reporter: Matthieu Herrb <matthieu.herrb>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high    
Version: 6.9.0   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Sample document to reproduce the bug none

Description Matthieu Herrb 2006-02-09 07:12:28 UTC
When composite is enabled, magicpoint renders some screen elements incorrectly.
I'm attaching a sample input file to reproduce the problem.
Comment 1 Matthieu Herrb 2006-02-09 07:13:42 UTC
Created attachment 4586 [details]
Sample document to reproduce the bug
Comment 2 Daniel Stone 2007-02-27 01:30:23 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 chemtech 2013-03-15 14:44:22 UTC
Matthieu Herrb
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 4 Adam Jackson 2014-04-08 13:37:52 UTC
From the description in the example, and a quick look at the magicpoint code, I think this is a bug in magicpoint itself:

        vinfo = XGetVisualInfo(display, vinfo_mask, &vinfo_template, &ninfo);
        best = NULL;
        for (i = 0; i < ninfo; i++) {
                switch (vinfo[i].class) {
                case TrueColor:
                        if (vinfo[i].depth < 15 || 24 < vinfo[i].depth)
                                break;
                        if (best == NULL ||
                            best->class != TrueColor ||
                            best->depth < vinfo[i].depth)
                                best = &vinfo[i];
                        break;
                case PseudoColor:
                        if (best == NULL)
                                best = &vinfo[i];
                        break;
                }
        }

That's going to pick the ARGB visual, and (0,0,0,0) is transparent black.  Either run magicpoint with XLIB_SKIP_ARGB_VISUALS=1, or fix that loop.

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.