c# - CEF with ChromiumFX "failed to establish GPU channel" error when run in VS debugger -
i running winforms app using standard chromiumfx , chromiumwebbrowser components. cef version 3.2171.2069_windows32, , chromiumfx 3.2171.1979.9, referenced dlls.
i have 1 form has chromiumwebbrowser control. app start-up code same here. when download source , run it, test application runs ok in vs debugger. using more recent cef , fx version.
in app when run in debugger shows empty form , cef log contains entry:
[0724/004741:error:gpu_process_transport_factory.cc(437)] failed establish gpu channel.
when run compiled exe outside of vs, runs fine. can't figure out problem be. tried running without sandbox, tried running in debug , in release.
so, reproduce, download chromiumfx , cef version 3.2171.2069 (from here. create winforms project, reference chromiumfx , chromiumwebbrowser. add 1 form containing webbrowser, update program.cs match 1 shown earlier. , copy cef files paths defined in program.cs.
after off-list discussion op problem found:
you have disable "enable visual studio hosting process" checkbox in project properties->debug. interferes secondary processes.
alternatively, use cfxsettings.browsersubprocesspath
, specify path executable.
Comments
Post a Comment