I believe the host helper process path name that is set via CefSettings::browser_subprocess_path needs to be an absolute path as of CEF 83 so I changed my code accordingly. In my test app, the host helper is along side the executable and things work as expected. In my main application, the code is in a DLL and the host helper is in a different directory. In this case, there are no crashes but nothing is rendered. The CEF log file contains:
- Code: Select all
[0223/172646.997:VERBOSE1:gpu_init.cc(354)] gl::init::InitializeStaticGLBindingsOneOff failed
[0223/172647.009:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[0223/172647.168:VERBOSE1:gpu_init.cc(354)] gl::init::InitializeStaticGLBindingsOneOff failed
[0223/172647.180:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
[0223/172647.185:ERROR:browser_gpu_channel_host_factory.cc(168)] Failed to launch GPU process.
so I tried turning off the GPU via the --disable-gpu command line parameter. That makes things work correctly but WebGL pages no longer work of course and that's an issue for us.
I don't know of a way to try this configuration in cefclient - it uses itself for the host process if I remember correctly.
Is this maybe a known issue or is there a way I can try to debug what's going on ? I tried looking at the Chromium source https://chromium.googlesource.com/chrom ... nit.cc#354 but that didn't help *me* much.