-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nativeRun - Error initializing QuantumRenderer: no suitable pipeline found #57
Comments
Thanks @shashaanktulsyan you pointed me in the right direction. When executing NativeRun this error of: (Executing './gradlew run' works OK) When I executed the compiled JavaFX image on my HOST Ubuntu 18.04.4 (I had switched my host OS from Windows to Ubuntu since the original posting above) using this terminal command I conclude from this that the native compiled image running on my host picks up and successfully uses my Nvidia graphics card (Geforce GTX 1650), whereas the virtualbox graphics controller on my guest VM doesn't work with the native compiled image. I tried using the virtualbox setting of '3D acceleration' but this did not help. Also I am now using this plugin version: but when I use this in my build.gradle: I get this error when trying to use enableSWRendering: |
Upgrade plugin to 0.1.27, and also upgrade GraalVM from https://github.com/graalvm/graalvm-ce-dev-builds/releases, and try again? |
I get a nativeCompile error with 0.1.27 and this:
any plugin version above 0.1.21 I get this nativeCompile error: |
I have upgraded my GraalVM & I use this in my build.gradle:
|
The plugin 0.1.27 should work fine (just tested it on Mac and Linux), but I just noticed a bug in the |
Thanks for the confirmation & testing of 0.1.27, very good to know, and for the bug. |
Executing nativeRun of the sample HelloFX (after successful nativeCompile and nativeLink) I get this error:
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
HelloFX runs successfully using ./gradlew run
Any thoughts?
My environment is:
In order to achieve successful nativeCompile & nativeLink I have needed to install on my Ubuntu system:
sudo apt-get install cmake libx11-dev xorg-dev libglu1-mesa-dev freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libglfw3-dev libglfw3
Here's the output:
[INFO] [SUB] InitializeEncoding is now (lazily) called
[INFO] [SUB] ONLOAD PRISM_ES2
[INFO] [SUB] Graphics Device initialization failed for : es2, sw
[INFO] [SUB] Error initializing QuantumRenderer: no suitable pipeline found
[INFO] [SUB] java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
[INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
[INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:243)
[INFO] [SUB] at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:260)
[INFO] [SUB] at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
[INFO] [SUB] at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
[INFO] [SUB] at java.lang.Thread.run(Thread.java:834)
[INFO] [SUB] at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:460)
[INFO] [SUB] at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
[INFO] [SUB] Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
[INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
[INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
[INFO] [SUB] ... 3 more
[INFO] [SUB] Exception in thread "main" java.lang.RuntimeException: No toolkit found
[INFO] [SUB] at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272)
[INFO] [SUB] at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
[INFO] [SUB] at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
[INFO] [SUB] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
[INFO] [SUB] at java.lang.Thread.run(Thread.java:834)
[INFO] [SUB] at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:460)
[INFO] [SUB] at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
BUILD SUCCESSFUL in 2s
2 actionable tasks: 1 executed, 1 up-to-date
Omega :: host triplet = x86_64-linux-linux
Omega :: target triplet = x86_64-linux-linux
12:32:31: Task execution finished nativeRun.
In addition trying adoptOpenJDK 11.0.5+10 I get a nativeLink error:
undefined reference to Java_sun_security_pkcs11_wrapper_PKCS11_createNativeKey
The text was updated successfully, but these errors were encountered: