Closed Bug 1667901 Opened 5 years ago Closed 5 years ago

Freezing while watching live video on YouTube (caused by chat)

Categories

(Core :: Performance: General, defect)

Firefox 81
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: yoasif, Unassigned)

References

Details

Attachments

(1 file)

Reported on: https://www.reddit.com/r/firefox/comments/j1bybx/i_cant_watch_youtube_livestreams_without_them/

Every time I open up a livestream on YouTube my whole broswer slows down drastically. The thing is, that it doesn't happen with videos, doesn't happen on Twitch live streams etc. It only has problems with YouTube livestreams. The browser also slows down when I watch a past broadcast of a livestream.

More information

Profile URL: https://share.firefox.dev/2Gj7ixw

Basic systems configuration:

OS version: Windows 10

GPU model: Intel(R) HD Graphics 3000

Number of cores: Intel i5-2540M (2 cores)

Amount of memory (RAM): 4GB

Thanks so much for your help.

Attached file about:support

I see there are two issues in the profile.

In the very beginning, there're a lot of even processing delays happening every couple of hundreds of miliseconds, and they seem well correlated with a DOM Event called yt-action which looks suspicious. I think I may have seen it before but I can't recall.

In addition to that, there're some long event processing delays in the middle which relates to some javascript which are triggered by fullscreen events.

I wonder if they are caused by an extension? Asif, do you mind to ask the reporter to try again with a clean profile ( they can create one via about:profiles )? And collect a new profile if the issue still persist. Thanks!

Flags: needinfo?(yoasif)

Do we have a good example video? A recorded YouTube stream with lots of chat would be very useful to have here, to get a consistent testcase that we can compare across browsers.

There are three long periods of jank in the parent process. At least one of them is caused by accessibility.
about:support contains this:

Accessibility
-------------

Activated: true
Prevent Accessibility: 0
Accessible Handler Used: true
Accessibility Instantiator: UNKNOWN|

As a workaround, accessibility can be turned off by going to Options and checking "Prevent accessibility services from accessing your browser".

Jamie, for your information, this is another case (similar to bug 1626789) where accessibility is enabled but we don't know why.

Flags: needinfo?(jteh)

Questions to ask the reporter:

  1. Do you have any Windows accessibility settings enabled (including text cursor indicator)?
  2. Do you have any third party accessibility tools installed?
  3. Does this computer have a touch screen?
Flags: needinfo?(jteh)

I have the same issue. YouTube livestreams essentially seem to slow down progressively until the chat stops, the video stops playing and firefox becomes unresponsive. Here's a profile https://share.firefox.dev/3dSH8yJ

I do not have any windows accessability options enabled, nor third party tools. My computer has a touchscreen. If there is any further information I can provide to help diagnose this bug I would be glad to provide it. Chrome on the same computer has no such issue so I do beleive this to be firefox specific. (or rather perhaps Google not optimizing for anything but Chrome)

about:support

Application Basics
------------------

Name: Firefox
Version: 81.0.2
Build ID: 20201012085804
Distribution ID:
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
OS: Windows_NT 10.0 19041
Launcher Process: Enabled
Multiprocess Windows: 1/1 Enabled by default
Remote Processes: 7
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

Firefox Features
----------------

Name: DoH Roll-Out
Version: 2.0.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.0
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0
ID: formautofill@mozilla.org

Name: Web Compat
Version: 14.0.0
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.4.0
ID: webcompat-reporter@mozilla.org

Remote Processes
----------------

Type: Web Content
Count: 4 / 8

Type: Extension
Count: 1

Type: Preallocated
Count: 1

Type: GPU
Count: 1

Add-ons
-------

Name: Amazon.co.uk
Type: extension
Version: 1.3
Enabled: true
ID: amazon@search.mozilla.org

Name: Amazon.com
Type: extension
Version: 1.3
Enabled: true
ID: amazondotcom@search.mozilla.org

Name: Bing
Type: extension
Version: 1.2
Enabled: true
ID: bing@search.mozilla.org

Name: Bitwarden - Free Password Manager
Type: extension
Version: 1.46.2
Enabled: true
ID: {446900e4-71c2-419f-a6a7-df9c091e268b}

Name: Decentraleyes
Type: extension
Version: 2.0.14
Enabled: true
ID: jid1-BoFifL9Vbdl2zQ@jetpack

Name: DownThemAll!
Type: extension
Version: 4.2.6
Enabled: true
ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8}

