Login  Register

Re: Poor performances on Linux Ubuntu unless desktop effects are disabled

Posted by gouessej on Jul 28, 2014; 8:18am
URL: https://forum.jogamp.org/Poor-performances-on-Linux-Ubuntu-unless-desktop-effects-are-disabled-tp4032647p4032666.html

Hi

I gave you an example only based on JOGL (without Java3D) in order to check whether the problem comes from Java3D:
http://en.wikipedia.org/wiki/Java_OpenGL#Code_example

Please run it and tell us what you get. Java3D still uses under-optimized canvases as they were written with other constraints, they had to support several rendering pipelines until I removed them except the one based on JOGL of course. Therefore, I removed j3d.rend. Whatever the value you set, Java3D 1.6 will use JOGL, neither native OpenGL nor Direct3D.

Concerning Ubuntu, I fear that there is a problem with some window managers and compositing window managers, especially when enabling some "fancy" effects. I don't know your application but my first person shooter sends more than 100 000 vertexes to the graphics card and as far as I know, it works under Ubuntu and LUbuntu without trouble but it uses JogAmp's Ardor3D Continuation which is the most reliable scenegraph based on JogAmp.

You can disable Aero under Windows:
http://helpx.adobe.com/x-productkb/global/disable-windows-aero-windows-7.html
Julien Gouesse | Personal blog | Website