Re: Execution halted [message #24377] |
Mon, 02 April 2001 11:24  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Martin Skou Andersen (skou@fys.ku.dk) writes:
> I get the following messages when i tries to plot some data...
> ----------------------------
> IDL> plot, x, y
> % Unsupported X Windows visual (class: StaticGray, depth: 0).
> Substituting default (class: <UndefinedVisual>, Depth: 0).
> % Execution halted at: $MAIN$ 105 /xxx/xxx/xxx.pro
> ----------------------------
>
> Im running IDL version 5.2 (linux x86), on RedHat 7.0 with Gnome.
> What is wrong?
> Please help... :o)
You need to run your XServer in either 8-bit or 24-bit
(what I recommend) mode. Not the 16-bit mode you are
probably in now. :-)
If any of you Linux-types want to write the definitive
answer to this question, I'll make every effort to save it
in a place where I can find it. (I'll even add it to
my web page, so we don't have to answer this question
any more. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Execution halted [message #24509 is a reply to message #24377] |
Tue, 03 April 2001 01:01  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
David Fanning wrote:
>
> Martin Skou Andersen (skou@fys.ku.dk) writes:
>
>> I get the following messages when i tries to plot some data...
>> ----------------------------
>> IDL> plot, x, y
>> % Unsupported X Windows visual (class: StaticGray, depth: 0).
>> Substituting default (class: <UndefinedVisual>, Depth: 0).
>> % Execution halted at: $MAIN$ 105 /xxx/xxx/xxx.pro
>> ----------------------------
>>
>> Im running IDL version 5.2 (linux x86), on RedHat 7.0 with Gnome.
>> What is wrong?
>> Please help... :o)
>
> You need to run your XServer in either 8-bit or 24-bit
> (what I recommend) mode. Not the 16-bit mode you are
> probably in now. :-)
>
> If any of you Linux-types want to write the definitive
> answer to this question, I'll make every effort to save it
> in a place where I can find it. (I'll even add it to
> my web page, so we don't have to answer this question
> any more. :-)
>
David,
this is the definitive answer ;-)
Although: I successfully got IDL to plot something on my laptop which
is running 16-bit mode by tricking it to believe it has 24-bit. I have
no idea if this is driver specific (ATI card) or a general XFree4
feature. All I did was to set the default depth in XF86Config to 24.
While the laptop then starts in 16 bit mode, it apparently adds a
24-bit mode to its `xdpyinfo`, and IDL seems to use that information
to determine if it can run. CAUTION: There are some side effects:
While !D.N_Colors reports 247,000 or some other high number,
!D.Table_Size is limited to, in my case even 64(!).
Oh... yes... and don't forget decomposed=0 ...
Cheers,
Martin
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
|
|
|