PseudoColorVisuals on ATI R9600



I have an application which needs an 8 bit colormap. It runs on an IBM RS/6000
with AIX 4.2.

The X-Server is an AMD64 box with an ATi Radeon 9600 running SuSE 9.3
with the current ATi Proprietary Linux x86_64 Display Driver for XFree86 /
X.Org Version 8.24.8. ATi FAQ says:

"24-bit True Colour is currently the only native colour mode for the ATI Proprietary Linux Driver. 8-bit colour can be achieved using the pseudo-colour visuals feature, but may not work in all applications."

The Xorg.log shows "(**) fglrx(0): Pseudo Color Vsuals enabled" and the xdpyinfo
also shows:

....
default visual id: 0x25
visual:
visual id: 0x25
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
....
visual:
visual id: 0x65
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: 0x66
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
....

When I run the application it stops with:

The xColormapExtension extension is not supported by the X server
ReadOnly colormap
Default visual depth is 24, Should reset to 8 in "/usr/lib/X11/xdm/Xservers"
Default visual class is TrueColor, Should reset to PseudoColor in "/usr/lib/X11/xdm/Xservers"
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 89 (X_StoreColors)
Serial number of failed request: 13
Current serial number in output stream: 30

I have tried to start the X-Server with "startx -- :1 -depth 8 -cc Pseudo",
but this doesn't work:

(II) fglrx(0): Creating default Display subsection in Screen section
"Screen0" for depth/fbbpp 8/8
(EE) fglrx(0): Given depth (8) is not supported by fglrx driver
(EE) fglrx(0): PreInitVisual failed
SetVBEMode failed
(EE) fglrx(0): R200PreInit failed

When I try to start the X-Server with "startx -- :1 -cc 3" I get:

(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(++) fglrx(0): Default visual is PseudoColor
(EE) fglrx(0): Default visual (PseudoColor) is not supported at depth 24
(EE) fglrx(0): PreInitVisual failed
SetVBEMode failed
(EE) fglrx(0): R200PreInit failed

How can I get this work?

TIA,
Bernhard
.



Relevant Pages

  • Xinerama does not work with SUNFFB and Matrox Millenium on Sparc64
    ... visuals regarding the RGB masks and the largest cursor (see the partly cut ... I suspect the RGB masks the reason for the ... default number of colormap cells: ... SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask ...
    (comp.os.linux.x)
  • Re: bizarre problem displaying JPEG files with CSWB
    ... vendor string: ... default number of colormap cells: ... number of visuals: 2 ... red, green, blue masks: 0xff, 0xff00, 0xff0000 ...
    (comp.os.vms)
  • Re: How to handle read/write colormap without messing up everybody else
    ... Almost all screens allow only one colormap at a time. ... application is drawing to a window separate from the "control" window ... There are numerous apparently duplicate visuals ...
    (comp.windows.x)
  • Re: MOSAIC problem (GIF image)
    ... depth of root window: 8 planes ... default number of colormap cells: ... number of visuals: 4 ... red, green, blue masks: 0xffffffff, 0xffffffff, 0xffffffff ...
    (comp.os.vms)
  • DirectColor visuals in DecWindows
    ... I try to get some software working which makes use of writeable colour-maps in X-windows. ... When installing the colormap no graphics is shown except for modes using Mesa ... Has anybody any experience with DirectColor visuals on a DecWindows server? ...
    (comp.os.vms)