Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 1999 20:12:08 +0000
From:      Mark Ovens <markov@globalnet.co.uk>
To:        questions@FreeBSD.ORG
Subject:   [2nd attempt]"Not enough colours" error in X
Message-ID:  <36B4B918.D69BB402@globalnet.co.uk>

next in thread | raw e-mail | index | archive | help
I posted this a couple of weeks ago and got no response so I'm trying
again. Does anyone have any ideas please?


Some programs fail to run in X complaining about there being not
enough
colours, but I'm running at 24 bpp using an ATI Xpert@Work 4MB (Mach
64
server).

Below are a couple of examples and the output of xdpyinfo. One thing
about xdpyinfo's output is the reference to available colourmaps. I
thought colourmaps were only required when running at 256 colours
(8bpp).

Can anyone explain what's causing this, and how to fix it.

TIA

marder-1:/usr/radan{58}% flying -pool
flying:
        Game of Pool/Snooker/Carrom/Hockey/Curling for X-Windows
        $Revision: 6.20 $ $Date: 1995/10/03 13:26:57 $ Author: Helmut
Hoenig
not enough colors: I need 10 colors + 4 planes.

marder-1:/usr/radan{59}% xcoloredit
Error: xcoloredit: Not enough colormap entries available

marder-1:/usr/radan{60}% xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    3330
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
keycode range:    minimum 8, maximum 134
focus:  window 0x1c00015, revert to Parent
number of extensions:    19
    BIG-REQUESTS
    DOUBLE-BUFFER
    DPMS
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RECORD
    SECURITY
    SHAPE
    SYNC
    XC-APPGROUP
    XC-MISC
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (347x260 millimeters)
  resolution:    75x75 dots per inch
  depths (1):    24
  root window id:    0x25
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  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:    0x158201d
    KeyPressMask             ButtonPressMask         
ButtonReleaseMask        
    EnterWindowMask          ButtonMotionMask        
SubstructureNotifyMask   
    SubstructureRedirectMask PropertyChangeMask      
OwnerGrabButtonMask      
  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:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
-- 
  Trust the computer industry to shorten Year 2000 to Y2K. It
  was this thinking that caused the problem in the first place.

           My homepage http://www.users.globalnet.co.uk/~markov
Mark Ovens, CNC Apps Engineer,   |    mailto:marko@uk.radan.com
Radan Computational Ltd          |         http://www.radan.com
Bath, England. CAD/CAM solutions | FreeBSD - The Power To Serve
for the Sheetmetal Work industry.|       http://www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B4B918.D69BB402>