Closed Bug 1462956 Opened 7 years ago Closed 2 years ago

Firefox slows the Windows Desktop with 100% CPU

Categories

(Core :: Disability Access APIs, defect)

60 Branch
Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- wontfix
firefox113 --- fixed
firefox114 --- fixed
firefox115 --- fixed

People

(Reporter: kazssym, Unassigned)

References

Details

(Keywords: perf)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180516032328 Steps to reproduce: Open a new tab. Actual results: Firefox and the entire Desktop becomes very slow for a few minutes on one of my PCs. While the Desktop is slow, a Firefox process is consuming nearly 100% CPU on the task manager listing. Expected results: A new tab should appear in a few seconds.
The attachment is a performance profile recorded after Firefox started with a new window. I used a new profile only with the Profiler Add-on. The profile is also available at https://perfht.ml/2KBqtji
Keywords: perf
I verified this issue on Windows 10 X64 with the latest Firefox 60.0.1 (64-bit) and I cannot reproduce it after following your steps. Did you record the profile on FF Nightly? If not please install FF Nightly from here: https://ftp.mozilla.org/pub/firefox/releases/60.0.1/win64/en-US/ and record the performance profile. You need to record the profile on Nightly because if there is a problem it will be more visible on this version.
Flags: needinfo?(kazssym)
hi, looks like a performance issue that's related to accessibility. could you post the contents of your about:support page here as well? as a workaround you could try disabling accessibility in firefox: https://support.mozilla.org/en-US/kb/accessibility-services#w_how-do-i-disable-firefox-accessibility-service
(In reply to Daniel_A from comment #2) > I verified this issue on Windows 10 X64 with the latest Firefox 60.0.1 > (64-bit) and I cannot reproduce it after following your steps. > Did you record the profile on FF Nightly? If not please install FF Nightly > from here: https://ftp.mozilla.org/pub/firefox/releases/60.0.1/win64/en-US/ > and record the performance profile. You need to record the profile on > Nightly because if there is a problem it will be more visible on this > version. Nightly showed no such problems at first sight.
(In reply to [:philipp] from comment #3) > hi, looks like a performance issue that's related to accessibility. could > you post the contents of your about:support page here as well? > as a workaround you could try disabling accessibility in firefox: > https://support.mozilla.org/en-US/kb/accessibility-services#w_how-do-i- > disable-firefox-accessibility-service { "application": { "name": "Firefox", "osVersion": "Windows_NT 10.0", "version": "60.0.1", "buildID": "20180516032328", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0", "safeMode": false, "updateChannel": "release", "supportURL": "https://support.mozilla.org/1/firefox/60.0.1/WINNT/ja/", "numTotalWindows": 1, "numRemoteWindows": 1, "remoteAutoStart": true, "currentContentProcesses": 3, "maxContentProcesses": 4, "autoStartStatus": 1, "styloBuild": true, "styloDefault": true, "styloResult": true, "styloChromeDefault": true, "styloChromeResult": true, "policiesStatus": 0, "keyGoogleFound": true, "keyMozillaFound": true }, "securitySoftware": { "registeredAntiVirus": "マカフィー ウイルススキャン", "registeredAntiSpyware": "マカフィー ウイルススキャン", "registeredFirewall": "マカフィー ファイアウォール" }, "modifiedPreferences": { "browser.cache.disk.filesystem_reported": 1, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.capacity": 358400, "browser.places.smartBookmarksVersion": 8, "browser.sessionstore.upgradeBackup.latestBuildID": "20180516032328", "browser.startup.homepage_override.mstone": "60.0.1", "browser.startup.homepage_override.buildID": "20180516032328", "browser.urlbar.timesBeforeHidingSuggestionsHint": 2, "browser.urlbar.placeholderName": "Google", "extensions.lastAppVersion": "60.0.1", "layers.mlgpu.sanity-test-failed": false, "media.gmp-widevinecdm.lastUpdate": 1527655403, "media.gmp-gmpopenh264.lastUpdate": 1527654937, "media.gmp.storage.version.observed": 1, "media.hardware-video-decoding.failed": true, "media.gmp-widevinecdm.version": "1.4.8.1008", "media.gmp-gmpopenh264.abi": "x86_64-msvc-x64", "media.gmp-manager.lastCheck": 1527654911, "media.gmp-widevinecdm.abi": "x86_64-msvc-x64", "media.gmp-gmpopenh264.version": "1.7.1", "media.gmp-manager.buildID": "20180516032328", "network.predictor.cleaned-up": true, "network.cookie.prefsMigrated": true, "places.history.expiration.transient_current_max_pages": 104858, "places.database.lastMaintenance": 1527655399, "plugin.disable_full_page_plugin_for_types": "application/pdf", "security.sandbox.content.tempDirSuffix": "{241d5c61-64e1-42b6-9c24-e5b543635a72}", "services.sync.declinedEngines": "", "storage.vacuum.last.places.sqlite": 1527655348, "storage.vacuum.last.index": 0, "ui.osk.debug.keyboardDisplayReason": "IKPOS: Keyboard presence confirmed." }, "lockedPreferences": {}, "media": { "currentAudioBackend": "wasapi", "currentMaxAudioChannels": 2, "currentPreferredChannelLayout": "stereo", "currentPreferredSampleRate": 44100, "audioOutputDevices": [ { "name": "リモート オーディオ", "groupId": "", "vendor": "", "type": 2, "state": 2, "preferred": 7, "supportedFormat": 4112, "defaultFormat": 4096, "maxChannels": 2, "defaultRate": 44100, "maxRate": 44100, "minRate": 44100, "maxLatency": 441, "minLatency": 133 } ], "audioInputDevices": [] }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": true, "forceDisabled": 0, "handlerUsed": true, "instantiator": "UNKNOWN|" }, "libraryVersions": { "NSPR": { "minVersion": "4.19", "version": "4.19" }, "NSS": { "minVersion": "3.36.1", "version": "3.36.1" }, "NSSUTIL": { "minVersion": "3.36.1", "version": "3.36.1" }, "NSSSSL": { "minVersion": "3.36.1", "version": "3.36.1" }, "NSSSMIME": { "minVersion": "3.36.1", "version": "3.36.1" } }, "userJS": { "exists": false }, "intl": { "localeService": { "requested": [ "ja", "en-US" ], "available": [ "en-US", "ja" ], "supported": [ "ja", "en-US" ], "regionalPrefs": [ "ja-JP" ], "defaultLocale": "ja" }, "osPrefs": { "systemLocales": [ "ja-JP" ], "regionalPrefsLocales": [ "ja-JP" ] } }, "crashes": { "submitted": [], "pending": 1 }, "sandbox": { "contentSandboxLevel": 5, "effectiveContentSandboxLevel": 5 }, "graphics": { "numTotalWindows": 1, "numAcceleratedWindows": 1, "windowLayerManagerType": "Direct3D 11", "windowLayerManagerRemote": true, "windowUsingAdvancedLayers": true, "adapterDescription": "Intel(R) HD Graphics", "adapterVendorID": "0x8086", "adapterDeviceID": "0x0406", "adapterSubsysID": "01751b0a", "adapterRAM": "Unknown", "adapterDrivers": "igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32", "driverVersion": "20.19.15.4835", "driverDate": "10-16-2017", "adapterDescription2": "", "adapterVendorID2": "", "adapterDeviceID2": "", "adapterSubsysID2": "", "adapterRAM2": "", "adapterDrivers2": "", "driverVersion2": "", "driverDate2": "", "isGPU2Active": false, "direct2DEnabled": true, "directWriteEnabled": true, "directWriteVersion": "10.0.17134.1", "usesTiling": false, "offMainThreadPaintEnabled": true, "offMainThreadPaintWorkerCount": 0, "webgl1Renderer": "Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0)", "webgl1Version": "OpenGL ES 2.0 (ANGLE 2.1.0.7edc21933ef1)", "webgl1DriverExtensions": "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_pack_reverse_row_order GL_ANGLE_program_cache_control 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_sync_query 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_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_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_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 ", "webgl1Extensions": "ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query 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", "webgl1WSIInfo": "EGL_VENDOR: Google Inc. (adapter LUID: 00000000003af524)\nEGL_VERSION: 1.4 (ANGLE 2.1.0.7edc21933ef1)\nEGL_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 \nEGL_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 ", "webgl2Renderer": "Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0)", "webgl2Version": "OpenGL ES 3.0 (ANGLE 2.1.0.7edc21933ef1)", "webgl2DriverExtensions": "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_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 ", "webgl2Extensions": "EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context", "webgl2WSIInfo": "EGL_VENDOR: Google Inc. (adapter LUID: 00000000003af524)\nEGL_VERSION: 1.4 (ANGLE 2.1.0.7edc21933ef1)\nEGL_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 \nEGL_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 ", "info": { "AzureCanvasBackend (UI Process)": "skia", "AzureFallbackCanvasBackend (UI Process)": "cairo", "AzureContentBackend (UI Process)": "skia", "AzureCanvasBackend": "Direct2D 1.1", "AzureContentBackend": "Direct2D 1.1", "AzureCanvasAccelerated": 0, "ApzWheelInput": 1, "ApzTouchInput": 1, "ApzDragInput": 1, "ApzKeyboardInput": 1, "ApzAutoscrollInput": 1 }, "featureLog": { "features": [ { "name": "HW_COMPOSITING", "description": "Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "D3D11_COMPOSITING", "description": "Direct3D11 Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "DIRECT2D", "description": "Direct2D", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "D3D11_HW_ANGLE", "description": "Direct3D11 hardware ANGLE", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "GPU_PROCESS", "description": "GPU Process", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "WEBRENDER", "description": "WebRender", "status": "unavailable", "log": [ { "type": "default", "status": "opt-in", "message": "WebRender is an opt-in feature" }, { "type": "runtime", "status": "unavailable", "message": "Build doesn't include WebRender" } ] }, { "name": "OMTP", "description": "Off Main Thread Painting", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "ADVANCED_LAYERS", "description": "Advanced Layers", "status": "available", "log": [ { "type": "default", "status": "available" } ] } ], "fallbacks": [] }, "crashGuards": [] }, "experiments": [], "extensions": [ { "name": "マカフィー® ウェブアドバイザー", "version": "6.0.0.136", "isActive": false, "id": "{4ED1F68A-5463-4931-9384-8FFF5ED91D92}" } ], "features": [ { "name": "Activity Stream", "version": "2018.04.20.1103-b3b95672", "id": "activity-stream@mozilla.org" }, { "name": "Application Update Service Helper", "version": "2.0", "id": "aushelper@mozilla.org" }, { "name": "Firefox Screenshots", "version": "30.1.0", "id": "screenshots@mozilla.org" }, { "name": "Follow-on Search Telemetry", "version": "0.9.6", "id": "followonsearch@mozilla.com" }, { "name": "Form Autofill", "version": "1.0", "id": "formautofill@mozilla.org" }, { "name": "Photon onboarding", "version": "1.0", "id": "onboarding@mozilla.org" }, { "name": "Pocket", "version": "1.0.5", "id": "firefox@getpocket.com" }, { "name": "TLS 1.3 gradual roll-out fallback-limit", "version": "2.0", "id": "bug1462099@mozilla.org">tls13-version-fallback-rollout-bug1462099@mozilla.org" }, { "name": "Web Compat", "version": "1.1", "id": "webcompat@mozilla.org" } ] }
Flags: needinfo?(kazssym)
(In reply to [:philipp] from comment #3) > hi, looks like a performance issue that's related to accessibility. could > you post the contents of your about:support page here as well? > as a workaround you could try disabling accessibility in firefox: > https://support.mozilla.org/en-US/kb/accessibility-services#w_how-do-i- > disable-firefox-accessibility-service Looks like disabling accessibility solved the problem. Thank you.
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180603221731 I manage to reproduce this issue on Windows 10 x64 with the FF 62.0a1(2018-06-03) (64bit). Here you can check the performance profile result: https://perfht.ml/2JqUWU9.
Status: UNCONFIRMED → NEW
Component: Untriaged → Tabbed Browser
Ever confirmed: true
OS: Unspecified → Windows 10
Component: Tabbed Browser → Disability Access APIs
Product: Firefox → Core
Depends on: 1737192
Severity: normal → S3

This should be resolved by Cache the World, which is enabled by default in Firefox 113.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: