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

Issue 690598 link

Starred by 10 users

Issue metadata

Status: Duplicate
Merged: issue 702369
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Flicker when watching h264 videos

Reported by joakimk...@gmail.com, Feb 9 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Example URL:
https://youtu.be/5JdHSmaRiP4

Steps to reproduce the problem:
1.  Play h264 video
2. Observe flicker
3. 

What is the expected behavior?
No flicker.

What went wrong?
This only happens some times (hard to reproduce or explain) If i refresh the same video maybe 10-20 times it will happen at some point. I then have  to refresh the page (replay video) for everything to be OK again. 

vp9 videos work just fine from what I can tell. h264 (mp4) is the issue.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 56.0.2924.87  Channel: stable
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 24.0 r0

Contents of chrome://gpu: 
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
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
VPx 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
decode_encode_srgb_for_generatemipmap
disable_framebuffer_cmaa
disable_multimonitor_multisampling
disable_webgl_rgb_multisampling_usage
emulate_abs_int_function
emulate_isnan_on_float
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_base_mipmap_level_before_texstorage
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_shadowed_tex_level_params
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
Mac Drivers store texture level parameters on int16_t that overflow: 610153
Applied Workarounds: use_shadowed_tex_level_params
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
glTexStorage* are buggy when base mipmap level is not 0: 640506
Applied Workarounds: reset_base_mipmap_level_before_texstorage
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
Emulate GLSL function isnan() on Intel Mac: 650547
Applied Workarounds: emulate_isnan_on_float
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
Version Information
Data exported	09/02/2017, 21:05:42
Chrome version	Chrome/56.0.2924.87
Operating system	Mac OS X 10.12.3
Software rendering list version	12.06
Driver bug list version	9.24
ANGLE commit id	a4aaa2de57dc
2D graphics backend	Skia/56 bf2d9e02d58ea01f1c239f7e2fc024cba140ccb1
Command Line Args	Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --enable-tab-audio-muting --flag-switches-end
Driver Information
Initialization time	43
In-process GPU	false
Sandboxed	true
GPU0	VENDOR = 0x1002, DEVICE= 0x67ef
GPU1	VENDOR = 0x8086, DEVICE= 0x191b *ACTIVE*
Optimus	false
AMD switchable	true
Driver vendor	
Driver version	10.22.29
Driver date	
Pixel shader version	4.10
Vertex shader version	4.10
Max. MSAA samples	16
Machine model name	MacBookPro
Machine model version	13.3
GL_VENDOR	Intel Inc.
GL_RENDERER	Intel(R) HD Graphics 530
GL_VERSION	4.1 INTEL-10.22.29
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	
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
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	GPU_READ, SCANOUT
BGRX_8888	GPU_READ, SCANOUT
BGRA_8888	GPU_READ, SCANOUT, 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
[3648:8427:0209/204400.798246:ERROR:vt_video_decode_accelerator_mac.cc(634)] : Illegal attempt to decode without IDR. Discarding decode requests until next IDR.

While this is not my video. I see the same. https://www.youtube.com/watch?v=cW08Wez3F6E

 
Forgot to say, it happens with canary (chrome 58) with clean profile as well. So It's not some settings I have that are causing it.
Labels: Needs-Triage-M56
Cc: thakis@chromium.org ligim...@chromium.org sande...@chromium.org
Not able to reproduce the flicker in latest stable: 56.0.2924.87, Mac 10.11.
Also tried another h264 video from - http://www.quirksmode.org/html5/tests/video.html, not seeing any flickering.

As per the log message error : [3648:8427:0209/204400.798246:ERROR:vt_video_decode_accelerator_mac.cc(634)]
adding few folks in thread who made changes to the code recently.


#3 ligim... 

Are you using h264 or vp9 when testing? The problem is not reproducible when using vp9.

Also, I'm using 10.12.3 with the new macbook pro 2016 15" with 2 graphics cards, if that makes a difference.

To test I'm using this: https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal
I just tested with GF's MacBook Pro 2011 13". No issue here. So maybe the problem is with the new graphics in new 2016 MB Pro? I'm using one with Intel HD 530 and AMD Radeon Pro 450, issue when using both cards.
Sorry for spam.

I just tested with http://www.quirksmode.org/html5/tests/video.html that does NOT seem to trigger it. Maybe it's youtube specific?

Anyway, If you could try with h264ify and some 1440p video from youtube. That seems to be the problem.
Cc: ccameron@chromium.org
While the VTVDA warning is shocking on YouTube, it can't cause flicker.

ccameron@: any ideas?
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback
Tested in chrome # 56.0.2924.87 and Canary 58.0.3020.0 on Mac 10.12.3 (Mac Book Air 2015 with Intel HD Graphic card) and not able to reproduce the issue.Please find the screen cast for your reference.

@ joakimkoed: Could you please let me know if i have missed anything and if possible, please create a new profile without extensions and apps.Re-check once and let us know the observation of the issue which would help us to triage the issue further.

Thanks in Advance.
690598.mp4
13.8 MB View Download
@rbasuvula

Looked at your video. The strange thing, is that it only happens some times (maybe every 20 or 30th play)

How I reproduce it (with clean profile etc.) is playing like 5 secs. of the same video over and over (it's annoying, I know :() and once in a while, it will happen.

Also I would again point out that this does not happen when using VP9 (only h264 mp4 from what I can tell and only on YouTube).

Here is a video I took 2 mins ago in canary with only h264ify extension:

https://goo.gl/photos/2ttc61pwzzEXNgdd9

What I would recommend you do:
- use h264ify while testing (make sure video is not vp9)
- Use a MKBHD YouTube video (I know these trigger it)
- Refresh the page over and over (I did it 10 times to trigger it today)

It is also quite possible that your Air is not affected. My GF's 2011 does not seem to have this problem (from what I could tell)

Hope that made sense :) Feel free to ask for futher explanation.

Thank you for taking the time!
Here is another video I just took. Showing the whole process:

https://goo.gl/photos/PDrwZVYbrGx9oss96

Please watch this :)
Labels: -Needs-Feedback
Thank you for providing feedback. removing "Needs-Feedback" label.
This is happening for me as well. Running latest macOS and Chrome versions on 2016 Macbook Pro.
Labels: Needs-Feedback
Unable to reproduce the issue on Mac 10.12.3 using chrome version 56.0.2924.87.Able to play the video without any issues with and without the h264ify extension.

Please find the attached screen cast for the same.
Request you once please try the issue on new profile without any extensions and flags.Please update the thread if the issue still persists.

Thanks,
690598.mp4
5.2 MB View Download
@kavvaru

I just watched your video. Once again, I see you only played the video once. Did you see the video I linked to? (if not, please watch https://goo.gl/photos/PDrwZVYbrGx9oss96 ) I had to play it like 10 times to trigger it.


Project Member

Comment 15 by sheriffbot@chromium.org, Mar 8 2017

Cc: kavvaru@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kavvaru@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Mergedinto: 702369
Status: Duplicate (was: Unconfirmed)
This doesn't seem to be limited to h264 videos.  Issue 702369  is on the same issue.

Sign in to add a comment