Issue metadata
Sign in to add a comment
|
Video Playback intermittent Failure
Reported by
chadmcki...@gmail.com,
Jan 25 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Example URL: https://www.qu.edu Steps to reproduce the problem: 1. Load the site with no cache 2. Leave the browser running at the top of the page with the background video looping 3. After a while it will error with a 412 response and die What is the expected behavior? Video Continues to loop but doesn't re-download constantly, even with dev tools set to keep cache. instead reads the video from cache when looping once full video is downloaded. What went wrong? After leaving the page open and coming back to it after some time, it has stopped playback and the video looks to be unloaded from the page and a blank area is left where the video should still be looping. Did this work before? Yes 51.0.2704.106 Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 55.0.2883.95 Channel: stable OS Version: OS X 10.12.2 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 Driver Bug Workarounds disable_framebuffer_cmaa disable_multimonitor_multisampling get_frag_data_info_bug needs_offscreen_buffer_workaround pack_parameters_workaround_with_pack_buffer regenerate_struct_names 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_overlapping_rows_separately_unpack_buffer use_intermediary_for_copy_texture_image use_shadowed_tex_level_params Problems Detected Work around a bug in offscreen buffers on NVIDIA GPUs on Macs: 89557 Applied Workarounds: needs_offscreen_buffer_workaround 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 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 Unpacking overlapping rows from unpack buffers is unstable on NVIDIA GL driver: 596774 Applied Workarounds: unpack_overlapping_rows_separately_unpack_buffer 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 Version Information Data exported 1/25/2017, 10:59:37 AM Chrome version Chrome/55.0.2883.95 Operating system Mac OS X 10.12.2 Software rendering list version 11.17 Driver bug list version 9.15 ANGLE commit id 4d208abb1926 2D graphics backend Skia/55 d1740f81c843c65acd58d1b571ce94b90fee99d0 Command Line Args Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --enable-devtools-experiments --flag-switches-end Driver Information Initialization time 32 In-process GPU false Sandboxed true GPU0 VENDOR = 0x10de, DEVICE= 0x0fe9 *ACTIVE* GPU1 VENDOR = 0x8086, DEVICE= 0x0d26 Optimus true AMD switchable false Driver vendor Driver version 10.14.20 355.10.05.15f03 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 NVIDIA Corporation GL_RENDERER NVIDIA GeForce GT 750M OpenGL Engine GL_VERSION 4.1 NVIDIA-10.14.20 355.10.05.15f03 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_depth_bounds_test GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp 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 I've re-downloaded the 51.0.2704.106 version of chrome and tried this overnight and play back was fine, the network tab showed the video downloaded once with status 206 and in one request, and then was read from cache each time it looped. Running the same test on the current stable release of Chrome, the network tab showed the video downloading in multiple segments with status 206, and then kept downloading more and more as the video looped. Tried Safari Version 10.0.2 (12602.3.12.0.1) and it did not happen, as well as firefox 50.1.0
,
Feb 7 2017
I am able to repro this bug. After switch to other tabs for a while then switch back, the background video stop playing. This doesn't seems like a decoding issue, it's more like a css background video event handler bug. add blink tag. Dale, can you confirm if it is a real media bug and assign appropriately?
,
Feb 8 2017
Seems lack of caching is the bug? Seems it started around MultiBuffer time.
,
Feb 8 2017
I'm trying to reproduce this bug right now. I'm assuming that step one means "clear the cache and load the test page" ? The error 412 would indicate that one of two things is happening: 1. The video exist on multiple servers, each having a different etag for it. (Or possibly even files which are not the same.) 2. There is a bug in the chrome HTTP cache (or possibly in the multibuffer code.)
,
Feb 8 2017
I'm not entirely sure why we don't cache this video, maybe because it's served over https? However, from the developer console, it definitely looks like there are two videos with different etags being served. When I eventually get a 412 error, the last-modified time is slightly different from the one in all the other requests and the etag is different. However, taking a closer look, it kind of seems like there is some cookie-system that is causing the problem. The failing response looks like this: Accept-Ranges:bytes Cache-control:no-cache="set-cookie" Connection:keep-alive Content-Length:0 Content-Type:video/mp4 Date:Wed, 08 Feb 2017 20:20:59 GMT ETag:"74009a-10f69f2-547e208bd5133" Last-Modified:Mon, 06 Feb 2017 19:56:58 GMT Server:Apache Set-Cookie:AWSELB=810D<shortened>BE068;PATH=/;MAX-AGE=900 Vary:Accept-Encoding,User-Agent X-Frame-Options:SAMEORIGIN None of the working requests has a set-cookie or cache-control header. Also, the age of the cookie is 900 seconds, I don't suppose this problem happens after 15 minutes, does it?
,
Feb 8 2017
@hubbe, Sorry for the late response. Yeah you'll need to start from a cleared cache and load the page provided. I'm still able to reproduce the issue on the latest released chrome version(56.0.2924.87 (64-bit)). I believe there might be a content loader that determines which server to serve the content from. Not sure what else i can tell you, but if you have more questions i'll try to answer them
,
Feb 8 2017
I've found a bug that causes the content not to be cached, which I'm working on fixing. However, once that is fixed, it may hide the 412 problem, which I think is an issue on your server, just so you know.
,
Feb 13 2017
give to hubbe@ as per c#8. We'll see if this bug still repro after hubbe fix the couldn't-cache-content bug.
,
Feb 13 2017
Removing Blink>Animation component since this doesn't seem to be an animations issue. Feel free to add it back if I've missed something.
,
Mar 1 2017
The caching problem is fixed and merged back to M57 branch. Should be going out with next beta release. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ligim...@chromium.org
, Jan 25 2017