79.x Exiting GPU process due to errors during initialization

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

79.x Exiting GPU process due to errors during initialization

Postby user6294 » Thu Jun 18, 2020 6:23 am

Hi

58.x => 79.x upgrade

App similar to CefClient

We run with 'disable-gpu', 'disable-gpu-compositing' flags set in OnBeforeCommandLineProcessing(), and this works fine in 58.x

In 79.x, I see this in dbgview

// the -type other process exiting
[PID 20412] [0618/114157.456:ERROR:viz_main_impl.cc(180)] Exiting GPU process due to errors during initialization
// the browser host process reporting that the -type other process exited
[PID 22248] [0618/114157.476:WARNING:gpu_process_host.cc(1213)] The GPU process has crashed 1 time(s)

and the main browser host processe that called CefExecuteProcess() returned 4

// CefExecuteProcess() returned 4 (called from main browser host process 22248)
[chr.16184; 2020-06-18 11:41:57.458031; WinMain#166; INFO ]: this (parent) process will exit [PID 20412] CefExecuteProcess() returned exitCode = 4

All our processes are starting up correctly and stable. And I can quit correctly/gracefully.

Do I need to be concerned about this (i.e. will there be a knock on effect later - that I may not be aware of)

Thanks very much
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: 79.x Exiting GPU process due to errors during initializa

Postby magreenblatt » Thu Jun 18, 2020 9:07 am

What OS? Does the problem reproduce with the CEF sample apps?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: 79.x Exiting GPU process due to errors during initializa

Postby user6294 » Thu Jun 18, 2020 10:40 am

Windows 7 Pro-64bit latest, no it doesn't generate the same error message

cefclient.exe --off-screen-rendering-enabled
or
cefclient.exe --disable-gpu --disable-gpu-compositing

yields this:

[5372] [0618/162113.595:INFO:content_main_runner_impl.cc(976)] Chrome is running in full browser mode.
[5372] [0618/162113.620:ERROR:viz_process_transport_factory.cc(306)] Switching to software compositing.

[1524] [0618/162114.010:ERROR:direct_composition_surface_win.cc(235)] EGL_ANGLE_flexible_surface_compatibility not supported
[1524] [0618/162114.016:INFO:media_foundation_video_encode_accelerator_win.cc(351)] Windows versions earlier than 8 are not supported.
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: 79.x Exiting GPU process due to errors during initializa

Postby magreenblatt » Thu Jun 18, 2020 11:26 am

How does it behave if you run cefclient.exe with no flags, or `cefclient.exe --off-screen-rendering-enabled --enable-gpu`?

Are you using off-screen rendering in your application? Why are you disabling the GPU?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: cmp4694, Google [Bot] and 53 guests