Issue metadata
Sign in to add a comment
|
Youtube gives error when changing audio endpoint multiple times with Chrome
Reported by
rguth...@microsoft.com,
Feb 22 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Example URL: Steps to reproduce the problem: Repro steps: 1. Launch Chrome and navigate to Youtube 2. Play video 3. Plug in/out headphones multiple times in a row (switching each second) What is the expected behavior? Playback continues without interruption What went wrong? Results: Youtube video ends and displays the following message: "An error occurred. Please try again later. (Playback ID: eDVfCPpOgKfe2oc6). Tab refresh is needed to recover. Did this work before? N/A Is it a problem with Flash or HTML5? N/A Does this work in other browsers? N/A Chrome version: 56.0.2924.87 Channel: stable OS Version: 10.0 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: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Hardware accelerated Video Encode: Hardware accelerated VPx Video Decode: Software only, hardware acceleration unavailable WebGL: Hardware accelerated WebGL2: Hardware accelerated Driver Bug Workarounds clear_uniforms_before_first_program_use disable_discard_framebuffer disable_framebuffer_cmaa exit_on_context_lost force_cube_complete msaa_is_slow scalarize_vec_and_mat_constructor_args texsubimage_faster_than_teximage Problems Detected VPx decoding is too slow on Intel Broadwell, Skylake, and CherryView: 616318 Disabled Features: accelerated_vpx_decode Accelerated VPx decoding is hanging on some videos.: 654111 Disabled Features: accelerated_vpx_decode 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 On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565 Applied Workarounds: msaa_is_slow 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 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 2/22/2017, 2:38:02 PM Chrome version Chrome/56.0.2924.87 Operating system Windows NT 10.0.14393 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 Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Profile 1" --flag-switches-begin --flag-switches-end Driver Information Initialization time 107 In-process GPU false Sandboxed false GPU0 VENDOR = 0x8086, DEVICE= 0x1926 Optimus false AMD switchable false Desktop compositing Aero Glass Diagonal Monitor Size of \\.\DISPLAY3 26.9" Diagonal Monitor Size of \\.\DISPLAY2 27.8" Diagonal Monitor Size of \\.\DISPLAY1 12.2" Driver vendor Intel Corporation Driver version 20.19.15.4463 Driver date 7-6-2016 Pixel shader version 5.0 Vertex shader version 5.0 Max. MSAA samples 16 Machine model name Machine model version GL_VENDOR Google Inc. GL_RENDERER ANGLE (Intel(R) Iris(TM) Graphics 540 Direct3D11 vs_5_0 ps_5_0) GL_VERSION OpenGL ES 3.0 (ANGLE 2.1.0.a4aaa2de57dc) GL_EXTENSIONS GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_robust_client_memory 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_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_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_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 Window system binding vendor Google Inc. (adapter LUID: 00000000000095c3) Window system binding version 1.4 (ANGLE 2.1.0.a4aaa2de57dc) 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 Direct rendering Yes Reset notification strategy 0x8252 GPU process crash count 0 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 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 1824 dwRefreshRate 60 dwWHQLLevel 0 dwWidth 2736 iAdapter 0 lDriverSize 40212952 lMiniVddSize 0 szAGPStatusEnglish Enabled szAGPStatusLocalized Enabled szChipType Intel(R) Iris(TM) Graphics Family szD3DStatusEnglish Enabled szD3DStatusLocalized Enabled szDACType Internal szDDIVersionEnglish 12 szDDIVersionLocalized 12 szDDStatusEnglish Enabled szDDStatusLocalized Enabled szDXVAHDEnglish Supported szDXVAModes ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C szDescription Intel(R) Iris(TM) Graphics 540 szDeviceId 0x1926 szDeviceIdentifier {D7B78E66-5A66-11CF-CB66-1A20B6C2D935} szDeviceName \\.\DISPLAY1 szDisplayMemoryEnglish 4095 MB szDisplayMemoryLocalized 4095 MB szDisplayModeEnglish 2736 x 1824 (32 bit) (60Hz) szDisplayModeLocalized 2736 x 1824 (32 bit) (60Hz) szDriverAssemblyVersion 20.19.15.4463 szDriverAttributes Final Retail szDriverDateEnglish 7/5/2016 4:00:00 PM szDriverDateLocalized 7/5/2016 16:00:00 szDriverLanguageEnglish English szDriverLanguageLocalized English szDriverModelEnglish WDDM 2.0 szDriverModelLocalized WDDM 2.0 szDriverName igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll szDriverNodeStrongName oem33.inf:5f63e534647eb659:iSKLD_w10:20.19.15.4463:pci\ven_8086&dev_1926&subsys_00151414 szDriverSignDate Unknown szDriverVersion 20.19.0015.4463 szKeyDeviceID Enum\PCI\VEN_8086&DEV_1926&SUBSYS_00151414&REV_0A szKeyDeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{4B0DEA1F-06ED-4CF8-A6A8-C116E2E7C5D1}\0000 szManufacturer Intel Corporation szMiniVdd unknown szMiniVddDateEnglish Unknown szMiniVddDateLocalized unknown szMonitorMaxRes Unknown szMonitorName Surface Display szNotesEnglish No problems found. szNotesLocalized No problems found. szOverlayEnglish Supported szRankOfInstalledDriver 00D10001 szRegHelpText Unknown szRevision Unknown szRevisionId 0x000A szSubSysId 0x00151414 szTestResultD3D7English Not run szTestResultD3D7Localized Not run szTestResultD3D8English Not run szTestResultD3D8Localized Not run szTestResultD3D9English Not run szTestResultD3D9Localized Not run szTestResultDDEnglish Not run szTestResultDDLocalized Not run szVdd unknown szVendorId 0x8086 1 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 2160 dwRefreshRate 29 dwWHQLLevel 0 dwWidth 3840 iAdapter 1 lDriverSize 40212952 lMiniVddSize 0 szAGPStatusEnglish Enabled szAGPStatusLocalized Enabled szChipType Intel(R) Iris(TM) Graphics Family szD3DStatusEnglish Enabled szD3DStatusLocalized Enabled szDACType Internal szDDIVersionEnglish 12 szDDIVersionLocalized 12 szDDStatusEnglish Enabled szDDStatusLocalized Enabled szDXVAHDEnglish Supported szDXVAModes ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C szDescription Intel(R) Iris(TM) Graphics 540 szDeviceId 0x1926 szDeviceIdentifier {D7B78E66-5A66-11CF-CB66-1A20B6C2D935} szDeviceName \\.\DISPLAY2 szDisplayMemoryEnglish 4095 MB szDisplayMemoryLocalized 4095 MB szDisplayModeEnglish 3840 x 2160 (32 bit) (29Hz) szDisplayModeLocalized 3840 x 2160 (32 bit) (29Hz) szDriverAssemblyVersion 20.19.15.4463 szDriverAttributes Final Retail szDriverDateEnglish 7/5/2016 4:00:00 PM szDriverDateLocalized 7/5/2016 16:00:00 szDriverLanguageEnglish English szDriverLanguageLocalized English szDriverModelEnglish WDDM 2.0 szDriverModelLocalized WDDM 2.0 szDriverName igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll szDriverNodeStrongName oem33.inf:5f63e534647eb659:iSKLD_w10:20.19.15.4463:pci\ven_8086&dev_1926&subsys_00151414 szDriverSignDate Unknown szDriverVersion 20.19.0015.4463 szKeyDeviceID Enum\PCI\VEN_8086&DEV_1926&SUBSYS_00151414&REV_0A szKeyDeviceKey \Registry\Machine\System\CurrentControlSet\Control\Video\{4B0DEA1F-06ED-4CF8-A6A8-C116E2E7C5D1}\0001 szManufacturer Intel Corporation szMiniVdd unknown szMiniVddDateEnglish Unknown szMiniVddDateLocalized unknown szMonitorMaxRes Unknown szMonitorName Generic PnP Monitor szNotesEnglish No problems found. szNotesLocalized No problems found. szOverlayEnglish Supported szRankOfInstalledDriver 00D10001 szRegHelpText Unknown szRevision Unknown szRevisionId 0x000A szSubSysId 0x00151414 szTestResultD3D7English Not run szTestResultD3D7Localized Not run szTestResultD3D8English Not run szTestResultD3D8Localized Not run szTestResultD3D9English Not run szTestResultD3D9Localized Not run szTestResultDDEnglish Not run szTestResultDDLocalized Not run szVdd unknown szVendorId 0x8086 Log Messages GpuProcessHostUIShim: The GPU process exited normally. Everything is okay. This issue is observed with YouTube, Netflix HBOGo and Amazon.
,
Feb 22 2017
I am unable to repro using that video as playback stops when I unplug the headphones. This is different behavior than if I repro using this video https://www.youtube.com/watch?v=NqdVWLZH_lI
,
Feb 22 2017
What about this one? http://storage.googleapis.com/dalecurtis/mse.html?src=buck720.webm&type=webm
,
Feb 22 2017
I see similar behavior where I unplug headphones, plug back in and video stops.
,
Feb 22 2017
What does chrome://media-internals say about that player though?
,
Feb 22 2017
Here is what is says for your video: render_id: 68 player_id: 0 pipeline_state: kStopped event: PAUSE url: blob:http://storage.googleapis.com/8269c78b-62bb-4b00-a3a4-a38cc5cb57c4 found_video_stream: true video_codec_name: vp9 found_audio_stream: true audio_codec_name: opus duration: 634.601 audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: VpxVideoDecoder error: audio render error pipeline_error: audio renderer: output device reported an error Here is what is says when I try the YouTube video I provided (There are two entries) Entry 1 ================ render_id: 76 player_id: 25 pipeline_state: kStopped event: WEBMEDIAPLAYER_DESTROYED url: blob:https://www.youtube.com/8b7edaf9-d6ca-4348-a636-978a7d2697ce duration: 564.546757 info: Video codec: avc1.640028 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 5105100us, which is after the frame's PTS 5071733us audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: GpuVideoDecoder error: audio render error pipeline_error: audio renderer: output device reported an error Entry 2 ============== render_id: 76 player_id: 22 pipeline_state: kStopped event: WEBMEDIAPLAYER_DESTROYED url: blob:https://www.youtube.com/f15af8e8-a04d-42ec-86c2-f0f914a1b8d3 duration: 564.546757 info: Video codec: avc1.640028 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 567233us, which is after the frame's PTS 533866us audio_dds: false audio_decoder: FFmpegAudioDecoder video_dds: false video_decoder: GpuVideoDecoder error: audio render error pipeline_error: audio renderer: output device reported an error
,
Feb 22 2017
Thanks! It does look like our device changes are failing somewhere along the way. I don't have my windows machine today so will take a peek tomorrow. If you have time, can you launch chrome with logging enabled and see if any error messages are printed? https://www.chromium.org/for-testers/enable-logging
,
Feb 23 2017
,
Feb 23 2017
Unable to reproduce the issue on windows-10 and windows-7 using chrome version 56.0.2924.87 with the steps mentioned in comment#0. Observed that Playback continues without interruption. rguthrie@ could you please try in a clean profile without any extensions and let us know your observations if the issue still persists. Thanks.
,
Feb 23 2017
I disabled all extensions and everything looked to work correctly? Any steps to isolate which extension might be causing the issue?
,
Feb 24 2017
I tested again and am still reproing, one of our engineers is also reproing still. We will enable logging and get the logs this evening.
,
Feb 24 2017
,
Feb 24 2017
Thanks, will investigate today.
,
Feb 24 2017
,
Feb 25 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f1327bc594c83f73c44f83f1ac1b1ae63893487d commit f1327bc594c83f73c44f83f1ac1b1ae63893487d Author: dalecurtis <dalecurtis@chromium.org> Date: Sat Feb 25 00:00:48 2017 Notify WASAPIAudioOutputStream users of rendering errors. Upstream tracks error information and uses it to determine if a stream is acceptable for reuse. Rendering failures should cause the destruction of the stream, not allow reuse. BUG= 695228 TEST=unplug/replug continues to work. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2720433002 Cr-Commit-Position: refs/heads/master@{#453005} [modify] https://crrev.com/f1327bc594c83f73c44f83f1ac1b1ae63893487d/media/audio/win/audio_low_latency_output_win.cc
,
Feb 25 2017
Will merge next week if all looks good.
,
Feb 27 2017
rguthrie@ Can you try the latest Chrome canary with your two issues and see if they are resolved?
,
Feb 28 2017
I tried canary and in full screen do not repro with this video https://www.youtube.com/watch?v=NqdVWLZH_lI
,
Feb 28 2017
Great thanks! Don't see any increases in failed track metrics so will merge request.
,
Feb 28 2017
This bug requires manual review: We are only 13 days from stable. Please contact the milestone owner if you have questions. Owners: amineer@(clank), cmasso@(bling), ketakid@(cros), govind@(desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 28 2017
Seems like change is verified in Canary and looks good per comment #18 and #19. However, this is not an M57 regression and P2, can this wait until M58 as we're VERY close to M57 Stable promotion?
,
Mar 1 2017
This is a regression; though I'm not sure when it regressed. I suspect something has changed in Windows which causes this issue to manifest now (since this code has always been this way -- and I've personally verified it in the past).
,
Mar 1 2017
To add a bit more color; this has been on canary for a few days with no increases (or decreases) in audio errors: https://uma.googleplex.com/p/chrome/timeline_v2/?sid=7328d2abac8c955ec0695605d5c639ed So it feels safe to merge.
,
Mar 1 2017
Approving merge to M57 branch 2987 based on comment #18, #19 and #23. Please merge ASAP. Thank you.
,
Mar 1 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9d52d35cd4e7b0d23b87758138035db85430a598 commit 9d52d35cd4e7b0d23b87758138035db85430a598 Author: Dale Curtis <dalecurtis@chromium.org> Date: Wed Mar 01 00:46:24 2017 Merge M57: "Notify WASAPIAudioOutputStream users of rendering errors." Upstream tracks error information and uses it to determine if a stream is acceptable for reuse. Rendering failures should cause the destruction of the stream, not allow reuse. BUG= 695228 TEST=unplug/replug continues to work. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2720433002 Cr-Commit-Position: refs/heads/master@{#453005} (cherry picked from commit f1327bc594c83f73c44f83f1ac1b1ae63893487d) Review-Url: https://codereview.chromium.org/2722053002 . Cr-Commit-Position: refs/branch-heads/2987@{#727} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} [modify] https://crrev.com/9d52d35cd4e7b0d23b87758138035db85430a598/media/audio/win/audio_low_latency_output_win.cc
,
Mar 1 2017
,
Mar 1 2017
Tested this issue on Windows-10 using chrome reported version of M56 #56.0.2924.87 and latest M57 #57.0.2987.88 by following steps mentioned in the original comment, Observed no error when changing audio endpoint multiple times with Chrome while playing videos in YouTube. Could anyone let us know is there any consistent repro steps available to verify this issue from Chrome-TE end? Thanks!
,
Mar 1 2017
Dunno what device you're using but with a Logitech G35 USB headset this was easily reproducible on my corp Windows 10 box; just unplug and replug multiple times on this page: http://storage.googleapis.com/dalecurtis/mse.html?src=buck720.webm&type=webm And eventually playback will stop. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by dalecur...@chromium.org
, Feb 22 2017