Testing the most recent build of JCEF on CentOS 7 I run into problems with a VirtualBox VM that is apparantly not supported by the new 3D framework Vulkan (error messages given below)
To my surprise I can install Chromium on the same VM and it just works, opening chrome://gpu I find that this has disabled Vulkan so this looks like a solution !
I find some posts in the CEF forum about Vulkan and swiftshader, but in case of JCEF, is there a supported way I can disable Vulkan ? WebGL is not relevant to our application.
Note: the error I get running the included sample app using Java-11 is this:
0410/132624.413222:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[0410/132624.908216:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[0410/132624.982189:ERROR:angle_platform_impl.cc(44)] Display.cpp:966 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1271.
[0410/132624.983925:ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1271.
[0410/132624.984046:ERROR:gl_surface_egl.cc(1430)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0410/132624.985140:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
[0410/132624.993104:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
[0410/132625.030960:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is
BrowserFrame.onAfterCreated id=1
installing Vulkan, the vulkaninfo command says:
==========
VULKANINFO
==========
Vulkan Instance Version: 1.1.97
/builddir/build/BUILD/Vulkan-Tools-sdk-1.1.97.0/vulkaninfo/vulkaninfo.c:3847: failed with VK_ERROR_INITIALIZATION_FAILED