webview_cef icon indicating copy to clipboard operation
webview_cef copied to clipboard

windows runtime error: GPU process isn't usable. Goodbye

Open bb-coder opened this issue 2 years ago • 11 comments

[1122/180616.560:ERROR:alloy_main_delegate.cc(554)] Could not load chrome_100_percent.pak [1122/180616.561:ERROR:alloy_main_delegate.cc(563)] Could not load chrome_200_percent.pak [1122/180616.572:INFO:content_main_runner_impl.cc(1173)] Chrome is running in full browser mode. [1122/180622.280:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180622.735:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180622.735:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 1 time(s) [1122/180627.253:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180628.370:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180628.370:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 2 time(s) [1122/180632.338:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180634.219:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180634.219:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 3 time(s) [1122/180636.886:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180638.248:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180638.248:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 4 time(s) [1122/180641.843:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180642.555:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180642.555:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 5 time(s) [1122/180646.750:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. [1122/180647.536:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=-1073741502 [1122/180647.536:WARNING:gpu_process_host.cc(1279)] The GPU process has crashed 6 time(s) [1122/180647.536:FATAL:gpu_data_manager_impl_private.cc(447)] GPU process isn't usable. Goodbye.

bb-coder avatar Nov 22 '22 10:11 bb-coder

这个比较奇怪,能否提供下系统版本?

hlwhl avatar Nov 22 '22 14:11 hlwhl

看起来chromium的子进程都启动失败了

hlwhl avatar Nov 22 '22 14:11 hlwhl

Win10企业版 20H2

bb-coder avatar Nov 22 '22 15:11 bb-coder

19042.2251

bb-coder avatar Nov 22 '22 15:11 bb-coder

demo工程没问题,可以正常运行,这个错误只在我的项目中出现,我是按照install步骤做的,不知道是否差一些配置?

bb-coder avatar Nov 23 '22 07:11 bb-coder

@bb-coder 看下你的产物目录下这些文件是否拷贝进去了呢?https://github.com/hlwhl/webview_cef/blob/3aece36f32e3a575879473c6f4c1f38f681e9682/windows/CMakeLists.txt#L68-L80

hlwhl avatar Nov 23 '22 08:11 hlwhl

这些是需要我手动拷贝的吗?

bb-coder avatar Nov 23 '22 08:11 bb-coder

@hlwhl 在如下目录有上述文件 .plugin_symlinks/webview_cef/windows

bb-coder avatar Nov 23 '22 08:11 bb-coder

@hlwhl 在如下目录有上述文件 .plugin_symlinks/webview_cef/windows

@bb-coder 不需要,会自动拷贝。看下你打包生成的可执行文件的目录吧 build/windows/runner/Debug,检查一下文件全不全呢。

你的app windows\runner\main.cpp 文件中 main方法是否有调用initCEFProcesses ?

hlwhl avatar Nov 23 '22 09:11 hlwhl

有调用initCEFProcesses

bb-coder avatar Nov 23 '22 09:11 bb-coder

文件是全的

bb-coder avatar Nov 23 '22 09:11 bb-coder