Bug 10460

Summary: Cairo can't handle a B/W (Black & White) X11 terminal
Product: cairo Reporter: Bill Ince <wcwince>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: trivial    
Priority: lowest CC: dave
Version: 1.2.6   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:

Description Bill Ince 2007-03-29 07:59:30 UTC
On an old NCD 19r X11 terminal, driven from a Solaris 8 system
(how old can we get?), Firefox 2.0 thinks for a while,
starts to display the initial screen, and then exits with:

  Error: Cairo 1.2.6 does not yet support the requested image format:
          Depth: 1
          Alpha mask: 0x00000000
          Red   mask: 0x00000000
          Green mask: 0x00000000
          Blue  mask: 0x00000000
  Please file an enhancement request (quoting the above) at:
  http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
  Assertion failed: NOT_REACHED, file cairo-image-surface.c, line 201
  Abort

P.S.
Yes, I deliberately use a B&W screen when I can, since it seems
easier for my tired old eyes than the reasonably nice colour
screen that sits beside it.
This the first modern browser I've found that does more than
segfault when invoked on a B&W screen.
Maybe they're trying to tell me something :-)
Comment 1 Behdad Esfahbod 2007-03-31 23:10:53 UTC

*** This bug has been marked as a duplicate of bug 4945 ***
Comment 2 Carl Worth 2007-04-04 17:27:59 UTC
Actually, a 1-bit visual is a fairly different beast than an 8-bit visual (in at least some sense anyway). If for nothing other than the novelty of this report, I'm going to leave it open. (Though some of the information in the 8-bit bug report might certainly be useful.)

-Carl
Comment 3 Behdad Esfahbod 2007-04-04 17:34:14 UTC
Sorry, overlooked it.
Comment 4 Dave Beckett 2008-03-02 23:55:51 UTC
Also reported as debian bug
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464967
on an "NCD16e XTerminal" with cairo 1.4.14

Comment 5 Chris Wilson 2008-10-10 07:54:04 UTC
This should have been fixed with the psuedocolor support in 1.6, but I can't confirm this as I don't have access to a monochrome Xserver - Xvfb is refusing to create a 1bit screen and I don't know of anything else that will simulate a monochrome Xserver.


(Shows upmost confidence in Carl's and Behdad's work by marking the bug fixed.)

Please reopen if cairo still doesn't work with monochrome terminals.

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.