Name: DuckDuckGo
Type: extension
Version: 1.1
Enabled: true
ID: ddg@search.mozilla.org

Name: eBay
Type: extension
Version: 1.2
Enabled: true
ID: ebay@search.mozilla.org

Name: Eno® from Capital One®
Type: extension
Version: 3.2.3
Enabled: true
ID: {4d5b7a5e-5232-9e45-97f4-f8e1ca2626e5}

Name: Export Cookies
Type: extension
Version: 0.3.2
Enabled: true
ID: {36bdf805-c6f2-4f41-94d2-9b646342c1dc}

Name: Facebook Container
Type: extension
Version: 2.1.2
Enabled: true
ID: @contain-facebook

Name: Firefox Color
Type: extension
Version: 2.1.7
Enabled: true
ID: FirefoxColor@mozilla.com

Name: Google
Type: extension
Version: 1.1
Enabled: true
ID: google@search.mozilla.org

Name: Privacy Badger
Type: extension
Version: 2020.10.7
Enabled: true
ID: jid1-MnnxcxisBPnSXQ@jetpack

Name: Stylus
Type: extension
Version: 1.5.13
Enabled: true
ID: {7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}

Name: uBlock Origin
Type: extension
Version: 1.30.4
Enabled: true
ID: uBlock0@raymondhill.net

Name: Violentmonkey
Type: extension
Version: 2.12.7
Enabled: true
ID: {aecec67f-0d10-4fa7-b7c7-609a2db280cf}

Name: Wikipedia (en)
Type: extension
Version: 1.1
Enabled: true
ID: wikipedia@search.mozilla.org

Name: Yahoo! JAPAN
Type: extension
Version: 1.0
Enabled: true
ID: yahoo-jp@search.mozilla.org

Name: Yomichan
Type: extension
Version: 20.9.28.1
Enabled: true
ID: alex@foosoft.net

Name: ytcFilter
Type: extension
Version: 1.6.1
Enabled: true
ID: {20f2dcdf-6f8d-4aeb-862b-b13174475d9c}

Name: ヤフオク!
Type: extension
Version: 1.2
Enabled: true
ID: yahoo-jp-auctions@search.mozilla.org

Name: 教えて!goo
Type: extension
Version: 1.0
Enabled: true
ID: oshiete-goo@search.mozilla.org

Name: 楽天市場
Type: extension
Version: 1.2
Enabled: true
ID: rakuten@search.mozilla.org

Name: 言葉 の Tab
Type: extension
Version: 1.5.4
Enabled: true
ID: {87cdf9d5-32e6-4adc-81e2-30ecd6953ad9}

Name: Japanese Language Pack
Type: locale
Version: 81.0buildid20200917005511
Enabled: true
ID: langpack-ja@firefox.mozilla.org

Security Software
-----------------

Type: Microsoft Defender Antivirus

Type:

Type: Windows Firewall

Graphics
--------

