X
Tap here to go to the mobile version of the site.

Support Forum

Firefox CPU consumption jumps when mouse moves

Posted

Hi,

Whenever I move the mouse in Firefox 18.0.1, the firefox.exe process jumps from 0% to 30% CPU consumption. When other stuff happens that requires CPU resources I experience a drop in responsiveness, so please don't tell me that 30% is acceptable ;)


I made a default profile to test this. I also disabled plugins and tested in Firefox safe mode. I'm running a 3 days fresh install of Windows 7 64 bit, fully updated. I installed Acronis True Image 2013, if that matters. Firewall and antivirus are disabled. Slowdown occurs even on about:blank pages, however when I'm moving over Firefox options pane, CPU jumps by 10-15% instead of 30%, which I guess is a little more acceptable.

It doesn't happen with Internet Explorer, whether 32 or 64 bit. It doesn't happen with any other program, though few are installed, except a 10-15% increase in Kaspersky Antivirus 2013 UI. I personally don't expect more than 5% increase in CPU consumption when I move the mouse over something. Kaspersky menus are way more animated than Firefox though, so I'm not sure the consumption I report is related to my issue.


My mouse is an EssentielB, model Mulo XL, product code 825258. It's a wired laser USB mouse with 2 extra buttons that do previous/next in Firefox, and 2 other buttons that change mouse speed.

It didn't come with any separate driver, was automatically recognized by Windows and works fine. However I'm using a laptop, and moving the mouse cursor with the touch pad increases CPU consumption by 10-15% instead of 30% with the mouse. (as I said, this is better but still a lot)


Hope you can help! :) If you need more info or that I test something, please post here instead of emailing me as I do not check that mail box. Thanks!


EDIT: The troubleshooting information says 0 / 1 window is hardware accelerated, but that's only because Firefox was running in safe mode. In normal mode the problem of course persists yet hardware acceleration works properly.

Hi, Whenever I move the mouse in Firefox 18.0.1, the firefox.exe process jumps from 0% to 30% CPU consumption. When other stuff happens that requires CPU resources I experience a drop in responsiveness, so please don't tell me that 30% is acceptable ;) I made a default profile to test this. I also disabled plugins and tested in Firefox safe mode. I'm running a 3 days fresh install of Windows 7 64 bit, fully updated. I installed Acronis True Image 2013, if that matters. Firewall and antivirus are disabled. Slowdown occurs even on about:blank pages, however when I'm moving over Firefox options pane, CPU jumps by 10-15% instead of 30%, which I guess is a little more acceptable. It doesn't happen with Internet Explorer, whether 32 or 64 bit. It doesn't happen with any other program, though few are installed, except a 10-15% increase in Kaspersky Antivirus 2013 UI. I personally don't expect more than 5% increase in CPU consumption when I move the mouse over something. Kaspersky menus are way more animated than Firefox though, so I'm not sure the consumption I report is related to my issue. My mouse is an EssentielB, model Mulo XL, product code 825258. It's a wired laser USB mouse with 2 extra buttons that do previous/next in Firefox, and 2 other buttons that change mouse speed. It didn't come with any separate driver, was automatically recognized by Windows and works fine. However I'm using a laptop, and moving the mouse cursor with the touch pad increases CPU consumption by 10-15% instead of 30% with the mouse. (as I said, this is better but still a lot) Hope you can help! :) If you need more info or that I test something, please post here instead of emailing me as I do not check that mail box. Thanks! EDIT: The troubleshooting information says 0 / 1 window is hardware accelerated, but that's only because Firefox was running in safe mode. In normal mode the problem of course persists yet hardware acceleration works properly.

Modified by Pizzle

Additional System Details

Installed Plug-ins

None

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

{
"application": {
"name": "Firefox",
"version": "18.0.1",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0",
"supportURL": "http://support.mozilla.org/1/firefox/18.0.1/WINNT/fr/"
},
"modifiedPreferences": {
"browser.cache.disk.capacity": 358400,
"browser.cache.disk.smart_size.first_run": false,
"browser.cache.disk.smart_size.use_old_max": false,
"browser.cache.disk.smart_size_cached_value": 358400,
"browser.places.smartBookmarksVersion": 4,
"browser.startup.homepage_override.buildID": "20130116073211",
"browser.startup.homepage_override.mstone": "18.0.1",
"extensions.lastAppVersion": "18.0.1",
"network.cookie.prefsMigrated": true,
"places.history.expiration.transient_current_max_pages": 104858,
"privacy.sanitize.migrateFx3Prefs": true
},
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 0,
"windowLayerManagerType": "Basic",
"numAcceleratedWindowsMessage": [
"no information"
],
"adapterDescription": "NVIDIA GeForce 9800M GTS ",
"adapterVendorID": "0x10de",
"adapterDeviceID": "0x062c",
"adapterRAM": "1024",
"adapterDrivers": "nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um",
"driverVersion": "9.18.13.1090",
"driverDate": "12-29-2012",
"adapterDescription2": "",
"adapterVendorID2": "",
"adapterDeviceID2": "",
"adapterRAM2": "",
"adapterDrivers2": "",
"driverVersion2": "",
"driverDate2": "",
"isGPU2Active": false,
"direct2DEnabled": false,
"directWriteEnabled": false,
"directWriteVersion": "6.1.7601.17789",
"direct2DEnabledMessage": [
"no information"
],
"webglRenderer": "Google Inc. -- ANGLE (NVIDIA GeForce 9800M GTS )",
"info": {
"AzureCanvasBackend": "cairo",
"AzureFallbackCanvasBackend": "none",
"AzureContentBackend": "none"
}
},
"javaScript": {
"incrementalGCEnabled": true
},
"accessibility": {
"isActive": false,
"forceDisabled": 0
},
"libraryVersions": {
"NSPR": {
"minVersion": "4.9.4",
"version": "4.9.4"
},
"NSS": {
"minVersion": "3.14.1.0 Basic ECC",
"version": "3.14.1.0 Basic ECC"
},
"NSSUTIL": {
"minVersion": "3.14.1.0",
"version": "3.14.1.0"
},
"NSSSSL": {
"minVersion": "3.14.1.0 Basic ECC",
"version": "3.14.1.0 Basic ECC"
},
"NSSSMIME": {
"minVersion": "3.14.1.0 Basic ECC",
"version": "3.14.1.0 Basic ECC"
}
},
"extensions": [
{
"name": "Content Blocker",
"version": "13.0.1.4250",
"isActive": false,
"id": "content_blocker@kaspersky.com"
},
{
"name": "Kaspersky URL Advisor",
"version": "13.0.1.4250",
"isActive": false,
"id": "url_advisor@kaspersky.com"
},
{
"name": "Virtual Keyboard",
"version": "13.0.1.4250",
"isActive": false,
"id": "virtual_keyboard@kaspersky.com"
}
]
}

