Bug 7508

Summary: unsupported pixel format
Product: cairo Reporter: Tony Mantler <nicoya>
Component: xlib backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.2.0   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tony Mantler 2006-07-12 23:14:29 UTC
Running apps from an x86 host displaying on an SGI IRIX system:

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
firefox-bin: /home/dajobe/dev/debian/cairo/libcairo-1.2.0/src/cairo-image-surface.c:144: 
_cairo_format_from_pixman_format: Assertion `NOT_REACHED' failed.
Aborted
$ xdpyinfo
name of display:    jupiter.fast: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
keycode range:    minimum 15, maximum 149
focus:  window 0x5000002, revert to PointerRoot
number of extensions:    31
    Adobe-DPS-Extension
    DCShare
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    DPSExtension
    ESA
    Extended-Visual-Information
    GLX
    LBX
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    Multi-Buffering
    READDISPLAY
    RECORD
    ReadDisplay
    SCREEN-SAVER
    SGI-NewMultibuffering
    SGI-SCREEN-CAPTURE
    SGI-SUNDRY-NONSTANDARD
    SGI-VIDEO-CONTROL
    SGIFullScreenStereo
    SHAPE
    SYNC
    TOG-CUP
    XC-APPGROUP
    XC-MISC
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1408x1024 pixels (373x280 millimeters)
  resolution:    96x93 dots per inch
  depths (5):    1, 8, 12, 15, 24
  root window id:    0x23
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 23
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    32x32
  current input event mask:    0x7a403c
    ButtonPressMask          ButtonReleaseMask        EnterWindowMask          
    LeaveWindowMask          KeymapStateMask          StructureNotifyMask      
    SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask          
    PropertyChangeMask       
  number of visuals:    10
  default visual id:  0x28
  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
  visual:
    visual id:    0x21
    class:    StaticColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x7, 0x38, 0xc0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    PseudoColor
    depth:    8 planes
    available colormap entries:    256
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    PseudoColor
    depth:    12 planes
    available colormap entries:    4096
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    PseudoColor
    depth:    12 planes
    available colormap entries:    4096
    red, green, blue masks:    0x0, 0x0, 0x0
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    12 planes
    available colormap entries:    16 per subfield
    red, green, blue masks:    0xf, 0xf0, 0xf00
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    15 planes
    available colormap entries:    32 per subfield
    red, green, blue masks:    0x1f, 0x3e0, 0x7c00
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    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
  visual:
    visual id:    0x29
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits
$ dpkg -l libcairo2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libcairo2      1.2.0-2        The Cairo 2D vector graphics library
Comment 1 Carl Worth 2006-07-13 08:02:16 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.