Failed to launch GPU process

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Failed to launch GPU process

Postby rashid301 » Mon Apr 23, 2018 1:25 am

I am working with Cef build cef_binary_3.3325.1750_windows32.
I have successfully managed to generate Visual Studio 2012 Project and run the cefclient.

I am working on an application that was built using build 3.2171.1979_windows32.
I have made all the necessary changes to upgrade to the new build cef_binary_3.3325.1750_windows32 making it as close as possible to the cefclient that I got working.

But the GPU process keeps crashing showing just 2 lines.
Code: Select all
[0423/021601.850:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.
[0423/021601.850:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context.

In the task manager, I can see that the GPU process starts briefly and then disappears.

What could be the cause of this failure?
Are there more logs somewhere from chromium or cef that could provide a little more info for debugging?
rashid301
Techie
 
Posts: 13
Joined: Wed Oct 15, 2014 11:04 am

Re: Failed to launch GPU process

Postby Phylanx » Mon Apr 23, 2018 1:44 am

I can just guess, but between 3.3325 (January 2018) and 3.2171 (October 2014) are loads of changes.
That might be a huge step for your application. Maybe you missed an upgrade step?

Also a requirement for 3.3325 is VS2017, not VS2012.
Retry after compiling with VS2017.
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am

Re: Failed to launch GPU process

Postby rashid301 » Mon Apr 23, 2018 2:11 am

Hi Phylanx,
Thank you for the response.

I want to use VS2017 later. However, my application is very old and did not compile smoothly on VS2017. Also, new cefclient is working perfectly on VS2012, which gave me confidence that my App must also work fine with VS2012.
Nevertheless, I will try your suggestion to rebuild on VS2017. Please let me know if you have anymore ideas especially how to debug in scenarios such as this. Thank you.
rashid301
Techie
 
Posts: 13
Joined: Wed Oct 15, 2014 11:04 am

Re: Failed to launch GPU process

Postby ndesktop » Mon Apr 23, 2018 7:31 am

Starting with 3239 the build must be done with Win 7+, VS2017 15.3.2+, Win10.0.15063.468 SDK, Ninja.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Failed to launch GPU process

Postby Phylanx » Tue Apr 24, 2018 1:12 am

Hi!

These requirements apply only for the build of the CEF binaries. They have to be built with VS 2017.
Your own application can still be built with VS 2012, as I guess.

You just have to link the correct libraries.
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am

Re: Failed to launch GPU process

Postby rashid301 » Tue Apr 24, 2018 5:40 am

Hi Phylanx,

Thanks for the hint. :)
Reading your comment about CEF binaries made me check the new CEF binaries.
The new CEF binaries have a swiftshader folder with couple of DLL. My project was not aware of them. So it was not copying them to the destination output folder. After I copied them, GPU process is working again.

I have also updated my project to build with Visual Studio 2017 including the libcef_dll_wrapper.
rashid301
Techie
 
Posts: 13
Joined: Wed Oct 15, 2014 11:04 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 24 guests