Helpful Reply

Also, scrolling with the wheel without otherwise moving the mouse uses 40% CPU.

This in on a page with no CSS, no Javascript, no image, nothing but enough basic HTML text to stretch the page vertically so that scrolling up and down is possible.

This ain't right. While I expect scrolling to take more resources than mouse move, it certainly shouldn't need almost half of my CPU, especially when rendering is GPU accelerated. (CPU is Intel Core2Duo P8400, see the system details for my GPU)


Other programs don't do that. Should I post this in bugzilla instead if I want to reach the right people for that issue ?

Thanks :)


Note: Scrolling + moving the mouse at the same time don't add up, they take 40-45%. The laptop's touchpad doesn't give better results this time: 40% for scrolling, as opposed to 10-15% for cursor movement.

It sounds like a painting issue more than a mouse one.

Also, scrolling with the wheel without otherwise moving the mouse uses 40% CPU. This in on a page with no CSS, no Javascript, no image, nothing but enough basic HTML text to stretch the page vertically so that scrolling up and down is possible. This ain't right. While I expect scrolling to take more resources than mouse move, it certainly shouldn't need almost half of my CPU, especially when rendering is GPU accelerated. (CPU is Intel Core2Duo P8400, see the system details for my GPU) Other programs don't do that. Should I post this in bugzilla instead if I want to reach the right people for that issue ? Thanks :) Note: Scrolling + moving the mouse at the same time don't add up, they take 40-45%. The laptop's touchpad doesn't give better results this time: 40% for scrolling, as opposed to 10-15% for cursor movement. It sounds like a painting issue more than a mouse one.

Modified by Pizzle

cor-el
  • Top 10 Contributor
  • Moderator
12134 solutions 112710 answers

Try to disable hardware acceleration in Firefox.

Try to disable hardware acceleration in Firefox. *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available" *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes *https://hacks.mozilla.org/2010/09/hardware-acceleration/ *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Helpful Reply

I didn't do it previously because I tested in Firefox safe mode, where I think HW acceleration is disabled, and the problem persisted.

Still, I tried your suggestion in normal mode and unfortunately, things did not improve.

Then I tested vertical scrolling with HW acceleration disabled, and it managed to get worse (I didn't test scrolling in safe mode) . From 40% CPU consumption it bumped to 60%; almost 80% with touchpad, possibly because touchpad scrolls faster. In scroll's case, HW acceleration seemed to do its job of improving speed. Still, 40% while being HW accelerated ain't right.


Back to cursor movement, this sounds completely stupid but it seems that when I move the mouse in straight line, CPU consumption is lower than when movement is curvy or circular. Straight I get more like 20%, and 30% with curves. *shrugs*

Also touchpad definitely gives better results for cursor movement, although still higher than expected, so I found a new mouse to test. I used the same USB port and plugged in a Microsoft Wireless Mobile Mouse 3500. I got the same results as with the touchpad, so, while there may be a painting issue, for cursor movement it's about half as bad as expected since there is also a mouse issue with the model I described in first post. But the scrolling is NOT a mouse issue.

(The mouse part of the issue lies in Firefox because other programs don't have that problem.)

I didn't do it previously because I tested in Firefox safe mode, where I think HW acceleration is disabled, and the problem persisted. Still, I tried your suggestion in normal mode and unfortunately, things did not improve. Then I tested vertical scrolling with HW acceleration disabled, and it managed to get worse (I didn't test scrolling in safe mode) . From 40% CPU consumption it bumped to 60%; almost 80% with touchpad, possibly because touchpad scrolls faster. In scroll's case, HW acceleration seemed to do its job of improving speed. Still, 40% while being HW accelerated ain't right. Back to cursor movement, this sounds completely stupid but it seems that when I move the mouse in straight line, CPU consumption is lower than when movement is curvy or circular. Straight I get more like 20%, and 30% with curves. *shrugs* Also touchpad definitely gives better results for cursor movement, although still higher than expected, so I found a new mouse to test. I used the same USB port and plugged in a [https://www.microsoft.com/hardware/en-us/p/wireless-mobile-mouse-3500 Microsoft Wireless Mobile Mouse 3500]. I got the same results as with the touchpad, so, while there may be a painting issue, for cursor movement it's about half as bad as expected since there is also a mouse issue with the model I described in first post. But the scrolling is NOT a mouse issue. (The mouse part of the issue lies in Firefox because other programs don't have that problem.)

Modified by Pizzle