From OpenStreetMap Wiki
< JOSM‎ | Plugins‎ | Kendzi3D
Jump to: navigation, search

In case of trouble

  • check if you have new version of JOSM and if you downloaded last version of plugin
  • run JOSM from console using command:
java -jar josm-tested.jar

In windows system console can be open using shortcut:

  • CTRL-R, in input area write
  • cmd
  • click OK

When bug is repeated send all output from console to:

Or send it by mail

Add information about used OS and java.

Overriding driver auto-detection

If the plugin does not work as expected, you can try running with altered MESA or JOGL environment variables. To do this, prefix the java command with a KEY=VALUE string like shown below. See MESA Environment Variables for additional information.

yourbox:~/$ MESA_GL_VERSION_OVERRIDE=3.0 java -Dsun.java2d.xrender=true -jar josm-latest.jar

To test if the plugin works in principle, bypassing the 3d hardware, (slow) software rendering can be requested.

yourbox:~/$ LIBGL_ALWAYS_SOFTWARE=1 java -Dsun.java2d.xrender=true -jar josm-latest.jar

OpenGL can also be used to accelerate JOSM map frame 2d drawing. This may conflict with the 3d plugin, which means it is advisable to avoid using the option marked red in combination with Kendzi3D:

yourbox:~/$ java -Dsun.java2d.opengl=true -jar josm-latest.jar
# ... opening 3d view fails ...:
# A fatal error has been detected by the Java Runtime Environment:
#  SIGFPE (0x8) at pc=0x00007ffe880c4e1c, pid=14084, tid=140731517433600
# JRE version: 7.0_25-b30
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  []  radeon_cs_get_id+0x162c

Either of the following commands enable output of debug information to the console, starting with least, continuing to most verbose.

yourbox:~/$ java -Djogl.debug=all -jar josm-latest.jar
yourbox:~/$ java -Dnewt.debug=all -Djogl.debug=all -jar josm-latest.jar
yourbox:~/$ java -Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all -jar josm-latest.jar

To disable kendzi3d autostart, locate the setting tag kendzi3d.autostart in josm preferences and change the value to false.

yourbox:~/$ grep -C2 kendzi.*autostart ../.josm/preferences.xml
  <?xml version="1.0" encoding="UTF-8"?>
  <preferences xmlns="" version="6248">
    <tag key='kendzi3d.autostart' value='false'/>
    <tag key='alignways.majorver' value='2'/>
    <tag key='alignways.showtips' value='false'/>

edited Cmuelle8 (talk) 05:07, 6 January 2018 (UTC)