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

Home » Public Forums » archive » ERROR: Unsupported X Windows visual
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: ERROR: Unsupported X Windows visual [message #8454 is a reply to message #8411] Mon, 17 March 1997 00:00 Go to previous messageGo to previous message
Dr. Scott Smyth is currently offline  Dr. Scott Smyth
Messages: 3
Registered: February 1997
Junior Member
mallozzi@ssl.msfc.nasa.gov wrote:
>
>> I use idl on a remote machine running DEC OSF 4.0. My local machine is
>> a PC running Linux. When I try to open _any_ idl windows (e.g. plot,
>> ?), the following error message occurs:
>> Unsupported X Windows visual (class: StaticGray, depth: 0).
>
> I ran into a similar problem on my linux machine running at 16 bits
> per pixel. What screen depth are you using (try xdpyinfo)? I put
> something like the following in the .Xdefaults file:
>
> idlvisual: truecolor
>
> Can't check it exactly right now, as I am at work. Anyway, this allows
> me to open windows, although SHADE_SURF crashes IDL with a seg fault,
> with the message "Array has a corrupted discriptor" I have talked to
> RSI several times about this, but....well it still occurs in the 5.0b5.
> Everything seems to work under 8bpp, but I don't think shutting down
> my x-server and restarting in 8bpp whenever I want to use IDL is an
> acceptable solution...sigh
>
> -bob

Yes. In the documentation, the only support 16bpp for Windows. Only
8 bpp and 32 bpp are supported for X windows. Thus all the confusion
when you do truecolor with 16bpp (I have the same problems!). The
Xloadct crashes among other things.

Scott

--

=================================================
| Dr. Scott Smyth: smyth@apex.eas.gatech.edu |
| Earth & Atmospheric Science |
| Georgia Institute of Technology |
| Atlanta, GA 30332 |
| ph: (404) 894-1512 fax: 4-1779 |
=================================================
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Writing SD HDF files in IDL - prob with attributes
Next Topic: contour 3d sections

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

Current Time: Fri Oct 10 19:11:01 PDT 2025

Total time taken to generate the page: 3.44483 seconds