Don McKenzie Paul wrote:
> I'm trying to get Matlab running on my Ti 667 powerbook. The problem 
> seems to be with OpenGL libraries. Mathworks have given me a listing of 
> the /usr/X11R6/lib  which is identical to mine. Can anyone suggest a 
> programme which uses these libraries in X and could be considered a good 
> test of my OpenGL setup within X.

Don,

I did some testing of matlab with different versions of the X libs by 
exchanging successively the versions from fink's xfree86 with those 
supplied by matlab with their X11 installation. What I found is the 
following:

If I replace the 3 libraries

libX11.6.2.dylib
libXext.6.4.dylib
libXp.6.2.dylib

by their matlab-supplied versions, then "opengl info" and "bench" and 
other 3D graphics related commands no longer freeze matlab.

Replacing libGL or libGLU has no effect whatsoever. Nor can one replace 
less than these 3 together, otherwise X11 doesn't run any more. If you 
wish, I can send you these 3 libs (500kB as tar.gz) so you can see for 
yourself.

I have no idea what has changed between the version supplied by matlab 
(which is probably the original xfree86-4.2.0 from xfree86.org, but I 
haven't checked this yet) and the versions produced by fink in 
xfree86-base-4.2.0-11 and xfree86-base-4.2.99.1-0.20020810

Unfortunately matlab is closed source, so one cannot look what they are 
doing to call the opengl stuff.

Another funny thing is that "opengl info", when it is not freezing 
matlab, gives two different reports depending on which version of 
*XDarwin.app* one is using, the one supplied by matlab (which seems to 
be the same as the one inside OroborOSX), or the one from fink. The 
first one says

 >> opengl info
Version        = 1.2 Mesa 3.4.2
Vendor         = VA Linux Systems, Inc.
Renderer       = Mesa GLX Indirect
MaxTextureSize = 2048
Extensions     = GL_ARB_multitexture GL_EXT_abgr GL_EXT_blend_color 
GL_EXT_blend_minmax GL_EXT_blend_subtract

and the second one

 >> opengl info
Version        = 1.3 Mesa 4.0.2
Vendor         = Mesa project: www.mesa3d.org
Renderer       = Mesa GLX Indirect
MaxTextureSize = 2048
Extensions     = GL_ARB_multitexture GL_ARB_imaging GL_EXT_abgr
GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract

But again, this difference has nothing whatsoever to do with the problem 
of freezing.

-- 
Martin




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to