This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

White screen on Arch startup

0

I'm trying to run JOSM on arch linux. I tried both the josm(-svn) from the AUR, the jnlp and the jar version from https://josm.openstreetmap.de/.

If I run the program, the loading screen works: alt text

Unfortunately, after that one is finished, I receive an empty (white) screen:

alt text

If I enable debug logs (java -jar josm-tested.jar --debug), I don't see any errors, here's the log: https://textbin.net/raw/qcklqkrlkm

Does anyone have an idea how to get JOSM to run?

asked 13 Sep '22, 07:50

H_Philipp's gravatar image

H_Philipp
16112
accept rate: 0%

edited 13 Sep '22, 07:53

Which Java/JRE version are you using?

(13 Sep '22, 08:08) scai ♦

I'm on 'openjdk 17.0.4.1 2022-08-12'

(13 Sep '22, 08:10) H_Philipp

Strange. I'm using openjdk 17.0.4 on Debian without such problems.

(14 Sep '22, 07:28) scai ♦

Could it be that you are using Wayland? As far as I know some people have problems running JOSM with Wayland, others don't. I don't know any details since I haven't switched to Wayland yet.

(14 Sep '22, 11:11) scai ♦

If you are using Wayland then try to set _JAVA_AWT_WM_NONREPARENTING=1 before running JOSM. See https://discourse.ubuntu.com/t/environment-variables-for-wayland-hackers/12750.

(14 Sep '22, 12:08) scai ♦

One Answer:

1

Try setting sun.java2d.opengl=False in your java configuration. If you're using an nVidia GPU, this is almost certainly the fix.

answered 14 Sep '22, 12:59

Baloo%20Uriza's gravatar image

Baloo Uriza
3.2k143061
accept rate: 9%

Source code available on GitHub .