New issue
Advanced search Search tips

Issue 781385 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 773199
Owner: ----
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

HTML5 video & audio lag when maximizing/minimizing Chrome when video tab is in the brackground

Reported by christia...@googlemail.com, Nov 3 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Example URL:
https://www.twitch.tv/twitchpresents

Steps to reproduce the problem:
1. Open HTML5 stream
2. Open another tab within Chrome (make sure tab with HTML5 stream is in background)
3. Minimize/maximize Chrome 

What is the expected behavior?
Chrome will minimize/maximize wihtout the video & audio lagging.

What went wrong?
Audio & Video lag when Chrome is being minimized/maximized.
Issue with Hardware Acceleration.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 62.0.3202.75  Channel: stable
OS Version: 10.0
Flash Version: 27.0.0.183

Contents of 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: Enabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Force enabled
Native GpuMemoryBuffers: Hardware accelerated
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_discard_framebuffer
disable_dxgi_zero_copy_video
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
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)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Zero-copy DXGI video hangs or displays incorrect colors on AMD drivers: 623029
Applied Workarounds: disable_dxgi_zero_copy_video
Version Information
Data exported	3.11.2017, 20:57:06
Chrome version	Chrome/62.0.3202.75
Operating system	Windows NT 10.0.16299
Software rendering list version	0
Driver bug list version	10.30
ANGLE commit id	e8ef2bc4bd01
2D graphics backend	Skia/62 e74b41c6c84638d5a9ee6d254a715bcd9e17c603-
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-native-gpu-memory-buffers --enable-features=CheckerImaging --flag-switches-begin --disable-touch-adjustment --enable-devtools-experiments --enable-experimental-canvas-features --enable-gpu-rasterization --enable-quic --disable-touch-drag-drop --enable-zero-copy --gpu-rasterization-msaa-sample-count=16 --ignore-gpu-blacklist --disable-lcd-text --num-raster-threads=4 --enable-smooth-scrolling --touch-events=disabled --enable-features=CheckerImaging,MemoryAblation --disable-features=PassiveEventListenersDueToFling --flag-switches-end
Driver Information
Initialization time	134
In-process GPU	false
Passthrough Command Decoder	false
Supports overlays	false
Sandboxed	false
GPU0	VENDOR = 0x1002, DEVICE= 0x67df
Optimus	false
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1	22.9"
Driver vendor	Advanced Micro Devices, Inc.
Driver version	22.19.677.257
Driver date	9-22-2017
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	8
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (Radeon (TM) RX 480 Graphics Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 3.0 (ANGLE 2.1.0.e8ef2bc4bd01)
GL_EXTENSIONS	GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_robust_resource_initialization GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object
Disabled Extensions	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor	Google Inc. (adapter LUID: 0000000000009e7f)
Window system binding version	1.4 (ANGLE 2.1.0.e8ef2bc4bd01)
Window system binding extensions	EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture_nv12 EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control
Direct rendering	Yes
Reset notification strategy	0x8252
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	Software only
R_16	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
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Diagnostics
0
b3DAccelerationEnabled	true
b3DAccelerationExists	true
bAGPEnabled	true
bAGPExistenceValid	true
bAGPExists	true
bCanRenderWindow	true
bDDAccelerationEnabled	true
bDriverBeta	false
bDriverDebug	false
bDriverSigned	false
bDriverSignedValid	false
bNoHardware	false
dwBpp	32
dwDDIVersion	12
dwHeight	1080
dwRefreshRate	60
dwWHQLLevel	0
dwWidth	1920
iAdapter	0
lDriverSize	1947864
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Aktiviert
szChipType	AMD Radeon Graphics Processor (0x67DF)
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Aktiviert
szDACType	Internal DAC(400MHz)
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Aktiviert
szDXVAHDEnglish	Not Supported
szDXVAModes	Unknown
szDescription	Radeon (TM) RX 480 Graphics
szDeviceId	0x67DF
szDeviceIdentifier	{D7B71EE2-249F-11CF-D376-B6167BC2DB35}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	16304 MB
szDisplayMemoryLocalized	16304 MB
szDisplayModeEnglish	1920 x 1080 (32 bit) (60Hz)
szDisplayModeLocalized	1920 x 1080 (32 bit) (60Hz)
szDriverAssemblyVersion	22.19.677.257
szDriverAttributes	Final Retail
szDriverDateEnglish	22.09.2017 01:00:00
szDriverDateLocalized	9/22/2017 01:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	Englisch
szDriverModelEnglish	WDDM 2.2
szDriverModelLocalized	WDDM 2.2
szDriverName	C:\WINDOWS\System32\DriverStore\FileRepository\c0318503.inf_amd64_9959cf6ec0a03df4\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\c0318503.inf_amd64_9959cf6ec0a03df4\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\c0318503.inf_amd64_9959cf6ec0a03df4\aticfx64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\c0318503.inf_amd64_9959cf6ec0a03df4\amdxc64.dll
szDriverNodeStrongName	oem4.inf:cb0ae414b0a67a88:ati2mtag_Polaris10DS:22.19.677.257:pci\ven_1002&dev_67df&rev_c7
szDriverSignDate	Unknown
szDriverVersion	22.19.0677.0257
szKeyDeviceID	Enum\PCI\VEN_1002&DEV_67DF&SUBSYS_34131462&REV_C7
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{815806DD-B96C-11E7-B2B0-98C88B18FC56}\0000
szManufacturer	Advanced Micro Devices, Inc.
szMiniVdd	Unbekannt
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	Unbekannt
szMonitorMaxRes	Unknown
szMonitorName	Generic PnP Monitor
szNotesEnglish	No problems found.
szNotesLocalized	Es wurden keine Probleme gefunden.
szOverlayEnglish	Not Supported
szRankOfInstalledDriver	00D12000
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x00C7
szSubSysId	0x34131462
szTestResultD3D7English	Not run
szTestResultD3D7Localized	Nicht ausgeführt
szTestResultD3D8English	Not run
szTestResultD3D8Localized	Nicht ausgeführt
szTestResultD3D9English	Not run
szTestResultD3D9Localized	Nicht ausgeführt
szTestResultDDEnglish	Not run
szTestResultDDLocalized	Nicht ausgeführt
szVdd	Unbekannt
szVendorId	0x1002
Log Messages
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[11072:9056:1103/205252.345:ERROR:mf_helpers.cc(14)] : Error in dxva_video_decode_accelerator_win.cc on line 1508
[11072:9056:1103/205252.345:ERROR:mf_helpers.cc(14)] : Error in dxva_video_decode_accelerator_win.cc on line 590
[11072:9056:1103/205252.345:ERROR:gpu_video_decode_accelerator.cc(367)] : HW video decode not available for profile vp9 profile0
[11072:9056:1103/205312.716:ERROR:mf_helpers.cc(14)] : Error in dxva_video_decode_accelerator_win.cc on line 1508
[11072:9056:1103/205312.716:ERROR:mf_helpers.cc(14)] : Error in dxva_video_decode_accelerator_win.cc on line 590
[11072:9056:1103/205312.716:ERROR:gpu_video_decode_accelerator.cc(367)] : HW video decode not available for profile vp9 profile0
[11072:9056:1103/205324.907:ERROR:gles2_cmd_decoder.cc(8945)] : [.DisplayCompositor-00000260C48F1390]GL ERROR :GL_INVALID_OPERATION : glSetDrawRectangleCHROMIUM: failed on surface
[11072:9056:1103/205324.907:ERROR:gles2_cmd_decoder.cc(8946)] : Context lost because SetDrawRectangleCHROMIUM failed.
[11072:9056:1103/205324.907:ERROR:gles2_cmd_decoder.cc(5414)] : Error: 5 for Command kSetDrawRectangleCHROMIUM
[11072:9056:1103/205324.907:ERROR:gpu_channel_manager.cc(197)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[5464:11148:1103/205325.987:ERROR:gles2_cmd_decoder.cc(8945)] : [.DisplayCompositor-00000260CCCFFA10]GL ERROR :GL_INVALID_OPERATION : glSetDrawRectangleCHROMIUM: failed on surface
[5464:11148:1103/205325.987:ERROR:gles2_cmd_decoder.cc(8946)] : Context lost because SetDrawRectangleCHROMIUM failed.
[5464:11148:1103/205325.987:ERROR:gles2_cmd_decoder.cc(5414)] : Error: 5 for Command kSetDrawRectangleCHROMIUM
[5464:11148:1103/205325.987:ERROR:gpu_channel_manager.cc(197)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[2036:8664:1103/205350.883:ERROR:gles2_cmd_decoder.cc(8945)] : [.DisplayCompositor-00000260CCCFEF70]GL ERROR :GL_INVALID_OPERATION : glSetDrawRectangleCHROMIUM: failed on surface
[2036:8664:1103/205350.883:ERROR:gles2_cmd_decoder.cc(8946)] : Context lost because SetDrawRectangleCHROMIUM failed.
[2036:8664:1103/205350.883:ERROR:gles2_cmd_decoder.cc(5414)] : Error: 5 for Command kSetDrawRectangleCHROMIUM
[2036:8664:1103/205350.883:ERROR:gpu_channel_manager.cc(197)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[6064:6248:1103/205351.701:ERROR:gles2_cmd_decoder.cc(8945)] : [.DisplayCompositor-00000260C48F03A0]GL ERROR :GL_INVALID_OPERATION : glSetDrawRectangleCHROMIUM: failed on surface
[6064:6248:1103/205351.701:ERROR:gles2_cmd_decoder.cc(8946)] : Context lost because SetDrawRectangleCHROMIUM failed.
[6064:6248:1103/205351.701:ERROR:gles2_cmd_decoder.cc(5414)] : Error: 5 for Command kSetDrawRectangleCHROMIUM
[6064:6248:1103/205351.701:ERROR:gpu_channel_manager.cc(197)] : Exiting GPU process because some drivers cannot recover from problems.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.

Tested as well with Firefox 56.0.2 (64-Bit) and Opera 48.0.2685.52 (PGO) 64-Bit 
under same conditions, video tab was also in background there
No problem with audio and or video lag in these browsers when minimizin/maximizing.

Definitely connected to hardware acceleration in Chrome this issue does not appear with hardware acceleration turned off in settings.

Attached a video which shows the issue.
 
2017-11-03 20-44-48.ts
13.7 MB Download
Mergedinto: 773199
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment