Linux FC7 installation issues

I’ve installed JOGL 1.1.1 for the first time on my Linux FC7 system. I’ve been developing Java apps for some time using my own (e.g., not RedHat’s) Java installation:


$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

I downloaded n unwound the JOGL-1.1.1 as well as the demos. When I try to run the Gears demo, I get this:


+ JOGL_HOME=.
+ JOGL_LIB=./lib
+ JOGL_DEMO_LIB=./demolib
+ unset LD_LIBRARY_PATH
+ LD_LIBRARY_PATH=
+ CLASSPATH=
+ CLASSPATH=./lib/jogl.jar:./lib/gluegen-rt.jar
+ CLASSPATH=./lib/jogl.jar:./lib/gluegen-rt.jar:./demolib/jogl-demos.jar:./demolib/jogl-demos-util.jar:./demolib/jogl-demos-data.jar
+ java -Djava.library.path=./lib -Dsun.java2d.opengl=true -Dsun.java2d.opengl.fbobject=false -cp ./lib/jogl.jar:./lib/gluegen-rt.jar:./demolib/jogl-demos.jar:./demolib/jogl-demos-util.jar:./demolib/jogl-demos-data.jar demos.gears.Gears

Error: OpenGL failed to create a rendering context for this application.
Either the application ask for indirect rendering, or direct rendering
cannot be setup properly.
Indirect rendering is not yet supported by this implementation of OpenGL.

Exception in thread "Thread-1" javax.media.opengl.GLException: javax.media.opengl.GLException: Unable to create OpenGL context
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
        at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
        at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
        at com.sun.opengl.util.Animator.display(Animator.java:144)
        at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
            . . . .

The JOGL installation manual describes a condition about using the Sun JDK ‘compatibility’ RPMs - I don’t have any of those installed. However, I’m guessing there’s still something trying to use the /usr/lib/libGL.so.1 library?

I reeeeeeally want to start using these libs on my system. Help!

Check if you don’t have several copies of natives or JAR used by JOGL in your system, especially in your JVM (jre/lib/ext and /jre/lib/i386 under Linux).

thanks for the response. But nope, no other JOGL libs or native libs…

Actually, I believe the problem is with the graphics card I have in my system. My system is 3 years old and uses a Matrox Parhelia graphics card. At the time that was only dual DVI card that supported Linux. I called Matrox support and found that the card only support Open GL 1.3 and below… I’m guessing that’s the problem.

Time to upgrade?

I had some problems with Matrox G200 or something like that. JOGL works fine with OpenGL 1.3. I have a quite old ATI Radeon 9250 Pro and it works. You should use a more reliable graphics card.

I’ve ordered a new system with an Nvidia Quadro FX card – supports Linux, dual DVI, OpenGL 2.1, etc. I’ll let you know what happens…

I hope it will work. If you find another bug, let me know.

All right. I called Matrox (vid card in my old FC7 system) and they basically said to live with what I have and they have no plans on fixing/upgrading.

Sooo, I ordered a new system and after three days of messing around, I got things to work. The system:

Shuttle SG31G2
Intel Core 2 Duo 3.0 GHz (8400)
4 GB memory
Nvidia GeForce 9500 GT vid card
FC 10 (and windows XP SP2).

At first I had the Nvidia Quadro FX 570 but the windows display server (X on Linux and whatever on Windows) kept hanging and crashing. The 9500 GT works.

‘glxgears’ is producing 310 FPS w/out high-speed Nvidia driver and 5K FPS with driver installed.

Various JOGL demos work well (Gears, JGears, FlyingText).

JOGL demos did not work without Nvidia high-speed driver (e.g., using built-in ‘nv’ driver).

Just need to get both monitors configured…