New issue
Advanced search Search tips

Issue 817007 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Video flickers to larger image for a split second after the progress bar fades (Netflix)

Project Member Reported by catalinp@google.com, Feb 27 2018

Issue description

Chrome Version       : 64.0.3282.167
URLs (if applicable) : http://www.netflix.com/
OS version               : Mac OS High Sierra 10.13.3
Behavior in Safari (if applicable): OK
Behavior in Firefox (if applicable):

What steps will reproduce the problem?
(1) Start playing a title in Netflix. Full screen.
(2) Move mouse to make controls (play/pause/volume) appear. Stop moving mouse.
(3) After the progress bar fades, video flickers to larger image for a split second. See attached video.

NOTE disabling hardware acceleration (Settings > Advanced > Use hardware acceleration when available) fixes the glitch:
  Chrome stable 64.0.3282.167 hardware acceleration ENABLED: glitch
  Chrome stable 64.0.3282.167 hardware acceleration DISABLED: OK
  Chrome canary 66.0.3350.0 hardware acceleration ENABLED: glitch

The machine is a MacBook Air MacBookAir6,1:
  GPU: Intel HD Graphics 5000
  Display: 11.6", native 1366 × 768 (16:9)

I have contacted Netflix tech support, they were unable to help.

Same effect happens when subtitles are enabled and the last subtitle disappears from the screen.

What is the expected result?
Video scaling is stable.

What happens instead?
Video flickers to larger image for a split second. See attached video.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.
No access to that machine until the end of the day, will add a comment later.
 
IMG_3385_1.mp4
1.5 MB View Download
Components: Internals>GPU>Video Internals>GPU
Adding some components to get triage.

Comment 2 by catalinp@google.com, Feb 28 2018

