Bug 5843 - Rendering errors in MagicPoint when Composite is enabled
Summary: Rendering errors in MagicPoint when Composite is enabled
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.9.0
Hardware: All All
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 07:12 UTC by Matthieu Herrb
Modified: 2014-04-08 13:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Sample document to reproduce the bug (839 bytes, application/magicpoint)
2006-02-09 07:13 UTC, Matthieu Herrb
no flags Details

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.