PseudoColorVisuals on ATI R9600
- From: Bernhard Küpper <kuepper@xxxxxxxxxxxxxxxxx>
- Date: Thu, 04 May 2006 18:42:40 +0200
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
.
- Follow-Ups:
- Re: PseudoColorVisuals on ATI R9600
- From: Vladimir Florinski
- Re: PseudoColorVisuals on ATI R9600
- Prev by Date: High X CPU util. for video overlay (Xorg7)
- Next by Date: Re: PseudoColorVisuals on ATI R9600
- Previous by thread: High X CPU util. for video overlay (Xorg7)
- Next by thread: Re: PseudoColorVisuals on ATI R9600
- Index(es):
Relevant Pages
|