#21762 closed defect (othersoftware)
Randomly duplicated imagery graphical glitch
Reported by: | Patrik_B | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report glitch graphic graphical imagery_bug imagery_glitch duplicated_imagery imagery_duplicated | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Casually mapping, it happens totally random.
What is the expected result?
Nothing
What happens instead?
Graphical glitches, they are changing as I move my mouse. The glitch is that the imagery window gets duplicated over everything. I don't know how to better describe it, I attached screenshots.
Please provide any additional information below. Attach a screenshot if possible.
It happens randomly, I tried to find out if it is any plugin or something but it's always random. When I restart the software it's fixed, then the bug get back sometimes after few seconds somtimes after couple minutes. I have new pc for a month, I didn't had this issue on previous computer. I guess it's something on my end. I tried different Java versions, I don't know what else should I try.
Screen video record: https://sendspark.com/share/21sc1z9y8ivoa14z
Screenshots:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022) Revision:18360 Build-Date:2022-01-02 20:26:19 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18360 en) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19042) Memory Usage: 631 MB / 4060 MB (231 MB allocated, but free) Java version: 11.0.13+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1280×1024 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1250 System property sun.jnu.encoding: Cp1250 Locale info: en_SK Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Dicedtea-web.bin.location=D:\Programy\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop] Dataset consistency test: No problems found Plugins: + FastDraw (35893) + buildings_tools (35893) + geochat (35893) + imagery_offset_db (35893) + mapathoner (1.1.11) + markseen (14) + scripting (30798) + terracer (35893) + todo (30306) + utilsplugin2 (35893) Map paint styles: + https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip + https://github.com/MissingMaps/josm_styles/archive/master.zip Last errors/warnings: - 00000.273 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.274 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00005.217 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00005.714 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl - 00009.017 W: Unable to request certificate of https://grca.nat.gov.tw - 00857.510 W: Unknown remote control parameter title, skipping it
Attachments (0)
Change History (17)
comment:1 by , 3 years ago
Keywords: | imagery_glitch duplicated_imagery imagery_duplicated added; imgaery_glitch removed |
---|
comment:2 by , 3 years ago
follow-ups: 4 5 comment:3 by , 3 years ago
Replying to patrik.brigant.pb@…:
OS Build number: Windows 10 Home 2009 (19042) Java version: 11.0.13+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1280×1024 (scaling 1.00×1.00)
So you use two screen with different resolution. Does it only appear with two screens?
Maybe upgrading Java to version 17 or your graphic card driver to latest stable version might help.
comment:4 by , 3 years ago
Hi, on my previous laptop I was using the same second screen and laptop had the same resolution as the current one. I didnt had this issues.
I tried the Java version 17 and I think that drivers are updated but I will check these two options again. Thank you
Replying to skyper:
Replying to patrik.brigant.pb@…:
OS Build number: Windows 10 Home 2009 (19042) Java version: 11.0.13+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1280×1024 (scaling 1.00×1.00)So you use two screen with different resolution. Does it only appear with two screens?
Maybe upgrading Java to version 17 or your graphic card driver to latest stable version might help.
comment:5 by , 3 years ago
Replying to skyper:
Replying to patrik.brigant.pb@…:
OS Build number: Windows 10 Home 2009 (19042) Java version: 11.0.13+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1280×1024 (scaling 1.00×1.00)So you use two screen with different resolution. Does it only appear with two screens?
Maybe upgrading Java to version 17 or your graphic card driver to latest stable version might help.
Hi, sorry for late update, last weeks has been busy I didn't had time for testing since it's happening randomly.
I downloaded java 8 (I believe the newest java from java.com website), checked that I have the latest stable graphic card driver, I used only one monitor with 1920x1080 resolution but it still happens here and there. Thank you for your tips tho, much appreciated.
OS Build number: Windows 10 Home 2009 (19042)
Java version: 1.8.0_321-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
comment:7 by , 3 years ago
Today I was able to replicate the glitch when I selected multiple objects at once so for better interpretation how it looks like I recorded my screen. Here is the link to the video https://sendspark.com/share/21sc1z9y8ivoa14z
This is me, Patrik, the creator of this ticket. I just forgot to log in before posting.
comment:8 by , 3 years ago
Description: | modified (diff) |
---|
follow-up: 10 comment:9 by , 3 years ago
@Patrik_B:
Can you do the following:
- JOSM Preferences -> Enable ExpertMode -> Go to Advanced Preferences
- Search for
oauth
and selectoauth.access-token.key
andoauth.access-token.secret
and thenReset
them (I really need to apply a patch for this) - Clear the search field
- Select everything (
ctrl
+a
) Export selected items
More...
->Reset preferences
Then attempt to reproduce your problem. If you are unable to reproduce, then it is something in preferences that is causing the issue.
If you are able to reproduce, you can restore the settings you just cleared by doing the following:
- JOSM Preferences -> Enable ExpertMode -> Go to Advanced Preferences
Read from file
(select the file you exported in step 5 above)
Also, as a stupid question, are your graphics card drivers up to date?
follow-up: 11 comment:10 by , 3 years ago
Thank you for your response. I just tried that and no, it didn't fixed the issue. But thanks, I haven't tried this option before.
Yes my drivers are up to date. I have a Lenovo laptop with Nvidia graphics so for downloading graphics card drivers updates I am using GeForce Experience and for others Lenovo Vantage.
All drivers are up to date and I have tried many different versions of Java but since I keep having this issue over many JOSM updates and I haven't found anyone else having this issue, I think there has to be something wrong with my laptop.
Replying to taylor.smock:
@Patrik_B:
Can you do the following:
- JOSM Preferences -> Enable ExpertMode -> Go to Advanced Preferences
- Search for
oauth
and selectoauth.access-token.key
andoauth.access-token.secret
and thenReset
them (I really need to apply a patch for this)- Clear the search field
- Select everything (
ctrl
+a
)Export selected items
More...
->Reset preferences
Then attempt to reproduce your problem. If you are unable to reproduce, then it is something in preferences that is causing the issue.
If you are able to reproduce, you can restore the settings you just cleared by doing the following:
- JOSM Preferences -> Enable ExpertMode -> Go to Advanced Preferences
Read from file
(select the file you exported in step 5 above)Also, as a stupid question, are your graphics card drivers up to date?
comment:11 by , 3 years ago
Replying to Patrik_B:
Thank you for your response. I just tried that and no, it didn't fixed the issue. But thanks, I haven't tried this option before.
Yes my drivers are up to date. I have a Lenovo laptop with Nvidia graphics so for downloading graphics card drivers updates I am using GeForce Experience and for others Lenovo Vantage.
All drivers are up to date and I have tried many different versions of Java but since I keep having this issue over many JOSM updates and I haven't found anyone else having this issue, I think there has to be something wrong with my laptop.
Hopefully it isn't something wrong with your laptop ("new pc"). Are there any other applications having graphical issues? If so, then I am much more inclined to blame hardware than software. Otherwise, it is probably software.
With that said, if it were my laptop, I'd first do the standard DISM/SFC commands to check for corruption, and see if that fixed the problem. Then I'd try uninstalling and then reinstalling the graphics driver. Then I'd image the hard drive, and reinstall windows. Then I'd try a Linux distribution (probably Fedora), and see if it was still an issue. At this point, I'd probably be looking at the hardware warranty.
You probably shouldn't do any of those (except the hardware warranty), unless you know what you are doing.
comment:12 by , 3 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
I agree with Taylor. There is not much we can do in JOSM. That's a buffering problem in the graphics handling, so either in Java, the graphics card drivers, some graphics component like OpenGL or anything else of the many components in the pipeline.
If newest Java does not help you can try some of the tips here:
https://superuser.com/questions/373290/disable-java-hardware-acceleration-in-windows
Maybe that helps.
follow-up: 15 comment:13 by , 3 years ago
@Patrik_B: I’m sorry that we weren’t able to fix the problem. But thank you for filing a ticket anyway (as I like to say, "we cannot fix bugs that we do not know about").
If you want to try setting the various settings that stoecker linked to (-Dsun.java2d.noddraw=true
for example), I think you are going to want to download one of the jar files, and run it from the command line.
Example:
java -Dsun.java2d.noddraw=true -jar ${PATH_TO_JOSM_JAR}
comment:14 by , 3 years ago
@Patrik_B:
Which webbrowser do you use? You might try a different one. It might be an issue with OpenWebstart, so starting JOSM from the command line as mentioned above is worth a try.
If it comes down to hardware problems, I have only little knowledge of Windows but you can always try a live systems (available for many Linux distributions) booting from an external device.
Just my 2ct.
comment:15 by , 3 years ago
Replying to taylor.smock:
@Patrik_B: I’m sorry that we weren’t able to fix the problem. But thank you for filing a ticket anyway (as I like to say, "we cannot fix bugs that we do not know about").
If you want to try setting the various settings that stoecker linked to (
-Dsun.java2d.noddraw=true
for example), I think you are going to want to download one of the jar files, and run it from the command line.
Example:
java -Dsun.java2d.noddraw=true -jar ${PATH_TO_JOSM_JAR}
GUYS Thank you so much! @taylor.smock and @stoecker After 6 months (I had this issue before creating the thread) it's finally fixed. You was right, I had to disable the hardware acceleration for java. So the "java -Dsun.java2d.noddraw=true" command helped.Thank youuu
comment:16 by , 3 years ago
Another solution we found, run the java app in windows 7 compatibility mode solved the problem on our end.
oh and it also occures when I dont have loaded anything