comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 24-bit color problem on Red Hat Linux 7.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 24-bit color problem on Red Hat Linux 7.1 [message #30417] Thu, 25 April 2002 02:01 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Amar Nayegandhi wrote:

> Hi,
> Thanks for your suggestion. I think I now know what the problem was. I
> have this "32-bit" Matrox G450 graphics card. Earlier, I had configured
> my X-display to 24/8bit, which I think meant that idl was working on an
> 8-bit set up while the rest of my screen was 24-bit (which might explain
> flashing colors *ONLY* when my mouse cursor was on an 'active' colorbar).
> I changed my X-display to 24-bit only, and with a startup file similar to
> the one below, I do get true colors.
>

Ah, so now we know one of the PC graphics cards which actually supports
8bit overlays in a 24bit X display.

IDL "prefers" an 8 bit PseudoColor visual if it can get it. If your display
supports both you have to tell IDL to use the 24bit TrueColor visual
(before you open graphics windows, or do any "hidden" graphics - even
asking IDL which visual it has will cause it to take 8bit PseudoColor). So
you can leave your display set to supporting both 8 and 24bit and get IDL
to use 24bit. There are numerous posts in the past discussing this issue if
you want more details.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: not sure what to call this request
Next Topic: signed character

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:34:38 PDT 2025

Total time taken to generate the page: 0.00416 seconds