{"action":"created","issue":{"url":"https://api.github.com/repos/DrTon/jMAVSim/issues/42","repository_url":"https://api.github.com/repos/DrTon/jMAVSim","labels_url":"https://api.github.com/repos/DrTon/jMAVSim/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/DrTon/jMAVSim/issues/42/comments","events_url":"https://api.github.com/repos/DrTon/jMAVSim/issues/42/events","html_url":"https://github.com/DrTon/jMAVSim/issues/42","id":310312727,"number":42,"title":"running JMAVSim in vmware fails","user":{"login":"itayguy","id":4155188,"avatar_url":"https://avatars0.githubusercontent.com/u/4155188?v=4","gravatar_id":"","url":"https://api.github.com/users/itayguy","html_url":"https://github.com/itayguy","followers_url":"https://api.github.com/users/itayguy/followers","following_url":"https://api.github.com/users/itayguy/following{/other_user}","gists_url":"https://api.github.com/users/itayguy/gists{/gist_id}","starred_url":"https://api.github.com/users/itayguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itayguy/subscriptions","organizations_url":"https://api.github.com/users/itayguy/orgs","repos_url":"https://api.github.com/users/itayguy/repos","events_url":"https://api.github.com/users/itayguy/events{/privacy}","received_events_url":"https://api.github.com/users/itayguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-01T10:07:55Z","updated_at":"2018-05-17T13:39:23Z","closed_at":null,"author_association":"NONE","body":"81 WARNING: setRealtimeSched failed (not run as root?)\r\n\r\n______  __   __    ___ \r\n| ___ \\ \\ \\ / /   /   |\r\n| |_/ /  \\ V /   / /| |\r\n|  __/   /   \\  / /_| |\r\n| |     / /^\\ \\ \\___  |\r\n\\_|     \\/   \\/     |_/\r\n\r\npx4 starting.\r\n\r\nINFO  [dataman] Unknown restart, data manager file 'rootfs/fs/microsd/dataman' size is 11405132 bytes\r\nINFO  [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed..\r\nBuildfile: /home/itayguy/git/PX4Firmware/Tools/jMAVSim/build.xml\r\n\r\nmake_dirs:\r\n\r\ncompile:\r\n\r\ncreate_run_jar:\r\n\r\ncopy_res:\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 0 seconds\r\nOptions parsed, starting Sim.\r\nStarting GUI...\r\n3D [dev] 1.6.0-pre12-daily-experimental daily\r\n\r\ncom.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x3e26d121, isOwner false, <7e758363, b619854>[count 0, qsz 0, owner <NULL>]]]\r\n\tat jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)\r\n\tat jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.lang.NullPointerException\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)\r\n\tat jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)\r\n\t... 2 more\r\ncom.jogamp.opengl.GLException: J3D-Renderer-1: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 17.2.8\r\n\tat jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:418)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)\r\n\tat javax.media.j3d.JoglPipeline$QueryCanvas.doQuery(JoglPipeline.java:8615)\r\n\tat javax.media.j3d.JoglPipeline$QueryCanvas.access$100(JoglPipeline.java:8566)\r\n\tat javax.media.j3d.JoglPipeline.createQueryContext(JoglPipeline.java:6562)\r\n\tat javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:4609)\r\n\tat javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:3606)\r\n\tat javax.media.j3d.Renderer.doWork(Renderer.java:461)\r\n\tat javax.media.j3d.J3dThread.run(J3dThread.java:271)\r\n\r\nDefaultRenderingErrorListener.errorOccurred:\r\nCONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context for queryProperties()\r\ngraphicsDevice = X11GraphicsDevice[screen=0]\r\ncanvas = me.drton.jmavsim.Visualizer3D$CustomCanvas3D[canvas0,0,0,0x0,invalid]\r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)\r\nCaused by: java.lang.IllegalStateException: Canvas3D: Non-recoverable graphics configuration error\r\n\tat javax.media.j3d.Canvas3D.queryProperties(Canvas3D.java:3595)\r\n\tat me.drton.jmavsim.Visualizer3D.createEnvironment(Visualizer3D.java:214)\r\n\tat me.drton.jmavsim.Visualizer3D.<init>(Visualizer3D.java:175)\r\n\tat me.drton.jmavsim.Simulator.<init>(Simulator.java:157)\r\n\tat me.drton.jmavsim.Simulator.main(Simulator.java:678)\r\n\t... 5 more\r\nX11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)\r\nX11Util: Open X11 Display Connections: 2\r\nX11Util: Open[0]: NamedX11Display[:0, 0x7f8eb00010b0, refCount 1, unCloseable false]\r\nX11Util: Open[1]: NamedX11Display[:0, 0x7f8e94020c70, refCount 1, unCloseable false]\r\nOptions parsed, starting Sim.\r\nStarting GUI...\r\n3D [dev] 1.6.0-pre12-daily-experimental daily\r\n\r\ncom.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x4ce470aa, isOwner false, <4da7bb0f, 4e58036c>[count 0, qsz 0, owner <NULL>]]]\r\n\tat jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)\r\n\tat jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: java.lang.NullPointerException\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)\r\n\tat jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)\r\n\t... 2 more\r\ncom.jogamp.opengl.GLException: J3D-Renderer-1: createImpl ARB n/a but required, profile > GL2 requested (OpenGL >= 3.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 3.0 (Compat profile, compat[ES2], FBO, hardware) - 3.0 Mesa 17.2.8\r\n\tat jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:418)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)\r\n\tat jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)\r\n\tat javax.media.j3d.JoglPipeline$QueryCanvas.doQuery(JoglPipeline.java:8615)\r\n\tat javax.media.j3d.JoglPipeline$QueryCanvas.access$100(JoglPipeline.java:8566)\r\n\tat javax.media.j3d.JoglPipeline.createQueryContext(JoglPipeline.java:6562)\r\n\tat javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:4609)\r\n\tat javax.media.j3d.Canvas3D.createQueryContext(Canvas3D.java:3606)\r\n\tat javax.media.j3d.Renderer.doWork(Renderer.java:461)\r\n\tat javax.media.j3d.J3dThread.run(J3dThread.java:271)\r\n\r\nDefaultRenderingErrorListener.errorOccurred:\r\nCONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context for queryProperties()\r\ngraphicsDevice = X11GraphicsDevice[screen=0]\r\ncanvas = me.drton.jmavsim.Visualizer3D$CustomCanvas3D[canvas0,0,0,0x0,invalid]\r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)\r\nCaused by: java.lang.IllegalStateException: Canvas3D: Non-recoverable graphics configuration error\r\n\tat javax.media.j3d.Canvas3D.queryProperties(Canvas3D.java:3595)\r\n\tat me.drton.jmavsim.Visualizer3D.createEnvironment(Visualizer3D.java:214)\r\n\tat me.drton.jmavsim.Visualizer3D.<init>(Visualizer3D.java:175)\r\n\tat me.drton.jmavsim.Simulator.<init>(Simulator.java:157)\r\n\tat me.drton.jmavsim.Simulator.main(Simulator.java:678)\r\n\t... 5 more\r\nX11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)\r\nX11Util: Open X11 Display Connections: 2\r\nX11Util: Open[0]: NamedX11Display[:0, 0x7f19b0006c40, refCount 1, unCloseable false]\r\nX11Util: Open[1]: NamedX11Display[:0, 0x7f1994020c70, refCount 1, unCloseable false]\r\n^C\r\nExiting...\r\npxh> Shutting down\r\nRestoring terminal\r\n/home/itayguy/git/PX4Firmware/Tools/sitl_run.sh: line 167: kill: (5238) - No such process\r\nninja: build stopped: interrupted by user.\r\nMakefile:147: recipe for target 'posix_sitl_default' failed\r\nmake: *** [posix_sitl_default] Interrupt"},"comment":{"url":"https://api.github.com/repos/DrTon/jMAVSim/issues/comments/389869453","html_url":"https://github.com/DrTon/jMAVSim/issues/42#issuecomment-389869453","issue_url":"https://api.github.com/repos/DrTon/jMAVSim/issues/42","id":389869453,"user":{"login":"signsmile","id":3498325,"avatar_url":"https://avatars0.githubusercontent.com/u/3498325?v=4","gravatar_id":"","url":"https://api.github.com/users/signsmile","html_url":"https://github.com/signsmile","followers_url":"https://api.github.com/users/signsmile/followers","following_url":"https://api.github.com/users/signsmile/following{/other_user}","gists_url":"https://api.github.com/users/signsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/signsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signsmile/subscriptions","organizations_url":"https://api.github.com/users/signsmile/orgs","repos_url":"https://api.github.com/users/signsmile/repos","events_url":"https://api.github.com/users/signsmile/events{/privacy}","received_events_url":"https://api.github.com/users/signsmile/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T13:39:23Z","updated_at":"2018-05-17T13:39:23Z","author_association":"NONE","body":"the solution can not works."}}
{"actor":{"display_login":"signsmile"}}