Bug 8089 - Cairo not yet support image format
Summary: Cairo not yet support image format
Status: RESOLVED DUPLICATE of bug 8082
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.4
Hardware: SPARC Solaris
: medium major
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 11:42 UTC by rossa
Modified: 2006-08-31 12:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Full xdpyinfo output (5.42 KB, text/plain)
2006-08-31 11:43 UTC, rossa
Details

Description rossa 2006-08-31 11:42:37 UTC
When attempting to start a GTK application with a Solaris X server,
we get the following cairo error:
Error: Cairo does not yet support the requested image format:
        Depth: 8
        Alpha mask: 0x00000000
        Red   mask: 0x00000000
        Green mask: 0x00000000
        Blue  mask: 0x00000000
Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
cairo-image-surface.c:155: failed assertion `NOT_REACHED'
Abort (core dumped)

I assume this is because the Solaris XServer has a default
PseudoColor visual. The visual entry from xdpyinfo:
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits

I'm not the most knowlegeable X person, so maybe there is
a way to I could request a different visual that would
be supported by cairo? I tried forcing CAIRO_FORMAT_RGB24
in this case just to see what would happen but still get a core dump.
Comment 1 rossa 2006-08-31 11:43:47 UTC
Created attachment 6767 [details]
Full xdpyinfo output
Comment 2 Carl Worth 2006-08-31 12:12:24 UTC

*** This bug has been marked as a duplicate of 8082 ***


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.