Re: Texture loading problem

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid.csd.sgi.com)
Thu, 20 Nov 1997 14:54:14 -0800


There were some known problems like this, should be fixed in recent
Impact/Octane patches, for Octane, patch 2193 is now out and replaces 2391
which your stack trace says you're running, it might be worth trying that.

It might also be worth trying tweaking the value of the systune parameter
gfxlockablemem ( increase ), I've never been sure if this has actaully helped
though. How oversubscribed is your TRAM ? If none of the above helps then we
ought to get a support call with test case and reproduce here.

Cheers
Rob

On Nov 20, 4:57pm, Jean-Luc Dery wrote:
> Subject: Texture loading problem
> Hi perfs,
>
> I'm having problems when loading textures in TRAM. The application runs on an
> Octane with 4MB TRAM. As long as there's available TRAM, the application runs
> fine, but the moment a scene uses all available texture memory, the
application
> exit sending an OUT OF MEMORY message. This message is sent from libGLcore.
> When all texture memory is used, shouldn't GL start paging stuff ??
>
> Does anybody know what causes this ??
>
> Thanks in advance for any hints.
>
> Jean-Luc.
>
> Here's the trace I get from dbx:
>
> 0 __exit(0x1, 0x0, 0xf, 0x0, 0x0, 0xfb5af08, 0x0, 0x0)
> ["/xlv14/patches/2394/work/irix/lib/libc/libc_n32_M4/gen/cuexit.c":29,
> 0xfacdddc (pixie 0xfae2118)]
> 1 CheckandSave(0x1, 0x1067bcb4, 0xf, 0x0, 0x0, 0xfb5af08, 0x0, 0x0)
> ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texman.c":2244,
0xdab81e4
> (pixie 0xdab81e4)]
> 2 mgrTM_SaveOverlap(0x0, 0x1067bd2c, 0xf, 0x10683ba8, 0x0, 0xfb5af08, 0x0,
> 0x0) ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texman.c":2202,
> 0xdab803c (pixie 0xdab803c)]
> 3 do_placement(0x1021fd10, 0x0, 0xf, 0x0, 0x0, 0x1067bd2c, 0x0, 0x0)
> ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texman.c":839,
0xdab4260
> (pixie 0xdab4260)]
> 4 mgrTM_process_level(0x0, 0x10614428, 0x106754b8, 0x0, 0x0, 0xfb5af08,
0x0,
> 0x0) ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texman.c":731,
> 0xdab3d20 (pixie 0xdab3d20)] 5 mgrTM_TexImage2D_setup(0x0, 0x0, 0x0,
> 0x106754b8, 0x400, 0x0, 0x0, 0x0)
> ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texture.c":1488,
> 0xda92f0c (pixie 0xda92f0c)]
> 6 __glMgrim_TexImage2D(0xde1, 0x0, 0xf, 0x0, 0x0, 0x0, 0x1907, 0x1401)
> ["/xlv24/patches/2391/work/gfx/lib/opengl/MGRAS/mgras_texture.c":1350,
> 0xda92844 (pixie 0xda92844)]
> 7 pfTexture::pr_format(int,int)(0x0, 0x0, 0x0, 0x0, 0x0, 0xfb5af08, 0x0,
> 0x0) ["/perf7/zhz/perftot1/perf/lib/libpr/pfTexture.C":2930, 0x5c894c00
(pixie
> 0x5c894c00)]
> 8 pfTexture::pr_subload(int,int,int,int,unsigned
> int*,int,int,int,int,int,int,int)(0x60a43b60, 0x0, 0x820, 0x1, 0x0, 0x0, 0x0,
> 0x0) ["/perf7/zhz/perftot1/perf/lib/libpr/pfTexture.C":3029, 0x5c8954cc
(pixie
> 0x5c8954cc)]
> 9 pfTexture::load(void)(0x60a43b60, 0x0, 0xf, 0x0, 0x0, 0xfb5af08, 0x0,
0x0)
> ["/perf7/zhz/perftot1/perf/lib/libpr/pfTexture.h":369, 0x5c892b7c (pixie
> 0x5c892b7c)]
>
>
>
> --
> _____________________________________________________________________________
>
> Jean-Luc Dery Discreet Logic
> System Engineer 10 Duke Street
> 3-D Graphics Technology Montreal (Quebec), Canada, H3C 2L7
> Tel: (514) 954-7239
> Email: dery++at++discreet.com Fax: (514) 393-0110
> _____________________________________________________________________________
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Jean-Luc Dery

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:14 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.