Failed to launch GPU process.

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Failed to launch GPU process.

Postby alexzhang » Mon Oct 22, 2018 4:33 am

I am working with Cef build cef_binary_3.3497.1840.gcd24143_windows32.
when I run the cefclient,the GPU process keeps crashing showing:

Code: Select all
[1022/165344.478:ERROR:browser_gpu_channel_host_factory.cc(132)] Failed to launch GPU process.
[1022/165344.480:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.


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?
alexzhang
Newbie
 
Posts: 3
Joined: Mon Oct 22, 2018 4:14 am

Re: Failed to launch GPU process.

Postby magreenblatt » Mon Oct 22, 2018 9:58 am

What windows version are you using? Are you running in a VM?

See https://chromium.googlesource.com/chrom ... ed_code.md and https://www.chromium.org/developers/how ... on-windows for GPU debugging tips. To get symbolized stack traces you can download symbols from the same place you got the binary distribution.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Failed to launch GPU process.

Postby ndesktop » Mon Oct 22, 2018 11:46 am

Usual causes are:

- compatibility manifest missing:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
   <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
      <application>
         <!-- Windows 7 -->
         <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
         <!-- Windows 8 -->
         <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
         <!-- Windows 8.1 -->
         <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
         <!-- Windows 10 -->
         <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>         
      </application>
   </compatibility>
</assembly>

- missing GL libs
- on linux export BROWSER=google-chrome[-stable]
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Failed to launch GPU process.

Postby alexzhang » Mon Oct 22, 2018 9:23 pm

magreenblatt wrote:What windows version are you using? Are you running in a VM?

See https://chromium.googlesource.com/chrom ... ed_code.md and https://www.chromium.org/developers/how ... on-windows for GPU debugging tips. To get symbolized stack traces you can download symbols from the same place you got the binary distribution.


I run the cefclient in a PC ,using windows 10.I get Embedded Framework from http://opensource.spotify.com/cefbuilds ... s32_builds, and the code from https://gitlab.com/xiliumhq/chromiumemb ... /tree/3497
alexzhang
Newbie
 
Posts: 3
Joined: Mon Oct 22, 2018 4:14 am

Re: Failed to launch GPU process.

Postby alexzhang » Mon Oct 22, 2018 10:07 pm

ndesktop wrote:Usual causes are:

- compatibility manifest missing:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
   <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
      <application>
         <!-- Windows 7 -->
         <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
         <!-- Windows 8 -->
         <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
         <!-- Windows 8.1 -->
         <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
         <!-- Windows 10 -->
         <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>         
      </application>
   </compatibility>
</assembly>

- missing GL libs
- on linux export BROWSER=google-chrome[-stable]


I try to add a manifest file, and GL libs: libEGL,libGLESv2,still not working.the GPU process keeps crashing showing:
Code: Select all
[1023/110138.136:ERROR:gpu_process_host.cc(575)] !GpuDataManagerImpl::GpuProcessStartAllowed()
[1023/110138.137:ERROR:gpu_process_host.cc(575)] !GpuDataManagerImpl::GpuProcessStartAllowed()
[1023/110138.137:ERROR:browser_gpu_channel_host_factory.cc(132)] Failed to launch GPU process.
[1023/110138.137:ERROR:gpu_process_transport_factory.cc(652)] Switching to software compositing.
[1023/110138.137:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.
alexzhang
Newbie
 
Posts: 3
Joined: Mon Oct 22, 2018 4:14 am

Re: Failed to launch GPU process.

Postby fddima » Tue Oct 23, 2018 12:24 am

Lol.

Where you add manifest? All applications (cefclient & cefglue demo already has embedded manifests).

What it you added libEGL? You should use all files and libraries from binary package. Read readmes, they describe which files needed.

First, you should get worked cefclient. Try debug build, it may hasmore meaningful errors.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: Failed to launch GPU process.

Postby ndesktop » Tue Oct 23, 2018 1:06 am

Run from console with --enable-logging --v=1 to get verbose messages.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 17 guests