I need to run the AGA simulator on my Ubuntu 14.10 64-bit machine as part of testing/developing a module of a software system. Unfortunately it is not executing. The error message I get is
Graphics Device initialization failed for: es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:220)
...
Exception thrown from main method of combitech/aga/SimulatorApplication
Exception in thread "main" java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:185)
...
at com.sun.javafx.application.LauncherImpl$$Lambda$3/22713019.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
At the same machine booting Windows 8, the application executes without any error. I'm not sure if this is an error because of faulty environment variables, bad graphics drivers or some other incompatibility. This thread suggests that it is a JavaFX error and to start the program with -Dprism.verbose=true
. But that is not possible since the emulator is distributed with a wrapper executable to start it.
Googling the error does not give any further suggestion than to check that my GTK version is above 2.18. Which it seems to be:
ii libgtk-3-0:amd 3.12.2-0ubun amd64 GTK+ graphical user interface lib
ii libgtk2.0-0:am 2.24.25-0ubu amd64 GTK+ graphical user interface lib
For all I can see my machine is within spec (or rather with specs over the roof) to run the application.
My java -version
returns the following
openjdk version "1.8.0_40-internal"
OpenJDK Runtime Environment (build 1.8.0_40-internal-b09)
OpenJDK 64-Bit Server VM (build 25.40-b13, mixed mode)
According to my question at Stack exchange Meta the error is replicated on a Debian machine and not Ubuntu specific. The error is not present at 12.04 LTS according to JasonC.
The error described is not present in the 1.0 release of the emulator.
Any suggestions or opinions?
I know this question is slightly borderline of what should be asked on SO. But from my discussion at Stack exchange Meta the community suggested that SO was the best possible place. It has also been asked at Ask Ubuntu without any answer for a reasonable amount of time. If you think this is inappropriate please comment or answer on the Meta thread and I will move it accordingly.