Features
Compositing: WebRender
Asynchronous Pan/Zoom: wheel input enabled; touch input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000001738d) EGL_VERSION: 1.4 (ANGLE 2.1.0.6c72b64f910d) EGL_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 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 EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context EGL_ANGLE_feature_control
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (Intel(R) UHD Graphics Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0.0 (ANGLE 2.1.0.6c72b64f910d)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension 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_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax 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_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays 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_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior 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_depth24 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_3D GL_OES_texture_border_clamp 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 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 000000000001738d) EGL_VERSION: 1.4 (ANGLE 2.1.0.6c72b64f910d) EGL_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 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 EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context EGL_ANGLE_feature_control
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (Intel(R) UHD Graphics Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0.0 (ANGLE 2.1.0.6c72b64f910d)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_copy_texture_3d GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_multisample 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_lose_context GL_CHROMIUM_sync_query GL_EXT_blend_func_extended 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_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays 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_bptc 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_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior 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_depth24 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_3D GL_OES_texture_border_clamp 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 GL_OVR_multiview GL_OVR_multiview2 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 2 Extensions: EXT_color_buffer_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_filter_anisotropic MOZ_debug OES_texture_float_linear OVR_multiview2 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Direct2D: true
Uses Tiling (Content): true
Off Main Thread Painting Enabled: true
Off Main Thread Painting Worker Count: 4
Target Frame Rate: 60
DirectWrite: true (10.0.19041.546)
GPU #1
Active: Yes
Description: Intel(R) UHD Graphics
Vendor ID: 0x8086
Device ID: 0x9bca
Driver Version: 27.20.100.8476
Driver Date: 7-8-2020
Drivers: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
Subsys ID: 09621028
RAM: 0
GPU #2
Active: No
RAM: 0
Diagnostics
AzureCanvasBackend: direct2d 1.1
AzureCanvasBackend (UI Process): skia
AzureContentBackend: skia
AzureContentBackend (UI Process): skia
AzureFallbackCanvasBackend (UI Process): none
CMSOutputProfile: AAAMeAAAAAAEIAAAbW50clJHQiBYWVogB+MABQARAAwAIQAFYWNzcE1TRlQAAAA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OS/daP642DL1IHLmYOA6VqD491ThpS0
Display0: 3840x2160@60Hz
DisplayCount: 1
GPUProcessPid: 8768
ClearType Parameters: Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
Decision Log
HW_COMPOSITING:
available by default
D3D11_COMPOSITING:
available by default
DIRECT2D:
available by default
D3D11_HW_ANGLE:
available by default
GPU_PROCESS:
available by default
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
available by user: Qualified in release
WEBRENDER_QUALIFIED:
available by default
WEBRENDER_COMPOSITOR:
available by default
WEBRENDER_PARTIAL:
available by default
WEBRENDER_ANGLE:
opt-in by default: WebRender ANGLE is an opt-in feature
available by user: Enabled
WEBRENDER_DCOMP_PRESENT:
opt-in by default: WebRender DirectComposition is an opt-in feature
available by user: Enabled
OMTP:
available by default
ADVANCED_LAYERS:
available by default
blocked by env: Blocked from fallback candidate by WebRender usage
WEBGPU:
disabled by default: Disabled by default
blocked by runtime: WebGPU can only be enabled in nightly


Failure Log
(#0): GP+[GFX1-]: Disable native compositor for async screenshot

Media
-----

Audio Backend: wasapi
Max Channels: 2
Preferred Sample Rate: 48000
Roundtrip latency (standard deviation): ...
Output Devices
Name: Group
:
:
Digital Output ():
:
:
:
Headphone (Realtek(R) Audio): INTELAUDIO\FUNC_01&VEN_10EC&DEV_0299&SUBSYS_10280962&REV_1000\5&77e4720&0&0001
Speakers (Realtek(R) Audio): INTELAUDIO\FUNC_01&VEN_10EC&DEV_0299&SUBSYS_10280962&REV_1000\5&77e4720&0&0001
Input Devices
Name: Group
:
:
Jack Mic (Realtek(R) Audio): INTELAUDIO\FUNC_01&VEN_10EC&DEV_0299&SUBSYS_10280962&REV_1000\5&77e4720&0&0001
:
:
:
Stereo Mix (Realtek(R) Audio): INTELAUDIO\FUNC_01&VEN_10EC&DEV_0299&SUBSYS_10280962&REV_1000\5&77e4720&0&0001
Microphone Array (Realtek(R) Audio): INTELAUDIO\FUNC_01&VEN_10EC&DEV_0299&SUBSYS_10280962&REV_1000\5&77e4720&0&0001

Enumerate database

Environment Variables
---------------------

MOZ_CRASHREPORTER_DATA_DIRECTORY: C:\Users\flat\AppData\Roaming\Mozilla\Firefox\Crash Reports
MOZ_CRASHREPORTER_EVENTS_DIRECTORY: C:\Users\flat\AppData\Roaming\Mozilla\Firefox\Profiles\uwwywlm8.default-release\crashes\events
MOZ_CRASHREPORTER_PING_DIRECTORY: C:\Users\flat\AppData\Roaming\Mozilla\Firefox\Pending Pings
MOZ_CRASHREPORTER_RESTART_ARG_0: C:\Program Files\Mozilla Firefox\firefox.exe
MOZ_CRASHREPORTER_STRINGS_OVERRIDE: C:\Program Files\Mozilla Firefox\browser\crashreporter-override.ini

Experimental Features
---------------------

about:home startup cache (browser.startup.homepage.abouthome_cache.enabled): false
Cookies: SameSite=Lax by default (network.cookie.sameSite.laxByDefault): false
Cookies: SameSite=None requires secure attribute (network.cookie.sameSite.noneRequiresSecure): false
Cookies: Schemeful SameSite (network.cookie.sameSite.schemeful): false
CSS: Constructable Stylesheets (layout.css.constructable-stylesheets.enabled): false
CSS: Pseudo-class: :focus-visible (layout.css.focus-visible.enabled): false
CSS: Masonry Layout (layout.css.grid-template-masonry-value.enabled): false
Developer Tools: Color Scheme Simulation (devtools.inspector.color-scheme-simulation.enabled): false
Developer Tools: Compatibility Panel (devtools.inspector.compatibility.enabled): false
Developer Tools: Execution Context Selector (devtools.webconsole.input.context): false
Developer Tools: Service Worker debugging (devtools.debugger.features.windowless-service-workers): false
Graphics: Smooth Pinch Zoom (apz.allow_zooming): false
Media: AVIF (image.avif.enabled): false
Web API: Media Session API (dom.media.mediasession.enabled): false
Print Preview Redesign (print.tab_modal.enabled): false
Web API: beforeinput Event (dom.input_events.beforeinput.enabled): false
Web API: inputmode (dom.forms.inputmode): false
Web API: <link rel="preload"> (network.preload): false
Web API: WebGPU (dom.webgpu.enabled): false

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.amount_written: 933275
browser.cache.disk.capacity: 1048576
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.telemetry_report_ID: 11
browser.contentblocking.category: standard
browser.search.region: US
browser.sessionstore.upgradeBackup.latestBuildID: 20201012085804
browser.startup.homepage: about:blank
browser.startup.homepage_override.buildID: 20201012085804
browser.startup.homepage_override.mstone: 81.0.2
browser.urlbar.placeholderName: DuckDuckGo
browser.urlbar.placeholderName.private: DuckDuckGo
dom.forms.autocomplete.formautofill: true
dom.push.userAgentID: 54f66505703940acb4ff6bc70feb9728
extensions.formautofill.addresses.usage.hasEntry: true
extensions.formautofill.firstTimeUse: false
extensions.lastAppVersion: 81.0.2
font.internaluseonly.changed: false
gfx.crash-guard.status.wmfvpxvideo: 2
gfx.crash-guard.wmfvpxvideo.appVersion: 81.0.2
gfx.crash-guard.wmfvpxvideo.deviceID: 0x9bca
gfx.crash-guard.wmfvpxvideo.driverVersion: 27.20.100.8476
idle.lastDailyNotification: 1603124186
layers.mlgpu.sanity-test-failed: true
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1582153969
media.gmp-gmpopenh264.version: 1.8.1.1
media.gmp-manager.buildID: 20201012085804
media.gmp-manager.lastCheck: 1603026967
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1582153970
media.gmp-widevinecdm.version: 4.10.1582.2
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
media.peerconnection.enabled: false
media.peerconnection.ice.default_address_only: true
media.peerconnection.ice.no_host: true
media.peerconnection.ice.proxy_only_if_behind_proxy: true
network.dns.disablePrefetch: true
network.http.referer.defaultPolicy.pbmode: 3
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.predictor.enabled: false
network.prefetch-next: false
network.trr.blocklist_cleanup_done: true
places.database.lastMaintenance: 1603034207
places.history.expiration.transient_current_max_pages: 129775
privacy.cpd.offlineApps: true
privacy.cpd.siteSettings: true
privacy.purge_trackers.date_in_cookie_database: 0
privacy.purge_trackers.last_purge: 1603124186477
privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
privacy.sanitize.timeSpan: 0
privacy.userContext.enabled: true
privacy.userContext.extension: @contain-facebook
privacy.userContext.longPressBehavior: 2
privacy.userContext.ui.enabled: true
security.remote_settings.crlite_filters.checked: 1603149327
security.remote_settings.intermediates.checked: 1603149327
security.sandbox.content.tempDirSuffix: {f6777de5-25a7-45d4-8ace-e1c87a554426}
security.sandbox.plugin.tempDirSuffix: {607e3c0f-3fa1-4add-8707-98b283f50d9a}
services.sync.declinedEngines:
services.sync.engine.addresses: true
services.sync.engine.addresses.available: true
services.sync.engine.prefs.modified: false
services.sync.lastPing: 1603149389
services.sync.lastSync: Mon Oct 19 2020 22:14:35 GMT-0400 (Eastern Daylight Time)
signon.importedFromSqlite: true
signon.rememberSignons: false
signon.usage.hasEntry: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1601340712
ui.osk.debug.keyboardDisplayReason: IKPOS: Keyboard presence confirmed.

Important Locked Preferences
----------------------------

fission.autostart: false

Places Database
---------------

Accessibility
-------------

Activated: true
Prevent Accessibility: 0
Accessible Handler Used: true
Accessibility Instantiator: UNKNOWN|

Library Versions
----------------

NSPR
Expected minimum version: 4.28
Version in use: 4.28

NSS
Expected minimum version: 3.56
Version in use: 3.56

NSSSMIME
Expected minimum version: 3.56
Version in use: 3.56

NSSSSL
Expected minimum version: 3.56
Version in use: 3.56

NSSUTIL
Expected minimum version: 3.56
Version in use: 3.56

Sandbox
-------

Content Process Sandbox Level: 6
Effective Content Process Sandbox Level: 6

Startup Cache
-------------

Disk Cache Path: C:\Users\flat\AppData\Local\Mozilla\Firefox\Profiles\uwwywlm8.default-release\startupCache\startupCache.8.little
Ignore Disk Cache: false
Found Disk Cache on Init: false
Wrote to Disk Cache: true

Internationalization & Localization
-----------------------------------

Application Settings
Requested Locales: ["en-US","ja"]
Available Locales: ["en-US","ja"]
App Locales: ["en-US","ja"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["en-US","ja-JP"]
Regional Preferences: ["en-US"]

(In reply to Markus Stange [:mstange] from comment #4)

There are three long periods of jank in the parent process. At least one of them is caused by accessibility.

I'm really confused by these profiles. They show a lot of time spent in PDocAccessible::Msg_FocusEvent, but not any calls inside that.

  1. Is this actually referring to DocAccessibleParent::RecvFocusEvent? That's where the actual implementation is. Or is this stuck in IPDL for some reason?
  2. If this were due to dispatching a11y events to Windows (and in-process clients blocking us while they get processed), I'd expect to be seeing NotifyWinEvent chewing a lot of time inside RecvFocusEvent. But that's not what we see here. RecvFocusEvent is otherwise pretty simple.
  3. I guess that suggests that we're just getting a huge number of a11y focus events from content? But if that were the case, I'd expect to see a11y blockage in the content process as well... but we don't.

:mstange, is there anything you can see that I'm missing here? I'm not great with using the profiler. :)

Flags: needinfo?(mstange.moz)

Here's another profile with a11y force disabled. It doesn't seem to freeze but still isn't as responsive as it should be. https://share.firefox.dev/3m3fHow

I see you were looking for a machine to reproduce this on. I have a Dell XPS 13 (7390). If there are any tests you'd like me to try or debug builds (With additional logging for anything that sticks out or why a11y may be enabled with the UNKNOWN flag) let me know. I'll leave any additional profiles or info at this unless requested, to not clog up the comments. As a side note this doesn't seem to effect Linux at all.

(In reply to James Teh [:Jamie] from comment #8)

(In reply to Markus Stange [:mstange] from comment #4)

There are three long periods of jank in the parent process. At least one of them is caused by accessibility.

I'm really confused by these profiles. They show a lot of time spent in PDocAccessible::Msg_FocusEvent, but not any calls inside that.

Unfortunately these profiles were captured without native stack walking. So we do not get full C++ stacks, we only get stacks of profiler label frames (from manual instrumentation), and of JavaScript frames. Native stack walking is off in the "Web Developer" profiling preset, but on in the "Firefox Platform" preset.

Flags: needinfo?(mstange.moz)

flat, the slowness on your machine seems to have a different cause: There's a lot of time attributed to an add-on with the name "Eno® from Capital One®". Please test again with that add-on disabled, or, even better, in a fresh profile.

(In reply to Markus Stange [:mstange] from comment #11)

flat, the slowness on your machine seems to have a different cause: There's a lot of time attributed to an add-on with the name "Eno® from Capital One®". Please test again with that add-on disabled, or, even better, in a fresh profile.

Tested in a fresh profile and without the add-on in my usual... that does seem to have been the issue. That's quite embarrassing. Apologies for not being able to provide any actual data on the real issue here. I've only tested it on one stream so far that is live but haven't noticed any slowness without that add-on. Not even sure why it would be using anything at all without interaction.

Hi Asif, we are still waiting for the answers to the questions in comment 6? Do you think you can provide those information? Thanks!

Sean, I am not getting any response from the original user. Marking incomplete.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(yoasif)
Resolution: --- → INCOMPLETE
Depends on: 1737192
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: