Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 3 users
Status: Available
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat

Blocked on:
issue 243223

issue 656675

Sign in to add a comment
Page shows content from last tab viewed as background (bug in usage of KHR_blend_equation_advanced)
Reported by, Nov 2 2016 Back to list
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.28 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Open a tab (e.g.
2. Open a new tab to

What is the expected behavior?
Should see just the black background to

What went wrong?
See the content of the previous tab, with text from overlaid on top

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 55.0.2883.28  Channel: n/a
OS Version: Arch Linux
Flash Version: Shockwave Flash 23.0 r0 appears to use WebGL, so this seems possibly related to this issue.
200 KB View Download
I can reproduce this in incognito mode also - I did find that I needed to switch back and forth between the two tabs once to activate the bug. I have attached a debug log of this session.
78.2 KB Download
Labels: Needs-Feedback
Unable to reproduce the issue on Ubuntu 14.04 using chrome reported version and chrome latest beta M55 #55.0.2883.35 .

@owen -- could you please try a system restart and try updating the chrome and if you still face the issue . Please write us with your observations.

Attached screencast for reference.

Thanks !
2.1 MB View Download
Comment 3 by, Nov 15 2016
Confirmed I can reproduce this after a reboot, as well as with an upgraded Chrome Beta (55.0.2883.44 beta 64-bit).
Unable to reproduce this issue, we tested this issue on ubuntu 14.04 machine with chrome version beta 55.0.2883.52. 
Observed that no contents of previous tab is displaying in tab
please look into the attached screen-cast.

Could you please try this scenario with clean profile without using any apps or extensions in your browser and let us know your observations.
Issue 661715.webm
3.2 MB View Download
Project Member Comment 5 by, Nov 25 2016
Labels: -Needs-Feedback Needs-Review
Thank you for providing more feedback. Adding requester "" for another review and adding "Needs-Review" label for tracking.

For more details visit - Your friendly Sheriffbot
Comment 6 by, Nov 27 2016
Here is a debug log and matching recording for with a clean profile. I also get a number of these errors on stderr:

[32591:32591:1127/] [.DisplayCompositor-0x28d8998b2800]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2D: <- error from previous GL command

Let me know if there is further testing I can help with.
733 KB View Download
967 KB View Download
Components: Blink>WebGL
Labels: TE-NeedsTriageFromMTV
Owner: ----
Tested this issue on Ubuntu 14.04 using chrome latest Beta M55 #55.0.2883.59 by following steps mentioned in the original comment. No luck, Observed no issues as seen in the provided gif file of comment #6. Seems to be this issue is specific to Arch Linux. Requesting some one from MTV team to look in to it.

Comment 8 by, Nov 29 2016
Components: Internals>GPU>Internals
Labels: Needs-Feedback
Please provide the contents of about:gpu . Here are the contents from my desktop Linux workstation; I can't reproduce the reported behavior.

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
Driver Bug Workarounds
Problems Detected
Accelerated video decode is unavailable on Linux: 137247
Disabled Features: accelerated_video_decode
Program link fails in NVIDIA Linux if gl_Position is not set: 286468
Applied Workarounds: init_gl_position_in_vertex_shader
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Linux NVIDIA drivers don't have the correct defaults for vertex attributes: 351528
Applied Workarounds: init_vertex_attributes
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
MakeCurrent is slow on Linux with NVIDIA drivers: 449150, 514510
Applied Workarounds: use_virtualized_gl_contexts
NVIDIA fails glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
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
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
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
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	11/28/2016, 7:59:42 PM
Chrome version	Chrome/55.0.2883.59
Operating system	Linux 3.13.0-100-generic
Software rendering list version	11.17
Driver bug list version	9.15
ANGLE commit id	4d208abb1926
2D graphics backend	Skia/55 71bbd67b5ad911269b9582f6c20cc0cc2de1a02f
Command Line Args	--user-data-dir=/usr/local/google/home/kbr/.config/google-chrome-beta --user-data-dir=/tmp/t2 --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	156
In-process GPU	false
Sandboxed	true
GPU0	VENDOR = 0x10de, DEVICE= 0x0df8
Optimus	false
AMD switchable	false
Driver vendor	NVIDIA
Driver version	367.57
Driver date	
Pixel shader version	4.50
Vertex shader version	4.50
Max. MSAA samples	64
Machine model name	
Machine model version	
GL_VERSION	4.5.0 NVIDIA 367.57
GL_EXTENSIONS	GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_cl_event GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_blend_equation_advanced GL_NV_blend_square GL_NV_command_list GL_NV_compute_program5 GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_NV_shader_thread_group GL_KHR_blend_equation_advanced GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
Disabled Extensions	
Window system binding vendor	NVIDIA Corporation
Window system binding version	1.4
Window system binding extensions	GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_EXT_libglvnd GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_NV_swap_group GLX_EXT_framebuffer_sRGB GLX_NV_multisample_coverage GLX_NV_copy_image GLX_NV_copy_buffer GLX_NV_video_capture
Window manager	Compiz
Compositing manager	Yes
Direct rendering	Yes
Reset notification strategy	0x8252
GPU process crash count	0
System visual ID	33
RGBA visual ID	226
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_8888	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only

Status: Untriaged
Able to repro on my personal Arch Linux laptop on 56.0.2924.3 on Mesa 13.0.0 or 13.0.1 (Intel HD 2000). I also got this error many times, and the tab crashed (at some point when I wasn't paying attention):

[1525:1525:1128/] : [.DisplayCompositor-0xe5da21c2300]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2D: <- error from previous GL command

But I was unable to repro on:
* Same machine, same Chrome, on Mesa 12.0.3
* Arch Linux VM on Mesa 13.0.1 (Gallium llvmpipe)

Evidently it could be a Mesa Intel driver regression in Mesa 13.0.0, but I don't know for sure. I have really old hardware so it would be nice to know if this is present on newer devices.

*@intel: If you have a newer machine with Mesa 13.0.x handy, can you look into this?
288 KB View Download
Comment 10 by, Nov 29 2016
Comment 11 by, Nov 29 2016
We will investigate this right now. 
The issue could be reproduced on Mesa TOT (commit hash code: c2b10cabed6468b998a9c4d0ada7953d93311029), this commit was only "i965: Enable GL_KHR_blend_equation_advanced on G45 and later".
When the issue happened, mesa driver explicitly reported some "GL_INVALID_OPERATION" errors, the log were
Mesa: User error: GL_INVALID_OPERATION in fragment shader does not allow advanced blending mode (GL_DIFFERENCE_KHR)

Checked mesa source, the reason for reporting the error was as below(./src/mesa/main/api_validate.c)
      /* The KHR_blend_equation_advanced spec says:
       *    "Advanced blending equations require the use of a fragment shader
       *     with a matching "blend_support" layout qualifier.  If the current
       *     blend equation is found in table X.1 or X.2, and the active
       *     fragment shader does not include the layout qualifier matching
       *     the blend equation or "blend_support_all_equations", the error
       *     INVALID_OPERATION is generated [...]"
      const struct gl_shader_program *sh_prog =
      const GLbitfield blend_support = !sh_prog ? 0 :

      if ((blend_support & ctx->Color._AdvancedBlendMode) == 0) {
         _mesa_error(ctx, GL_INVALID_OPERATION,
                     "fragment shader does not allow advanced blending mode "

It maybe fragment shader is not correct, layout qualifier must be as
layout(blend_support_all_equations) out vec4 webgl_FragColor; or
layout(blend_support_difference) out vec4 webgl_FragColor;

But the real fragment shader is as below, there is not layout qualifier.
#version 450
out vec4 webgl_FragColor;
in vec2 v_texCoord;
in float v_alpha;
uniform sampler2D s_texture;
void main(){
vec4 texColor = texture(s_texture, v_texCoord);
(webgl_FragColor = (texColor * v_alpha));

This fragment shader is generated by cc component, the stack is
#0  (anonymous namespace)::(anonymous namespace)::GLES2Implementation::ShaderSource (this=0x92983c51620, shader=20, count=1, str=0x7fffffff8988, length=0x7fffffff8984)
    at ../../gpu/command_buffer/client/gles2_implementation_impl_autogen.h:1840
#1  0x00005555632ddfe5 in (anonymous namespace)::ProgramBindingBase::LoadShader (this=0x9298426f434, context=0x92983c51620, type=35632, shader_source=...) at ../../cc/output/
#2  0x00005555632dddd4 in (anonymous namespace)::ProgramBindingBase::Init (this=0x9298426f434, context=0x92983c51620, vertex_shader=..., fragment_shader=...) at ../../cc/output/
#3  0x00005555632d6fe2 in (anonymous namespace)::ProgramBinding<cc::VertexShaderPosTexTransform, cc::FragmentShaderRGBATexVaryingAlpha>::Initialize (this=0x9298426f434, context_provider=0x929838d46e0, 
    precision=(anonymous namespace)::TEX_COORD_PRECISION_MEDIUM, sampler=(anonymous namespace)::SAMPLER_TYPE_2D, blend_mode=(anonymous namespace)::BLEND_MODE_NONE, mask_for_background=false)
    at ../../cc/output/program_binding.h:91
#4  0x00005555632c5a91 in (anonymous namespace)::ProgramBinding<cc::VertexShaderPosTexTransform, cc::FragmentShaderRGBATexVaryingAlpha>::Initialize (this=0x9298426f434, context_provider=0x929838d46e0, 
    precision=(anonymous namespace)::TEX_COORD_PRECISION_MEDIUM, sampler=(anonymous namespace)::SAMPLER_TYPE_2D) at ../../cc/output/program_binding.h:65
#5  0x00005555632b9ce3 in (anonymous namespace)::GLRenderer::GetTextureProgram (this=0x9298426e020, precision=(anonymous namespace)::TEX_COORD_PRECISION_MEDIUM, 
    sampler=(anonymous namespace)::SAMPLER_TYPE_2D) at ../../cc/output/
#6  0x00005555632a8a19 in (anonymous namespace)::GLRenderer::EnqueueTextureQuad (this=0x9298426e020, frame=0x7fffffffadd8, quad=0x929879e55f0, clip_region=0x0) at ../../cc/output/
#7  0x00005555632a6911 in (anonymous namespace)::GLRenderer::DoDrawQuad (this=0x9298426e020, frame=0x7fffffffadd8, quad=0x929879e55f0, clip_region=0x0) at ../../cc/output/
#8  0x000055556329a116 in (anonymous namespace)::DirectRenderer::DrawRenderPass (this=0x9298426e020, frame=0x7fffffffadd8, render_pass=0x92986d697a0) at ../../cc/output/
#9  0x0000555563298fa7 in (anonymous namespace)::DirectRenderer::DrawRenderPassAndExecuteCopyRequests (this=0x9298426e020, frame=0x7fffffffadd8, render_pass=0x92986d697a0)
    at ../../cc/output/
#10 0x0000555563298ddb in (anonymous namespace)::DirectRenderer::DrawFrame (this=0x9298426e020, render_passes_in_draw_order=0x7fffffffb8d0, device_scale_factor=1, device_color_space=..., 
    device_viewport_size=...) at ../../cc/output/
#11 0x000055555cd960b9 in (anonymous namespace)::Display::DrawAndSwap (this=0x92981d22220) at ../../cc/surfaces/
#12 0x000055555cd9a732 in (anonymous namespace)::DisplayScheduler::DrawAndSwap (this=0x929820186a0) at ../../cc/surfaces/
#13 0x000055555cd99e56 in (anonymous namespace)::DisplayScheduler::AttemptDrawAndSwap (this=0x929820186a0) at ../../cc/surfaces/
#14 0x000055555cd9974c in (anonymous namespace)::DisplayScheduler::OnBeginFrameDeadline (this=0x929820186a0) at ../../cc/surfaces/
#15 0x000055555670e3c7 in (anonymous namespace)::(anonymous namespace)::FunctorTraits<void (content::EmbeddedServiceRunner::*)(), void>::Invoke<base::WeakPtr<content::EmbeddedServiceRunner> const&> (
    method=(void ((anonymous namespace)::EmbeddedServiceRunner::*)((anonymous namespace)::EmbeddedServiceRunner * const)) 0x55555cd99660 <(anonymous namespace)::DisplayScheduler::OnBeginFrameDeadline()>, receiver_ptr=...) at ../../base/bind_internal.h:214
#16 0x000055555cd9dfaa in (anonymous namespace)::(anonymous namespace)::InvokeHelper<true, void>::MakeItSo<void (cc::DisplayScheduler::* const&)(), base::WeakPtr<cc::DisplayScheduler> const&> (
    functor=@0x92983cdbfc0: (void ((anonymous namespace)::DisplayScheduler::*)((anonymous namespace)::DisplayScheduler * const)) 0x55555cd99660 <(anonymous namespace)::DisplayScheduler::OnBeginFrameDeadline()>, weak_ptr=...) at ../../base/bind_internal.h:305
#17 0x000055555cd9df32 in (anonymous namespace)::(anonymous namespace)::Invoker<base::internal::BindState<void (cc::DisplayScheduler::*)(), base::WeakPtr<cc::DisplayScheduler> >, void ()>::RunImpl<void (cc::DisplayScheduler::* const&)(), std::tuple<base::WeakPtr<cc::DisplayScheduler> > const&, 0>(void ((anonymous namespace)::DisplayScheduler::*&)((anonymous namespace)::DisplayScheduler * const), const (anonymous namespace)::tuple<base::WeakPtr<cc::DisplayScheduler> > &, (anonymous namespace)::IndexSequence<0>) (
    functor=@0x92983cdbfc0: (void ((anonymous namespace)::DisplayScheduler::*)((anonymous namespace)::DisplayScheduler * const)) 0x55555cd99660 <(anonymous namespace)::DisplayScheduler::OnBeginFrameDeadline()>, bound=...) at ../../base/bind_internal.h:361
#18 0x000055555cd9de7c in (anonymous namespace)::(anonymous namespace)::Invoker<base::internal::BindState<void (cc::DisplayScheduler::*)(), base::WeakPtr<cc::DisplayScheduler> >, void ()>::Run((anonymous namespace)::(anonymous namespace)::BindStateBase *) (base=0x92983cdbfa0) at ../../base/bind_internal.h:339
about:gpu is attached, also here are my Arch package versions:

$ pacman -Q | egrep '(intel|mesa|libva|libgl)'
intel-tbb 2017_20161004-1
lib32-mesa 13.0.1-1
lib32-mesa-libgl 13.0.1-1
libglade 2.6.4-5
libglademm 2.6.7-4
libva 1.7.3-1
libva-intel-driver 1.7.3-1
mesa 13.0.1-1
mesa-libgl 13.0.1-1
opencl-mesa 13.0.1-1
xf86-video-intel 1:2.99.917+730+gdad64e9-1
17.3 KB View Download
Components: Internals>Compositing Internals>GPU>ANGLE
Labels: -TE-NeedsTriageFromMTV -Needs-Review -Needs-Feedback GPU-Intel
Status: Assigned
owen, thanks. Your GPU is Intel HD 4600, so it does seem to be Intel-specific on Mesa 13.0.x.

xinghua, thank you for pinpointing the issue so precisely! This is excellent info. kbr and I looked at this and we suspect we know how this happened. The Mesa commit you pointed out (c2b10ca) enabled GL_KHR_blend_equation_advanced. When it became available, cc probably started using it (with GL_DIFFERENCE_KHR). However, the shader, as you pointed out, isn't precisely spec compliant, so it fails on Mesa (which seems to be more strict than the other drivers).

The long-term solution is for cc to add layout qualifier(s) for any shaders that it expects to use with KHR_blend_equation_advanced. This will require the ANGLE shader translator to understand this layout qualifier.

In the immediate-term, we will disable the use of KHR_blend_equation_advanced specifically because the shaders we generate for it are wrong. (I'll take this part).
Status: Started
> In the immediate-term, we will disable the use of KHR_blend_equation_advanced specifically because the shaders we generate for it are wrong. (I'll take this part).

This was successful. I had to disable BOTH KHR_blend_equation_advanced and KHR_blend_equation_advanced_coherent.
Project Member Comment 16 by, Nov 30 2016
The following revision refers to this bug:

commit b5066b11a59f5b79aab006373533b8a191784a57
Author: kainino <>
Date: Wed Nov 30 18:35:15 2016

Disable KHR_blend_equation_advanced(_coherent) until cc shaders are updated


Cr-Commit-Position: refs/heads/master@{#435350}


Comment 17 by, Nov 30 2016
Blockedon: 243223
Comment 18 by, Nov 30 2016
Owner: ----
Status: Available
Summary: Page shows content from last tab viewed as background (bug in usage of KHR_blend_equation_advanced) (was: Page shows content from last tab viewed as background)
enne did some code archaeology and found that this support was added a long time ago in , for  Issue 243223 .

The shaders need to be updated to either add the layout qualifier to the output variable for the blend mode(s) the shader is intended to support, for example:

layout(blend_support_hardlight, blend_support_softlight) out;

or specify that the shader supports all blend equations:

layout(blend_support_all_equations) out;

The latter will surely have a performance penalty on some hardware, which is why we didn't make that change. It would be better to add the advanced blend equation (if any) as one of the parameters in cc's shader cache key, and dynamically generate the minimal layout qualifier for supporting exactly that blend equation.

Comment 19 by, Nov 30 2016
Note also that it looks like ANGLE's shader translator will in fact need to be updated to understand the presence of this extension, and the new layout qualifiers that it adds. Therefore leaving the Internals>GPU>ANGLE component.

Comment 20 by, Dec 5 2016
Enne started some work on this in . It looks like the compositor must be changed to create an OpenGL ES 3.0 context in order to support KHR_blend_equation_advanced. The reason is that the layout qualifiers must be added to the client-side shaders, and layout qualifiers aren't supported in ESSL 1.00 (OpenGL ES 2.0).

Comment 21 by, Dec 19 2016
I used to have this issue (I guess I has been reported (via wizard)) but I disabled one of my addons (some of speed dial ones).

But later I get new issue that looks exactly like

I am not sure but these two may be related
Comment 22 by, Dec 19 2016
Blocking: 656675
Comment 23 by, Dec 19 2016
Blocking: 664513
Comment 24 by, Dec 19 2016
Blocking: -664513
Sign in to add a comment