Modify

Opened 9 years ago

Last modified 9 years ago

#11725 new defect

Unusable drawing performance in maximized mode even with small area

Reported by: overv161@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

I'm using JOSM 8491 on Windows 8.1 64-bit with Java 8. When running the application in maximized mode at a resolution of 2560 x 1440 with a very small region of a city, I get a framerate of about 3 (yes, three) while moving the map. See the screenshot that has been attached.

Hardware:

CPU: Intel Core i5 2500K overclocked to 4 Ghz
GPU: Sapphire R9 290 4GB
RAM: 8.00GB Dual-Channel DDR3

This causes JOSM to be unusable for me to edit any dataset larger than 3 buildings.

Attachments (1)

josm screenshot.png (915.6 KB ) - added by overv161@… 9 years ago.
Screenshot of JOSM at 2560 x 1440 resolution

Download all attachments as: .zip

Change History (10)

by overv161@…, 9 years ago

Attachment: josm screenshot.png added

Screenshot of JOSM at 2560 x 1440 resolution

comment:1 by Don-vip, 9 years ago

Owner: changed from team to overv161@…
Status: newneedinfo

"Java 8" is not enough, can you please attach a status report with exact version of Java, as asked on newticket?

Some other questions:

  • Are you up to date with your graphics drivers?
  • Does the wireframe mode improve the performance?

comment:2 by anonymous, 9 years ago

Sorry, I missed that.

Revision: 8491
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-06-16 23:27:08 +0200 (Tue, 16 Jun 2015)
Build-Date: 2015-06-16 21:45:58
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8491

Identification: JOSM/1.5 (8491 en) Windows 8.1 64-Bit
Memory Usage: 93 MB / 247 MB (25 MB allocated, but free)
Java version: 1.8.0_51, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Answers:

  1. Yes, and not running the beta drivers.
  2. Yes, massively. I estimate that the framerate is 25 in wireframe mode.

comment:3 by anonymous, 9 years ago

The framerate rapidly decreases as more of the screen is filled with the striped background in wireframe mode.

comment:4 by Don-vip, 9 years ago

Thanks. Do you launch JOSM via WebStart? If so, can you please try with command line java -Xmx2048m -jar josm-latest.jar in order to increase allocated memory?

comment:5 by anonymous, 9 years ago

No, I was using josm-tested.jar. Java couldn't allocate a 2 GB heap for some reason, so I changed it to 1.2 GB. I ran it with your command line arguments, but it didn't change anything.

Output:

Memory Usage: 91 MB / 1160 MB (13 MB allocated, but free)

comment:6 by anonymous, 9 years ago

If I run it as:

java -Xmx1024m -Dsun.java2d.opengl=true -jar josm-tested.jar

Then the main window shows up as a white screen. If I add the fbobject flag:

java -Xmx1024m -Dsun.java2d.opengl=true -Dsun.java2d.opengl.fbobject=false -jar josm-tested.jar

Then it works fine, but there is no performance difference.

comment:7 by bastiK, 9 years ago

In the preferences under Display settings (first symbol) > OSM Data > Draw boundaries of downloaded data, you can disable the striped background. Does that make a major difference when using the default map style? How does it compare to the Potlatch 2 map style?

comment:8 by overv161@…, 9 years ago

Disabling the striped background makes no noticeable difference. Neither does switching between Potlatch 2 and JOSM default.

comment:9 by Don-vip, 9 years ago

Owner: changed from overv161@… to team
Status: needinfonew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to overv161@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.