New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 776922 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 769488
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

WebGL jittery when slow (timing/caching/buffering issue?) on Chrome Mac

Project Member Reported by hoainguyen@google.com, Oct 20 2017

Issue description

Chrome Version       : 61.0.3163.100
URLs (if applicable) : https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e
OS version               : 10.12.6
Behavior in Safari (if applicable): Safari slows down, but doesn't jitter back-and-forth the way Chrome does.
Behavior in Firefox (if applicable): [haven't tested]

What steps will reproduce the problem?
(1) View an animated 3D model (for example on sketchfab - see URL above), and put it in fullscreen mode.

What is the expected result?
If the processor has difficulty with the model, the frame rate drops.

What happens instead?
In addition to frame rate dropping, frames seem to jitter forward and backward in time.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.
I get this error "Comment is too long" when I try to do that.

Okay, so what seems to be happening is that when WebGL frame rate drops, there is a back-and-forth (in time) jitter occuring. You can see this on sites such as SketchFab, as well as vr.google.com/objects and vr.google.com/sketches. It happens while interacting with the models, but also while just watching the idle animations.

Note that this is not necessarily easy to reproduce because it doesn't happen on all machines, but when it happens on a specific machine, it tends to happen easily on that machine.

It happens on Chrome Mac only (not on Safari, and not on Windows or Linux versions of Chrome). It doesn't seem to happen on all Macs, only certain ones (seen on newer Macs in general).

My guess is that maybe previous cached frames or buffers are reappearing unexpectedly?

 
Here is the about:gpu:
----------------------------------

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: Hardware accelerated
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
disable_framebuffer_cmaa
disable_multimonitor_multisampling
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
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
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
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
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
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
Certain Apple devices leak stencil buffers: 713854
Applied Workarounds: avoid_stencil_buffers
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565, 751919
Applied Workarounds: msaa_is_slow
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported	10/20/2017, 3:50:26 PM
Chrome version	Chrome/61.0.3163.100
Operating system	Mac OS X 10.12.6
Software rendering list version	13.10
Driver bug list version	10.29
ANGLE commit id	0d2ecb4ea992
2D graphics backend	Skia/61 0eefc0552cfb5ac077560b7c2630c5bd475ea585-
Command Line	/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	35
In-process GPU	false
Passthrough Command Decoder	false
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x8086, DEVICE= 0x0a2e *ACTIVE*
Optimus	false
Optimus	false
AMD switchable	false
Driver vendor	
Driver version	10.25.17
Driver date	
Pixel shader version	4.10
Vertex shader version	4.10
Max. MSAA samples	8
Machine model name	MacBookPro
Machine model version	11.1
GL_VENDOR	Intel Inc.
GL_RENDERER	Intel Iris OpenGL Engine
GL_VERSION	4.1 INTEL-10.25.17
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_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic 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
Log Messages
[33500:775:1018/125616.009264:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.011914:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.012093:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.012246:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.012361:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.012509:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.028213:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.030846:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032181:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032266:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032309:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032352:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032392:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032441:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032731:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032785:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032832:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032870:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032916:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032953:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.032989:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033209:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033258:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033296:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033334:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033375:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033416:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033458:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033662:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033712:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033754:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033793:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033832:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033870:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.033907:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034112:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034171:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034213:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034256:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034297:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034337:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1018/125616.034378:ERROR:gles2_cmd_decoder.cc(9792)] : [.Offscreen-For-WebGL-0x7f900d054a00]RENDER WARNING: there is no texture bound to the unit 0
[33500:775:1019/151828.799732:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[33500:775:1019/151828.801638:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.801754:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[33500:775:1019/151828.801815:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.801968:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[33500:775:1019/151828.802011:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.802211:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.802248:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.802274:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.802301:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.802343:ERROR:gles2_cmd_decoder.cc(9798)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[33500:775:1019/151828.838758:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[33500:775:1019/151828.838836:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[33500:775:1019/151828.838874:ERROR:gles2_cmd_decoder.cc(4439)] : [.Offscreen-For-WebGL-0x7ff3cc6d7e00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete

....+ lots more of these (tell me if you want the whole list)

Components: Blink>WebGL
Cc: vamshi.k...@techmahindra.com
Labels: Needs-Triage-M61 Triaged-ET TE-NeedsTriageHelp
Unable to reproduce the issue on reported chrome version stable 61.0.3163.100 and on the 
latest canary 64.0.3247.0 by using windows10, Ubuntu 14.04 and Mac 10.12.6. as per Comment#0, this seems to be happening specifically on newer Macs. Requesting someone from the webgl team to help in further debugging of this.

Thanks!
Note that this seems to happen only on Macs with an integrated graphics card, and when performance is stressed so that framerate drops.

When it happens, note that framerate is flickering between 30 and 60.
The workaround that we ended up using is to place a canvas in the DOM separate from the one used by WebGL and then copy the WebGL canvas to that one in the requestAnimationFrame function. (i.e. render WebGL offscreen)

Perhaps that works because drawImage forces the WebGL canvas to finish sync'ing before being displayed? Anyway hoping this might help give insight into why the general problem exists.

I guess another thing of note is that in the problem situations, WebGL is drawing to a canvas in the DOM, whereas explicitly rendering offscreen seems to fix the problem.

Comment 6 by kbr@chromium.org, Oct 26 2017

Mergedinto: 769488
Status: Duplicate (was: Unconfirmed)
Thanks for the report. This was diagnosed and fixed in  Issue 769488 . The fix is already in Chrome 62 which is rolling out now.

Sign in to add a comment