From owner-freebsd-questions Tue Jan 12 16:36:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14591 for freebsd-questions-outgoing; Tue, 12 Jan 1999 16:36:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14583 for ; Tue, 12 Jan 1999 16:36:35 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.10 #1) id 100EHq-000395-00 for questions@freebsd.org; Wed, 13 Jan 1999 00:35:55 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id AAA00337 for ; Wed, 13 Jan 1999 00:35:27 GMT Received: from uk.radan.com (rasnt-1) by beavis.uk.radan.com (4.1/SMI-4.1) id AA18326; Wed, 13 Jan 99 00:35:24 GMT Message-Id: <369BE912.D8C39575@uk.radan.com> Date: Wed, 13 Jan 1999 00:30:10 +0000 From: Mark Ovens X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: questions@FreeBSD.ORG Subject: "Not enough colours" error in X Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Mark Ovens, CNC Applications Engineer, Radan Computational Ltd Sheet Metal CAD/CAM Solutions mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message