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

Support Forum

Scrolling lag (linux, nvidia)

Posted

Sometimes (usually this happens after switching to Firefox from other application/virtual desktop, or switching to another tab, or just after don't touching keyboard/mouse for a while on current tab) when I try to scroll (up or down) webpage using mouse wheel Firefox lags (there are small, but noticeable and annoying delay before scrolling webpage). If I quickly scroll up and down several times this lag goes away and then I can scroll on this website without any lags. This issue may happens on any websites, even simplest ones (which doesn't use background images, complex js, etc.).

Smooth scrolling is off, switching hardware acceleration on/off doesn't change anything, starting Firefox in safe mode doesn't helps too.

Opera and Chromium doesn't have this issue.

I'm using Hardened Gentoo Linux, kernel 3.10.1, nvidia-drivers 319.49, Firefox 24.0. Hardware is fast enough: Core i7-2600K @ 4.6GHz, 8 GB RAM, GeForce GTX 560 Ti.

After googling I found several reports (many years old) which blame proprietary nvidia driver and recommend using non-100% zoom (like 101%) to make this issue less noticeable (I'm already using NoSquint with 150% default zoom). I've tried to switch to nouveau video driver, and looks like scrolling doesn't lag with it (I'm not 100% sure because I've used it only few minutes), but I need acceleration/opencl features provided only by proprietary nvidia driver so I've switched back to it.

But even if this issue is in nvidia driver, Firefox is only app which have this issue, so I'm pretty sure it can be fixed / workaround in Firefox. Maybe this issue can be fixed by changing some nvidia driver's options or Firefox config?

Sometimes (usually this happens after switching to Firefox from other application/virtual desktop, or switching to another tab, or just after don't touching keyboard/mouse for a while on current tab) when I try to scroll (up or down) webpage using mouse wheel Firefox lags (there are small, but noticeable and annoying delay before scrolling webpage). If I quickly scroll up and down several times this lag goes away and then I can scroll on this website without any lags. This issue may happens on any websites, even simplest ones (which doesn't use background images, complex js, etc.). Smooth scrolling is off, switching hardware acceleration on/off doesn't change anything, starting Firefox in safe mode doesn't helps too. Opera and Chromium doesn't have this issue. I'm using Hardened Gentoo Linux, kernel 3.10.1, nvidia-drivers 319.49, Firefox 24.0. Hardware is fast enough: Core i7-2600K @ 4.6GHz, 8 GB RAM, GeForce GTX 560 Ti. After googling I found several reports (many years old) which blame proprietary nvidia driver and recommend using non-100% zoom (like 101%) to make this issue less noticeable (I'm already using NoSquint with 150% default zoom). I've tried to switch to nouveau video driver, and looks like scrolling doesn't lag with it (I'm not 100% sure because I've used it only few minutes), but I need acceleration/opencl features provided only by proprietary nvidia driver so I've switched back to it. But even if this issue is in nvidia driver, Firefox is only app which have this issue, so I'm pretty sure it can be fixed / workaround in Firefox. Maybe this issue can be fixed by changing some nvidia driver's options or Firefox config?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202

Application

  • Firefox 24.0
  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
  • Support URL: https://support.mozilla.org/1/firefox/24.0/Linux/ru/

Extensions

  • Adblock Plus 2.4 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Brief 1.7.1 (brief@mozdev.org)
  • Cookie Monster 1.1.0 ({45d8ff86-d909-11db-9705-005056c00008})
  • Customizable Shortcuts 0.5.11.1 (customizable-shortcuts@timtaubert.de)
  • DownloadHelper 4.9.21 ({b9db16a4-6edc-47ec-a1f4-b86292ed211d})
  • DuckDuckGo Plus 0.2.53 (jid1-ZAdIEUB7XOzOJw@jetpack)
  • Firebug 1.12.3 (firebug@software.joehewitt.com)
  • FireGestures 1.7.13 (firegestures@xuldev.org)
  • Greasemonkey 1.12 ({e4a8a97b-f2ed-450b-b12d-ee082ba24781})
  • HTTPS-Everywhere 3.4.2 (https-everywhere@eff.org)
  • NoScript 2.6.8.2 ({73a6fe31-595d-460b-a920-fcc0f8843232})
  • NoSquint 2.1.9 (nosquint@urandom.ca)
  • Private Tab 0.1.5 (privateTab@infocatcher)
  • RefControl 0.8.16 ({455D905A-D37C-4643-A9E2-F6FEFAA0424A})
  • RequestPolicy 1.0.0b3 (requestpolicy@requestpolicy.com)
  • RSS иконка для Brief 1.0 (iconforbrief@gmail.com)
  • Screengrab (fix version) 0.97.15c ({02450914-cdd9-410f-b1da-db004e18c671})
  • Super Start 6.6 (superstart@enjoyfreeware.org)
  • Tab Utilities Phoenix 1.6pre7 (tabutils@angrydroid.com)
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Bamboo Feed Reader 1.9 ({b2e69492-2358-071a-7056-24ad0c3defb1}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: NVIDIA Corporation -- GeForce GTX 560 Ti/PCIe/SSE2
  • adapterDeviceID: GeForce GTX 560 Ti/PCIe/SSE2
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: NVIDIA Corporation
  • driverDate:
  • driverVersion: 4.3.0 NVIDIA 319.49
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'none'}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • webglRenderer: NVIDIA Corporation -- GeForce GTX 560 Ti/PCIe/SSE2
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Modified Preferences

  • accessibility.typeaheadfind.flashBar: 0
  • 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.link.open_newwindow.override.external: 3
  • browser.link.open_newwindow.restriction: 0
  • browser.places.smartBookmarksVersion: 4
  • browser.search.useDBForOrder: True
  • browser.sessionstore.max_tabs_undo: 30
  • browser.startup.homepage: chrome://superstart/content/index.html
  • browser.startup.homepage_override.buildID: 20131006075944
  • browser.startup.homepage_override.mstone: 24.0
  • browser.zoom.siteSpecific: False
  • dom.max_script_run_time: 20
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 24.0
  • mousewheel.withcontrolkey.action: 3
  • network.cookie.cookieBehavior: 1
  • network.cookie.prefsMigrated: True
  • network.dns.disablePrefetch: True
  • network.prefetch-next: False
  • places.database.lastMaintenance: 1381384680
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.java: 0
  • plugin.state.libnpsoplugin: 0
  • plugin.state.nsdejavu: 0
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • security.disable_button.openCertManager: False
  • security.disable_button.openDeviceManager: False
  • storage.vacuum.last.brief.sqlite: 1381247863
  • storage.vacuum.last.index: 2
  • storage.vacuum.last.places.sqlite: 1381058196

Misc

  • User JS: No
  • Accessibility: No
bkerensa 4 solutions 23 answers

This is something that would need to be addressed downstream by Gentoo. Please try filing a bug with them and raising the issues in regards to Nvidia performance since they build their own Firefox package which is provided to the end user and differently from upstream.

This is something that would need to be addressed downstream by Gentoo. Please try filing a bug with them and raising the issues in regards to Nvidia performance since they build their own Firefox package which is provided to the end user and differently from upstream.
cor-el
  • Top 10 Contributor
  • Moderator
12922 solutions 118514 answers

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.

Create a new profile as a test to check if your current profile is causing the problems. See "Creating a profile": *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem. *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

Question owner

Actually Gentoo also provide firefox-bin package, which uses official Mozilla binary package instead of compiling it from source. I'll try it now.

Update: I've used it in last two days, and it have same lag issue as compiled from source, so this issue have nothing with Gentoo-specific patches/compilation.

Actually Gentoo also provide firefox-bin package, which uses official Mozilla binary package instead of compiling it from source. I'll try it now. '''Update:''' I've used it in last two days, and it have same lag issue as compiled from source, so this issue have nothing with Gentoo-specific patches/compilation.

Modified by powerman-asdf