Issue metadata
Sign in to add a comment
|
WebGL crashes occasionally in MacOS High Sierra
Reported by
eno...@onshape.com,
Dec 20 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Steps to reproduce the problem: We have been unable to identify an obvious pattern with this issue, other than it happens on MacOS High Sierra machines with nvidia chipsets. 1. Find Macbook with an nvidia chipset and High Sierra (eg Geforce 750m) 2. Open Chrome and open an Onshape doc (e.g., https://cad.onshape.com/documents/c86d74df1abc406caa125cbf/w/63062157fd1d4eb0ab56c51e/e/d536d165b35b409b812df580 ) 3. After an indeterminate amount of time, the "Rats WebGL hit a snag" notification will appear, necessitating a reload What is the expected behavior? WebGL should work regardless of OS and GPU What went wrong? The GPU is crashing. See attached chrome://gpu output Did this work before? Yes Does this work in other browsers? N/A Chrome version: 63.0.3239.84 Channel: beta OS Version: OS X 10.13.2 Flash Version: It seems probable that this is a regression in Apple's display drivers. However, if a work-around can be found at the browser level, that would be useful.
,
Dec 21 2017
,
Dec 21 2017
I believe this is the relevant crash id: 05d606a158231d5c
,
Dec 21 2017
Thank you for providing more feedback. Adding requester "krajshree@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
,
Dec 21 2017
Here's the top part of the stack for that crash: 0x00007fff731b8e3e (libsystem_kernel.dylib + 0x0001be3e ) __pthread_kill 0x00007fff73115311 (libsystem_c.dylib + 0x0005d311 ) abort 0x00007fff6405415c (libGPUSupportMercury.dylib + 0x0000215c ) gpusGenerateCrashLog 0x00007fff4635457e (GeForceGLDriver + 0x0031957e ) 0x00007fff64055541 (libGPUSupportMercury.dylib + 0x00003541 ) gpusSubmitDataBuffers 0x00007fff4634fa3d (GeForceGLDriver + 0x00314a3d ) 0x00007fff4634f728 (GeForceGLDriver + 0x00314728 ) 0x00007fff55be6268 (GLEngine + 0x0013e268 ) gleUnbindTextureObject 0x00007fff55bb6c3b (GLEngine + 0x0010ec3b ) gleUnbindDeleteHashNamesAndObjects 0x00007fff55ac584f (GLEngine + 0x0001d84f ) glDeleteTextures_Exec 0x000000010921fe0d (Google Chrome Framework -feature_info.cc:303 ) gpu::gles2::IsGL_REDSupportedOnFBOs() 0x000000010921ebbf (Google Chrome Framework -feature_info.cc:1308 ) gpu::gles2::FeatureInfo::InitializeFeatures() 0x00000001092198d8 (Google Chrome Framework -feature_info.cc:263 ) <name omitted> 0x000000010924211f (Google Chrome Framework -gles2_cmd_decoder.cc:15985 ) gpu::gles2::GLES2DecoderImpl::HandleGetRequestableExtensionsCHROMIUM(unsigned int, void const volatile*) 0x0000000109254b72 (Google Chrome Framework -gles2_cmd_decoder.cc:5373 ) gpu::error::Error gpu::gles2::GLES2DecoderImpl::DoCommandsImpl<false>(unsigned int, void const volatile*, int, int*) 0x000000010920cc37 (Google Chrome Framework -command_buffer_service.cc:90 ) gpu::CommandBufferService::Flush(int, gpu::AsyncAPIInterface*) Indeed sounds like a driver issue.
,
Dec 21 2017
Stack somewhat resembles issue 739725.
,
Dec 22 2017
Sorry, I tried for several minutes to reproduce this on macOS 10.13.3 Beta (17D25b) and can't. If you can come up with a more reliable repro case that also crashes on the Beta release then please provide it here and I'll help you file a Radar.
Note: To properly save this page, select the "Webpage, Complete" option in the Save File dialog.
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
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: Software only, hardware acceleration unavailable
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
add_and_true_to_loop_condition
adjust_src_dst_region_for_blitframebuffer
avoid_stencil_buffers
decode_encode_srgb_for_generatemipmap
depth_stencil_renderbuffer_resize_emulation
disable_framebuffer_cmaa
disable_webgl_rgb_multisampling_usage
emulate_abs_int_function
get_frag_data_info_bug
init_two_cube_map_levels_before_copyteximage
msaa_is_slow
pack_parameters_workaround_with_pack_buffer
rebind_transform_feedback_before_resume
regenerate_struct_names
remove_invariant_and_centroid_for_essl3
reset_teximage2d_base_level
rewrite_texelfetchoffset_to_texelfetch
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_image_height_workaround_with_unpack_buffer
use_intermediary_for_copy_texture_image
use_unused_standard_shared_blocks
Problems Detected
Macs with NVidia GPUs experience rendering issues on High Sierra: 773705
Disabled Features: gpu_rasterization
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
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
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
Multisample renderbuffers with format GL_RGB8 have performance issues on Intel GPUs.: 607130
Applied Workarounds: disable_webgl_rgb_multisampling_usage
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
glGetFragData{Location|Index} works incorrectly on Max: 638340
Applied Workarounds: get_frag_data_info_bug
glResumeTransformFeedback works incorrectly on Intel GPUs: 638514
Applied Workarounds: rebind_transform_feedback_before_resume
Result of abs(i) where i is an integer in vertex shader is wrong: 642227
Applied Workarounds: emulate_abs_int_function
Rewrite texelFetchOffset to texelFetch for Intel Mac: 642605
Applied Workarounds: rewrite_texelfetchoffset_to_texelfetch
Rewrite condition in for and while loops for Intel Mac: 644669
Applied Workarounds: add_and_true_to_loop_condition
Decode and encode before generateMipmap for srgb format textures on macosx: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Init first two levels before CopyTexImage2D for cube map texture on Intel Mac 10.12: 648197
Applied Workarounds: init_two_cube_map_levels_before_copyteximage
Insert statements to reference all members in unused std140/shared blocks on Mac: 618464
Applied Workarounds: use_unused_standard_shared_blocks
Tex(Sub)Image3D performs incorrectly when uploading from unpack buffer with GL_UNPACK_IMAGE_HEIGHT greater than zero on Intel Macs: 654258
Applied Workarounds: unpack_image_height_workaround_with_unpack_buffer
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
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Certain Apple devices leak stencil buffers: 713854
Applied Workarounds: avoid_stencil_buffers
Reset TexImage2D base level to 0 on Intel Mac 10.12.4: 705865
Applied Workarounds: reset_teximage2d_base_level
Depth/stencil renderbuffers can't be resized on NVIDIA on macOS 10.13: 775202
Applied Workarounds: depth_stencil_renderbuffer_resize_emulation
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported 12/22/2017, 1:47:01 PM
Chrome version Chrome/63.0.3239.84
Operating system Mac OS X 10.13.3
Software rendering list version 13.13
Driver bug list version 10.34
ANGLE commit id 9095f2b44801
2D graphics backend Skia/63 dbae7001c9805fb0a4b18fd0cbc889941cb39db4-
Command Line /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end
Driver Information
Initialization time 98
In-process GPU false
Passthrough Command Decoder false
Supports overlays false
Sandboxed true
GPU0 VENDOR = 0x10de, DEVICE= 0x0fe9 *ACTIVE*
GPU1 VENDOR = 0x8086, DEVICE= 0x0d26
Optimus true
Optimus true
AMD switchable false
Driver vendor
Driver version 10.28.10 355.11.10.10.20.111
Driver date
Pixel shader version 4.10
Vertex shader version 4.10
Max. MSAA samples 8
Machine model name MacBookPro
Machine model version 11.3
GL_VENDOR NVIDIA Corporation
GL_RENDERER NVIDIA GeForce GT 750M OpenGL Engine
GL_VERSION 4.1 NVIDIA-10.28.10 355.11.10.10.20.111
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
R_16 Software only
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
RGBA_F16 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
Display(s) Information
Info Display[69731906] bounds=0,0 1440x900, workarea=0,23 1440x812, scale=2, external
Color space information {primaries:[[0.4443,0.3794,0.1404,],[0.2248,0.7262,0.0491,],[0.0055,0.0780,0.7415,],], transfer:0.0774*x + 0.0000 if x < 0.0404 else (0.9479*x + 0.0521)**2.4000 + 0.0000, matrix:RGB, range:FULL, icc_profile_id:10}
Bits per color component 8
Bits per pixel 24
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by kbr@chromium.org
, Dec 21 2017