Linux 64bit support - ready for alpha testing!

Same FATAL:ENGINE: Could not open window error.

$ file My\ project.x86
My project.x86: ELF 32-bit LSB  executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=8ed107bd607268ae749a3774499babdf29d643ae, not stripped
$ file My\ project.x86_64 
My project.x86_64: ELF 64-bit LSB  executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=4d793626dee16d87977149f0dd612f355e965885, not stripped
$ ldd My\ project.x86
	linux-gate.so.1 =>  (0xf76e6000)
	libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xf766a000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7536000)
	libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf74d3000)
	libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf7460000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7444000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf743f000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7357000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7310000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf72f3000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7145000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf713c000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf711a000)
	libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf70f0000)
	libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xf70ec000)
	libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xf70e8000)
	libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xf70e1000)
	libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xf70de000)
	libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf70c2000)
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf70af000)
	libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf70ab000)
	libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf70a5000)
	libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf70a2000)
	libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf7089000)
	libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xf7083000)
	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf707d000)
	libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf706d000)
	/lib/ld-linux.so.2 (0xf76e7000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7069000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7061000)
$ ldd My\ project.x86_64 
	linux-vdso.so.1 =>  (0x00007fff6f7fe000)
	libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007fc6bbc43000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fc6bb90e000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fc6bb6a5000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fc6bb437000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc6bb219000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc6bb014000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc6bad10000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc6baa0a000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc6ba644000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc6ba43c000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fc6ba21d000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fc6b9ff2000)
	libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fc6b9def000)
	libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fc6b9bec000)
	libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fc6b99e5000)
	libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fc6b97e3000)
	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fc6b95b5000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fc6b93a2000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fc6b919f000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fc6b8f99000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fc6b8d96000)
	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fc6b8b7f000)
	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fc6b897a000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fc6b8773000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fc6b8565000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc6b834e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc6bbec2000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fc6b814a000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fc6b7f44000)
$ gdb My\ project.x86_64
(gdb) run
Starting program: /home/kollad/work/defold-projects/tutorial/My project/My project.x86_64 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 25265) exited with code 01]

@jakob.pogulis

Thank you for all of your hard work on the Linux 64-bit version.

When I tried to launch Defold, I got this error in a log:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f67baaed2a1, pid=7187, tid=140086265181952

JRE version: Java™ SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)

Java VM: Java HotSpot™ 64-Bit Server VM (25.5-b02 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libsoup-2.4.so.1+0x6c2a1] soup_session_feature_detach+0x11

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Please help! :anguished:

Thanks.

I recall that error, might be a long shot, but did you try the Defold_linux.sh file and not the regular Defold binary? :slight_smile:

2 Likes

Hello!

That problem occurs when an incompatible library is used to display web content within eclipse, you probably have libwebkitgtk installed? If so the solution should be to add the following line to the configuration file Defold.ini at the top directory, that will ensure Mozilla is selected to display web content, which is required by the editor. This will of course be taken care of before the release.

-Dorg.eclipse.swt.browser.DefaultType=mozilla

As for those of you who receive FATAL:ENGINE: Could not open window error. To the extent that I’ve been able to reproduce it, it seems to occur when the engine is unable to locate a specific OpenGL function during initialization. I can reproduce it within a virtual machine by executing the engine without proper (VirtualBox) drivers installed, when the guest additions are installed, the problem disappears. It seems unlikely to me that so many people would be running without proper drivers, so I will need to verify we’re not dealing with multiple causes for the same symptom.

Edit: and as sven said, make sure you’re running Defold-linux.sh and not Defold.

// J

2 Likes

Yes! It worked! Thank you @jakob.pogulis

1 Like

But how do you explain it works with the 32 bits version ? I think the libraries are the same except they are compiled for 32/64 bits in regular distributed packages.

Here are the relevant (I think) libraries I use on my system. They are all (i386/amd64) of the same version, so should have the same API.

ii  libgl1-mesa-dri:amd64             10.1.3-0ubuntu0.6     amd64
ii  libgl1-mesa-dri:i386              10.1.3-0ubuntu0.6     i386
ii  libgl1-mesa-glx:amd64             10.1.3-0ubuntu0.6     amd64
ii  libgl1-mesa-glx:i386              10.1.3-0ubuntu0.6     i386  

Same here:

INFO:ENGINE: Defold Engine 1.2.76 (215b8a2)
FATAL:ENGINE: Could not open window (-2).

1 Like

Yep, @gamma, @jakob.pogulis, I get this build error too:

INFO:ENGINE: Defold Engine 1.2.76 (215b8a2)
FATAL:ENGINE: Could not open window (-2).

Here’s my most recent error log from my inability to build the tutorial platformer here: http://www.defold.com/tutorials/getting-started/

Log:

!SESSION 2016-03-26 19:07:43.084 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.ui 4 0 2016-03-27 12:03:24.026
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3537)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.dynamo.cr.editor.Application.start(Application.java:42)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Widget.error(Widget.java:480)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:417)
at org.eclipse.swt.widgets.Widget.getData(Widget.java:534)
at com.dynamo.cr.properties.FormPropertySheetViewer.refresh(FormPropertySheetViewer.java:113)
at com.dynamo.cr.properties.FormPropertySheetViewer.setInput(FormPropertySheetViewer.java:353)
at com.dynamo.cr.properties.FormPropertySheetPage.setSelection(FormPropertySheetPage.java:105)
at com.dynamo.cr.sceneed.ui.SceneView.refresh(SceneView.java:59)
at com.dynamo.cr.sceneed.core.ScenePresenter.stateChanged(ScenePresenter.java:123)
at com.dynamo.cr.sceneed.core.SceneModel$DelayedUpdateStatus.run(SceneModel.java:97)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
… 23 more
!SESSION 2016-03-27 14:15:52.363 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.core.resources 2 10035 2016-03-27 14:15:56.302
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.core.resources 4 2 2016-03-27 14:27:10.842
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
!STACK 1
org.eclipse.core.runtime.CoreException: Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:177)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
… 12 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more
!SUBENTRY 1 com.dynamo.cr.editor 4 75 2016-03-27 14:27:10.844
!MESSAGE Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
!STACK 0
com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more
!SUBENTRY 1 com.dynamo.cr.editor 4 75 2016-03-27 14:27:10.845
!MESSAGE Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
!STACK 0
com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more

