WebGL v2 Shader Compilation Crash
Reported by
mark...@braindistrict.de,
May 28 2017
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Steps to reproduce the problem: We are working on an SDF (signed distance functions) based modeller at www.raysupreme.com. It uses a PBR based path tracer for rendering and requires WebGL v2. We, as many others I guess, have problems with crashes / long compile times of the rendering shaders. As the map() function inside the shader gets quite big with larger scenes, and this function is inside the path tracer loop, it looks like there is an aggressive loop unrolling going on during shader compilation. The attached test scene crashes Chrome but works fine In Firefox (although compilation time of the shader is about 15 seconds). I guess FF just "waits longer" for the shader compilation to finish while Chrome throws an exception after a few seconds. My questions: * Is there a way, or will there be a way, to disable loop unrolling during shader compilation ? We would happily sacrifice performance for being able to safely run the shader, this is non realtime rendering anyway. What is the expected behavior? No crash during shader compilation What went wrong? Shader compilation crashes probably due to aggressive loop unrolling (path tracer loop) Did this work before? N/A Does this work in other browsers? Yes Chrome version: 58.0.3029.110 Channel: stable OS Version: OS X 10.12.5 Flash Version:
,
May 30 2017
Thanks for the report. I wasn't able to reproduce on the first try. Please provide the chrome://gpu on the affected system (copy+paste plain-text into a comment is best).
,
May 31 2017
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: Hardware accelerated
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
VPx Video Decode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
adjust_src_dst_region_for_blitframebuffer
decode_encode_srgb_for_generatemipmap
disable_framebuffer_cmaa
disable_multimonitor_multisampling
get_frag_data_info_bug
needs_offscreen_buffer_workaround
pack_parameters_workaround_with_pack_buffer
regenerate_struct_names
remove_invariant_and_centroid_for_essl3
reset_base_mipmap_level_before_texstorage
scalarize_vec_and_mat_constructor_args
set_zero_level_before_generating_mipmap
unfold_short_circuit_as_ternary_operation
unpack_alignment_workaround_with_unpack_buffer
unpack_overlapping_rows_separately_unpack_buffer
use_intermediary_for_copy_texture_image
use_unused_standard_shared_blocks
Problems Detected
Work around a bug in offscreen buffers on NVIDIA GPUs on Macs: 89557
Applied Workarounds: needs_offscreen_buffer_workaround
Multisampling is buggy on OSX when multiple monitors are connected: 237931
Applied Workarounds: disable_multimonitor_multisampling
Unfold short circuit on Mac OS X: 307751
Applied Workarounds: unfold_short_circuit_as_ternary_operation
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Mac drivers handle struct scopes incorrectly: 403957
Applied Workarounds: regenerate_struct_names
glGenerateMipmap fails if the zero texture level is not set on some Mac drivers: 560499
Applied Workarounds: set_zero_level_before_generating_mipmap
Pack parameters work incorrectly with pack buffer bound: 563714
Applied Workarounds: pack_parameters_workaround_with_pack_buffer
Alignment works incorrectly with unpack buffer bound: 563714
Applied Workarounds: unpack_alignment_workaround_with_unpack_buffer
copyTexImage2D fails when reading from IOSurface on multiple GPU types.: 581777
Applied Workarounds: use_intermediary_for_copy_texture_image
Unpacking overlapping rows from unpack buffers is unstable on NVIDIA GL driver: 596774
Applied Workarounds: unpack_overlapping_rows_separately_unpack_buffer
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
glGetFragData{Location|Index} works incorrectly on Max: 638340
Applied Workarounds: get_frag_data_info_bug
glTexStorage* are buggy when base mipmap level is not 0: 640506
Applied Workarounds: reset_base_mipmap_level_before_texstorage
Decode and encode before generateMipmap for srgb format textures on macosx: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Insert statements to reference all members in unused std140/shared blocks on Mac: 618464
Applied Workarounds: use_unused_standard_shared_blocks
adjust src/dst region if blitting pixels outside read framebuffer on Mac: 644740
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer
Mac driver GL 4.1 requires invariant and centroid to match between shaders: 639760, 641129
Applied Workarounds: remove_invariant_and_centroid_for_essl3
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Version Information
Data exported 2017-5-31 07:12:37
Chrome version Chrome/58.0.3029.110
Operating system Mac OS X 10.12.5
Software rendering list version 12.20
Driver bug list version 9.36
ANGLE commit id 461d9a3060e3
2D graphics backend Skia/58 4c81ba6ba3a3270db809bf7d4c3bc782694a56a4
Command Line Args Chrome.app/Contents/MacOS/Google Chrome --allow-file-access-from-files --disable-web-security --flag-switches-begin --enable-features=PointerEvent --flag-switches-end
Driver Information
Initialization time 30
In-process GPU false
Passthrough Command Decoder false
Sandboxed true
GPU0 VENDOR = 0x10de, DEVICE= 0x119e *ACTIVE*
GPU1 VENDOR = 0x8086, DEVICE= 0x0412
Optimus true
Optimus true
AMD switchable false
Driver vendor
Driver version 10.17.5 355.10.05.45f01
Driver date
Pixel shader version 4.10
Vertex shader version 4.10
Max. MSAA samples 8
Machine model name iMac
Machine model version 14.2
GL_VENDOR NVIDIA Corporation
GL_RENDERER NVIDIA GeForce GTX 780M OpenGL Engine
GL_VERSION 4.1 NVIDIA-10.17.5 355.10.05.45f01
GL_EXTENSIONS GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor
Window system binding version
Window system binding extensions
Direct rendering Yes
Reset notification strategy 0x0000
GPU process crash count 0
Compositor Information
Tile Update Mode Zero-copy
Partial Raster Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA Software only
DXT1 Software only
DXT5 Software only
ETC1 Software only
R_8 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 Software only
RGBA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRX_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
YVU_420 Software only
YUV_420_BIPLANAR GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
UYVY_422 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
Log Messages
[765:775:0530/084812.939238:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68bca00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084827.747034:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084827.747105:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084827.747131:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084828.164895:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6061e00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084828.179577:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084828.179624:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084828.179633:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084828.197325:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6061e00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084828.198518:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca5116400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084828.508842:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f7e00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.248823:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.248870:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.248878:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084829.310481:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.310532:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.310696:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.310732:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.313471:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6061e00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.343714:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.343744:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.344728:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68b4000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.396557:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.396606:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.398795:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.431282:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.431314:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084829.447771:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.447972:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.463214:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.464432:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6010000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.522294:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.523139:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68f6c00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084829.735499:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68b4600]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084834.730191:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6068400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084834.864278:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084834.864332:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084834.864342:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084835.117680:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084835.117726:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084835.117736:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084835.137964:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084835.138016:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084835.149578:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca606f000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084835.186634:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084835.352568:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084835.427541:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 3
[765:775:0530/084835.427579:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084835.427589:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084837.293397:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 3
[765:775:0530/084837.293452:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.307339:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca68fc200]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.336274:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084837.336324:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 3
[765:775:0530/084837.336333:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.478947:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084837.479004:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 3
[765:775:0530/084837.479013:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.486280:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084837.486301:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.486664:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.488320:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50b1400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.524479:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca511d200]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.670818:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084837.670866:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.670874:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084837.962543:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084837.962583:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084837.963658:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca50f8400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084840.535887:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084840.535936:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084840.535945:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084843.524323:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084843.524376:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084843.524384:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 2
[765:775:0530/084843.585986:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084843.586072:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084843.586777:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084843.589227:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca4862a00]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084843.608481:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6817400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/084843.608535:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6817400]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/084843.665683:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7f9ca6817400]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/104911.274846:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[765:775:0530/104911.274897:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
[765:775:0530/104911.274920:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.293328:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[765:775:0530/104911.296177:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
[765:775:0530/104911.296250:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.309627:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.325197:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.343378:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.359272:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.376756:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.393317:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.412175:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.428230:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.445746:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.674585:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.691917:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.708725:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.722965:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.741403:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/104911.756981:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[765:775:0530/104911.757040:ERROR:gles2_cmd_decoder.cc(4358)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
[765:775:0530/104911.757095:ERROR:gles2_cmd_decoder.cc(9636)] : [.Offscreen-For-WebGL-0x7f9a2900aa00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[765:775:0530/121739.413870:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121739.674314:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b2061200]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121739.674347:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b2061200]RENDER WARNING: there is no texture bound to the unit 1
[765:775:0530/121739.818999:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b2061200]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.465060:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.465159:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.474208:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.489455:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.506153:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.523235:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.539591:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.556499:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.573362:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.589790:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0530/121740.607610:ERROR:gles2_cmd_decoder.cc(9630)] : [.Offscreen-For-WebGL-0x7fd1b20a0000]RENDER WARNING: there is no texture bound to the unit 0
[765:775:0531/071207.680116:ERROR:latency_info.cc(155)] : GpuCommandBufferStub::OnAsyncFlush, LatencyInfo vector size 121 is too big.
,
May 31 2017
Thank you for providing more feedback. Adding requester "kainino@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 31 2017
Chrome isn't performing any loop unrolling internally. See this code search result in ANGLE's shader translator: https://cs.chromium.org/search/?q=unroll+third_party/angle+package:%5Echromium$&type=cs The most that Chrome/ANGLE do is to hint to the Direct3D compiler on Windows not to unroll loops that contain discontinuous gradient operations. I also couldn't reproduce the reported failure, but it looked like the scene failed to load. There wasn't any error message, but the render was blank.
,
May 31 2017
kbr: just a nit, the report is on Mac, so we would have to hint to the OpenGL compiler. (I don't know of any way to do that other than to do sneaky and possibly detrimental shader transformations.) When I tried to repro, I got a similar result to kbr, I think.
,
May 31 2017
I think you don't load the house scene correctly. Hit the open project button in the toolbar and drag and drop the project file in the drop area. After that you should see the house in the preview. Now click render to render and it would hang. Beta testers also see the bug on windows. It has to be loop related. When I hncomment the path tracer iteration loop it works. When I add the loop with just a depth of 1 it hangs during compilation.
,
May 31 2017
,
Jun 1 2017
kainino: Understood that the report is on macOS. There are no such hints in the GLSL language. Whatever problems are occurring on macOS are almost surely happening in the actual OpenGL driver's shader compilation. Submitter: you're right, I was loading the scene incorrectly. I can reproduce the failure now. Attached is a trace from about:tracing. It looks like the shader's compilation took so long that the GPU process's watchdog killed and restarted the process. I doubt there's anything the browser can automatically do to make this work. For reference, ShaderToy's shaders are some of the most complex that are encountered, and the most complex shaders there don't work on all hardware. I suggest that you look into changing the form of your shaders to do either one iteration, or a fixed number of iterations and manually unroll them, and store intermediate results into a floating-point texture. Then feed that texture into the next iteration, so that instead of looping in the shader, you issue a draw call to perform each iteration, or a few iterations of that shader. Once you figure out a construct that will work for your application we can see if the solution will generalize.
,
Jun 1 2017
Just another datapoint: The render works for me now that I'm also loading the scene correctly. However, there was no crash. This is on MacBook Air, Intel HD 6000. This further implies that it's probably an issue in the (hardware-specific) shader compiler.
,
Jun 1 2017
Ok. I understand re OpenGL. However the reason I reported the issue here is that Firefox compiles this scene fine on all computers. Even the ones Chrome hangs on ... I guess it just awaits longer for OpenGL to finish compilation. For us it's important that Chromium works because we use it to build the desktop versions ...
,
Jun 1 2017
Submitter: I see. In that case you can pass the command line option --disable-gpu-watchdog to Chromium for your bundled application. I just tried this with Chrome Canary and it makes that scene render successfully on my MacBook Pro with NVIDIA GPU.
,
Jun 1 2017
Thanks for the suggestions for the gpu watchdog and also to unlooop the path tracer. We will try that. However, why is Firefox not hanging with this scene ? Does it disable the gpu watchdog by default ? Btw; is there a cli option to change the default antialiasing for webgl ? Fonts look blurry as Chrome only does 4x4 AA by default.
,
Jun 1 2017
Chrome's and Firefox's graphics stacks are entirely different. Firefox doesn't have a separate GPU process and consequently I don't think they have the concept of a GPU watchdog timeout in the browser. Chrome has had one for years to enforce a better user experience even in the face of problematic content, or DoS attempts. Right now there isn't a way in the WeBGL spec to change the antialiasing parameters of the default back buffer. Could you please file a new bug about that and provide a standalone test case? I'm not sure how you're rendering your fonts but suspect that pre-generating high-quality antialiased texture atlases should work well. Closing this report as WontFix. I don't think it's a good idea to increase the GPU watchdog timeout in response to this report.
,
Jun 7 2018
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by mark...@braindistrict.de
, May 28 201762.2 KB
62.2 KB View Download