Closed Bug 1482642 Opened 6 years ago Closed 6 years ago

High CPU, heat, and fan with media content on macOS

Categories

(Firefox :: General, defect)

61 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1404042

People

(Reporter: xracoonx, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180807170231 Steps to reproduce: Play media (audio, video) on website (Facebook, news websites, etc.) Actual results: Firefox uses ~60% CPU (~15% Firefox, ~45% Firefox CP Web Content while Chrome and Safari use below 2%. This heats up the MacBook and causes noise by fast fan spinning. Expected results: Firefox uses way less CPU resources.
The bug was filed from another computer. The operating system on the computer having trouble is MacBook Pro (Retina, 15", mid 2014) with macOS High Sierra 10.13.6. The problem exists since Quantum was introduced (so I switched to Safari but I really would like to go back...).
I already tried Save Mode and a refresh.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Hi xracoonx, Can you provide additional information from about:support from your MacBook Pro?
Component: Untriaged → General
Flags: needinfo?(xracoonx)
{ "application": { "name": "Firefox", "osVersion": "Darwin 17.7.0", "version": "61.0.2", "buildID": "20180807170231", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0", "safeMode": false, "updateChannel": "release", "supportURL": "https://support.mozilla.org/1/firefox/61.0.2/Darwin/en-US/", "numTotalWindows": 1, "numRemoteWindows": 1, "remoteAutoStart": true, "currentContentProcesses": 5, "maxContentProcesses": 4, "autoStartStatus": 1, "policiesStatus": 0, "keyGoogleFound": true, "keyMozillaFound": true }, "securitySoftware": { "registeredAntiVirus": "", "registeredAntiSpyware": "", "registeredFirewall": "" }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "browser.cache.disk.filesystem_reported": 1, "browser.cache.disk.hashstats_reported": 1, "browser.cache.frecency_experiment": 2, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.smart_size.use_old_max": false, "browser.cache.disk.capacity": 358400, "browser.download.useDownloadDir": false, "browser.places.smartBookmarksVersion": 8, "browser.search.useDBForOrder": true, "browser.sessionstore.upgradeBackup.latestBuildID": "20180807170231", "browser.startup.homepage_override.mstone": "61.0.2", "browser.startup.homepage_override.buildID": "20180807170231", "browser.urlbar.lastSuggestionsPromptDate": 20170814, "browser.urlbar.placeholderName": "DuckDuckGo", "browser.urlbar.timesBeforeHidingSuggestionsHint": 0, "browser.urlbar.matchBuckets": "general:5,suggestion:Infinity", "browser.urlbar.daysBeforeHidingSuggestionsPrompt": 0, "browser.urlbar.maxRichResults": 9, "dom.apps.reset-permissions": true, "dom.apps.lastUpdate.buildID": "20161019084923", "dom.push.userAgentID": "f79f080235dc48539b6972c16929ba25", "dom.max_chrome_script_run_time": 40, "dom.apps.lastUpdate.mstone": "49.0.2", "dom.mozApps.used": true, "dom.ipc.processCount.web": 4, "extensions.lastAppVersion": "61.0.2", "font.size.variable.x-western": 14, "font.internaluseonly.changed": true, "gfx.crash-guard.glcontext.deviceID": "0x0d26", "gfx.crash-guard.glcontext.appVersion": "45.0.1", "gfx.blacklist.direct2d.failureid": "FEATURE_FAILURE_DL_BLACKLIST_g984", "gfx.crash-guard.status.glcontext": 2, "media.webrtc.debug.log_file": "/Users/dram/Library/Caches/TemporaryItems/WebRTC.log", "media.benchmark.vp9.versioncheck": 2, "media.gmp-widevinecdm.lastUpdate": 1508221862, "media.gmp-gmpopenh264.lastUpdate": 1511452444, "media.gmp.storage.version.observed": 1, "media.gmp-widevinecdm.version": "1.4.8.1008", "media.webrtc.debug.aec_log_dir": "/Users/dram/Library/Caches/TemporaryItems", "media.gmp-gmpopenh264.abi": "x86_64-gcc3", "media.gmp-manager.lastCheck": 1534005960, "media.gmp-widevinecdm.abi": "x86_64-gcc3", "media.benchmark.vp9.fps": 182, "media.gmp-gmpopenh264.version": "1.7.1", "media.gmp-manager.buildID": "20180807170231", "network.prefetch-next": false, "network.dns.disablePrefetch": true, "network.http.speculative-parallel-limit": 0, "network.predictor.enabled": false, "network.cookie.lifetimePolicy": 2, "network.cookie.cookieBehavior": 1, "network.predictor.cleaned-up": true, "network.cookie.prefsMigrated": true, "places.history.expiration.transient_current_max_pages": 157512, "places.database.lastMaintenance": 1534006061, "plugin.importedState": true, "plugin.disable_full_page_plugin_for_types": "application/pdf", "plugin.state.silverlight": 0, "plugins.ctprollout.cohortSample": "0.711600", "plugins.ctprollout.cohort": "test", "privacy.history.custom": true, "privacy.userContext.ui.enabled": true, "privacy.sanitize.migrateClearSavedPwdsOnExit": true, "privacy.userContext.enabled": true, "privacy.donottrackheader.value": 1, "privacy.userContext.extension": "@testpilot-containers", "privacy.trackingprotection.introCount": 20, "privacy.userContext.longPressBehavior": 2, "privacy.donottrackheader.enabled": true, "privacy.sanitize.pending": "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]", "privacy.sanitize.migrateFx3Prefs": true, "privacy.trackingprotection.enabled": true, "security.sandbox.content.tempDirSuffix": "{eddf8083-bf05-5648-b5c7-af8e660c58c5}", "services.sync.declinedEngines": "", "services.sync.lastPing": 1534006065, "services.sync.lastSync": "Sat Aug 11 2018 18:59:16 GMT+0200 (CEST)", "services.sync.engine.prefs.modified": false, "storage.vacuum.last.places.sqlite": 1534006060, "storage.vacuum.last.index": 0 }, "lockedPreferences": {}, "media": { "currentAudioBackend": "audiounit", "currentMaxAudioChannels": 2, "currentPreferredSampleRate": 44100, "audioOutputDevices": [ { "name": "Soundflower (2ch)", "groupId": "SoundflowerEngine:0", "vendor": "ma++ ingalls for Cycling '74", "type": 2, "state": 2, "preferred": 0, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 2, "defaultRate": 44100, "maxRate": 192000, "minRate": 44100, "maxLatency": 4096, "minLatency": 14 }, { "name": "Soundflower (64ch)", "groupId": "SoundflowerEngine:1", "vendor": "ma++ ingalls for Cycling '74", "type": 2, "state": 2, "preferred": 0, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 64, "defaultRate": 44100, "maxRate": 192000, "minRate": 44100, "maxLatency": 4096, "minLatency": 14 }, { "name": "Internal Speakers", "groupId": "AppleHDAEngineOutput:1B,0,1,1:0", "vendor": "Apple Inc.", "type": 2, "state": 2, "preferred": 15, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 2, "defaultRate": 44100, "maxRate": 96000, "minRate": 44100, "maxLatency": 4495, "minLatency": 413 } ], "audioInputDevices": [ { "name": "Soundflower (2ch)", "groupId": "SoundflowerEngine:0", "vendor": "ma++ ingalls for Cycling '74", "type": 1, "state": 2, "preferred": 0, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 2, "defaultRate": 44100, "maxRate": 192000, "minRate": 44100, "maxLatency": 4096, "minLatency": 14 }, { "name": "Soundflower (64ch)", "groupId": "SoundflowerEngine:1", "vendor": "ma++ ingalls for Cycling '74", "type": 1, "state": 2, "preferred": 0, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 64, "defaultRate": 44100, "maxRate": 192000, "minRate": 44100, "maxLatency": 4096, "minLatency": 14 }, { "name": "Internal Microphone", "groupId": "AppleHDAEngineInput:1B,0,1,0:1", "vendor": "Apple Inc.", "type": 1, "state": 2, "preferred": 15, "supportedFormat": 12336, "defaultFormat": 4096, "maxChannels": 2, "defaultRate": 44100, "maxRate": 96000, "minRate": 44100, "maxLatency": 4105, "minLatency": 23 } ] }, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 0, "handlerUsed": false, "instantiator": "" }, "libraryVersions": { "NSPR": { "minVersion": "4.19", "version": "4.19" }, "NSS": { "minVersion": "3.37.3", "version": "3.37.3" }, "NSSUTIL": { "minVersion": "3.37.3", "version": "3.37.3" }, "NSSSSL": { "minVersion": "3.37.3", "version": "3.37.3" }, "NSSSMIME": { "minVersion": "3.37.3", "version": "3.37.3" } }, "userJS": { "exists": false }, "intl": { "localeService": { "requested": [ "en-US" ], "available": [ "en-US", "de" ], "supported": [ "en-US" ], "regionalPrefs": [ "en-SE", "sv-SE" ], "defaultLocale": "en-US" }, "osPrefs": { "systemLocales": [ "en-SE", "sv-SE" ], "regionalPrefsLocales": [ "en-SE", "sv-SE" ] } }, "crashes": { "submitted": [], "pending": 0 }, "sandbox": { "contentSandboxLevel": 3, "effectiveContentSandboxLevel": 3 }, "graphics": { "numTotalWindows": 1, "numAcceleratedWindows": 1, "windowLayerManagerType": "OpenGL", "windowLayerManagerRemote": true, "windowUsingAdvancedLayers": false, "adapterDescription": "", "adapterVendorID": "0x8086", "adapterDeviceID": "0x0d26", "adapterRAM": "", "adapterDrivers": "", "driverVersion": "", "driverDate": "", "usesTiling": true, "contentUsesTiling": true, "offMainThreadPaintEnabled": true, "offMainThreadPaintWorkerCount": 3, "webgl1Renderer": "Intel Inc. -- Intel Iris Pro OpenGL Engine", "webgl1Version": "4.1 INTEL-10.36.19", "webgl1DriverExtensions": "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", "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": "CGL", "webgl2Renderer": "Intel Inc. -- Intel Iris Pro OpenGL Engine", "webgl2Version": "4.1 INTEL-10.36.19", "webgl2DriverExtensions": "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", "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": "CGL", "info": { "AzureCanvasBackend": "skia", "AzureFallbackCanvasBackend": "none", "AzureContentBackend": "skia", "AzureCanvasAccelerated": 1, "ApzWheelInput": 1, "ApzDragInput": 1, "ApzKeyboardInput": 1, "ApzAutoscrollInput": 1, "TileHeight": 1024, "TileWidth": 1024 }, "featureLog": { "features": [ { "name": "HW_COMPOSITING", "description": "Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] }, { "name": "OPENGL_COMPOSITING", "description": "OpenGL Compositing", "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" } ] } ], "fallbacks": [] }, "crashGuards": [] }, "extensions": [ { "name": "Firefox Multi-Account Containers", "version": "6.0.0", "isActive": true, "id": "@testpilot-containers" }, { "name": "Min Vid", "version": "0.4.9", "isActive": true, "id": "@min-vid" }, { "name": "NoScript", "version": "10.1.8.16", "isActive": true, "id": "{73a6fe31-595d-460b-a920-fcc0f8843232}" }, { "name": "Privacy Badger", "version": "2018.8.1", "isActive": true, "id": "jid1-MnnxcxisBPnSXQ@jetpack" }, { "name": "Test Pilot", "version": "3.0.4vfcb7731", "isActive": true, "id": "@testpilot-addon" }, { "name": "uBlock Origin", "version": "1.16.16", "isActive": true, "id": "uBlock0@raymondhill.net" }, { "name": "WeTransfer", "version": "1.0.10", "isActive": true, "id": "{c73ad676-64bd-46eb-b682-39dd4d983045}" }, { "name": "Zotero Connector", "version": "5.0.40", "isActive": true, "id": "zotero@chnm.gmu.edu" }, { "name": "Auto-Sort Bookmarks", "version": "3.3", "isActive": false, "id": "sortbookmarks@bouanto" }, { "name": "Decentraleyes", "version": "2.0.6", "isActive": false, "id": "jid1-BoFifL9Vbdl2zQ@jetpack" }, { "name": "FoxReplace", "version": "2.2.0", "isActive": false, "id": "fox@replace.fx" }, { "name": "h264ify", "version": "1.0.6", "isActive": false, "id": "jid1-TSgSxBhncsPBWQ@jetpack" } ], "features": [ { "name": "Activity Stream", "version": "2018.06.29.1026-fa231556", "id": "activity-stream@mozilla.org" }, { "name": "Application Update Service Helper", "version": "2.0", "id": "aushelper@mozilla.org" }, { "name": "Firefox Screenshots", "version": "32.1.0", "id": "screenshots@mozilla.org" }, { "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": "Web Compat", "version": "2.0", "id": "webcompat@mozilla.org" }, { "name": "WebCompat Reporter", "version": "1.0.0", "id": "webcompat-reporter@mozilla.org" } ] }
Flags: needinfo?(xracoonx)
Here is an example of a website I see this massive difference in CPU usage: https://www.tagesschau.de/multimedia/audio/audio-59273.html
(In reply to xracoonx from comment #5) > Here is an example of a website I see this massive difference in CPU usage: > > https://www.tagesschau.de/multimedia/audio/audio-59273.html Would you be able to try this using Nightly? [1] We've had similar reports since 57 and it would help to know if this problem still occurs for you with the current version. https://www.mozilla.org/firefox/channel/desktop/#nightly
Flags: needinfo?(xracoonx)
(In reply to Sam Foster [:sfoster] from comment #6) > (In reply to xracoonx from comment #5) > > Here is an example of a website I see this massive difference in CPU usage: > > > > https://www.tagesschau.de/multimedia/audio/audio-59273.html > > Would you be able to try this using Nightly? [1] > We've had similar reports since 57 and it would help to know if this problem > still occurs for you with the current version. > > https://www.mozilla.org/firefox/channel/desktop/#nightly Unfortunately, the same problem occurs in (current) Nightly.
Flags: needinfo?(xracoonx)
Now I have found some other reports on high CPU usage on mac. Since you are asking people to give more information, I am wondering whether you don't see the same on your MacBooks? Is it something that affects only a small part of people on MacBooks? Please let me know whether I can give any further information. I'd love to see Firefox succeed on the mac but at the moment it doesn't (at least for me).
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.