OffScreen Rendering GPU 2623

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.

Re: OffScreen Rendering GPU 2623

Postby fokz » Sun Jun 19, 2016 12:26 pm

Well I have nVidias Optimus system so maybe this is the case. It has along with Intel HD also GeForce GTX 860M
fokz
Techie
 
Posts: 22
Joined: Sat Jun 18, 2016 10:53 am

Re: OffScreen Rendering GPU 2623

Postby fddima » Sun Jun 19, 2016 12:31 pm

fokz wrote:Well I have nVidias Optimus system so maybe this is the case. It has along with Intel HD also GeForce GTX 860M


Try to disable or force your's discrete video for your's/ cefclient app to be sure that this is this case. If it this then i'm sure that seen some issues with it somewhere with cef and even chromium, but can't remember exactly... google it. :-)
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: OffScreen Rendering GPU 2623

Postby fokz » Wed Jun 22, 2016 12:13 pm

fddima wrote:
fokz wrote:Well I have nVidias Optimus system so maybe this is the case. It has along with Intel HD also GeForce GTX 860M


Try to disable or force your's discrete video for your's/ cefclient app to be sure that this is this case. If it this then i'm sure that seen some issues with it somewhere with cef and even chromium, but can't remember exactly... google it. :-)


By default the integrated Intel HD was used. I forced the usage of nVidia GPU using the documented 'trick' to enable high performance GPU, namely:
Code: Select all
extern "C" {
  _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}


Yet I see no difference in the behaviour whatsover it still blinks and crashes. Can it be connected to the fact that my APP initialized OpenGL on it's own and that messes up with CEF? Although as far as I remember Chromium uses ANGLE so it actually must initialize DirectX for the renderer process right? Can this conflict somehow? Anyway if this did not happen in previous branch and downgrading EGL and GLESv2 libs patched the renderer process crashing problem something is clearly fishy here.
fokz
Techie
 
Posts: 22
Joined: Sat Jun 18, 2016 10:53 am

Re: OffScreen Rendering GPU 2623

Postby azeno » Tue Dec 06, 2016 7:04 am

Had the same issues as described here using Xilium.CefGlue (3.2840.1513.gf7effc7) - solution for me was to add
Code: Select all
  <application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
    </windowsSettings>
  </application>

to app.manifest file of the browser sub process.

Hope that helps someone else.
azeno
Newbie
 
Posts: 1
Joined: Tue Dec 06, 2016 6:59 am

Re: OffScreen Rendering GPU 2623

Postby JipBoes » Mon Feb 20, 2017 4:30 am

Same issue on Win7 64bit, build: 3.2704.1427.g95055fe
JipBoes
Newbie
 
Posts: 8
Joined: Thu Aug 18, 2016 2:06 pm

Re: OffScreen Rendering GPU 2623

Postby solarisx » Wed Jul 26, 2017 9:46 am

Same issue on Windows 10 Pro 64bit (1703) with Nvidia GTX 1080 and AMD Ryzen 7 1700X. No second graphics card.
CEF version cef_binary_3.2704.1434.gec3e9ed_windows32.

I try to use off-screen rendering of a website with webgl content. Result is continuously closing and opening of browser windows.
Error:
Code: Select all
[0726/163419:ERROR:gpu_process_transport_factory.cc(669)] Lost UI shared context.
[0726/163420:ERROR:gpu_process_transport_factory.cc(669)] Lost UI shared context.
[0726/163422:ERROR:gpu_process_transport_factory.cc(669)] Lost UI shared context.

Command Arguments are: --off-screen-rendering-enabled --enable-gpu

Have not tried the latest cef version. Is it worth the effort?

Greets
Last edited by solarisx on Thu Jul 27, 2017 12:13 am, edited 1 time in total.
solarisx
Techie
 
Posts: 11
Joined: Fri Jul 21, 2017 2:08 pm

Re: OffScreen Rendering GPU 2623

Postby magreenblatt » Wed Jul 26, 2017 10:03 am

3071 branch and newer uses swiftshader to support WebGL with software rendering.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 28 guests

cron