libEGL.dll cause blank webPage on windows

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.

libEGL.dll cause blank webPage on windows

Postby bonnevm » Fri Oct 24, 2014 10:42 am

I have embedded CEF in a windows application written in C++ (Qt 4.8) and built with msvc 2012. Web pages are displaying properly except when I drop libEGL.dll in the executable folder. When libEGL.dll is present, the web page display is blank (all white). The content of the web page is not important and doesn't contain webGL, canvas. Is it a common problem?

Thanks
bonnevm
Newbie
 
Posts: 4
Joined: Fri Oct 24, 2014 10:31 am

Re: libEGL.dll cause blank webPage on windows

Postby magreenblatt » Fri Oct 24, 2014 12:37 pm

The absence of libEGL.dll is likely disabling hardware accelerated rendering. There's probably some issue with your graphics card or display drivers. What OS and CEF version are you using? Are you using windowed or off-screen rendering? What is the output of visiting "about:gpu" in Google Chrome?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: libEGL.dll cause blank webPage on windows

Postby bonnevm » Fri Oct 24, 2014 1:05 pm

I am using cef 3.1750.1738. I am using windowed rendering. The same web page display properly in chrome.
When I explicitly "disable-gpu" using CefCommandLine, I can see the web page render properly. When gpu is enabled the page is displayed blank. The application that is hosting CEF is using directX to display 3d scenes, can this be the problem?

