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

Home » Public Forums » archive » Re: Linux IDL - Direct Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Linux IDL - Direct Graphics [message #19578] Tue, 04 April 2000 00:00
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
"J.D. Smith" wrote:
>
> Julio Maranhao wrote:
>>
>> I installed IDL 5.3 timed demo on a Linux machine (XFree86 3.3.6). It's
>> working, but some functions (window, loadct, plot, tv) do these errors:
>> Unsupported X Windows visual (class: StaticGray, depth: 0).
>> Substituting default (class: <UndefinedVisual>, Depth: 0)
>> And I think it's related with the 'device' comand (Direct Graphics). Object
>> Graphics work fine (the surf_track example is Ok).
>> I am using 1024x768, 16bpp. I am porting to IDL Linux and if someone could
>> help me, I'll appreciate.
>>



> 16bit is your trouble. You could look into Xfree86 4.0, which permits hardware
> overlays (8-bit pseudo-color within a 16bit session, for instance) on some
> platforms. Or try restarting in 8-bit mode directly.
>


Try 32bpp idl/linux believes 24bpp.

R.Bauer
Re: Linux IDL - Direct Graphics [message #19582 is a reply to message #19578] Mon, 03 April 2000 00:00 Go to previous message
Jacques Basson is currently offline  Jacques Basson
Messages: 17
Registered: May 1999
Junior Member
Try typing

device, true_color=24

I get the same error if I don't type it in (I am also running 1024x768,
16bpp).

Jacques

Julio Maranhao wrote:
>
> I installed IDL 5.3 timed demo on a Linux machine (XFree86 3.3.6). It's
> working, but some functions (window, loadct, plot, tv) do these errors:
> Unsupported X Windows visual (class: StaticGray, depth: 0).
> Substituting default (class: <UndefinedVisual>, Depth: 0)
> And I think it's related with the 'device' comand (Direct Graphics). Object
> Graphics work fine (the surf_track example is Ok).
> I am using 1024x768, 16bpp. I am porting to IDL Linux and if someone could
> help me, I'll appreciate.
>
> Regards.
Re: Linux IDL - Direct Graphics [message #19583 is a reply to message #19582] Mon, 03 April 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Julio Maranhao wrote:
>
> I installed IDL 5.3 timed demo on a Linux machine (XFree86 3.3.6). It's
> working, but some functions (window, loadct, plot, tv) do these errors:
> Unsupported X Windows visual (class: StaticGray, depth: 0).
> Substituting default (class: <UndefinedVisual>, Depth: 0)
> And I think it's related with the 'device' comand (Direct Graphics). Object
> Graphics work fine (the surf_track example is Ok).
> I am using 1024x768, 16bpp. I am porting to IDL Linux and if someone could
> help me, I'll appreciate.
>

16bit is your trouble. You could look into Xfree86 4.0, which permits hardware
overlays (8-bit pseudo-color within a 16bit session, for instance) on some
platforms. Or try restarting in 8-bit mode directly.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Point inside/outside in 3D
Next Topic: Re: object graphics axis text

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

Current Time: Wed Oct 08 18:38:54 PDT 2025

Total time taken to generate the page: 0.00619 seconds