Home > Archive > Smalltalk > October 2004 > OpenCroquet (really OpenGL) problem on Linux
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
OpenCroquet (really OpenGL) problem on Linux
|
|
| Anthony Juckel 2004-10-12, 3:58 pm |
| I know this isn't really an OpenCroquet support forum, but I believe
the question that I'm pondering is really more of a generic
Squeak/OpenGL problem.
I downloaded the OpenCroquet preview release, and tried running some of
the demos. None of them work, and it seems to be because of the
following, when called on an OGLUnixX11LE:
(self glGetString: GLExtensions) fromCString.
When this is called, I get, Error: a primative has failed. My thinking
is that the glGetString message returned an ExternalData object that
pointed to NULL, but I'm not sure, and I'm unsure how to further
inspect the ExternalData object.
Does anyone know of a resource that I could use to help debug this
OpenGL problem? I have a stock squeak 3.6 image, and the OpenGL demos
worked just fine in that, so I don't believe the problem is with the
host environment, but with the OpenCroquet image itself.
| |
| Shin The Gin 2004-10-12, 3:58 pm |
| Anthony Juckel wrote:
....
>
> Does anyone know of a resource that I could use to help debug this
> OpenGL problem? I have a stock squeak 3.6 image, and the OpenGL demos
> worked just fine in that, so I don't believe the problem is with the
> host environment, but with the OpenCroquet image itself.
Do You start Croquet using the contained shell script "Croquet.sh"?
Do You find a link to libGL.so in the main croquet-j directory?
It sounds to me, as if the OpenGL library isn't properly loaded.
BTW: I could even start "Jasmine" on an old AMD-400 with Matrox MGA without
problems, but far toooo slow...
Shin - A.k.a. Thomas Braun
| |
| Anthony W. Juckel 2004-10-12, 8:57 pm |
| On Tue, 2004-10-12 at 16:28 +0200, Shin The Gin wrote:
> Anthony Juckel wrote:
> ...
>
> Do You start Croquet using the contained shell script "Croquet.sh"?
> Do You find a link to libGL.so in the main croquet-j directory?
>
> It sounds to me, as if the OpenGL library isn't properly loaded.
>
I think I'm understanding things a little better now (but just a
little). I just noticed that Croquet has the full Squeak 3.6 image
included as well, and the Wonderland demo works just fine in there. I
think that must just be completely software rendered, whereas Croquet is
needing hardware excelleration. Now, I have GLX working just fine in my
standard Linux setup, and glxinfo does indeed print out a great deal of
info, including installed extensions and what not. What I'm thinking
must be happening is there's an incompatability between my OpenGL
libraries and whatever Croquet is expecting.
As I mentioned in my first post, I'm relatively new to Squeak in
general, so where could I go for more resources on how to hunt down a
problem with FFI? I've already tried the obvious linking libGL.so into
the directory I'm running Croquet from, etc, so I don't think Croquet is
having a problem finding the .so file, just in loading it. Does anyone
have any pointers for where to proceed with debugging from here?
|
|
|
|
|