lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework
BSD 3-Clause "New" or "Revised" License
94 stars 29 forks source link

Update CEF Demo to use multiple helper app bundles #41

Closed asif-mistry closed 4 years ago

asif-mistry commented 4 years ago

Latest Cef Demo app fails to run after successful build.

[0428/182914.654404:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 1 time(s)
[0428/182914.656717:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 2 time(s)
[0428/182914.658700:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 3 time(s)
[0428/182914.660397:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 4 time(s)
[0428/182914.662200:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 5 time(s)
[0428/182914.664022:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 6 time(s)
[0428/182914.665793:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 7 time(s)
2020-04-28 18:29:15.967900+0530 CEFDemo[11374:84964] Metal API Validation Enabled
Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.
[0428/182917.408874:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 8 time(s)
2020-04-28 18:29:18.369486+0530 CEFDemo[11374:84964] [logging-persist] cannot open file at line 43353 of [378230ae7f]
2020-04-28 18:29:18.369950+0530 CEFDemo[11374:84964] [logging-persist] os_unix.c:43353: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
[0428/182918.874837:WARNING:gpu_process_host.cc(1220)] The GPU process has crashed 9 time(s)
[0428/182918.874942:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.

After searching online I found this forum link which mentions helper app bundles.

More information could be found on CefPython repo.

Can you please Update CEF.swift to use these helper bundles or provide a workaround.

lvsti commented 4 years ago

Please check out the https://github.com/lvsti/CEF.swift/tree/cef_3987 branch (Chromium 80) to see if it solves your problem

asif-mistry commented 4 years ago

Thanks for the quick update. Closing this issue as its resolved in cef_3987 branch.