I came up with the performance problem. My application (Visualisation of Furuta pendulum) consist one Canvas3D(with SimpleUniverse) placed in JPanel surrounded by Swing components. I
I think that you ubuntu installation dont use hardware 3d rendering because glxgears only running 50-60FPS is VERY SLOW
glxgears runs on my old machine P4 2,4GHZ with somethink like 2700FPS yes you read correct. With a old Gf4200 nvidia.
Be sure that the correct drivers are loaded into ubuntu. Try for instance to run a free 3d game for instance openarena
open a console type: sudo apt-get install openarena
hope this helps
Thank you for your response,
In the meanwhile a did further research and I find out, that problem is maybe in the drivers. My Linux possitive friend tried to do his best and he says that GMA945 drivers arent very well written. So it looks like that problem is combination of Java3D and Swing. (We've played Thux Extreme racer with accetable FPS).
There is a problem with Ubuntu that can cause slow OpenGL performance, unless you turn off 'Compiz' desktop effects--it's under the Appearence menu.
I have tried that, but it didnt bring any enhancement. :(
Each configuration will be a litle different, but I have very good results with Java 3D / OpenGL on Ubuntu 10.10 with a GeForce 8400 GS (NVidia hardware drivers 260.19.06).
* On the NVidia X Server Settings, you could try 'dialing down' antialiasing, and force off V Sync--these can have a big impact on performance.
* In Java 3D, you can try with these settings
These settings can greatly improve performance, especially the first two... Good luck.
On 3/23/2011 12:55 PM, email@example.com wrote:
> There is a problem with Ubuntu that can cause slow OpenGL performance,
> you turn off 'Compiz' desktop effects--it's under the Appearence menu.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.