I have built CEF v76 release branch 3809 for Linux. I run cefclient using the following cmd line
- Code: Select all
./cefclient --autoplay-policy=no-user-gesture-required --ppapi-flash-path=/usr/lib64/chromium/PepperFlash/libpepflashplayer.so --ppapi-flash-version=32.0.0.238 --ignore-gpu-blacklist
The log output is
- Code: Select all
[0903/092705.260719:ERROR:gl_surface_glx.cc(78)] XGetWindowAttributes failed for window 12582916.
[0903/092705.261052:ERROR:gl_surface_glx.cc(817)] Failed to get GLXConfig
[0903/092705.261117:ERROR:gpu_info_collector.cc(50)] gl::GLContext::CreateOffscreenGLSurface failed
[0903/092705.261174:ERROR:gpu_info_collector.cc(179)] Could not create surface for info collection.
[0903/092705.261231:ERROR:gpu_init.cc(64)] gpu::CollectGraphicsInfo failed.
[0903/092705.267372:WARNING:x11_util.cc(1430)] X error received: serial 173, error_code 8 (BadMatch (invalid parameter attributes)), request_code 78, minor_code 0 (X_CreateColormap)
[0903/092705.267629:WARNING:x11_util.cc(1430)] X error received: serial 183, error_code 12 (BadColor (invalid Colormap parameter)), request_code 1, minor_code 0 (X_CreateWindow)
[0903/092705.267706:WARNING:x11_util.cc(1430)] X error received: serial 184, error_code 3 (BadWindow (invalid Window parameter)), request_code 3, minor_code 0 (X_GetWindowAttributes)
[0903/092705.268170:ERROR:viz_main_impl.cc(170)] Exiting GPU process due to errors during initialization
[0903/092705.269353:WARNING:x11_util.cc(1430)] X error received: serial 186, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[0903/092705.308230:WARNING:gpu_process_host.cc(1186)] The GPU process has crashed 1 time(s)
[0903/092705.432553:WARNING:gpu_process_host.cc(962)] Reinitialized the GPU process after a crash. The reported initialization time was 49 ms
[0903/093141.047578:ERROR:cefclient_gtk.cc(50)] Received termination signal: 15
[0903/093141.061427:WARNING:gpu_process_host.cc(1186)] The GPU process has crashed 2 time(s)
[0903/093141.193275:WARNING:gpu_process_host.cc(962)] Reinitialized the GPU process after a crash. The reported initialization time was 54 ms
When I check chrome://gpu it shows that we are using software rendering.
Using CEF v72 release branch 3626 on the same system will use hardware acceleration.
I know there is a big time gap between v72 and v76. Is there anything I need to enable or build into Linux so that v76 is hardware accelerated again?