cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.76k stars 2.92k forks source link

WinForm - 123.0.60 disable-gpu-compositing #4781

Closed Mxater closed 2 months ago

Mxater commented 2 months ago

Is there an existing issue for this?

CefSharp Version

123.0.60

Operating System

Windows 11

Architecture

x64

.Net Version

.netFramework v4.7.1

Implementation

WinForms

Reproduction Steps

            var settings = new CefSettings();
            settings.LogSeverity = LogSeverity.Disable;
            settings.DisableGpuAcceleration();
            settings.PersistSessionCookies = true;
            settings.CefCommandLineArgs.Add("disable-gpu-sandbox", "1");
            settings.CefCommandLineArgs.Add("disable-gpu-compositing", "1");
            settings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
            Cef.Initialize(settings);
            InitializeComponent();
           browser.Load("https://www.google.cl");

Expected behavior

I want to open google webpage

Actual behavior

Throw error [0416/114021.258:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

No

Other information

This stop working after windows update, example works fine.

Mxater commented 2 months ago

I add more logs:

[0416/114802.938:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114802.938:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 1 time(s)
[0416/114803.138:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[0416/114805.468:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114805.468:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 2 time(s)
[0416/114805.593:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[0416/114807.900:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114807.900:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 3 time(s)
[0416/114808.114:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[0416/114810.011:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114810.011:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 4 time(s)
[0416/114810.458:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[0416/114812.584:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[0416/114812.626:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114812.626:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 5 time(s)
[0416/114814.810:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=-532462766
[0416/114814.810:WARNING:gpu_process_host.cc(1436)] The GPU process has crashed 6 time(s)
[0416/114814.810:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.