SoundCloud audio stutters in bluetooth headphones when YouTube playing in Firefox
Reported by
tom.jenk...@soundcloud.com,
Dec 29 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36 Example URL: https://soundcloud.com/tjenkinson/hour-sine Steps to reproduce the problem: 1. Start playing https://soundcloud.com/tjenkinson/hour-sine in chrome with bluetooth headphones (I have the problem with bose qc35 II headphones on high sierra) 2. Open firefox (or safari) and load a video on youtube.com What is the expected behavior? The sine wave playing from soundcloud should remain playing smoothly. What went wrong? You will hear a blip in the sine wave from chrome when playback starts on youtube in firefox. Also it is possible to trigger more glitches by loading more videos. Whilst youtube is playing it is also possible to make the playback glitch on soundcloud by moving around the site. Did this work before? N/A Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 63.0.3239.108 Channel: stable OS Version: OS X 10.13.2 Flash Version: 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: 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 Video Encode: 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 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 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 29/12/2017, 16:26:21 Chrome version Chrome/63.0.3239.108 Operating system Mac OS X 10.13.2 Software rendering list version 13.13 Driver bug list version 10.34 ANGLE commit id 2ff870db3a3b 2D graphics backend Skia/63 dbae7001c9805fb0a4b18fd0cbc889941cb39db4- Command Line /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end Driver Information Initialization time 58 In-process GPU false Passthrough Command Decoder false Supports overlays false Sandboxed true GPU0 VENDOR = 0x8086, DEVICE= 0x0d26 *ACTIVE* Optimus false Optimus false AMD switchable false Driver vendor Driver version 10.30.12 Driver date Pixel shader version 4.10 Vertex shader version 4.10 Max. MSAA samples 8 Machine model name MacBookPro Machine model version 11.4 GL_VENDOR Intel Inc. GL_RENDERER Intel Iris Pro OpenGL Engine GL_VERSION 4.1 INTEL-10.30.12 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_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 BGRA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RGBA_F16 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 Display(s) Information Info Display[69733248] bounds=0,0 1440x900, workarea=0,23 1440x841, scale=2, external Color space information {primaries:[[0.4443,0.3794,0.1404,],[0.2248,0.7262,0.0491,],[0.0055,0.0780,0.7415,],], transfer:0.0774*x + 0.0000 if x < 0.0404 else (0.9479*x + 0.0521)**2.4000 + 0.0000, matrix:RGB, range:FULL, icc_profile_id:10} Bits per color component 8 Bits per pixel 24 I can try and provide a reduced test case if it helps find the cause of the problem. It seems like when chrome isn't the only thing that has a handle for audio playback glitches start. I can only reproduce this problem over bluetooth. Also I cannot reproduce the problem when doing the same in reverse. I.e when playing youtube/soundcloud in chrome, soundcloud in firefox or safari plays glitch free.
,
Dec 29 2017
,
Jan 1 2018
Unable to reproduce this issue on reported version 63.0.3239.108 and on latest dev 65.0.3309.0 using Mac 10.13.1 with normal earphones 1. Navigated to https://soundcloud.com/tjenkinson/hour-sine in 63.0.3239.108 build. 2. In firefox opened 2-3 youtube videos and oberved no stutter is seen on playing those videos. This might be related to bluetooth headphones. As ET/Inhouse team doesn't have bluetooth headphones, could someone from MTV team take a look into this. Thanks!
,
Jan 1 2018
Thanks for checking. I can also only reproduce when listening with Bluetooth.
,
Jan 4 2018
And when having vlc open, or ffplay running
,
Jan 11 2018
does it repro on Chrome browser? or only repro Firefox or Safari?
,
Jan 11 2018
The stutter only happens in the audio from chrome, when Firefox/safari/vlc/ffplay is also loaded/playing.
,
Jan 15 2018
I have a basic test page now which shows the issue: https://tjenkinson.github.io/audio-glitch-chrome 1) Open https://tjenkinson.github.io/audio-glitch-chrome/index.html in chrome and click play 2) Open https://tjenkinson.github.io/audio-glitch-chrome/video.html in firefox and click play Expected: audio from chrome does not stutter. Actual: audio from chrome stutters. This is simply playing an mp3 with one <audio> element and an mp4 with a <video> element
,
Jan 16 2018
We were unable to reproduce on windows. Were able to reproduce on Bose q35 headphones on Mac OS High Sierra at 44.1 KHz
,
Jan 16 2018
And I can reproduce on canary 65.0.3322.0
,
Jan 19 2018
Will attempt to repro with my BT headphones.
,
Jan 19 2018
,
Jan 19 2018
Not able to reproduce on my Macbook Pro with High Sierra. My BT headset is: dylan w301 earbuds. I used Chrome Canary Version 65.0.3325.0 Firefox 57.0.4 (64-bit) I tried both the github pages as well as the original sin wav soudcloud + a random youtube video. No luck. MTV Triage team - please see if you can reproduce with your own BT hardware.
,
Jan 19 2018
Just checked again and it's still there with 65.0.3325.0 I also recorded a video where you can hear the sound from the headphones, to show exactly when this happens: https://youtu.be/9fgUrWB1J70 I checked again and this problem doesn't happen when playing the audio file in firefox and video in chrome.
,
Jan 30 2018
give to chcunningham@ to follow up. I don't have BT headset so can't repro this bug. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by tom.jenk...@soundcloud.com
, Dec 29 2017