Bug 7408 - Cairo image format error
Summary: Cairo image format error
Status: RESOLVED DUPLICATE of bug 7294
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.1.10
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
: 7412 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-03 11:18 UTC by Steve
Modified: 2006-07-16 01:00 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Steve 2006-07-03 11:18:11 UTC
Error: Cairo does not yet support the requested image format:
        Depth: 32
        Alpha mask: 0x00000000
        Red   mask: 0x000000ff
        Blue  mask: 0x0000ff00
        Green mask: 0x00ff0000


Cairo 1.1.10-2 on SuSE Linux 10.2a1 displaying to SGI IRIX 6.5.29, 24-bit TrueColor

xdpyinfo on the SGI:
name of display:    :0.0
version number:    11.0
vendor string:    Silicon Graphics
vendor release number:    6600
maximum request size:  262140 bytes
motion buffer size:  0
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 12, bits_per_pixel 16, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32


I realize this version of Cairo is a bit old, but it's the newest one I have
found that is packaged for SuSE...
Comment 1 Behdad Esfahbod 2006-07-04 19:17:47 UTC
*** Bug 7412 has been marked as a duplicate of this bug. ***
Comment 2 radsaq 2006-07-06 08:30:49 UTC
I also get this error with Debian's libcairo2 1.2.0-2 running applications in a
VNC session using 24-bit color. This does not occur with the 1.0.4-2 package.

% xdpyinfo
name of display:    :1.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40300000
XFree86 version: 4.3.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
Comment 3 Behdad Esfahbod 2006-07-06 14:30:17 UTC
Another report:

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197877
Comment 4 Behdad Esfahbod 2006-07-06 14:51:35 UTC
Apparently the code writing out the error message has a typo, printing out in
ARGB order, but labeling as ARBG....  So, the missing format here is ABGR, not
the weird AGBR as it looks like.
Comment 5 NaN 2006-07-10 05:45:30 UTC
Same here on gentoo with gimp and other apss(gvim).
Display is on a sunray, connected to a linux pc.
xdpyinfo:
screen #0:
  print screen:    no
  dimensions:    1600x1200 pixels (452x339 millimeters)
  resolution:    90x90 dots per inch
  depths (3):    1, 24, 32
  root window id:    0x38
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x22
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store YES, save-unders YES
  largest cursor:    64x64
  current input event mask:    0xfa2033
    KeyPressMask             KeyReleaseMask           EnterWindowMask
    LeaveWindowMask          ButtonMotionMask         StructureNotifyMask
    SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask
    PropertyChangeMask       ColormapChangeMask
  number of visuals:    1
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits

Version: x11-libs/cairo-1.2.0
Error:
This is a development version of GIMP.  Debug messages may appear here.

Error: Cairo does not yet support the requested image format:
        Depth: 32
        Alpha mask: 0x00000000
        Red   mask: 0x000000ff
        Blue  mask: 0x0000ff00
        Green mask: 0x00ff0000
Please file an enhacement request (quoting the above) at:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
gimp: cairo-image-surface.c:144: _cairo_format_from_pixman_format: Assertion
`NOT_REACHED' failed.
gimp: terminated: Aborted
Comment 6 Behdad Esfahbod 2006-07-10 07:16:38 UTC

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


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.