On Tue, 26 Mar 2002, Johnson,Timothy C. wrote:
> I'm currently running an application whose developers stubbornly support
> only 8-bit pseudocolor visuals. I have success to run the application
> in 8 bpp mode, but am not happy with the color-flashing side effects. I
> understand there's a way to run an Xserver in 24bpp depth with an 8bpp
> overlay if you're lucky enough to have the right graphics card and
> drivers to support it. My question is this: Can anyone suggest a
> graphics card and driver combo that supports 24bpp with 8bpp overlays
> and works under linux (ie, xfree86) for the x86 platform? If this
> exists, can someone also refer me to the appropriate XF86config file to
> set this up?
Looking at the code, the glint and mga drivers do 8+24, and the chips
driver does 8+16. I see some disabled reference to 8+24 overlays in the
x3virge driver, and know that some old s3 hardware has the cababilities.
I have to declare an interest here, since Matrox gave me a G550,
but I'd recommend a Matrox card, since they are the only mainstream
card currently available which supports 8+24.
Once you get the card installed, run
X -configure
this will give you a sample config file (which may need tweaking,
especially for mouse support). In the "Device" section there will be a line
#Option "Overlay"
remove the "#" to enable the feature.
The 8bpp pseudocolor visual will now be the default visual.
If your application is really brain-damaged you may have to leave things
like that, but you can use the -cc option to X to change the default if
you wish.
"man XF86Config" suggests that a line like:
Visual "TrueColor"
in the "Device" section would also work, but my server doesn't like that.
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert