Firefox 13 smooth scrolling changed?
-
- Posts: 1407
- Joined: April 25th, 2003, 11:02 pm
Re: Firefox 13 smooth scrolling changed?
I'm guessing this is an addon bug. Can anyone seeing it post what extensions they're using?
-
- Posts: 2
- Joined: September 2nd, 2012, 3:29 am
Re: Firefox 13 smooth scrolling changed?
Canyonero wrote:I'm guessing this is an addon bug. Can anyone seeing it post what extensions they're using?
It's not addons. The issue seems to be that the new smooth scrolling behavior includes an acceleration mechanic that causes an awkward burst of page redraws. Setting the minimum and maximum speeds to the same value, thereby removing the acceleration, fixes the chopping and more or less makes firefox act the way it used to.
It's like they didn't test this feature before adding it.
- LordStriker
- Posts: 732
- Joined: September 7th, 2010, 7:14 am
- Location: Macedonia, Greece
Re: Firefox 13 smooth scrolling changed?
Can you tell us, please, how you set min/max speeds?
Fx 16.02 -//- Fx 19α x64 -//- Win 8 Pro x64 -//- CPU: i5 2500 -//- GPU: 7950 -//- RAM: 8GB
-
- Posts: 2
- Joined: September 2nd, 2012, 3:29 am
Re: Firefox 13 smooth scrolling changed?
squall_leonhart wrote:set
general.smoothScroll.mouseWheel.durationMaxMS
and
general.smoothScroll.mouseWheel.durationMinMS
to 150, and the Lag feeling will be gone.
From the first page. It doesn't have to be 150, I use 200, and there doesn't seem to be lag at all. Just make sure its the same.
-
- Posts: 107
- Joined: May 21st, 2008, 10:47 pm
Re: Firefox 13 smooth scrolling changed?
When Firefox 13 was released I used the following which does make scrolling more responsive without the annoying drift of the default settings:
general.smoothScroll.durationToIntervalRatio = 100
general.smoothScroll.mouseWheel.durationMaxMS = 150
general.smoothScroll.mouseWheel.durationMinMS = 150
...but that never got rid of the stuttering/lag. Recently I discovered that the layout.frame_rate setting was able to resolve that remaining problem.
Setting layout.frame_rate to monitor refresh rate x 4 makes a massive difference, at the expense of a couple percent higher CPU usage when scrolling.
As an added bonus, it also seems to increase responsiveness and reduce lag of the UI in general.
If you have a 60Hz LCD, try setting layout.frame_rate = 240.
Be careful with this setting though, since after you pass a certain threshold (which was around 375-400 on my PC), CPU usage will skyrocket and performance will become significantly degraded.
A value of 240 which is essentially a 4.16ms rendering timer should be safe and stable enough in Firefox if you have a decent computer.
general.smoothScroll.durationToIntervalRatio = 100
general.smoothScroll.mouseWheel.durationMaxMS = 150
general.smoothScroll.mouseWheel.durationMinMS = 150
...but that never got rid of the stuttering/lag. Recently I discovered that the layout.frame_rate setting was able to resolve that remaining problem.
Setting layout.frame_rate to monitor refresh rate x 4 makes a massive difference, at the expense of a couple percent higher CPU usage when scrolling.
As an added bonus, it also seems to increase responsiveness and reduce lag of the UI in general.
If you have a 60Hz LCD, try setting layout.frame_rate = 240.
Be careful with this setting though, since after you pass a certain threshold (which was around 375-400 on my PC), CPU usage will skyrocket and performance will become significantly degraded.
A value of 240 which is essentially a 4.16ms rendering timer should be safe and stable enough in Firefox if you have a decent computer.
- Caspid
- Posts: 582
- Joined: December 18th, 2005, 4:01 pm
Re: Firefox 13 smooth scrolling changed?
^neat.
I don't suppose anyone has written up precisely what each of these configuration options does?
general.smoothScroll.durationToIntervalRatio, general.smoothScroll.lines.durationMaxMS, general.smoothScroll.other.durationMinMS, etc
I don't suppose anyone has written up precisely what each of these configuration options does?
general.smoothScroll.durationToIntervalRatio, general.smoothScroll.lines.durationMaxMS, general.smoothScroll.other.durationMinMS, etc
"Know what I pray for? The strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference." -Calvin
- Caspid
- Posts: 582
- Joined: December 18th, 2005, 4:01 pm
Re: Firefox 13 smooth scrolling changed?
Also, I can't seem to increase the number of lines Firefox scrolls by. Even with mousewheel.withnokey.sysnumlines set to false and mousewheel.withnokey.numlines set to 20, the mouse wheel still only scrolls by a few lines.
edit: many thanks!
edit: many thanks!
Last edited by Caspid on September 12th, 2012, 9:57 pm, edited 1 time in total.
"Know what I pray for? The strength to change what I can, the inability to accept what I can't, and the incapacity to tell the difference." -Calvin
-
- Posts: 458
- Joined: September 12th, 2005, 4:43 pm
Re: Firefox 13 smooth scrolling changed?
Caspid wrote:Also, I can't seem to increase the number of lines Firefox scrolls by. Even with mousewheel.withnokey.sysnumlines set to false and mousewheel.withnokey.numlines set to 20, the mouse wheel still only scrolls by a few lines.
It's mousewheel.default.delta_multiplier_y now. It's a percentage. 100 = system number of lines, 200 would double that, etc.
-
- Posts: 319
- Joined: January 27th, 2004, 10:43 am
Re: Firefox 13 smooth scrolling changed?
thanks for this cyberbeing, I went from esr to 15.0.1, and immediatly noticed the scrolling was weird in a negative way with extra jerkyness.
Setting the settings you posted has improved it somewhat. I find myself wondering what goes on inside the dev's minds, everytime I upgrade firefox there is something to fix.
Setting the settings you posted has improved it somewhat. I find myself wondering what goes on inside the dev's minds, everytime I upgrade firefox there is something to fix.
- squall_leonhart
- Posts: 885
- Joined: March 17th, 2008, 5:32 am
- Location: Australia
- Contact:
Re: Firefox 13 smooth scrolling changed?
the jerkiness is actually a bug in aurora and nightly, that Mozilla QA can't for the life of them reproduce for some reason.
it occurs when certain addons that use frequently updating ui controls are installed and you maximise the window (and subsequently remains after unmaximising past a certain window dimension)
Beta does not have this problem.
it occurs when certain addons that use frequently updating ui controls are installed and you maximise the window (and subsequently remains after unmaximising past a certain window dimension)
Beta does not have this problem.
-
- Posts: 895
- Joined: March 14th, 2010, 3:44 am
- LordStriker
- Posts: 732
- Joined: September 7th, 2010, 7:14 am
- Location: Macedonia, Greece
Re: Firefox 13 smooth scrolling changed?
Cyberbeing wrote:If you have a 60Hz LCD, try setting layout.frame_rate = 240.
Be careful with this setting though, since after you pass a certain threshold (which was around 375-400 on my PC), CPU usage will skyrocket and performance will become significantly degraded.
A value of 240 which is essentially a 4.16ms rendering timer should be safe and stable enough in Firefox if you have a decent computer.
Keep in mind, though, if you care for efficiency, this is extremely inefficient. Default smooth scrolling adds noticeable load on GPU ( in comparison to non-smooth scrolling ), but the clocks remain in idle mode -it's O.K.
If you set 240Hz, the clocks are -almost constantly- in 3d mode. With a little scrolling on Reddit, for instance, temps go up by 6-7 degrees. Of course it adds responsiveness.
By the way, on 16 beta the default settings aren't bad... In Nightly the problem appears.
Fx 16.02 -//- Fx 19α x64 -//- Win 8 Pro x64 -//- CPU: i5 2500 -//- GPU: 7950 -//- RAM: 8GB
- streetwolf
- Posts: 2706
- Joined: August 21st, 2011, 8:07 am
- Location: NJ (USA)
Re: Firefox 13 smooth scrolling changed?
Speaking of scrolling I began to notice in the last week or so a slight delay in scrolling when a new page opens up. When I go to a a page and scroll using my wheel there is a pause of 1-2 seconds until the page scrolls. I don't recall this happening until recently. Any insight into this?
Intel i9-13900K | ASUS ROG MAXIMUS Z790 HERO DDR5 | 64GB CORSAIR VENGEANCE DDR5 @ 6600 Mhz.
H100i ELITE CAPELLIX XT Liquid CPU Cooler | PNY 12GB GeForce RTX 3080 Ti | 2 CORSAIR 2TB MP600 PRO XT GEN 4
HX1200 PLATINUM PSU | XENEON 32" IPS UHD 144Hz | BenQ 32" UHD | MS Windows 11 Pro
H100i ELITE CAPELLIX XT Liquid CPU Cooler | PNY 12GB GeForce RTX 3080 Ti | 2 CORSAIR 2TB MP600 PRO XT GEN 4
HX1200 PLATINUM PSU | XENEON 32" IPS UHD 144Hz | BenQ 32" UHD | MS Windows 11 Pro
-
- Posts: 107
- Joined: May 21st, 2008, 10:47 pm
Re: Firefox 13 smooth scrolling changed?
I haven't noticed any difference on 2D/3D clocks, since my GT 440 DDR5 would enter 3D Mode whenever scrolling even with default settings. You're correct that GPU load is much higher though, but at least on this GPU it has nearly no effect on temps (+1° C) which maintains the lowest auto idle fanspeed of 25%. I'll agree that this isn't efficient, but until Mozilla achieves similar smoothness and responsiveness with a 1:1 ratio of layout.frame_rate:refresh_rate, I find it to be an acceptable solution on my PC. For laptop users on battery power, maybe not.
Firefox may be in need of something like a smoothscroll event timer which is set higher for responsiveness and works independently of the VSync rendering rate.
The page probably wasn't fully rendered, but I've also seen issues with Firefox scrolling in general where scrolling will stall slightly or slow down when it hits certain image or content heavy page elements. This seems to happen even without smoothscrolling though.
Firefox may be in need of something like a smoothscroll event timer which is set higher for responsiveness and works independently of the VSync rendering rate.
streetwolf wrote:Speaking of scrolling I began to notice in the last week or so a slight delay in scrolling when a new page opens up. When I go to a a page and scroll using my wheel there is a pause of 1-2 seconds until the page scrolls. I don't recall this happening until recently. Any insight into this?
The page probably wasn't fully rendered, but I've also seen issues with Firefox scrolling in general where scrolling will stall slightly or slow down when it hits certain image or content heavy page elements. This seems to happen even without smoothscrolling though.
- squall_leonhart
- Posts: 885
- Joined: March 17th, 2008, 5:32 am
- Location: Australia
- Contact:
Re: Firefox 13 smooth scrolling changed?
dbcooper.dk wrote:Related to this?
Bug 797167 - Scroll speed is not syncing between embedded object and text
potentially, but also https://bugzilla.mozilla.org/show_bug.cgi?id=781414