Slow performance on Ubuntu
A premier mind-mapping software written in Java
Brought to you by:
christianfoltin,
danielpolansky
Logged In: YES
user_id=318488
Originator: NO
Hi,
first thing you should do is shut off the Gtk Look&Feel (see http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux#FreeMind_seems_broken_and_I_have_the_Gtk_Look.26Feel\) and the 3D acceleration (http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux#When_resizing_the_FreeMind_window.2C_the_inner_field_doesn.27t_resize_properly_.28or_other_GUI_strangeness.29), and check if you still have the said issues.
Eric
Logged In: YES
user_id=938235
Originator: YES
This is indeed fixed when I cut the 3d acceleration.
Andries
Logged In: YES
user_id=318488
Originator: NO
Hi,
I found the following article:
http://weblogs.java.net/blog/campbell/archive/2005/07/strcrazier_perf.html
Does it solve your problem if you edit freemind.sh and add *one* of the following parameters to the java call at the end of the script:
-Dsun.java2d.opengl=False
-Dsun.java2d.opengl=True
(I assume setting it to False is the right thing, but I'm not sure)
It would be also interesting to know if you get the same symptoms with another Java program like http://jedit.sf.net/
Cheers, Eric
PS: interestingly enough there are similar issues under Windows, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6392553
Logged In: YES
user_id=938235
Originator: YES
Adding the parameter does not change anything. Still feels slow.
Wasn't quite sure, did it like following:
"${JAVACMD}" -Dfreemind.base.dir="${freedir}" -cp "${CLASSPATH}" -Dsun.java2d.opengl=False freemind.main.FreeMindStarter "$@"
"${JAVACMD}" -Dfreemind.base.dir="${freedir}" -cp "${CLASSPATH}" -Dsun.java2d.opengl=True freemind.main.FreeMindStarter "$@"
In jedit:
Could not find any slowlyness in this program, with 3d effects.
In the plugin manager there is a similar horizontal slider, which works very fast.
Greetz
Logged In: YES
user_id=318488
Originator: NO
Hi,
I found the following link: http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html
You could try to play around with it.
Two ideas for now:
- set -Dsun.java2d.opengl=True and start FreeMind from the console in order to check "whether the OpenGL-based pipeline is initialized successfully".
- try the trace function, and see if something meaningful comes out of it.
And do you get the same symptoms if you use Java 5?
Eric
Logged In: YES
user_id=318488
Originator: NO
While I'm at it, which graphic driver are you using? (check xdriinfo if you have doubts)
Eric
Logged In: YES
user_id=318488
Originator: NO
Hi,
I got my hand on a system with 3D acceleration (Ubuntu Gutsy 7.10, java version "1.5.0_13", GNOME and Normal/Extra visual effects in the Appearance preferences) and FreeMind does only show an empty window though it reacts to keyboard commands (e.g. Ctrl-N for new map). I tried all of the parameters without any effect.
One workaround is to shutoff the visual effects, start FreeMind, shut on the visual effects again (and start again if you close FreeMind in the mean time).
More practicable is to set the variable AWT_TOOLKIT=MToolkit before starting FreeMind as described under http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux#When_resizing_the_FreeMind_window.2C_the_inner_field_doesn.27t_resize_properly_.28or_other_GUI_strangeness.29
Conclusion: it's definitely a Java issue and I close the bug.
Eric