Changes with render and GPU process? No log in console

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.

Changes with render and GPU process? No log in console

Postby michael » Fri Jan 12, 2018 9:47 am

Hi,

I'm trying to integrate CEF in OpenFrameworks and I've updated from 3071 to 3239. I'm talking about OSR, Windows 8.1, VS 2015.
The source on my side is still the same.

With the update to 3239 I'm not getting my log messages from the render process anymore. OF has a console window and I printed out the args of the new processes and some debug information, which I would need right now.
Did something change in CEF that this isn't possible anymore?
(With the same source and same CEF version, I'm using SendProcessMessage to talk to the render process and there to JS and back, and this is working on macOS)

And the other thing is that I also can't see a GPU process anymore. Earlier I could see 3 process in the Task manager, the application, GPU and Render process with the arguments. Now I only see the application and Render process.
How is that possible?

Thanks!
michael
Techie
 
Posts: 14
Joined: Thu Jun 29, 2017 9:28 am

Re: Changes with render and GPU process? No log in console

Postby michael » Sat Jan 13, 2018 11:18 am

I found out the problem with logging, it was totally on my side.

The thing with the GPU process is still a mystery to me. I've compiled the cefclient test and there is also no GPU process anymore. I mean everything works, I'm just curious.
michael
Techie
 
Posts: 14
Joined: Thu Jun 29, 2017 9:28 am

Re: Changes with render and GPU process? No log in console

Postby Czarek » Sat Jan 13, 2018 11:55 am

Is GPU process running when executing cefclient in windowed mode? The cefclient application when running in OSR mode by default passes the --disable-gpu and --disable-gpu-compositing flags, so this can be related.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Changes with render and GPU process? No log in console

Postby michael » Mon Jan 15, 2018 11:34 am

No, there is no GPU process anymore when running cefclient, even without any special flags, directly from VS.
michael
Techie
 
Posts: 14
Joined: Thu Jun 29, 2017 9:28 am

Re: Changes with render and GPU process? No log in console

Postby amaitland » Mon Jan 15, 2018 3:41 pm

Have you updated your graphics drivers to the latest version?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: Changes with render and GPU process? No log in console

Postby mohamedm » Tue Jan 16, 2018 9:05 am

Perhaps, it's switching to software rendering, for some reason. I believe SwiftShader support was added in 3071 (viewtopic.php?f=6&t=15336#p35739)

Mohamed
mohamedm
Techie
 
Posts: 18
Joined: Mon Oct 16, 2017 3:25 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 59 guests