- Code: Select all
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GYP_MSVS_VERSION=2017
I am building now use_thin_lto=false added to GN_DEFINES, now is rebuilding.
In cefclient
- Code: Select all
#define CEF_USE_SANDBOX 1
What I have noticed:
- cefclient's GPU process is crashing 100% launched normally. If using --no-sandbox, cefclient starts normally
- only browser and network service processes are running with sandbox
- make distrib fails as eveyrone else's on combine_libs.py with error 1107 (invalid or corrupt file).
I am placing a lot of LOG(INFO) around GPU various initializations and maybe I will spot something.
It should be something related to sandbox, but I do not know enough about how sandbox inner gore works to emit a non-laughable opinion yet.
If I would bet, I think is a problem related to linking (/llvmlibthin perhaps?) because I see pretty normal things in the debug.log (the one that crashes GPU, with sandbox) and based on the linker error which tells me it might be a disagreement of some kind on linking.
Adding various LOG(INFO) in debug.log in
src\media\gpu\windows\dxva_video_decode_accelerator_win.cc
src\media\capture\video\win\video_capture_device_factory_win.cc
src\content\gpu\gpu_main.cc
- Code: Select all
[0422/121150.741:INFO:gpu_process_host.cc(1198)] [8.4.3][GpuProcessHost::LaunchGpuProcess] ok exe_path:C:\cef\90.5.4\chromium\src\out\Release_GN_x86\cefclient.exe
[0422/121150.741:INFO:gpu_process_host.cc(1296)] [8.4.6][GpuProcessHost::LaunchGpuProcess] success, returning true
[0422/121150.741:INFO:gpu_process_host.cc(906)] [8.5][GpuProcessHost::Init] LaunchGpuProcess ok, perform more initializations
[0422/121150.741:INFO:gpu_process_host.cc(946)] [8.6][GpuProcessHost::Init] returns true
[0422/121150.741:INFO:gpu_process_host.cc(593)] [7] host->Init() succeeded, returning host
[0422/121150.741:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=1
[0422/121150.741:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121150.741:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
[0422/121150.772:INFO:dxva_video_decode_accelerator_win.cc(1438)] ++ entering DXVAVideoDecodeAccelerator::PreSandboxInitialization
[0422/121150.788:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=0
[0422/121150.788:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121150.788:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
[0422/121150.788:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=1
[0422/121150.788:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121150.788:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
[0422/121150.788:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=1
[0422/121150.788:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121150.788:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
[0422/121150.834:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: http://www.google.com/
[0422/121150.850:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=1
[0422/121150.850:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121150.866:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
[0422/121150.897:INFO:dxva_video_decode_accelerator_win.cc(1399)] ++ entering DXVAVideoDecodeAccelerator::GetSupportedProfiles
[0422/121150.897:INFO:dxva_video_decode_accelerator_win.cc(1402)] [DXVAVideoDecodeAccelerator::GetSupportedProfiles] mfdll=mf.dll
[0422/121150.897:INFO:dxva_video_decode_accelerator_win.cc(1402)] [DXVAVideoDecodeAccelerator::GetSupportedProfiles] mfdll=mfplat.dll
[0422/121150.897:INFO:dxva_video_decode_accelerator_win.cc(1402)] [DXVAVideoDecodeAccelerator::GetSupportedProfiles] mfdll=msmpeg2vdec.dll
[0422/121151.866:INFO:gpu_process_host.cc(547)] [1] GpuProcessHost::Get kind=1 force_create=0
[0422/121151.866:INFO:gpu_process_host.cc(555)] [2] GpuProcessHost::Get ok gpu_data_manager->GpuProcessStartAllowed()
[0422/121151.867:INFO:gpu_process_host.cc(570)] [3] GpuProcessHost::Get ok g_gpu_process_hosts[1]
...
After this I am preparing also a 2019 community build:
- Code: Select all
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome use_thin_lto=false
set GYP_MSVS_VERSION=2019
Maybe someone else knowing more and/or familiar with GPU unpleasantries will hopefully push me in the right direction.