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

Home » Public Forums » archive » Re: itools error
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: itools error [message #36660] Thu, 09 October 2003 08:30 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nigel Wade writes:

>> The *only* one!? Gosh, it's worse than I thought. :-(
>>
>
> That's one more than here.

The only one in Europe, is what I meant. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: itools error [message #36661 is a reply to message #36660] Thu, 09 October 2003 08:25 Go to previous messageGo to next message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
David Fanning wrote:
> krijger@astro.uu.nl writes:
>
>
>> Here at work, I am the only one interested into the new itools, yet
>> when running idl (linux) I get the following errors and the axis are
>> unreadable.
>> Did anyone have the same problem?
>
>
> The *only* one!? Gosh, it's worse than I thought. :-(
>

That's one more than here.

The only new feature I was really interested in was the IDL Java bridge.
Unfortunately I just can't get it to work properly on Linux, and they've not
even bothered to implement it on IRIX.

So, for now, IDL 6.0 lies unused...


--
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 2523548, Fax : +44 (0)116 2523555
Re: itools error [message #36662 is a reply to message #36661] Thu, 09 October 2003 08:01 Go to previous messageGo to next message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
<krijger@astro.uu.nl> wrote in message
news:3fb11ca9.0310090542.1f8ab30@posting.google.com...
> Here at work, I am the only one interested into the new itools, yet
> when running idl (linux) I get the following errors and the axis are
> unreadable.
> Did anyone have the same problem?
>
> IDL> iplot,findgen(100)
> % Loaded DLM: PNG.
> % Compiled module: XMANAGER.
> % Loaded DLM: IPTOOL.
> % Compiled module: GET_SCREEN_SIZE.
> % Compiled module: REVERSE.
> % Compiled module: CVTTOBM.
> % Compiled module: IDENTITY.
> % Compiled module: STRSPLIT.
> % Compiled module: UNIQ.
> IDL> Failed to upload texture, sz 128
> Memory heap (nil):
> heap == 0
> End
> of memory blocks
> Failed to upload texture, sz 512
> Memory heap (nil):
> heap == 0
> End
> of memory blocks
>

I checked, and I don't think that IDL or iTools is capable of generating
these messages. My best guess is that these are some sort of debugging or
error messages coming out of your linux OpenGL driver. David's advice is
good; whenever you suspect a graphics driver problem, try using software
rendering. I would also look really hard for an upgrade for your drivers.
If the drivers are bad enough that you'd like to abandon hardware rendering
completely for IDL on your system, find the gl_driver.so module in your IDL
binary directory and move/rename it.

A couple of things changed in IDL 6.0 that may be of interest here. The
Object Graphics IDLgrText object now renders text by using texture mapping,
and that's why the innocent-looking iPlot command really does use textures,
even though there isn't a texture-mapped object like a surface in sight.
This will tend to exercise the texture mapping hardware and software in an
OpenGL system more than it used to, and that's part of what might be
exposing this problem in your driver. You might want to try some simpler
tests like "XOBJVIEW, OBJ_NEW('IDLgrAxis')" or "XOBJVIEW,
OBJ_NEW('IDLgrText', "Hello", RENDER_METHOD=0)" and play with different
values of RENDER_METHOD (0=texture, 1=triangles), just to try to learn more
about the problem.

IDL 6.0 on linux also is now more likely to take advantage of
hardware-accelerated OpenGL. Although the entire hardware GL on linux story
has gotten much better in the past year, there are still some
"bleeding-edge" drivers out there that are not quite mature yet. We've had
good results here at RSI with a few configurations, such as nVidia and ATI
drivers on RedHat 8 and 9 platforms. But in a lot of cases with newer
drivers, you're not always guaranteed to get results as good as we have
seen.

It might be helpful if you could post more details about your configuration,
including graphics hardware, linux distro and version, XFree86 version, and
OpenGL driver version. Perhaps someone else has already worked through
this.

Karl
Re: itools error [message #36663 is a reply to message #36662] Thu, 09 October 2003 06:52 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
krijger@astro.uu.nl writes:

> Here at work, I am the only one interested into the new itools, yet
> when running idl (linux) I get the following errors and the axis are
> unreadable.
> Did anyone have the same problem?

The *only* one!? Gosh, it's worse than I thought. :-(

I'd contact RSI. This looks like an installation
problem to me. You might try setting your graphics
renderer to "software".

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: itools error [message #36718 is a reply to message #36662] Mon, 13 October 2003 02:07 Go to previous message
krijger is currently offline  krijger
Messages: 5
Registered: May 2003
Junior Member
> You might want to try some simpler tests like
> "XOBJVIEW, OBJ_NEW('IDLgrAxis')"

Same error.

> "XOBJVIEW,OBJ_NEW('IDLgrText', "Hello", RENDER_METHOD=0)"

Same error

> and play with different
> values of RENDER_METHOD (0=texture, 1=triangles), just to try to learn more
> about the problem.

> "XOBJVIEW,OBJ_NEW('IDLgrText', "Hello", RENDER_METHOD=1)"

works

> It might be helpful if you could post more details about your configuration,
> including graphics hardware, linux distro and version, XFree86 version, and
> OpenGL driver version. Perhaps someone else has already worked through
> this.

Matrox 450
Redhad 7.3
Xfree 4.2.1
OPenGL 1.3

---
Thijs
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MATLAB to IDL converter?
Next Topic: Re: Tag name IDLITCOMPONENT_TOP is undefined

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

Current Time: Wed Oct 08 14:56:46 PDT 2025

Total time taken to generate the page: 0.00832 seconds