the application based-on cef show black screen

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

the application based-on cef show black screen

Postby chyshx » Thu Apr 29, 2021 6:51 am

hi,eveyone
my application based on cef show black screen or white screen on someone computer sometimes when application runing after 1 hour, about 3% computer affect .

the cef version:84.0.4147.89
the crash OS version: win 7/10

i have read some issues in cef & electron & cefsharp &vscode..., and i have tried add commandline paras " --disable-gpu --disable-gpu-composition" when my application start ,but it's not work,the black screen is not disappear .

on my dev machine ,that's all ok,so i can't repeat the question.

anyone know how to solve it ?

Thanks!
chyshx
Newbie
 
Posts: 4
Joined: Thu Apr 29, 2021 6:26 am

Re: the application based-on cef show black screen

Postby ndesktop » Thu Apr 29, 2021 10:50 am

You might have a blacklisted GPU. (Is not clear if your GPU process crashes on that machine or simply does not draw).
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: the application based-on cef show black screen

Postby amaitland » Thu Apr 29, 2021 2:27 pm

Check the log file.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: the application based-on cef show black screen

Postby chyshx » Thu Apr 29, 2021 10:17 pm

ndesktop wrote:You might have a blacklisted GPU. (Is not clear if your GPU process crashes on that machine or simply does not draw).

thanks your replay @ndesktop
i think if i use '--disable-gpu --disable-gpu-composition',cef will not create gpu process. so the problem maybe not generated by GPU Process.

first of all,my application using webrtc.

