issues running on Windows

I have downloaded the latest JVM from Sun, and installed on windows in order to test why some people are still having problems with the hidden timer.

I found no problems with the hidden timer but I am not sure if it even got that far.

The screen loads but is just black - no errors or anything. When I exit the app, I get a stack trace.


E:\XITHTEST\XITH3D>java -cp libs\xith3d.jar com.xith3d.test.CubeTest
starting frame speed test
Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
OpenGL Renderer = Compatible VGA / MMX
OpenGL Version = 1.2.1 SIS 2.09.50
OpenGL Vendor = SiS
OpenGL Extensions = GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minm
ax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_packed_pixels GL_EX
T_polygon_offset GL_EXT_separate_specular_color GL_EXT_texture_env_add GL_EXT_te
xture_env_combine GL_EXT_texture_object GL_EXT_vertex_array GL_WIN_swap_hint GL_
ARB_multitexture GL_SGIS_multitexture
Exception in thread "main" net.java.games.jogl.GLException: Error swapping buffe
rs
        at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers
(WindowsOnscreenGLContext.java:140)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:193)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
        at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java)
        at com.xith3d.scenegraph.View.renderOnce(View.java)
        at com.xith3d.scenegraph.View.renderOnce(View.java)
        at com.xith3d.test.CubeTest.<init>(CubeTest.java)
        at com.xith3d.test.CubeTest.main(CubeTest.java)

Xith3D is from CVS, third-party libraries are up to date, JRE is “java version “1.4.2_01”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot™ Client VM (build 1.4.2_01-b06, mixed mode)”

WindowsXP, SiS 650 integrated graphics.

JOGL has worked previously on this machine and still does (InfiniteShadowVolumes jogl-test still works with the Xith3D version of JOGL). Xith3D I believe has worked in the past too (back in the alpha1 days).

-DXITH3D_USE_VERTEX_BUFFER_CACHING=false didn’t help

My drivers are fairly up to date too.

Thanks,

Will.

I am getting the same error. The demo runs the screen appears, turns black and then nothing happens. When I close the Xith3d window the same exception as above gets thrown.

C:\allan\xith3d\demo>C:\j2sdk_nb\j2sdk1.4.2\jre\bin\java -Djava.library.path=../
third-party/jogl/jogl-win32;../third-party/joal/windows -Xmx50m -Xms20m -classpa
th ../third-party/jogl/jogl-win32/jogl.jar;../third-party/vecmath/vecmath.jar;..
/third-party/xith/xith_utilities.jar;../libs/xith3d.jar;../third-party/misc/vorb
is.jar;../third-party/misc/junit.jar;../third-party/misc/log4j.jar;../third-part
y/joal/windows/joal.jar com.xith3d.test.Xith3DSwitchNodeTest
Hit ESC to exit, SPACE to toggle projection policy, click mouse on planes to swi
tch
Note that due to Linux workarounds planes with CULL_NONE are pickable only from
one (face) side...
Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
OpenGL Renderer = GDI Generic
OpenGL Version = 1.1.0
OpenGL Vendor = Microsoft Corporation
OpenGL Extensions = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
net.java.games.jogl.GLException: Error swapping buffers
        at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.swapBuffers
(WindowsOnscreenGLContext.java:140)
        at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:193)
        at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:182)
        at net.java.games.jogl.GLCanvas.display(GLCanvas.java:82)
        at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java)
        at com.xith3d.scenegraph.View.renderOnce(View.java)
        at com.xith3d.scenegraph.View.renderOnce(View.java)

Your OpenGL version is only 1.1, but 1.2 is required. You should try to update your drivers if possible, although I don’t know if this solves the problem. Here is a thread stating that this error occurs infrequently in Jogl, too.

I also confirm that on one computer (ASUS S200 subnotebook) SiS 630 does not work well with Xith3D (reports OpenGL version 2.08 which is definitely wrong).

I plan to spend some time on this issue (good I have this 100% reproducible) in a week approx., so maybe we will get SiS workaround.

Yuri

[quote]I am getting the same error. The demo runs the screen appears, turns black and then nothing happens. When I close the Xith3d window the same exception as above gets thrown.


OpenGL Renderer = GDI Generic
OpenGL Version = 1.1.0
OpenGL Vendor = Microsoft Corporation
OpenGL Extensions = GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
[/quote]
The problem is definitally your OpenGL driver - it's an ancient (generic - software) Microsoft one.  Hopefully downloading the latest video card drivers would solve that for you (and give you hardware accelleration).  What video card are you running?  As Jens said - you need OpenGL1.2 for Xith3D.

Will.

[quote]I also confirm that on one computer (ASUS S200 subnotebook) SiS 630 does not work well with Xith3D (reports OpenGL version 2.08 which is definitely wrong).

I plan to spend some time on this issue (good I have this 100% reproducible) in a week approx., so maybe we will get SiS workaround.

Yuri
[/quote]
Thanks Yuri - laptops seem cursed with crap video cards (my one certainly is). Next time I get one I shall not be so shortsighted that’s for sure.

It would be great if Xith3D could run on any machine capable of OpenGL1.2, your efforts will be most appreciated I’m sure.

Will.

sorry to dig up this old thread, but now with the updated JOGL libraries in JWS, updated display drivers and improvements to Xith3D, the demos work again on my SiS 650 laptop in Windows.

Not sure which of the 3 factors caused it to work again - but needless to say I am very happy.

It is pleasing that Xith3D can run on low end cards as supporting them is important to some developers.

Cheers,

Will.