Hi!
JMP Freezes when I try to change a material to geometry in properties panel. Alpha 4 latest updates.
In alpha 3 there were no such an issue.
Could it be you had a newer version of the JDK linked in jmonkeyplatform/etc/jmonkeyplatform.conf when you used Alpha-3?
i don’t know… I use linux ubuntu, open jdk 6.
my jmonkeyplatform/etc/jmonkeyplatform.conf:
${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.${APPNAME}/dev"
default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/dev"
options used by the launcher by default, can be overridden by explicit
command line switches
default_options="–branding jmonkeyplatform -J-Xms24m -J-Xmx512m -J-XX:PermSize=256m"
for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea
# default location of JDK/JRE, can be overridden by using --jdkhome switch
#jdkhome="/path/to/jdk"
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#extra_clusters=
2 weeks ago everything worked.
Hmm, seems like Ubuntu and the jME3 swing canvas became enemies some time ago… But why??
I think I stopped experiencing issues when I switched from OpenJDK to the “sun-java-6” libraries.
Thanks for your reply.
I removed OpenJDK and JMP. Installed sun-java-6:
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
sudo update-java-alternatives -s java-6-sun
And installed JMPa4 again. Updated JMP.
JMP FREEZES again.
Just don’t know what to do…
Erlend_sh, are you using linux? can you or anybody test it?
Sorry for so many posts. I found another thing. If I undock Scene Composer window JMP woks fine and no freezes occured. Possibly the issue is in Scene Composer window?
The problem is in Property window. when i minimaze this window, so JMP do not freezes and works correctly. But if the Property window is pinned, so JMP freezes when i change the Property window parameters.
mifth said:
The problem is in Property window. when i minimaze this window, so JMP do not freezes and works correctly. But if the Property window is pinned, so JMP freezes when i change the Property window parameters.
First of all thumbs up for this bug report ^^ Hmmmm.. Its actually reading (not writing ofc!) the values directly from the awt thread.. Maybe thats not so good because local updates etc might happen.. It was just so darn slow in alpha-1 because of the logging bug and I kept it this way.. I will change that.
No problem. Thanks for fixing.
Hm, its actually not that easy… The fact that its not doing this on the thread is hiding the other problem with the swing canvas in some places… Freezing gets worse when I enable that, its the short moments where the UI is rebuilt, then the properties are read and the OpenGL and AWT thread end in a deadlock reading the values and restarting the context
I found the way when JMP does not freezes. Just put the property window in such position:
Uploaded with ImageShack.us
Property window should be in entire right position. Possibly it will be helpfyl in solving this issue.
oh, sorry, I was wrong about the last post. it freezes anyway. when i create a skybox, for example.
the only way is to minimaze the property window.
actually I confused and don’t know why JMP freezes.
Yes, as I said its the restarting context when the windows reconfigure. All of this will be different when we can disable the rendering/context while still running the update loop.
I’m also noticed problem with freezing.
Java: 1.6.0_20; OpenJDK Server VM 19.0-b09
OS: Ubuntu 10.10
I wonder what happened, nothing changed with the canvas between alpha3 and alpha4. Maybe its the new netbeans?