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

Issue 882317 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
OOO until 2019-01-24
Closed: Sep 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 883814
issue 883817

Blocking:
issue 784030
issue 863817
issue 888536
issue 898106



Sign in to add a comment

Chrome's perf dropped from 60fps to 30fps on webglfundamentals.org

Project Member Reported by gman@chromium.org, Sep 10

Issue description

Chrome Version: Version 69.0.3497.81 (Official Build) (64-bit)
OS: MacOS 10.13.6

What steps will reproduce the problem?
(1) On a 2014 15" Macbook Pro go to https://webglfundamentals.org

What is the expected result?

The background moves buttery smooth at 60fps

What happens instead?

The background moves at 30fps at best stuttering



Note: still runs smooth on v68, and Firefox and Safari


Ran bisect and it came up with

You are probably looking for a change made after 580180 (known good), but no later than 580211 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/2318e91b488de9dac1dc057fdfe34feab82e6f86..5b35992cbe828ddf356ab3296ef9106f01a779c3


I don't see anything GPU related in there but I do see a v8 update?


but just for the heck of it



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
Out-of-process Rasterization: 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
add_and_true_to_loop_condition
adjust_src_dst_region_for_blitframebuffer
avoid_stencil_buffers
decode_encode_srgb_for_generatemipmap
disable_2d_canvas_auto_flush
disable_framebuffer_cmaa
disable_webgl_rgb_multisampling_usage
dont_use_loops_to_initialize_variables
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
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
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
Don't expose disjoint_timer_query extensions to WebGL: 808744
Shader variable initialization in a loop caused perf regression on Mac Intel.: 809422
Applied Workarounds: dont_use_loops_to_initialize_variables
glFlush error on Mac: 841755
Applied Workarounds: disable_2d_canvas_auto_flush
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-09-10T05:12:19.874Z
Chrome version	Chrome/69.0.3497.81
Operating system	Mac OS X 10.13.6
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/032b3ca19e9af20182f9bd03deefc0faf4695558/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/032b3ca19e9af20182f9bd03deefc0faf4695558/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	6ffc489d4f18
2D graphics backend	Skia/69 e110fd1ebd2d559838c49a8821ebf18986bd6ec2-
Command Line	/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --autoplay-policy=document-user-activation-required --enable-webvr --disable-features=UseModernMediaControls --flag-switches-end
Driver Information
Initialization time	388
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	true
GPU0	VENDOR = 0x10de, DEVICE= 0x0fe9 *ACTIVE*
GPU1	VENDOR = 0x8086, DEVICE= 0x0d26
Optimus	true
AMD switchable	false
Driver vendor	
Driver version	
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	Intel Inc.
GL_RENDERER	Intel Iris Pro OpenGL Engine
GL_VERSION	4.1 INTEL-10.36.19
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
Disabled WebGL Extensions	EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
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, SCANOUT, SCANOUT_CPU_READ_WRITE, 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, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
BGRX_8888	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRX_1010102	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
RGBX_1010102	Software only
BGRA_8888	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
RGBA_F16	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, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
UYVY_422	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
Display(s) Information
Info	Display[69731906] bounds=[0,0 1680x1050], workarea=[39,23 1641x1027], scale=2, external.
Color space information	{primaries_d50_referred: [[0.6587, 0.3332], [0.3206, 0.6135], [0.1508, 0.0527]], transfer:0.0777*x + 0.0000 if x < 0.0450 else (0.9478*x + 0.0521)**2.4000 + -0.0000, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Decode h264 baseline	up to 4096x2160 pixels
Decode h264 extended	up to 4096x2160 pixels
Decode h264 main	up to 4096x2160 pixels
Decode h264 high	up to 4096x2160 pixels
Encode h264 baseline	up to 4096x2160 pixels and/or 30.000 fps
Encode h264 main	up to 4096x2160 pixels and/or 30.000 fps
Encode h264 high	up to 4096x2160 pixels and/or 30.000 fps
Log Messages
[42996:775:0910/133137.059668:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/133137.059748:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.084151:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.213334:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.241410:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.369269:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.496811:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.529371:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.589499:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.613499:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.659058:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.767397:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.810070:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.891518:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133137.892812:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133138.065269:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133138.130465:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133138.213870:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133138.253881:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/133138.347385:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134734.809888:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/134734.809920:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134734.881081:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/134734.881116:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134734.886808:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.161852:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/134750.161941:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.191976:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.194625:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.211476:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.216379:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.241709:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.242275:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.257772:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.288280:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.306273:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.321678:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.322234:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.349515:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.380174:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.410696:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.439840:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.470327:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.505921:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.546314:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134750.561495:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134848.481059:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/134848.481110:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134848.481134:ERROR:gles2_cmd_decoder.cc(18047)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[42996:775:0910/134848.481152:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134848.501457:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/134848.501497:ERROR:gles2_cmd_decoder.cc(12520)] : [.BrowserCompositor-0x7fb3f2521c00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format
[42996:775:0910/135001.623737:WARNING:ipc_message_attachment_set.cc(49)] : MessageAttachmentSet destroyed with unconsumed attachments: 0/1
[42996:775:0910/140038.953719:WARNING:ipc_message_attachment_set.cc(49)] : MessageAttachmentSet destroyed with unconsumed attachments: 0/1
 
Oh, also tested Canary 71.0.3547.0 (Official Build) canary (64-bit) and it's also slow
Cc: ccameron@chromium.org
Components: Blink>WebGL
Labels: -Pri-3 Pri-2
Owner: ligim...@chromium.org
Status: Assigned (was: Untriaged)
I think we can do a better bisect internally.

ligi: can you assign someone from your team to do a finer bisect? Hopefully we can pin-point to a single CL.
Labels: OS-Mac
Blocking: 863817
Owner: ccameron@chromium.org
I'd already started a per-revision bisect. Here are the results:

python bisect_builds.py --use-local-cache -o -a mac -g 579000 -b 589893 -- https://webglfundamentals.org

You are probably looking for a change made after 580212 (known good), but no later than 580213 (first known bad).
CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.
  https://chromium.googlesource.com/chromium/src/+log/cf64e143fc871fae4bc0522241294d34b832c33f..989f7a704c225521f08b2a0d7f64c619ba8aea29

It's the debugging information that was added for release blocker Issue 863817. Chris, can that be removed at this point?

I suspect that this is being caused by FlushForDriverCrashWorkaround, which prevents GPU raster context from crashing at abnormally high rates.

This flush may be removed for WebGL contexts.
Owner: kbr@chromium.org
Thanks Chris. Let me try removing that.

Blocking: 784030
Project Member

Comment 8 by bugdroid1@chromium.org, Sep 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4dc2e915fde1b77566d7ccd721e2b990a7f976f3

commit 4dc2e915fde1b77566d7ccd721e2b990a7f976f3
Author: Kenneth Russell <kbr@chromium.org>
Date: Mon Sep 10 22:59:17 2018

Restrict FlushForDriverCrashWorkaround to non-WebGL contexts.

This workaround appears to mostly be necessary for compositing and
rasterization contexts, and has a performance cost when used with
WebGL. Disable it there.

Bug:  882317 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I7dc89d11b2818f3af029d0dfb62d1a6e6fabfef3
Reviewed-on: https://chromium-review.googlesource.com/1217586
Reviewed-by: ccameron <ccameron@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590100}
[modify] https://crrev.com/4dc2e915fde1b77566d7ccd721e2b990a7f976f3/gpu/command_buffer/service/gles2_cmd_decoder.cc

Status: Fixed (was: Assigned)
This regression should be fixed by the above change. We can consider back-merges if this appears urgent (i.e., on more sites).

Cc: phanindra.mandapaka@chromium.org
Labels: TE-Verified-71.0.3549.0 TE-Verified-M71
Able to reproduce the issue on chrome version 69.0.3497.81 (build without fix) as per the comment #0.
Verified the fix on Mac 10.13.6  using Chrome version # 71.0.3549.0 .
Attaching screen-cast for reference.
Observed that  "The background moves buttery smooth at 60fps" 
The fix is working as expected, adding Verified labels

Thanks...!
882317.mp4
11.5 MB View Download
Labels: Merge-Request-70
Requesting merge to M70. This is a small fix which may improve performance significantly on some WebGL content.

Project Member

Comment 12 by sheriffbot@chromium.org, Sep 13

Labels: -Merge-Request-70 Merge-Review-70 Hotlist-Merge-Review
This bug requires manual review: M70 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), geohsu@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Blockedon: 883817
Labels: -Merge-Review-70 Merge-Approved-70
branch:3538
Project Member

Comment 15 by bugdroid1@chromium.org, Sep 14

Labels: -merge-approved-70 merge-merged-3538
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/40e2576f2310d9402886b60d6903fafbe589aaee

commit 40e2576f2310d9402886b60d6903fafbe589aaee
Author: Kenneth Russell <kbr@chromium.org>
Date: Fri Sep 14 18:10:21 2018

Restrict FlushForDriverCrashWorkaround to non-WebGL contexts.

This workaround appears to mostly be necessary for compositing and
rasterization contexts, and has a performance cost when used with
WebGL. Disable it there.

TBR=kbr@chromium.org

(cherry picked from commit 4dc2e915fde1b77566d7ccd721e2b990a7f976f3)

Bug:  882317 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I7dc89d11b2818f3af029d0dfb62d1a6e6fabfef3
Reviewed-on: https://chromium-review.googlesource.com/1217586
Reviewed-by: ccameron <ccameron@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#590100}
Reviewed-on: https://chromium-review.googlesource.com/1227144
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/branch-heads/3538@{#408}
Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811}
[modify] https://crrev.com/40e2576f2310d9402886b60d6903fafbe589aaee/gpu/command_buffer/service/gles2_cmd_decoder.cc

Blockedon: 883814
Labels: TE-Verified-M70 TE-Verified-70.0.3538.22
Able to reproduce the issue on chrome version 69.0.3497.81 (build without fix) as per the comment #0.
Verified the fix on Mac 10.13.6  using Chrome version # 70.0.3538.22.
Attaching screen-cast for reference.
Observed that  "The background moves buttery smooth at 60fps" 
The fix is working as expected, adding Verified labels

Thanks...!
882317.mp4
9.7 MB View Download
 Issue 888536  has been merged into this issue.
Blocking: 888536
Blocking: 898106
Labels: -TE-Verified-M70 -TE-Verified-M71 -TE-Verified-71.0.3549.0 -TE-Verified-70.0.3538.22
Hi there,

I'd like to understand what's going on here. Is this a MBP 2014 only issue? Pretty much every WebGL thing I've ever created is now running janky on my machine in Chrome, even in Canary.

I recently found out about "Quartz Debug", an app that's an extra download for XCode you can find in the Apple Developer site (https://developer.apple.com/download/more/) as part of "Additional Tools for XCode 10.1"

Running it under Window->Frame Meter is a frame rate meter showing the OS level framerate. If I run the Aquarium with default settings in Safari it's a solid 60fps. In Firefox it's a solid 60fps. Chrome Canary it runs at 52fps but sometimes mossies up to 56fps then falls back to 52fps.

Worse, it's intermittent at least in stable. Sometimes I run the aquarium in stable I get 52-56fps in Chrome STABLE. Other times I get 60fps

One other huge issue, and this has always been true with Chrome (no idea about Safari/FF), JS FPS meters often show 60fps but I can see the jank so I know it's not 60fps. Using Quartz Debug with stable when the issue is happening I see the aquarium thinks it's running at 60fps but Quartz Debug shows 51-52fps.

I wonder if that means Chrome is swapping buffers too late so that frames are being generated and maybe even submitted to the OS at an average of 60fps (so JS things frames per second is 60) but some how the OS is not showing all the frames and so that's why I see the jank.

Please consider reopening this (or start a new issue)?
aquarium-safari-12.0 (14606.1.36.1.9).jpg
929 KB View Download
aquarium-firefox-63.0.1 (64-bit).jpg
886 KB View Download
aquarium-chrome-canary-72.0.3601.0.jpg
905 KB View Download
aquarium-BAD-FPS-READing-70.0.3538.77 (Official Build) (64-bit).jpg
1021 KB View Download
Just checking but the Chrome Dev Tools FPS Meter also has the same issue. It thinks Chrome is getting 60fps but Quartz Debug shows otherwise


aquarium-Chrome-Dev-Tools-FPS-Wrong-70.0.3538.77 (Official Build) (64-bit).jpg
1020 KB View Download
Could it be that since FlushForDriverCrashWorkaround is still enabled for compositing, it's affecting the compositing performance for WebGL, even though the WebGL content itself is still okay?
Please either move the discussion to  Issue 888536  or open a new bug and let's block it on this one. Per https://bugs.chromium.org/p/chromium/issues/detail?id=888536#c20 I can't reproduce this reported regression.

Please test with a fresh --user-data-dir and get rid of any themes, etc. applied to Chrome. I gather that they can induce performance regressions.

Sign in to add a comment