From: Jiba <Jea...@im...> - 2001-10-30 16:10:26
|
Le 30 Oct 2001 16:54:13 -0500, Jiba a =E9crit : > Le 30 Oct 2001 15:49:10 +0100, Sven Goethel a =E9crit : > > On Tuesday 30 October 2001 21:41, Jiba wrote: > > > Hi, > > > > > > I have trouble to use GL4Java; it seems that it cannot localize GLX= . But > > > OpenGL (actually, Mesa) works fine (demos like gears) ! > > > > > > I am using Linux Mandrake 8.0 with XFree 3.3.6 (SVGA server) and Me= sa > > > (XFree 4.0 doesn't work !). > > > > > > I join the output of "java gl4java.GLContext -info", and "glxinfo". > > > > > > Thanks for any help ! > > > > > > Jiba > >=20 > > please use the current dev. gl4java from sourceforge, > > then send the logs again > >=20 > > sven >=20 > I've tried with gl4java2.8.0.5-jar.zip and libGL4Java2.8.0.0-Linux-glib= c2-xf86-x86.tar.gz,butit doesn't work, even with XFree 4 (2.7.x works fin= e with it !). >=20 > Here are the error logs; the first is with factory. Without factories, = it seems to go father before crashing...? >=20 > Do not hesitate if there is other test i can do. >=20 > Jiba I was using the old native lib (2.7.x), forget what i've said above ! The result with 2.8 is the same than with 2.7 : it works with XFree 4.0 (vesa) but not with XFree 3.3.6 (svga). The error log is similar, if not identical : [jiba@quinoa jiba]$ java -Djava.library.path=3D/usr/X11R6/lib gl4java.GLContext -info GLContext.doLoadNativeLibraries will do it ! jvm vendor: Sun Microsystems Inc. jvm version: 1.3.0_02 jvm version (parsed): major: 1, minor: 3 loaded native library: GL4JavaJauGljJNI13 fetching GL/GLU functions ... GLINFO: cannot access GLX library libglx.so directly ... GLINFO: loaded OpenGL library libGL.so! GLINFO: loaded GLU library libGLU.so! fetched GL/GLU functions succesfully ! native Libraries loaded succesfull GLFunc implementation GLFuncJauJNI created succesfull GLUFunc implementation GLUFuncJauJNI created succesfull Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] display=3D0x8178a28, screen=3D0 X11DrawableFactory.glXChooseVisual: try capabilities: gl_supported: 1 ! doubleBuff: 1, rgba: 1, stereo: 0, depthSize: 24, stencilSize: 0 ! red: 8, green: 8, blue: 8, alpha: 0 ! red accum: 0, green accum: 0, blue accum: 0, alpha accum: 0 ! nativeVisualID: -1 ! Xlib: extension "GLX" missing on display ":0.0". X11DrawableFactory.glXChooseVisual: try capabilities: gl_supported: 1 ! doubleBuff: 1, rgba: 1, stereo: 0, depthSize: 24, stencilSize: 0 ! red: 8, green: 8, blue: 8, alpha: 0 ! red accum: 1, green accum: 1, blue accum: 1, alpha accum: 0 ! nativeVisualID: -1 ! Xlib: extension "GLX" missing on display ":0.0". X11DrawableFactory.glXChooseVisual: try capabilities: gl_supported: 1 ! doubleBuff: 1, rgba: 1, stereo: 0, depthSize: 24, stencilSize: 0 ! red: 8, green: 8, blue: 8, alpha: 0 ! red accum: 0, green accum: 0, blue accum: 0, alpha accum: 0 ! nativeVisualID: -1 ! Xlib: extension "GLX" missing on display ":0.0". X11DrawableFactory.glXChooseVisual: try capabilities: gl_supported: 1 ! doubleBuff: 0, rgba: 1, stereo: 0, depthSize: 24, stencilSize: 0 ! red: 8, green: 8, blue: 8, alpha: 0 ! red accum: 0, green accum: 0, blue accum: 0, alpha accum: 0 ! nativeVisualID: -1 ! Xlib: extension "GLX" missing on display ":0.0". X11DrawableFactory.glXChooseVisual: no visual java.lang.reflect.InvocationTargetException: java.lang.IllegalArgumentException: Unknown Visual Specified at sun.awt.X11GraphicsConfig.init(Native Method) at sun.awt.X11GraphicsConfig.<init>(X11GraphicsConfig.java:69) at sun.awt.X11GraphicsConfig.getConfig(X11GraphicsConfig.java:44) at java.lang.reflect.Method.invoke(Native Method) at gl4java.drawable.X11SunJDK13GLDrawableFactory.getGraphicsConfiguration(X1= 1SunJDK13GLDrawableFactory.java:99) at gl4java.drawable.SunJDK13GLDrawableFactory.getGraphicsConfiguration(SunJD= K13GLDrawableFactory.java:61) at gl4java.GLContext.main(GLContext.java:1027) Exception in thread "main" java.lang.InternalError: java.lang.reflect.InvocationTargetException at gl4java.drawable.X11SunJDK13GLDrawableFactory.getGraphicsConfiguration(X1= 1SunJDK13GLDrawableFactory.java:109) at gl4java.drawable.SunJDK13GLDrawableFactory.getGraphicsConfiguration(SunJD= K13GLDrawableFactory.java:61) at gl4java.GLContext.main(GLContext.java:1027) |