Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 1
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 6163 times and has 0 replies Next Thread
mossroy
Newbie




Joined: Aug 1, 2010
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
3D view performance on Ubuntu, with different JVMs

Hi all,

Just to share my little experience on the performance of 3D view on Ubuntu.
On my configuration (Ubuntu 10.04 64 bits, Intel graphic card bundled inside my Core i5 650), there seems to be huge performance differences, depending on the JVM I use.

If I download the .tar.gz version of SweetHome3D (including the Sun JRE 1.6.0_20), the performance is excellent : moving inside the 3D view is smooth and easy to use
If I launch it with Java Web Start (the one that comes with icedtea6-plugin package, that launches it under OpenJDK version 6b18-1.8-4ubuntu3), the 3D view is extremely slow, and unuseable.

It's a pity because, on Ubuntu 10.04, openJDK 6 is now the default JVM (instead of Sun Java 6)
OpenJDK is almost the same as Sun JVM, except that all the proprietary pieces of code have been removed and replaced by some open-source ones.
OpenJDK is making the transition to the JDK 7, which will be fully open-source, and officially released with GPL license by Sun/Oracle.

I tried to tweek the command line of SH3D under OpenJDK, to see if I had to activate some hardware acceleration, but did not find any way to improve the performance.

I tried with different JVMs :
- Sun JVM 1.6.0_20 : OK
- OpenJDK 6b18-1.8-4ubuntu3 (default JVM in Ubuntu 10.04 repositories) : KO
- OpenJDK 6b20.1 (from http://www.openscg.com/se/ ) : KO
- nighlty snapshot version of jdk 7 : OK

My understanding is that openJDK 6 lacks some optimizations that are included in Sun JDK 6 (proprietary), and in the future JDK 7 (open-source).
Maybe it comes from some less optimized code replacements (see for example http://openjdk.java.net/groups/2d/ , in paragraph 3 of section "Non-open Java 2D source code")
Maybe it comes from some hardware acceleration that could not be enabled (see http://linuxhippy.blogspot.com/2010/06/xrender-pipeline-now-in-jdk7-master.html )

I hope JDK 7 will be released soon...

I made these tests with version 2.4 of SH3D.
I would be very interested to have some feedback of other users, with other hardware configurations : different graphic cards, 32 or 64 bits, other linux distributions etc
[Aug 1, 2010, 7:06:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved