Description
When I ran the new 3D Viewer on Linux inside a Virtual Box VM, it would not show anything but instead keep printing
WARNING [javafx.scene....]: System can't support ConditionalFeature.SCENE3D
The same phoebus product worked fine on the Linux host as well as on a Mac.
But when running on Centos inside a VM, it showed that warning with both Oracle JDK 10 (build from master) and OpenJDK 11 (build from the java11 branch).
Same problem when connecting via ssh from the Linux host where everything was fine into the Centos VM, so the problem doesn't seem to be the X server.
What fixed it:
Adding -Dprism.forceGPU=true
.
Other suggestions found online:
-Dprism.verbose=true
generates a lot of output.
-Dcom.sun.javafx.experimental.embedded.3d=true
and -Dprism.glDepthSize=24
might help with 3D related problems as well, but didn't make a difference for me.