Here's the output of chrome://gpu:


Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated and threaded
Rasterization: Software only, hardware acceleration unavailable
Threaded Rasterization: Disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
exit_on_context_lost
texsubimage2d_faster_than_teximage2d
use_current_program_after_successful_link
Problems Detected
Accelerated video decode interferes with GPU sandbox on certain NVIDIA drivers: 298968
Disabled Features: accelerated_video_decode
GPU rasterization is whitelisted on N4, N5, N7 and Moto X: 362779
Disabled Features: gpu_rasterization
Additional GPU rasterization whitelist for field trial: 380694
Disabled Features: gpu_rasterization_field_trial
Always call glUseProgram after a successful link to avoid a driver bug: 349137
Applied Workarounds: use_current_program_after_successful_link
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage2D() is faster for full uploads on ANGLE
Applied Workarounds: texsubimage2d_faster_than_teximage2d
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Threaded rasterization has not been enabled or is not supported by the current system.
Disabled Features: threaded_rasterization
Version Information
Data exported 23/10/2014 15:33:37
Chrome version Chrome/37.0.2062.124
Operating system Windows NT 6.1 SP1
Software rendering list version 8.8
Driver bug list version 7.2
ANGLE commit id f4126d2b9eb0
2D graphics backend Skia
Command Line Args --flag-switches-begin --flag-switches-end --restore-last-session --flag-switches-begin --flag-switches-end --flag-switches-begin --flag-switches-end -- http://localhost:9088/
Performance Information
Graphics 7.4
Gaming 7.4
Overall 7.4
Driver Information
Initialization time 193
Sandboxed false
GPU0 VENDOR = 0x10de, DEVICE= 0x06dd
Optimus false
AMD switchable false
Desktop compositing Aero Glass
Driver vendor NVIDIA
Driver version 8.17.12.7589
Driver date 8-5-2011
Pixel shader version 5.0
Vertex shader version 5.0
Machine model name
Machine model version
GL_VENDOR Google Inc.
GL_RENDERER ANGLE (NVIDIA Quadro 4000 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION OpenGL ES 2.0 (ANGLE 2.1.f4126d2b9eb0)
GL_EXTENSIONS GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_OES_standard_derivatives GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_OES_texture_npot GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_draw_buffers GL_EXT_texture_storage GL_EXT_frag_depth GL_EXT_blend_minmax GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_NV_fence
Window system binding vendor Google Inc. (adapter LUID: 000000000000de9c)
Window system binding version 1.4 (ANGLE 2.1.f4126d2b9eb0)
Window system binding extensions EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_KHR_create_context
Direct rendering Yes
Reset notification strategy 0x8252
Diagnostics
0
b3DAccelerationEnabled true
b3DAccelerationExists true
bAGPEnabled true
bAGPExistenceValid true
bAGPExists true
bCanRenderWindow true
bDDAccelerationEnabled true
bDriverBeta false
bDriverDebug false
bDriverSigned false
bDriverSignedValid false
bNoHardware false
dwBpp 32
dwDDIVersion 11
dwHeight 1200
dwRefreshRate 59
dwWHQLLevel 0
dwWidth 1920
iAdapter 1
lDriverSize 15240808
lMiniVddSize 0
szAGPStatusEnglish Enabled
szAGPStatusLocalized Enabled
szChipType Quadro 4000
szD3DStatusEnglish Enabled
szD3DStatusLocalized Enabled
szDACType Integrated RAMDAC
szDDIVersionEnglish 11
szDDIVersionLocalized 11
szDDStatusEnglish Enabled
szDDStatusLocalized Enabled
szDXVAHDEnglish Supported
szDXVAModes ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C
szDescription NVIDIA Quadro 4000
szDeviceId 0x06DD
szDeviceIdentifier {D7B71E3E-459D-11CF-CB6E-8C271DC2C535}
szDeviceName \\.\DISPLAY1
szDisplayMemoryEnglish 4095 MB
szDisplayMemoryLocalized 4095 MB
szDisplayModeEnglish 1920 x 1200 (32 bit) (59Hz)
szDisplayModeLocalized 1920 x 1200 (32 bit) (59Hz)
szDriverAssemblyVersion 8.17.12.7589
szDriverAttributes Final Retail
szDriverDateEnglish 8/5/2011 22:52:00
szDriverDateLocalized 8/5/2011 10:52:00 PM
szDriverLanguageEnglish English
szDriverLanguageLocalized English
szDriverModelEnglish WDDM 1.1
szDriverModelLocalized WDDM 1.1
szDriverName nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
szDriverNodeStrongName oem59.inf:NVIDIA_SetA_Devices.NTamd64.6.1:Section009:8.17.12.7589:pci\ven_10de&dev_06dd
szDriverSignDate
szDriverVersion 8.17.0012.7589
szKeyDeviceID Enum\PCI\VEN_10DE&DEV_06DD&SUBSYS_078010DE&REV_A3
szKeyDeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{ABE1BA83-7351-11E1-97DF-806E6F6E6963}\0000
szManufacturer NVIDIA
szMiniVdd n/a
szMiniVddDateEnglish n/a
szMiniVddDateLocalized n/a
szMonitorMaxRes
szMonitorName Generic PnP Monitor
szNotesEnglish No problems found.
szNotesLocalized No problems found.
szOverlayEnglish Supported
szRankOfInstalledDriver 00E62001
szRegHelpText
szRevision
szRevisionId 0x00A3
szSubSysId 0x078010DE
szTestResultD3D7English Not run
szTestResultD3D7Localized Not run
szTestResultD3D8English Not run
szTestResultD3D8Localized Not run
szTestResultD3D9English Not run
szTestResultD3D9Localized Not run
szTestResultDDEnglish Not run
szTestResultDDLocalized Not run
szVdd n/a
szVendorId 0x10DE
1
b3DAccelerationEnabled true
b3DAccelerationExists true
bAGPEnabled true
bAGPExistenceValid true
bAGPExists true
bCanRenderWindow true
bDDAccelerationEnabled true
bDriverBeta false
bDriverDebug false
bDriverSigned false
bDriverSignedValid false
bNoHardware false
dwBpp 32
dwDDIVersion 11
dwHeight 1200
dwRefreshRate 59
dwWHQLLevel 0
dwWidth 1920
iAdapter 0
lDriverSize 15240808
lMiniVddSize 0
szAGPStatusEnglish Enabled
szAGPStatusLocalized Enabled
szChipType Quadro 4000
szD3DStatusEnglish Enabled
szD3DStatusLocalized Enabled
szDACType Integrated RAMDAC
szDDIVersionEnglish 11
szDDIVersionLocalized 11
szDDStatusEnglish Enabled
szDDStatusLocalized Enabled
szDXVAHDEnglish Supported
szDXVAModes ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C
szDescription NVIDIA Quadro 4000
szDeviceId 0x06DD
szDeviceIdentifier {D7B71E3E-459D-11CF-CB6E-8C271DC2C535}
szDeviceName \\.\DISPLAY2
szDisplayMemoryEnglish 4095 MB
szDisplayMemoryLocalized 4095 MB
szDisplayModeEnglish 1920 x 1200 (32 bit) (59Hz)
szDisplayModeLocalized 1920 x 1200 (32 bit) (59Hz)
szDriverAssemblyVersion 8.17.12.7589
szDriverAttributes Final Retail
szDriverDateEnglish 8/5/2011 22:52:00
szDriverDateLocalized 8/5/2011 10:52:00 PM
szDriverLanguageEnglish English
szDriverLanguageLocalized English
szDriverModelEnglish WDDM 1.1
szDriverModelLocalized WDDM 1.1
szDriverName nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
szDriverNodeStrongName oem59.inf:NVIDIA_SetA_Devices.NTamd64.6.1:Section009:8.17.12.7589:pci\ven_10de&dev_06dd
szDriverSignDate
szDriverVersion 8.17.0012.7589
szKeyDeviceID Enum\PCI\VEN_10DE&DEV_06DD&SUBSYS_078010DE&REV_A3
szKeyDeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{ABE1BA83-7351-11E1-97DF-806E6F6E6963}\0001
szManufacturer NVIDIA
szMiniVdd n/a
szMiniVddDateEnglish n/a
szMiniVddDateLocalized n/a
szMonitorMaxRes
szMonitorName Generic PnP Monitor
szNotesEnglish No problems found.
szNotesLocalized No problems found.
szOverlayEnglish Supported
szRankOfInstalledDriver 00E62001
szRegHelpText
szRevision
szRevisionId 0x00A3
szSubSysId 0x078010DE
szTestResultD3D7English Not run
szTestResultD3D7Localized Not run
szTestResultD3D8English Not run
szTestResultD3D8Localized Not run
szTestResultD3D9English Not run
szTestResultD3D9Localized Not run
szTestResultDDEnglish Not run
szTestResultDDLocalized Not run
szVdd n/a
szVendorId 0x10DE
Log Messages
[7236:7240:1008/140233:ERROR:gles2_cmd_decoder.cc(10213)] : [.Compositor-0CCA91E0]GL ERROR :GL_INVALID_OPERATION : glConsumeTextureCHROMIUM: invalid mailbox name
[7236:7240:1008/140233:ERROR:gles2_cmd_decoder.cc(6049)] : [.Compositor-0CCA91E0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
[7236:7528:1017/160808:ERROR:ipc_channel_win.cc(409)] : pipe error: 232
[7236:7240:1020/131337:ERROR:gpu_scheduler.cc(94)] : [08C84500] GPU PARSE ERROR: 5
[7236:7240:1020/131337:ERROR:gles2_cmd_decoder.cc(2998)] : GLES2DecoderImpl: Context lost during MakeCurrent.
[7236:7240:1020/131337:ERROR:gles2_cmd_decoder.cc(3003)] : Exiting GPU process because some drivers cannot reset a D3D device in the Chrome GPU process sandbox.
GpuProcessHostUIShim: The GPU process crashed!
[5440:20980:1021/135711:ERROR:gpu_scheduler.cc(94)] : [06BAE000] GPU PARSE ERROR: 5
[5440:20980:1021/135711:ERROR:gles2_cmd_decoder.cc(2998)] : GLES2DecoderImpl: Context lost during MakeCurrent.
[5440:20980:1021/135711:ERROR:gles2_cmd_decoder.cc(3003)] : Exiting GPU process because some drivers cannot reset a D3D device in the Chrome GPU process sandbox.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
bonnevm
Newbie
 
Posts: 4
Joined: Fri Oct 24, 2014 10:31 am

Re: libEGL.dll cause blank webPage on windows

Postby magreenblatt » Fri Oct 24, 2014 1:47 pm

bonnevm wrote:The application that is hosting CEF is using directX to display 3d scenes, can this be the problem?

Does the cefclient sample application render correctly? If so, then this is likely the problem.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: libEGL.dll cause blank webPage on windows

Postby bonnevm » Fri Oct 24, 2014 3:03 pm

The sample application works fine. We also have an integration of CEF in C# using CefGlue (in the same DirectX application) that works fine. So, I am wondering if a flag is missing somewhere in our C++/Qt integration of CEF.
bonnevm
Newbie
 
Posts: 4
Joined: Fri Oct 24, 2014 10:31 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 106 guests