Scrolling significantly slower when maximized
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
People
(Reporter: ratan.r.sur, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
- Start firefox by any means
- Navigate to any site that is longer than the window height
- Scroll
- Resize window to half of screen and scroll again
Environment:
i3 Window Manager
Arch Linux (Linux 4.20.3-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 GNU/Linux)
Actual results:
Scrolling is very choppy when maximized, smooth when half screen size
Expected results:
My machine has very high end hardware so there should be no reason that it can't handle smooth scrolling while full screen
Architecture: x86_64
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 12
Thread(s) per core: 2
Core(s) per socket: 6
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Stepping: 10
CPU max MHz: 4300.0000
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1) (prog-if 00 [VGA controller])
Kernel driver in use: nvidia
| Reporter | ||
Comment 1•7 years ago
|
||
Most sites, including very static ones like wikipedia scroll choppily.
Strangely, bugzilla scrolls fine.
Updated•7 years ago
|
Comment 2•7 years ago
|
||
I tried to reproduce this bug on several sites on Arch Linux VM(KDE Plasma)but couldn't duplicate this issue. Scrolling worked fine for me when maximize or half screen.
My machine config is nowhere closer to your high end system config.
I am placing this bug under Core: XUL, so someone can look into this. Thanks for the bug report!
Updated•7 years ago
|
| Reporter | ||
Comment 3•7 years ago
|
||
Does bugzilla enforce that certain options be a certain value? Maybe one of my add ons is causing the issue.
Comment 4•7 years ago
|
||
If you go to about:support and look at the Graphics section, what does it say for "Compositing"? If it says "Basic" try going to about:config, search for "layers.acceleration.force-enabled", and double-click on it to set it to true. Then restart the browser and see if you still have the same problem.
| Reporter | ||
Comment 5•7 years ago
|
||
That fixed it! Is there anywhere this is documented that I missed?
Comment 6•7 years ago
|
||
Not explicitly. We don't have hardware acceleration enabled by default on Linux because it causes instability for some users. The steps in comment 4 turn it on. This tends to improve scrolling performance. Bug 594876 is tracking turning it on by default.
| Reporter | ||
Comment 7•7 years ago
|
||
So that means that mine was slow because it was using CPU only? Is smooth scrolling always so intensive that it's choppy for even cpu's as fast as mine?
Comment 8•7 years ago
|
||
(In reply to ratan.r.sur from comment #7)
So that means that mine was slow because it was using CPU only?
More or less, yeah
Is smooth scrolling always so intensive that it's choppy for even cpu's as fast as mine?
It's not just the CPU - memory bandwidth etc all play a role. If you have a large display it can be a lot of work to get all the pixels to the screen.
| Reporter | ||
Comment 9•7 years ago
|
||
I see, I do have a 4k display so that makes sense.
| Reporter | ||
Comment 10•7 years ago
|
||
I think I'm seeing the instability you're talking about. My whole browser occasionally becomes black and I don't know how to recover it. I have to close the window and start a new window. Is there an existing bug for that that I can track?
Comment 11•7 years ago
|
||
I don't know of one offhand. You can look at the bugs blocking 594876 and file one if none matches.
Comment 12•7 years ago
|
||
(ratan.r.sur from comment #0)
i3 Window Manager
Arch Linux
NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1) (prog-if 00 [VGA controller])
Adjusting dependency.
Previous "OpenGL" compositing (bug 594876) was never enabled by default and is now being replaced by "WebRender".
On Nightly, WebRender is already enabled by default for modern Intel and AMD with Mesa 18.2 or newer with screens smaller than 4K.
Nightly 69 introduces a GPU process for Linux to prevent crashing the whole browser in case of problems.
If you want to try it out, open about:config, set gfx.webrender.all to true to force-enable WebRender and restart Nightly.
- Known Nvidia bugs
- Known i3 wm bug: bug 1514148
More information: https://mozillagfx.wordpress.com
Updated•5 years ago
|
Description
•