Open
Bug 1316865
Opened 8 years ago
Updated 2 years ago
High CPU usage with empty profile, no tab and idle
Categories
(Core :: Hardware Abstraction Layer (HAL), enhancement, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox52 | --- | wontfix |
People
(Reporter: leplatrem, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file)
107.91 KB,
image/png
|
Details |
- Firefox 49.0.2
- Ubuntu 16.10
- GNOME Shell 3.20.4
I created a new profile, and never used it. I leave the browser opened on the homepage and don't do anything.
Firefox takes between 20 and 55% of CPU (Dual core i7-6600U).
Hardware acceleration is on in about:support:
- Vendor ID Intel Open Source Technology Center
- Device ID Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
- Driver Version 3.0 Mesa 12.0.3
... I don't know where to look. I read https://support.mozilla.org/en-US/kb/firefox-uses-too-many-cpu-resources-how-fix)
Note: I've got the same problem with Firefox 52.0a1 (2016-11-10) (64-bit)
Comment 1•8 years ago
|
||
Same issue on my computer. FF take around 100 % of one core of the CPU (Intel Celeron 847). I run Ubuntu 16.10. Issue already there before installing the Flash Player add-in.
Troubleshooting data below:
{
"application": {
"name": "Firefox",
"osVersion": "Linux 4.8.0-27-generic",
"version": "49.0.2",
"buildID": "20161025164528",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0",
"safeMode": false,
"supportURL": "https://support.mozilla.org/1/firefox/49.0.2/Linux/fr/",
"numTotalWindows": 1,
"numRemoteWindows": 0,
"remoteAutoStart": false,
"autoStartStatus": 7
},
"modifiedPreferences": {
"accessibility.typeaheadfind.flashBar": 0,
"browser.cache.disk.hashstats_reported": 1,
"browser.cache.frecency_experiment": 1,
"browser.cache.disk.smart_size.first_run": false,
"browser.cache.disk.capacity": 358400,
"browser.cache.disk.filesystem_reported": 1,
"browser.download.importedFromSqlite": true,
"browser.places.smartBookmarksVersion": 8,
"browser.search.useDBForOrder": true,
"browser.sessionstore.upgradeBackup.latestBuildID": "20161025164528",
"browser.startup.homepage": "http://www.bing.com/?cc=be",
"browser.startup.homepage_override.buildID": "20161025164528",
"browser.startup.homepage_override.mstone": "49.0.2",
"browser.tabs.warnOnClose": false,
"browser.tabs.remote.autostart.2": true,
"browser.urlbar.suggest.searches": true,
"browser.urlbar.userMadeSearchSuggestionsChoice": true,
"dom.apps.lastUpdate.buildID": "20161025164528",
"dom.apps.reset-permissions": true,
"dom.apps.lastUpdate.mstone": "49.0.2",
"dom.mozApps.used": true,
"extensions.lastAppVersion": "49.0.2",
"font.internaluseonly.changed": false,
"gfx.crash-guard.glcontext.deviceID": "Mesa DRI Intel(R) Sandybridge Mobile ",
"gfx.crash-guard.glcontext.appVersion": "45.0.2",
"gfx.crash-guard.glcontext.driverVersion": "3.0 Mesa 11.2.0",
"gfx.crash-guard.status.glcontext": 2,
"media.gmp-manager.buildID": "20161025164528",
"media.gmp.storage.version.observed": 1,
"media.webrtc.debug.aec_log_dir": "/tmp",
"media.webrtc.debug.log_file": "/tmp/WebRTC.log",
"media.gmp-gmpopenh264.version": "1.6",
"media.gmp-gmpopenh264.lastUpdate": 1471640673,
"media.gmp-gmpopenh264.abi": "x86_64-gcc3",
"media.gmp-manager.lastCheck": 1478944129,
"network.prefetch-next": false,
"network.dns.disablePrefetch": true,
"network.cookie.prefsMigrated": true,
"network.predictor.cleaned-up": true,
"network.http.speculative-parallel-limit": 0,
"places.history.expiration.transient_current_max_pages": 100639,
"places.database.lastMaintenance": 1478814418,
"plugin.importedState": true,
"plugin.disable_full_page_plugin_for_types": "application/pdf",
"plugin.state.flash": 1,
"print.print_margin_top": "0.5",
"print.print_paper_width": " 8,27",
"print.print_to_file": false,
"print.print_evenpages": true,
"print.print_orientation": 0,
"print.print_paper_size_type": 1,
"print.print_unwriteable_margin_right": 25,
"print.print_paper_height": " 11,69",
"print.print_unwriteable_margin_left": 25,
"print.print_margin_left": "0.5",
"print.print_unwriteable_margin_bottom": 56,
"print.print_duplex": 1,
"print.print_scaling": " 1,00",
"print.print_margin_right": "0.5",
"print.print_oddpages": true,
"print.print_bgcolor": false,
"print.print_bgimages": false,
"print.print_shrink_to_fit": false,
"print.print_margin_bottom": "0.5",
"print.print_unwriteable_margin_top": 25,
"print.print_paper_name": "iso_a4",
"print.print_in_color": true,
"print.print_page_delay": 50,
"print.print_paper_data": 0,
"print.print_paper_size_unit": 0,
"privacy.sanitize.timeSpan": 0,
"privacy.sanitize.migrateFx3Prefs": true,
"privacy.donottrackheader.enabled": true,
"privacy.cpd.formdata": false,
"privacy.sanitize.migrateClearSavedPwdsOnExit": true,
"storage.vacuum.last.places.sqlite": 1478340430,
"storage.vacuum.last.index": 1
},
"lockedPreferences": {},
"javaScript": {
"incrementalGCEnabled": true
},
"accessibility": {
"isActive": false,
"forceDisabled": 0
},
"libraryVersions": {
"NSPR": {
"minVersion": "4.12",
"version": "4.12"
},
"NSS": {
"minVersion": "3.25",
"version": "3.25"
},
"NSSUTIL": {
"minVersion": "3.25",
"version": "3.25"
},
"NSSSSL": {
"minVersion": "3.25",
"version": "3.25"
},
"NSSSMIME": {
"minVersion": "3.25",
"version": "3.25"
}
},
"userJS": {
"exists": false
},
"crashes": {
"submitted": [],
"pending": 0
},
"sandbox": {
"hasSeccompBPF": true,
"hasSeccompTSync": true,
"hasPrivilegedUserNamespaces": true,
"hasUserNamespaces": true,
"canSandboxMedia": true
},
"extensions": [
{
"name": "Asynchronous Plugin Rendering",
"version": "2.0",
"isActive": true,
"id": "asyncrendering@mozilla.org"
},
{
"name": "eID Belgique",
"version": "1.0.21",
"isActive": true,
"id": "belgiumeid@eid.belgium.be"
},
{
"name": "Multi-process staged rollout",
"version": "1.3",
"isActive": true,
"id": "e10srollout@mozilla.org"
},
{
"name": "Pocket",
"version": "1.0.4",
"isActive": true,
"id": "firefox@getpocket.com"
},
{
"name": "uBlock Origin",
"version": "1.9.16",
"isActive": true,
"id": "uBlock0@raymondhill.net"
},
{
"name": "Ubuntu Modifications",
"version": "3.2",
"isActive": true,
"id": "ubufox@ubuntu.com"
},
{
"name": "Web Compat",
"version": "1.0",
"isActive": true,
"id": "webcompat@mozilla.org"
}
],
"experiments": [],
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 0,
"windowLayerManagerType": "Basic",
"windowLayerManagerRemote": true,
"supportsHardwareH264": "No",
"numAcceleratedWindowsMessage": [
""
],
"adapterDescription": "Intel Open Source Technology Center -- Mesa DRI Intel(R) Sandybridge Mobile ",
"adapterVendorID": "Intel Open Source Technology Center",
"adapterDeviceID": "Mesa DRI Intel(R) Sandybridge Mobile ",
"adapterRAM": "",
"adapterDrivers": "",
"driverVersion": "3.0 Mesa 12.0.3",
"driverDate": "",
"webglRenderer": "Intel Open Source Technology Center -- Mesa DRI Intel(R) Sandybridge Mobile ",
"info": {
"AzureCanvasBackend": "skia",
"AzureCanvasAccelerated": 0,
"AzureFallbackCanvasBackend": "none",
"AzureContentBackend": "cairo",
"CairoUseXRender": 0
},
"featureLog": {
"features": [
{
"name": "HW_COMPOSITING",
"description": "Compositing",
"status": "blocked",
"log": [
{
"type": "default",
"status": "blocked",
"message": "Acceleration blocked by platform"
}
]
}
],
"fallbacks": []
},
"crashGuards": []
}
}
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Could be related to Xorg and compiz
Comment 4•8 years ago
|
||
Seems fixed after a Ubuntu system update
Reporter | ||
Comment 5•8 years ago
|
||
My system is up-to-date, and I even tried with kernel 4.8.7 which includes the latest Intel i915 drivers.
The problem still exists, but I'll close since some other applications are affected too.
Comment 6•8 years ago
|
||
Can you take a profile with the gecko profiler when this happens? ( https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem )
Component: General → Untriaged
Flags: needinfo?(mathieu)
Reporter | ||
Comment 7•8 years ago
|
||
Thanks for your suggestion!
This is what I got:
https://cleopatra.io/#report=7ee0b84071ee50c7be70155e41ed01bc6f773831
I overlooked and couldn't see any alarming information, but I have absolutely no experience with that!
Output of about:support is (empty profile):
{
"application": {
"name": "Firefox",
"osVersion": "Linux 4.8.7-040807-generic",
"version": "53.0a1",
"buildID": "20161121030224",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0",
"safeMode": false,
"updateChannel": "nightly",
"supportURL": "https://support.mozilla.org/1/firefox/53.0a1/Linux/en-US/",
"numTotalWindows": 1,
"numRemoteWindows": 1,
"remoteAutoStart": true,
"autoStartStatus": 1
},
"modifiedPreferences": {
"browser.cache.frecency_experiment": 1,
"browser.cache.disk.smart_size.first_run": false,
"browser.cache.disk.capacity": 358400,
"browser.cache.disk.filesystem_reported": 1,
"browser.download.importedFromSqlite": true,
"browser.places.smartBookmarksVersion": 8,
"browser.sessionstore.upgradeBackup.latestBuildID": "20161121030224",
"browser.startup.homepage_override.buildID": "20161121030224",
"browser.startup.homepage_override.mstone": "53.0a1",
"browser.urlbar.lastSuggestionsPromptDate": 20161122,
"browser.urlbar.daysBeforeHidingSuggestionsPrompt": 3,
"dom.gamepad.extensions.enabled": true,
"extensions.lastAppVersion": "53.0a1",
"media.gmp-manager.buildID": "20161121030224",
"media.gmp.storage.version.observed": 1,
"media.gmp-gmpopenh264.lastUpdate": 1479805833,
"media.gmp-gmpopenh264.version": "1.6",
"media.gmp-gmpopenh264.abi": "x86_64-gcc3",
"media.gmp-manager.lastCheck": 1479805833,
"network.cookie.prefsMigrated": true,
"network.predictor.cleaned-up": true,
"places.history.expiration.transient_current_max_pages": 122334,
"plugin.disable_full_page_plugin_for_types": "application/pdf"
},
"lockedPreferences": {},
"javaScript": {
"incrementalGCEnabled": true
},
"accessibility": {
"isActive": false,
"forceDisabled": 0
},
"libraryVersions": {
"NSPR": {
"minVersion": "4.13.1",
"version": "4.13.1"
},
"NSS": {
"minVersion": "3.29 Beta",
"version": "3.29 Beta"
},
"NSSUTIL": {
"minVersion": "3.29 Beta",
"version": "3.29 Beta"
},
"NSSSSL": {
"minVersion": "3.29 Beta",
"version": "3.29 Beta"
},
"NSSSMIME": {
"minVersion": "3.29 Beta",
"version": "3.29 Beta"
}
},
"userJS": {
"exists": false
},
"crashes": {
"submitted": [],
"pending": 0
},
"sandbox": {
"hasSeccompBPF": true,
"hasSeccompTSync": true,
"hasPrivilegedUserNamespaces": true,
"hasUserNamespaces": true,
"canSandboxContent": true,
"canSandboxMedia": true,
"contentSandboxLevel": 2
},
"extensions": [
{
"name": "Application Update Service Helper",
"version": "1.0",
"isActive": true,
"id": "aushelper@mozilla.org"
},
{
"name": "FlyWeb",
"version": "1.0.0",
"isActive": true,
"id": "flyweb@mozilla.org"
},
{
"name": "Form Autofill",
"version": "1.0",
"isActive": true,
"id": "formautofill@mozilla.org"
},
{
"name": "geckoprofiler",
"version": "1.16.22",
"isActive": true,
"id": "jid0-edalmuivkozlouyij0lpdx548bc@jetpack"
},
{
"name": "Multi-process staged rollout",
"version": "1.6",
"isActive": true,
"id": "e10srollout@mozilla.org"
},
{
"name": "Pocket",
"version": "1.0.5",
"isActive": true,
"id": "firefox@getpocket.com"
},
{
"name": "Presentation",
"version": "1.0.0",
"isActive": true,
"id": "presentation@mozilla.org"
},
{
"name": "Web Compat",
"version": "1.0",
"isActive": true,
"id": "webcompat@mozilla.org"
},
{
"name": "Ubuntu Modifications",
"version": "3.2",
"isActive": false,
"id": "ubufox@ubuntu.com"
}
],
"experiments": [],
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 1,
"windowLayerManagerType": "OpenGL",
"windowLayerManagerRemote": true,
"supportsHardwareH264": "No",
"currentAudioBackend": "pulse",
"adapterDescription": "Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) ",
"adapterVendorID": "Intel Open Source Technology Center",
"adapterDeviceID": "Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) ",
"adapterRAM": "",
"adapterDrivers": "",
"driverVersion": "3.0 Mesa 12.0.3",
"driverDate": "",
"webglRenderer": "Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) ",
"webgl2Renderer": "Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) ",
"info": {
"AzureCanvasBackend": "skia",
"AzureCanvasAccelerated": 0,
"AzureFallbackCanvasBackend": "none",
"AzureContentBackend": "skia",
"CairoUseXRender": 0,
"ApzWheelInput": 1,
"ApzTouchInput": 1
},
"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"
}
]
}
],
"fallbacks": []
},
"crashGuards": []
}
}
Flags: needinfo?(mathieu)
Comment 8•8 years ago
|
||
It looks like it's just stuck in _poll . Which means I suspect bug 1057653, which has a comment pointing to bug 1274731. I'll ping that bug, I guess. Andrea, is there a way to diagnose whether the polling in this profile is really caused by the battery API (which is a bit surprising, actually, on a clean profile - I don't know anything that'd query it) ?
Flags: needinfo?(amarchesini)
Updated•8 years ago
|
Component: Untriaged → Hardware Abstraction Layer (HAL)
Product: Firefox → Core
Comment 10•8 years ago
|
||
Too late for firefox 52, mass-wontfix.
Updated•6 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•