nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.34k stars 3.88k forks source link

nw App appearing as black screen. #6152

Closed dsomesh closed 4 years ago

dsomesh commented 7 years ago

Anything else? Use our mailing list for questions: https://groups.google.com/forum/#!forum/nwjs-general

NWJS Version :0.22.0 Operating System :Windows 10(Only seen on HP DC8200 and DC8300)

Expected behavior

NW app should launch successfully.

Actual behavior

NW app appears as a black screen .Sometimes during startup,sometimes it goes to that state after running normally for some time.

How to reproduce

Completely random but happening in Windows 10(Only seen on HP DC8200 and DC8300).

We enabled chromium debug logs and following error messages were there-

[3060:8776:0911/075200.918:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5 [3060:8776:0911/075200.918:ERROR:cache_util.cc(134)] Unable to move cache folder C:\Users\brein\AppData\Local\ZENworks\User Data\ShaderCache\GPUCache to C:\Users\brein\AppData\Local\ZENworks\User Data\ShaderCache\old_GPUCache_000 [3060:8776:0911/075200.928:ERROR:disk_cache.cc(132)] Unable to create cache [3060:8776:0911/075200.930:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2 [3060:10164:0911/075200.945:ERROR:browser_shutdown_profile_dumper.cc(50)] Failed to open performance trace file: C:\test\trace.log

[2120:9708:0911/100714.338:ERROR:gl_bindings_autogen_gl.cc(13190)] Trying to call glGetError() without current GL context [2120:9708:0911/100714.339:ERROR:gl_bindings_autogen_gl.cc(12700)] Trying to call glDeleteVertexArraysOES() without current GL context [2120:9708:0911/100714.342:ERROR:gl_context_egl.cc(172)] eglDestroyContext failed with error EGL_CONTEXT_LOST

dsomesh commented 7 years ago

please note that the black screen stays until we restart the app.

dsomesh commented 7 years ago

zapp_black

rogerwang commented 7 years ago

Looks like the user data directory was locked -- do you have another instance running?

dsomesh commented 7 years ago

No I guess. However,this happens for some specific windows users. Even if that's what is causing this ,how can this happen in between,after the app has successfully launched.

dsomesh commented 7 years ago

Anything else seems suspicious to you here?I feel it might very specific to the machine specifications.

quantumproducer commented 7 years ago

Hello, I am seeing this with 0.23.7 on Windows 10

Christywl commented 6 years ago

@dsomesh , @quantumproducer , could you provide your tests to reproduce this? I try some tests on Windows 10, all of them work fine.

dsomesh commented 6 years ago

Hi,actually we are also not able to reproduce this in house.We are seeing this with only one of our customers which has nw version 0.22.0. It has also been recently reported that the black screen sort of auto heals after some time.

dsomesh commented 6 years ago

C2812_ZAPP_black_chrome_debug.log C2812_ZAPP_black_trace.log

Uploading the chrome debug log and trace_log from the concerned machine.

quantumproducer commented 6 years ago

@dsomesh I found the issue on my end - it was a missing .node binary. Sorry for the false alarm.

dsomesh commented 6 years ago

@quantumproducer did it ever recover in your case?For us this issue is random and it does recover if its left like that.

quantumproducer commented 6 years ago

@dsomesh users have reported the issue fixed. You can view the code and libraries used at http://QuantumPilot.me - free download of RC7.

Before I fixed, it was never recovering because it was crashing on loading the node module.

Kaskarl commented 6 years ago

hi, i have a similar situation on my computer.

Repeat steps: 1、new process by nw.exe 2、 set the parent window of the nw.exe wndow 3、parent window is explorer.exe 4、Narrow the explorer.exe winodw 5、wait a few minutes 6、open the explorer.exe _1524644793510

nw版本:0.24.3 @rogerwang

Christywl commented 6 years ago

@daemon-7 , how do I set the explorer.exe to the parent window of nw.exe?

Kaskarl commented 6 years ago

@Christywl first,find the explorer.exe window handle (::FindWindow()); then find the nw.exe window handle (::FindWindow()); set the parent window (::SetParent())

https://msdn.microsoft.com/en-us/library/windows/desktop/ms633499(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms633541

Dragonisser commented 6 years ago

Lenovo p51 with Windows 10 Pro and NVIDIA Quadro M1200.

I get the problem while my laptop is in the docking station connected to two additional monitors(3 in total).

Doesnt matter which nw.js i use but i tried the latest 0.30 and 0.23 and neither did work. As soon as i dock off the laptop it works without any problem.

https://screeps.com/forum/topic/2228/black-window-on-startup/8

bjoernneumann commented 6 years ago

Same issue as @Dragonisser here. Win 10 Lenovo P51 but Nvidia Quadro M2200. Also with nwjs 0.31.0.

rogerwang commented 6 years ago

@Dragonisser @bjoernneumann does the Chrome or Chromium browser have the same issue? Thanks.

rogerwang commented 6 years ago

@daemon-7 this usage is not supported by Chromium gfx stack.

bjoernneumann commented 6 years ago

@rogerwang Chrome 67.0.3396.62 works well.

rogerwang commented 6 years ago

What about the Chromium browser (not Chrome) ?

bjoernneumann commented 6 years ago

Just checked chromium 69.0.3451.0. Works as well.

rogerwang commented 6 years ago

Is there any difference between NW and Chrome if navigates to 'chrome://gpu' ? You can launch NW with nw --url='chrome://gpu'

bjoernneumann commented 6 years ago
Dragonisser commented 6 years ago

Also checked:

Chrome: Version 67.0.3396.62 (Official Build) (64-Bit) works fine Chromium: Version 69.0.3451.0 (Developer-Build) (64-Bit) works fine

Im testing with 30.5

Chrome displays chrome://gpu fine Chromium displays chrome://gpu fine

NW:

https://imgur.com/a/cHL1MVo

rogerwang commented 6 years ago

Thanks. I'll fix the blank page of chrome://gpu first and then we can examine the difference. Before that you could also try nw 0.30.5 and post the data here (also with the data from Chrome).

bjoernneumann commented 6 years ago

The data from chrome://gpu nw 0.30.5

Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Enabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled

Rasterization: Hardware accelerated
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_delayed_copy_nv12
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Delayed copy NV12 displays incorrect colors on NVIDIA drivers.: 728670
Applied Workarounds: disable_delayed_copy_nv12
Don't expose disjoint_timer_query extensions to WebGL: 808744
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported   2018-06-05T07:02:08.932Z
Chrome version  Chrome/66.0.3359.181
Operating system    Windows NT 10.0.17134
Software rendering list URL https://chromium.googlesource.com/chromium/src/+/33cd7097eede00b9c4ce59f5cf7d0e7f1eee86d8/gpu/config/software_rendering_list.json
Driver bug list URL https://chromium.googlesource.com/chromium/src/+/33cd7097eede00b9c4ce59f5cf7d0e7f1eee86d8/gpu/config/gpu_driver_bug_list.json
ANGLE commit id d6fef528fcfc
2D graphics backend Skia/66 773868fdade5f9f0e7697e6d09c9bd80aaa9b402-
Command Line    nw --url=chrome://gpu --user-data-dir="C:\Users\***\AppData\Local\nwjs\User Data" --no-sandbox --no-zygote --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 2804
In-process GPU  false
Passthrough Command Decoder true
Direct Composition  true
Supports overlays   false
Sandboxed   false
GPU0    VENDOR = 0x10de, DEVICE= 0x1436 *ACTIVE*
GPU1    VENDOR = 0x8086, DEVICE= 0x591d
Optimus false
Optimus false
AMD switchable  false
Desktop compositing Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1   15.5"
Driver vendor   NVIDIA
Driver version  23.21.13.9077
Driver date 1-23-2018
Pixel shader version    5.0
Vertex shader version   5.0
Max. MSAA samples   8
Machine model name  
Machine model version   
GL_VENDOR   Google Inc.
GL_RENDERER ANGLE (NVIDIA Quadro M2200 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION  OpenGL ES 2.0 (ANGLE 2.1.0.d6fef528fcfc)
GL_EXTENSIONS   GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions   EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor    Google Inc. (adapter LUID: 0000000000016ce3)
Window system binding version   1.4 (ANGLE 2.1.0.d6fef528fcfc)
Window system binding extensions    EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization
Direct rendering    Yes
Reset notification strategy 0x8252
GPU process crash count 0
Compositor Information
Tile Update Mode    One-copy
Partial Raster  Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA   Software only
DXT1    Software only
DXT5    Software only
ETC1    Software only
R_8 Software only
R_16    Software only
RG_88   Software only
BGR_565 Software only
RGBA_4444   Software only
RGBX_8888   GPU_READ, SCANOUT
RGBA_8888   GPU_READ, SCANOUT
BGRX_8888   Software only
BGRX_1010102    Software only
RGBX_1010102    Software only
BGRA_8888   Software only
RGBA_F16    Software only
YVU_420 Software only
YUV_420_BIPLANAR    Software only
UYVY_422    Software only
Display(s) Information
Info    Display[2528732444] bounds=0,0 2560x1440, workarea=0,0 2560x1440, scale=1.5, external
Color space information {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component    8
Bits per pixel  24
Video Acceleration Information
Decode h264 baseline    up to 4096x2304 pixels
Decode h264 baseline    up to 2304x4096 pixels
Decode h264 main    up to 4096x2304 pixels
Decode h264 main    up to 2304x4096 pixels
Decode h264 high    up to 4096x2304 pixels
Decode h264 high    up to 2304x4096 pixels
Decode vp8  up to 4096x2304 pixels
Decode vp8  up to 2304x4096 pixels
Decode vp9 profile0 up to 4096x2304 pixels
Decode vp9 profile0 up to 2304x4096 pixels
Decode vp9 profile1 up to 4096x2304 pixels
Decode vp9 profile1 up to 2304x4096 pixels
Decode vp9 profile2 up to 4096x2304 pixels
Decode vp9 profile2 up to 2304x4096 pixels
Decode vp9 profile3 up to 4096x2304 pixels
Decode vp9 profile3 up to 2304x4096 pixels
Encode h264 baseline    up to 3840x2176 pixels and/or 30.000 fps
Encode h264 main    up to 3840x2176 pixels and/or 30.000 fps
Encode h264 high    up to 3840x2176 pixels and/or 30.000 fps
Diagnostics
... loading ...
Log Messages
[8352:820:0605/090200.016:ERROR:angle_platform_impl.cc(54)] : testDeviceLost(2047): The D3D11 device was removed, HRESULT: 0x887A0020
[8352:820:0605/090200.016:ERROR:gles2_cmd_decoder_passthrough_doers.cc(3868)] : Context lost because PostSubBuffer failed.
[8352:820:0605/090200.016:ERROR:gpu_channel_manager.cc(200)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[19960:6160:0605/090200.973:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.981:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.981:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.981:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.982:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.987:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.999:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.999:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090200.999:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.047:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.047:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.048:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.048:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.048:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32B9FB70] GL_INVALID_OPERATION: Texture was not generated
[19960:6160:0605/090201.261:ERROR:angle_platform_impl.cc(54)] : testDeviceLost(2047): The D3D11 device was removed, HRESULT: 0x887A0005
[19960:6160:0605/090201.261:ERROR:gles2_cmd_decoder_passthrough_doers.cc(3868)] : Context lost because PostSubBuffer failed.
[19960:6160:0605/090201.261:ERROR:gpu_channel_manager.cc(200)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[22292:15968:0605/090202.131:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.134:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.196:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.196:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.196:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.196:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.196:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC335FCDF0] GL_INVALID_OPERATION: Texture was not generated
[22292:15968:0605/090202.263:ERROR:angle_platform_impl.cc(54)] : testDeviceLost(2047): The D3D11 device was removed, HRESULT: 0x887A0020
[22292:15968:0605/090202.263:ERROR:gles2_cmd_decoder_passthrough_doers.cc(3868)] : Context lost because PostSubBuffer failed.
[22292:15968:0605/090202.263:ERROR:gpu_channel_manager.cc(200)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[11460:18716:0605/090206.015:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
GpuProcessHostUIShim: The GPU process crashed!
[11460:18716:0605/090206.043:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.043:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.044:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.044:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.046:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.051:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.051:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090206.051:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090208.728:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090208.728:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090208.728:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090208.728:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated
[11460:18716:0605/090208.728:ERROR:gl_utils.cc(277)] : [.DisplayCompositor-000001CC32C6FB60] GL_INVALID_OPERATION: Texture was not generated

chromium 69.0.3451.0

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_delayed_copy_nv12
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Delayed copy NV12 displays incorrect colors on NVIDIA drivers.: 728670
Applied Workarounds: disable_delayed_copy_nv12
Don't expose disjoint_timer_query extensions to WebGL: 808744
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
Version Information
Data exported   2018-06-05T07:03:05.932Z
Chrome version  Chrome/69.0.3451.0
Operating system    Windows NT 10.0.17134
Software rendering list URL https://chromium.googlesource.com/chromium/src/+/f0ea677d7afe2052c321dff04d7021f426bf7c11/gpu/config/software_rendering_list.json
Driver bug list URL https://chromium.googlesource.com/chromium/src/+/f0ea677d7afe2052c321dff04d7021f426bf7c11/gpu/config/gpu_driver_bug_list.json
ANGLE commit id fba1f61d6296
2D graphics backend Skia/69 0e49cb9a39c2b0ee63509ff459a968fa8c01dccd-
Command Line    "C:\Users\***\Downloads\chrome-win32\chrome.exe" --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 717
In-process GPU  false
Passthrough Command Decoder true
Direct Composition  true
Supports overlays   false
Sandboxed   true
GPU0    VENDOR = 0x10de, DEVICE= 0x1436 *ACTIVE*
GPU1    VENDOR = 0x8086, DEVICE= 0x591d
Optimus false
AMD switchable  false
Desktop compositing Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1   15.5"
Diagonal Monitor Size of \\.\DISPLAY4   27.4"
Diagonal Monitor Size of \\.\DISPLAY5   27.4"
Driver D3D12 feature level  Not supported
Driver Vulkan API version   Not supported
Driver vendor   NVIDIA
Driver version  23.21.13.9077
Driver date 1-23-2018
Pixel shader version    5.0
Vertex shader version   5.0
Max. MSAA samples   8
Machine model name  
Machine model version   
GL_VENDOR   Google Inc.
GL_RENDERER ANGLE (NVIDIA Quadro M2200 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION  OpenGL ES 2.0 (ANGLE 2.1.0.fba1f61d6296)
GL_EXTENSIONS   GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions   EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor    Google Inc. (adapter LUID: 0000000000016ce3)
Window system binding version   1.4 (ANGLE 2.1.0.fba1f61d6296)
Window system binding extensions    EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled
Direct rendering    Yes
Reset notification strategy 0x8252
GPU process crash count 0
Compositor Information
Tile Update Mode    One-copy
Partial Raster  Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA   Software only
DXT1    Software only
DXT5    Software only
ETC1    Software only
R_8 Software only
R_16    Software only
RG_88   Software only
BGR_565 Software only
RGBA_4444   Software only
RGBX_8888   GPU_READ, SCANOUT
RGBA_8888   GPU_READ, SCANOUT
BGRX_8888   Software only
BGRX_1010102    Software only
RGBX_1010102    Software only
BGRA_8888   Software only
RGBA_F16    Software only
YVU_420 Software only
YUV_420_BIPLANAR    Software only
UYVY_422    Software only
Display(s) Information
Info    Display[2480450848] bounds=[0,0 2560x1440], workarea=[0,0 2560x1400], scale=1.5, external.
Color space information {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component    8
Bits per pixel  24
Info    Display[1133551107] bounds=[2560,0 2560x1440], workarea=[2560,0 2560x1400], scale=1.5, external.
Color space information {primaries_d50_referred: [[0.6668, 0.3180], [0.2252, 0.7053], [0.1497, 0.0699]], transfer:0.0000*x + 0.0000 if x < 0.0000 else (1.0000*x + 0.0000)**2.1914 + 0.0000, matrix:RGB, range:FULL}
Bits per color component    8
Bits per pixel  24
Info    Display[2528732444] bounds=[-2560,0 2560x1440], workarea=[-2560,0 2560x1400], scale=1.5, external.
Color space information {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component    8
Bits per pixel  24
Video Acceleration Information
Decode h264 baseline    up to 4096x2304 pixels
Decode h264 baseline    up to 2304x4096 pixels
Decode h264 main    up to 4096x2304 pixels
Decode h264 main    up to 2304x4096 pixels
Decode h264 high    up to 4096x2304 pixels
Decode h264 high    up to 2304x4096 pixels
Decode vp8  up to 4096x2304 pixels
Decode vp8  up to 2304x4096 pixels
Decode vp9 profile0 up to 4096x2304 pixels
Decode vp9 profile0 up to 2304x4096 pixels
Decode vp9 profile1 up to 4096x2304 pixels
Decode vp9 profile1 up to 2304x4096 pixels
Decode vp9 profile2 up to 4096x2304 pixels
Decode vp9 profile2 up to 2304x4096 pixels
Decode vp9 profile3 up to 4096x2304 pixels
Decode vp9 profile3 up to 2304x4096 pixels
Encode h264 baseline    up to 3840x2176 pixels and/or 30.000 fps
Encode h264 main    up to 3840x2176 pixels and/or 30.000 fps
Encode h264 high    up to 3840x2176 pixels and/or 30.000 fps
Diagnostics
... loading ...
Dragonisser commented 6 years ago

Any updates?

rogerwang commented 6 years ago

As planned in https://github.com/nwjs/nw.js/issues/6152#issuecomment-394601029, I just pushed a fix for chrome://gpu and it will be available in the next nightly build. After that we could get the information to compare.

rogerwang commented 6 years ago

Please post contents in chrome://gpu with this 0.31 nightly and Chrome 67: https://dl.nwjs.io/live-build/nw31/06-20-2018/243b5fc-2c24e9d-03e4de7-058c940/v0.31.3/

bjoernneumann commented 6 years ago

Sorry for not sending the infos. Just had a drivers update for my machine. Everything works as expected now for me.

sysrage commented 5 years ago

I was encountering this issue with NVidia Quadro driver 419.67. All NW.js windows were solid black with a slight flicker. Running NW.js with --disable-gpu worked around the issue. Once I upgraded to 430.39, the issue went away even when GPU acceleration was being used. As my "problem" driver came out after @bjoernneumann's issue was resolved (and he was using 390.77), this seems to be a reoccurring problem that might need further investigation.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.