Modify

Opened 12 years ago

Closed 12 years ago

#8733 closed defect (othersoftware)

Restart does not work if JOSM is run using "optirun josm" on a Linux laptop with Nvidia Optimus

Reported by: metalfreak Owned by: team
Priority: trivial Milestone:
Component: Core restart Version: tested
Keywords: nvidia optimus linux bumblebee Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. You have to be using a laptop with Nvidia Optimus
  2. the laptop's operating system has to be Linux (in this case it's Ubuntu Studio 12.04 32-bit)
  3. Bumblebee has to be installed so the Nvidia graphics card can be used while running Linux
  4. JOSM need to be run using the command optirun josm
  5. Then at any point while JOSM is running
  • A1. Open the drop down File menu
  • B1. Click on Restart

OR

  • A2. open the drop down Edit menu
  • B2. Click on Preferences
  • C2. Open the plugins tab
  • D2. Select a plugin to be installed by putting a check the box next to it or select plugin to be uninstall by unchecking the box next to it
  • E2. Click OK
  • F2. Then when you see: "You have to restart JOSM for some settings to take effect. Would you like to restart now?" click Restart

What is the expected result?
That JOSM will automatically be closed and then it will restart

What happens instead?
JOSM just closes and does not restart then the user has to start JOSM manually. At no time is there an error message

Please provide any additional information below.
Restart does work if I run JOSM using the command "josm"

PS I know this bug affect very few people and even if it did effect a significant number of people it still wouldn't be a major issue. However, I still wanted to report just so that the issue is a known.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-08 01:34:29
Last Changed Author: stoecker
Revision: 5939
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-07 14:05:08 +0200 (Tue, 07 May 2013)
Last Changed Rev: 5939

Identification: JOSM/1.5 (5939 en) Linux Ubuntu 12.04.2 LTS
Memory Usage: 110 MB / 910 MB (20 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK Server VM
VM arguments: [-Djava.net.useSystemProxies=true]

Plugin: AddrInterpolation (29435)
Plugin: FixAddresses (29519)
Plugin: HouseNumberTaggingTool (29487)
Plugin: ImageWayPoint (29435)
Plugin: InfoMode (29435)
Plugin: OpeningHoursEditor (29435)
Plugin: buildings_tools (29435)
Plugin: download_along (29435)
Plugin: geotools (29435)
Plugin: gpsblam (29435)
Plugin: gpxfilter (29435)
Plugin: graphview (29525)
Plugin: jts (29435)
Plugin: kendzi3d (182)
Plugin: kendzi3d-jogl (21)
Plugin: log4j (29435)
Plugin: mapdust (29525)
Plugin: measurement (29579)
Plugin: namemanager (29435)
Plugin: opendata (29505)
Plugin: osmarender (29435)
Plugin: photo_geotagging (29435)
Plugin: print (29529)
Plugin: reverter (29561)
Plugin: tag2link (29461)
Plugin: todo (29155)
Plugin: turnlanes (29435)
Plugin: turnrestrictions (29435)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29435)
Plugin: waydownloader (29435)
Plugin: waypoint_search (29435)
Plugin: wayselector (29435)
Plugin: wms-turbo-challenge2 (29435)

Change History (12)

comment:1 by Don-vip, 12 years ago

Can you please try with latest version of JOSM and tell us what version of Bumblebee are you using ?

comment:2 by Don-vip, 12 years ago

I'd like to have the result of these commands:

  • optirun -V
  • bumblebee-bugreport

comment:3 by Don-vip, 12 years ago

Description: modified (diff)
Keywords: nvidia optimus linux bumblebee added; template_report removed
Summary: Restart does not work if JOSM is run using "optirun josm" on a laptop with Nvidia Optiumius with a Linux operating systemRestart does not work if JOSM is run using "optirun josm" on a laptop with Nvidia Optiumus with a Linux operating system

comment:4 by Don-vip, 12 years ago

Summary: Restart does not work if JOSM is run using "optirun josm" on a laptop with Nvidia Optiumus with a Linux operating systemRestart does not work if JOSM is run using "optirun josm" on a Linux laptop with Nvidia Optimus

in reply to:  1 comment:5 by metalfreak, 12 years ago

Replying to Don-vip:

Can you please try with latest version of JOSM and tell us what version of Bumblebee are you using ?

I installed josm-latest
When using "optirun josm-latest" restart does not work but it does when just using "josm-latest"

$optirun --version
optirun (Bumblebee) 3.2.1

by metalfreak, 12 years ago

Bumblebee Bugreport

in reply to:  2 comment:6 by metalfreak, 12 years ago

Replying to Don-vip:

I'd like to have the result of these commands:

  • optirun -V
  • bumblebee-bugreport

$ optirun -V
optirun (Bumblebee) 3.2.1
Copyright (C) 2011 The Bumblebee Project
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

sudo bumblebee-bugreport generated bumblebee-bugreport-20130522_152920.tar.gz which I attach a copy of

PS the laptop is a Lenovo Thinkpad W520 it is not a powerbook it's just named powerbook

comment:7 by Don-vip, 12 years ago

In 5967/josm:

see #8720, see #8733 - More checks and some debug info in RestartAction

comment:8 by Don-vip, 12 years ago

Please try tomorrow with josm-latest and give me the console output when you try to restart JOSM :)

in reply to:  8 comment:9 by metalfreak, 12 years ago

Replying to Don-vip:

Please try tomorrow with josm-latest and give me the console output when you try to restart JOSM :)

Will do thank you!

in reply to:  8 comment:10 by metalfreak, 12 years ago

Replying to Don-vip:

Please try tomorrow with josm-latest and give me the console output when you try to restart JOSM :)

I update josm-latest to verion 5967 and then figured out by mistake

When JOSM is the only program running using optirun restart doesn't work. However, if another program is running that was also started using optirun when I try to restart JOSM it restarts properly. So it looks like the issue is in how Bumblebee works and not in JOSM. I have test this using both JOSM (tested) 5939 and josm-latest 5967 and I got the same results with both of them. I'm sorry I didn't figure this out before and thank for your quick response and help.

PS the console out put is always the same. It does not matter if I just use the command "josm-latest" and restart (like it always has) or if I use "optirun josm-latest" without using optirun to run another program and then restart does not work or if I use "optirun josm-latest" while running another program using optirun and restart does work
The output is always
Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm-latest.
INFO: Restart -Djosm.home=/home/daniel/.josm-latest, -Djava.net.useSystemProxies=true, -jar, /usr/share/josm-latest/josm-latest.jar

Should this ticket be set to resolve as other software or is there anything else I should try first?

comment:11 by Don-vip, 12 years ago

Resolution: othersoftware
Status: newclosed

You should file a bug to bumblebee with all this information :)

Add Comment


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