chrome://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
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_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
swizzle_rgba_for_async_readpixels
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
Async Readpixels with GL_BGRA format is broken on Haswell chipset on Macs: 265115
Applied Workarounds: swizzle_rgba_for_async_readpixels
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
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported	2/27/2018, 7:20:16 PM
Chrome version	Chrome/64.0.3282.186
Operating system	Mac OS X 10.13.3
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/9611116ee79c63602f452e4fae2242a61cf0672d/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/9611116ee79c63602f452e4fae2242a61cf0672d/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	2987f0fde973
2D graphics backend	Skia/64 713571f9afcf4b673812cd3b52bb5b17c107038b-
Command Line	/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --isolate-origins=https://chromium.org/,https://corp.googleapis.com/,https://storage.googleapis.com,https://ajax.googleapis.com,https://fonts.googleapis.com,https://googleplex.com/,https://googlesource.com/,https://youtube.com/,https://google.com/,https://googleacquisitionmigration.com/,https://googleusercontent.com/,https://googleprod.com/,https://nest.com/,https://myworkday.com/,https://chromiumapp.org/,https://lucidchart.com/,https://service-now.com/,https://concursolutions.com/,https://salesforce.com/,https://gcorppartners.com/,https://morganstanley.com/,https://schwab.com/,https://qualtrics.com/,https://ultipro.com/,https://google.secure2-enroll.com/,https://googlegroups.com/,https://google.secure.force.com/,https://ebenefitsnow.com/,https://firebase.com/,https://elo.plusrelocation.com/,https://anthem.com/,https://g.viapeople.net/,https://gdjap.com/,https://asana.com/,https://perquisite.net/,https://postini.com/,https://perkhub.com/,https://gstave.us/,https://geolearning.com/,https://lecorpio.com/,https://inverify.net/,https://preceda.com.au/,https://secureacceptance.cybersource.com/,https://solium.com/,https://fgvms.com/,https://withgoogle.com/,https://ridecell.com/,https://tds.ie/,https://sprinklr.com/,https://smartsheet.com/,https://fieldglass.net/,https://dochub.com/ --flag-switches-begin --enable-features=ScrollAnchoring --flag-switches-end --isolate-origins=https://chromium.org/,https://corp.googleapis.com/,https://storage.googleapis.com,https://ajax.googleapis.com,https://fonts.googleapis.com,https://googleplex.com/,https://googlesource.com/,https://youtube.com/,https://google.com/,https://googleacquisitionmigration.com/,https://googleusercontent.com/,https://googleprod.com/,https://nest.com/,https://myworkday.com/,https://chromiumapp.org/,https://lucidchart.com/,https://service-now.com/,https://concursolutions.com/,https://salesforce.com/,https://gcorppartners.com/,https://morganstanley.com/,https://schwab.com/,https://qualtrics.com/,https://ultipro.com/,https://google.secure2-enroll.com/,https://googlegroups.com/,https://google.secure.force.com/,https://ebenefitsnow.com/,https://firebase.com/,https://elo.plusrelocation.com/,https://anthem.com/,https://g.viapeople.net/,https://gdjap.com/,https://asana.com/,https://perquisite.net/,https://postini.com/,https://perkhub.com/,https://gstave.us/,https://geolearning.com/,https://lecorpio.com/,https://inverify.net/,https://preceda.com.au/,https://secureacceptance.cybersource.com/,https://solium.com/,https://fgvms.com/,https://withgoogle.com/,https://ridecell.com/,https://tds.ie/,https://sprinklr.com/,https://smartsheet.com/,https://fieldglass.net/,https://dochub.com/
Driver Information
Initialization time	48
In-process GPU	false
Passthrough Command Decoder	false
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x8086, DEVICE= 0x0a26 *ACTIVE*
Optimus	false
Optimus	false
AMD switchable	false
Driver vendor	
Driver version	10.30.14
Driver date	
Pixel shader version	4.10
Vertex shader version	4.10
Max. MSAA samples	8
Machine model name	MacBookAir
Machine model version	6.1
GL_VENDOR	Intel Inc.
GL_RENDERER	Intel HD Graphics 5000 OpenGL Engine
GL_VERSION	4.1 INTEL-10.30.14
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, SCANOUT, 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
BGRX_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, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
YVU_420	Software only
YUV_420_BIPLANAR	GPU_READ, SCANOUT, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
UYVY_422	GPU_READ, SCANOUT, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT
Display(s) Information
Info	Display[69680256] bounds=0,0 1366x768, workarea=0,23 1366x745, scale=1, external
Color space information	{primaries:[[0.3802,0.4362,0.1479,],[0.2191,0.6874,0.0935,],[0.0429,0.1270,0.6550,],], transfer:0.0774*x + 0.0000 if x < 0.0404 else (0.9479*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
[5276:775:0227/190929.212006:WARNING:ipc_message_attachment_set.cc(49)] : MessageAttachmentSet destroyed with unconsumed attachments: 0/1
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback Needs-Triage-M64
Thanks for filing the issue! Tested on reported chrome # 64.0.3282.167 & 66.0.3350.0, Latest Stable #64.0.3282.186 & Canary #66.0.3358.0 on mac 10.13.3 and not able to reproduce the issue as per provided steps.Please find the screen cast for your reference.

@ catalinp: Could you please let me know if i have missed anything and if possible,Please create new profile without extensions and apps.Re-check once in latest builds of chrome and let us know the observations of the issue which would help us to triage the issue further.

Thanks in Advance.
817007.mp4
13.7 MB View Download
817007 GPU Details.rtf
73.6 KB Download
I was only able to reproduce with certain Netflix titles (example: Last Man on Earth, Dark) but not others. Could you try with those?

I suspect this issue may be related to graphics drivers (therefore related to GPU chip). From your GPU Details, you have "Intel(R) HD Graphics 6000". Are you able to find a machine with 'HD Graphics 5000', like mine?

If possible, in the future, could you post plain-text details? I have difficulty reading rtf files.
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 1 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I noticed that adjusting the volume (shows Mac OS system overlay for volume) also produces the same zoom glitch.
Labels: -Pri-3 Pri-2
Owner: ccameron@chromium.org
Status: Assigned (was: Unconfirmed)
ccameron@ can you tell by looking at the video if this is a windowserver bug or something with how we use calayers?
Cc: sdy@chromium.org
This looks like a bug as we transition into detached (low power video) mode ... there are often hitches during that transition (due to OS and hardware vagaries), though haven't seen one like this before.

Does this happen in YouTube with the h264ify extension installed? Does it happen on other machines?
With h264ify on this video https://www.youtube.com/watch?v=eGKWS6_187s and quality 720p, after all overlays disappear, when I activate system volume, I can see the video scaling changing by ~1 horizontal pixel when the volume is visible/not visible. So far can't reproduce the magnitude of effect I see with Netflix.

I only watch Netflix on this machine, I cannot provide information about others.
Here is chrome://media-internals for the netflix video:

render_id: 6690
player_id: 14
origin_url: https://www.netflix.com/
frame_url: https://www.netflix.com/watch/80076102?trackId=14272744
frame_title: Netflix
url: blob:https://www.netflix.com/8e8cd5f0-345f-4d36-9b6f-e85412d3f6a2
info: Selected video track: []
pipeline_state: kSuspended
found_audio_stream: true
audio_codec_name: aac
found_video_stream: true
video_codec_name: h264
debug: (Log limit reached. Further similar entries may be suppressed): Parsed video frame has DTS 1751750us, which is after the frame's PTS 1710041us
seek_target: 1297.091
has_cdm: true
audio_dds: false
audio_decoder: FFmpegAudioDecoder
video_dds: false
video_decoder: DecryptingVideoDecoder
audio_buffering_state: BUFFERING_HAVE_ENOUGH
height: 720
width: 1280
video_buffering_state: BUFFERING_HAVE_ENOUGH
pipeline_buffering_state: BUFFERING_HAVE_ENOUGH
event: PAUSE
duration: 2984.106666

This is still happening, on sites other than Netflix, and seems to match https://bugs.chromium.org/p/chromium/issues/detail?id=807176&can=1&q=netflix%20zoom&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified.

BTW any reason this bug is 'Restricted'? could it be open for public access?
Version 66.0.3359.139 (Official Build) (64-bit)

macOS sometimes flickers "something strange" when transitioning to its low power state -- if this is the case, then it's out of our hands (and happens sometimes in Quicktime and Safari too)
For what it's worth, it does *not* reproduce with Netflix in Safari.
Does it happen every time that the subtitles go away, or just once at the very beginning of the fullscreen session?
Every time subtitles go away.
If it's that bad, then we should blacklist fullscreen low power mode on this configuration ... if this is specific to this configuration.
also happens on https://watch.cbc.ca/media/crawford/season-1/episode-1/38e815a-00dbffd3bee

BTW any reason this bug is 'Restricted'? could it be open for public access?

If this is an issue with Mac OS, is there a process for reporting the issue to Apple?
I'm sorry to keep pinging this, but this makes Netflix with subtitles basically unwatchable (eg. foreign language title) on my primary computer.

I do not want to disable hardware acceleration completely, as I suspect this will impact performance / battery life.

Are there any workarounds I can do that will only affect video playback? Any additional information I can provide?

Comment 20 by sdy@chromium.org, Jun 5 2018

The last issue like this we reported to Apple got duped into an existing bug, which makes me think it’s *possible* that it’s been fixed in 10.13.5. Would you mind updating and re-testing? Otherwise, we can look into escalating and mitigating.
If we can find out what hardware is affected by this, we can disable our use of AVSampleBufferDisplayLayer (you can test that locally with the command line flag --disable-avfoundation).

That will negatively affect battery life, so we're only willing to look into it if we can find out what specific hardware is affected (and if that's a reasonably small subset).
'--disable-avfoundation-overlays' indeed fixes the issue.

10.13.5 is not available in my app store updates yet.
Here is a repro: https://jsfiddle.net/fowvq6a1/
macOS 10.13.5 (17F77)
Intel HD Graphics 5000 1536 MB
Chrome Version 67.0.3396.87 (Official Build) (64-bit)

Still repro.
MacOS 10.13.6 (17G65)

Still repro.

I have asked twice before (May 29, Jun 3):

BTW any reason this bug is 'Restricted'? could it be open for public access?

-> ping.
Labels: allpublic
The bug was auto-restricted because it has attachments from an @google.com email address, I'll unrestrict it.
Thanks!
This Chrome extension works around the issue:
https://chrome.google.com/webstore/detail/videofixer-for-flux/gmkeppffdejhpppfnbgakglpoeaobhhh

the core of it is this stylesheet:
video:-webkit-full-screen, :-webkit-full-screen video {
  opacity: 0.996 !important;
}
video:fullscreen, :fullscreen video {
  opacity: 0.996 !important;
}

Sign in to add a comment