if my app start without disable-gpu ,in my app log file ,i find the render process crashed with a error state: TS_PROCESS_OOM or TS_PROCESS_CRASHED .
in cef debug.log file . i find the some output message
Code: Select all
[0420/211556.338:WARNING:rtp_rtcp_impl.cc(133)] Process: Timeout: No RTCP RR received.
[0420/211556.344:WARNING:rtp_rtcp_impl.cc(135)] Process: Timeout: No increase in RTCP RR extended highest sequence number.
[0420/211609.993:WARNING:sync_reader.cc(188)] SyncReader::Read timed out, audio glitch count=10
[0420/211624.768:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 15005ms; render delay: 0ms
[0420/211624.768:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 15005ms; render delay: 0ms
[0420/211624.769:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14986ms; render delay: 0ms
[0420/211624.769:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14986ms; render delay: 0ms
[0420/211624.769:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14986ms; render delay: 0ms
[0420/211624.769:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14986ms; render delay: 0ms
[0420/211624.769:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14966ms; render delay: 0ms
[0420/211624.769:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 106196727000, interval (us) = 0
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14966ms; render delay: 0ms
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14967ms; render delay: 0ms
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14967ms; render delay: 0ms
[0420/211624.770:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 106196728000, interval (us) = 0
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14947ms; render delay: 0ms
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14947ms; render delay: 0ms
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14947ms; render delay: 0ms
[0420/211624.770:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14947ms; render delay: 0ms
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14927ms; render delay: 0ms
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14927ms; render delay: 0ms
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14927ms; render delay: 0ms
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14927ms; render delay: 0ms
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14907ms; render delay: 0ms
[0420/211624.771:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 106196729000, interval (us) = 0
[0420/211624.771:WARNING:media_stream_audio_processor.cc(707)] Large audio delay, capture delay: 14908ms; render delay: 0ms
[0420/211624.842:INFO:user_input_monitor_win.cc(170)] RegisterRawInputDevices() failed for RIDEV_REMOVE: ӎ˽խϳc (0x57)

after that ,the render process crash and the screen show white window. if i reload the browser by browser->reload(), it will crash again and again, and it will come to black screen , output below logs
Code: Select all
[0420/212034.376:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.376:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.392:ERROR:cmd_buffer_helper.cc(141)] ContextResult::kFatalFailure: CommandBufferHelper::AllocateRingBuffer() failed
[0420/212034.501:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Internal D3D11 error: HRESULT: 0x887A0005: Error allocating Texture2D
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_INVALID_OPERATION: Internal D3D11 error: HRESULT: 0x887A0005: Error allocating Texture2D
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.517:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.517:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:ERROR:gles2_cmd_decoder_passthrough.cc(688)] GLES2DecoderPassthroughImpl::ResizeOffscreenFramebuffer failed because the resulting framebuffer was not complete.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:WARNING:angle_platform_impl.cc(45)] insertMessage(180): GL error: HIGH: Context has been lost.
[0420/212034.532:ERROR:gl_utils.cc(316)] [GroupMarkerNotSet(crbug.com/242999)!:50C8900E] GL_OUT_OF_MEMORY: Context has been lost.
[0420/212034.532:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglMakeCurrent: Context lost.
[0420/212034.532:ERROR:gles2_cmd_decoder_passthrough.cc(1170)] ContextResult::kTransientFailure: Resize of emulated back buffer failed
[0420/212034.532:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglDestroyContext: display had a context loss
[0420/212034.532:ERROR:gl_context_egl.cc(245)] eglDestroyContext failed with error EGL_CONTEXT_LOST
[0420/212034.532:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglGetConfigAttrib: display had a context loss
[0420/212034.532:ERROR:gl_context_egl.cc(85)] eglGetConfigAttrib failed with error EGL_CONTEXT_LOST
[0420/212034.532:ERROR:gles2_command_buffer_stub.cc(319)] ContextResult::kFatalFailure: Failed to create context.
[0420/212034.548:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglGetConfigAttrib: display had a context loss
[0420/212034.548:ERROR:gl_context_egl.cc(85)] eglGetConfigAttrib failed with error EGL_CONTEXT_LOST
[0420/212034.548:ERROR:gles2_command_buffer_stub.cc(319)] ContextResult::kFatalFailure: Failed to create context.
[0420/212034.548:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglGetConfigAttrib: display had a context loss
[0420/212034.548:ERROR:gl_context_egl.cc(85)] eglGetConfigAttrib failed with error EGL_CONTEXT_LOST
[0420/212034.548:ERROR:gles2_command_buffer_stub.cc(319)] ContextResult::kFatalFailure: Failed to create context.
[0420/212034.548:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglGetConfigAttrib: display had a context loss
[0420/212034.548:ERROR:gl_context_egl.cc(85)] eglGetConfigAttrib failed with error EGL_CONTEXT_LOST
[0420/212034.548:ERROR:gles2_command_buffer_stub.cc(319)] ContextResult::kFatalFailure: Failed to create context.
[0420/212034.548:ERROR:gl_surface_egl.cc(699)] EGL Driver message (Critical) eglGetConfigAttrib: display had a context loss
[0420/212034.548:ERROR:gl_context_egl.cc(85)] eglGetConfigAttrib failed with error EGL_CONTEXT_LOST
[0420/212034.548:ERROR:gles2_command_buffer_stub.cc(319)] ContextResult::kFatalFailure: Failed to create context.



if my app start with disable-gpu paras:
1.the below error message log to debug.log after cef initialize. i can't confirm if it's reason that crash the app render process?
Code: Select all
ERROR:dxva_video_decode_accelerator_win.cc(1341)] DXVAVDA fatal error: Could not load mf.dll


webrtc causes the OOM or other problem ?
chyshx
Newbie
 
Posts: 4
Joined: Thu Apr 29, 2021 6:26 am

Re: the application based-on cef show black screen

Postby chyshx » Thu Apr 29, 2021 10:20 pm

amaitland wrote:Check the log file.

thanks your reply,
i have check some machine debog.log , see above reply to @ndesktop.
chyshx
Newbie
 
Posts: 4
Joined: Thu Apr 29, 2021 6:26 am

Re: the application based-on cef show black screen

Postby amaitland » Thu Apr 29, 2021 11:55 pm

Are you targeting x86 or x64?

Each version of Chromium has it's own performance characteristics, I'd suggest testing with M90 if you are still using M84.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: the application based-on cef show black screen

Postby chyshx » Fri Apr 30, 2021 12:12 am

amaitland wrote:Are you targeting x86 or x64?

Each version of Chromium has it's own performance characteristics, I'd suggest testing with M90 if you are still using M84.


i'm targeting x86 on windows, and x64 on MacOS . i build a cross-platform application with QT and CEF.
ok,i will testing with new version. thanks again.
chyshx
Newbie
 
Posts: 4
Joined: Thu Apr 29, 2021 6:26 am

Re: the application based-on cef show black screen

Postby amaitland » Fri Apr 30, 2021 1:11 am

If you are targeting x86 on Windows make sure your process is large address aware.

Switching to x64 would be preferable.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: the application based-on cef show black screen

Postby ndesktop » Fri Apr 30, 2021 5:10 am

chyshx wrote:ERROR:dxva_video_decode_accelerator_win.cc(1341)] DXVAVDA fatal error: Could not load mf.dll

I just saw last week this, when I was complaining about x86 4430 make_distrib build fails.
GPU process was crashing similarily with sandbox enabled, while with --no-sandbox was running correctly.
In my case the cause was the missing use_thin_lto=false from GN_DEFINES (which is listed in 32-bit Build Commands as well as 64-bit).
It looks like a combination of sandbox build recently discussed issues, GN flags which I assume it leads to LoadLibrary errors.
Again - I don't know enough to point with precision if that is the case, but this is what I saw on my build experiments.

So, long story short:
1. check the log if you run with --no-sandbox and without
2. try a build with GN_DEFINES=.... use_thin_lto=false if your defines does not include it.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 26 guests