!ENTRY org.eclipse.core.resources 4 566 2016-03-27 14:27:10.938
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.dynamo.cr.editor 4 75 2016-03-27 14:27:10.938
!MESSAGE Errors running builder ‘Content Builder’ on project ‘Tutorial Platformer’.
!STACK 1
org.eclipse.core.runtime.CoreException: Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:177)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
… 12 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more
!SUBENTRY 2 com.dynamo.cr.editor 4 75 2016-03-27 14:27:10.938
!MESSAGE Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
!STACK 0
com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more
!SUBENTRY 1 com.dynamo.cr.editor 4 75 2016-03-27 14:27:10.939
!MESSAGE Build failed: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
!STACK 0
com.dynamo.bob.CompileExceptionError: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.build(Project.java:261)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.LaunchHandler$1.run(LaunchHandler.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at com.dynamo.bob.Project.doCreateTask(Project.java:159)
at com.dynamo.bob.Project.doCreateTask(Project.java:140)
at com.dynamo.bob.Project.createTasks(Project.java:228)
at com.dynamo.bob.Project.doBuild(Project.java:419)
at com.dynamo.bob.Project.build(Project.java:256)
… 13 more
Caused by: java.io.FileNotFoundException: /home/kimberlycrawley/Downloads/Defold-linux.gtk.x86_64/branches/17004/7794/Master (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at com.dynamo.bob.fs.DefaultResource.getContent(DefaultResource.java:27)
at com.dynamo.bob.pipeline.ProtoUtil.merge(ProtoUtil.java:16)
at com.dynamo.bob.pipeline.CollectionBuilder.collectSubCollections(CollectionBuilder.java:44)
at com.dynamo.bob.pipeline.CollectionBuilder.create(CollectionBuilder.java:99)
at com.dynamo.bob.Project.doCreateTask(Project.java:153)
… 17 more

Hey!

There’s now a new alpha version of the editor for 64 bit Linux ready for testing. We have addressed the issues with a missing configuration to use Mozilla for web content and the “Could not open window” error.

The issue where a window could not be opened is related to the (Open)GL version running. Even though I think this fix should address the problem I would be glad if those of you who are running Ubuntu could report back on the result of the following command for further debugging.

You will need to install mesa-utils first
$ sudo apt-get install mesa-utils
$ glxinfo 2>/dev/null | grep version

The latest alpha version for Linux 64bit can be downloaded using the link below. Since this is an alpha channel no automatic updates will occur, and I strongly advice everyone to delete the previous version once you’ve synchronised any project changes you might have made using the previous version. It is important to note that any changes made to a project in the previous editor has to be synchronised before the previous alpha version is removed, otherwise changes might be lost.

Thanks for all of your help testing and reporting problems, it has really helped us to address these issues! If you experience any additional problems please continue to report them in this thread (ping @jakob.pogulis!) and I will get back to you as soon as possible.

(Link has been removed)

3 Likes

Hello @lstep, @Fallendown, @Todor_Imreorov, @Luis_Cabellos, @kollad, @Crowgirl, @sven, @gamma!

Thanks for all your help in testing and reporting issues with the x64 editor, your reports and quick feedback has been a lot of help in narrowing down the problems and improving the editor. There’s now a new version available that should address the issues you’ve reported. I’ve managed to recreate the FATAL:ENGINE: Could not open window error. problem and it should be resolved, but since it’s driver-related I would be thankful if you all could give it another try! :slight_smile:

Regards,
Jakob

4 Likes

I’ll try implementing your advice right now. Thanks for all of your hard work, @jakob.pogulis

3 Likes

@jakob.pogulis here is the output:

$ glxinfo 2>/dev/null | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.3.13399 Core Profile Context 13.101
OpenGL core profile shading language version string: 4.40
OpenGL version string: 4.5.13399 Compatibility Profile Context 13.101
OpenGL shading language version string: 4.40
2 Likes

@jakob.pogulis I just quickly tested the new alpha release, the FATAL:ENGINE: Could not open window error is corrected for me.

About the executables. on one of my computers both 32 & 64 bits versions work perfectly. On another one (all of them are Ubuntu Linux 14.04), the window displays the first “image” (for default, it displays the logo, for the side scroller, it displays the UFO, the background) but it is all frozen. The ESC key doesn’t quit as the app seems to be crashed but frozen.
With strace I noticed there is a ~/.Defold/_crash that keeps being generated in a loop. Its content is:

/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x62c994]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f8376fb1340]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x58f662]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x40ca01]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x40d28f]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x477ac4]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x40d4ec]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x40d5fb]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x409334]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f83763efec5]
/home/lstep/Apps/DEFOLD/plugins/com.dynamo.cr.engine_1.0.0.201603291545/engine/x86_64-linux/dmengine[0x409196]
1 Like

If you run the command I mentioned above on both computers, do they have the same OpenGL version? Do they both have the same graphics vendor or are there any differences there?

1 Like

On the working Linux (NVIDIA card):

$ glxinfo 2>/dev/null | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.3.0 NVIDIA 352.63
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL version string: 4.5.0 NVIDIA 352.63
OpenGL shading language version string: 4.50 NVIDIA

On the one that is freezing (Radeon video card):

$ glxinfo 2>/dev/null | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.3.13399 Core Profile Context 13.101
OpenGL core profile shading language version string: 4.40
OpenGL version string: 4.5.13399 Compatibility Profile Context 13.101
OpenGL shading language version string: 4.40
1 Like

In my case it is failing with a NVIDIA card on Linux Mint 17.3 (Ubuntu 14.04.4 LTS). I have:

$ lspci | grep -i nvidia
07:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

cabellos@tormekia:~ $ glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.3.0 NVIDIA 364.12
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL version string: 4.5.0 NVIDIA 364.12
OpenGL shading language version string: 4.50 NVIDIA
2 Likes

“Build and Run” works for me. Linux Mint 17.1 Rebecca.

kollad@kollad:~/work$ glxinfo 2>/dev/null | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.3.0-devel (git-b72156c 2016-03-21 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 11.3.0-devel (git-b72156c 2016-03-21 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.3.0-devel (git-b72156c 2016-03-21 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
2 Likes

Hello @Luis_Cabellos, is the engine failing in the same manner as @lstep describes or does it terminate completely? Could you check if there’s a crash report generated for you as well, you should find it at ~/.Defold/_crash?

@lstep, what drivers do you have installed on the computer that is failing? Are they generic or vendor specific?

1 Like

Great to hear! Please keep me updated if you run into any problems :slight_smile:

2 Likes