Closed
Bug 845944
Opened 12 years ago
Closed 12 years ago
Large 'janky' slowdown in panning on the Samsung Nexus 10
Categories
(Firefox for Android Graveyard :: Toolbar, defect)
Tracking
(firefox19 affected, firefox20 affected, firefox21 affected, firefox22 affected, firefox23 affected, firefox24 affected, firefox25 fixed, fennec23+)
People
(Reporter: cervienrico, Assigned: BenWa)
References
Details
(Keywords: perf)
Attachments
(1 file)
10.51 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
Steps to reproduce:
surf (everywhere, also mozilla.org)
Actual results:
everything seems very very slow, in particular the scroll and the zoom
Expected results:
be fast such as firefox on the other devices. it's so slow that you can't use it!
Comment 1•12 years ago
|
||
We've seen reports of this so I'm marking this as tracking for investigation.
Enrico, can you try out Firefox Beta on Google Play, Nightly (http://nightly.mozilla.org) for Android or Aurora (http://aurora.mozilla.org) for Android and report back if either are better?
Is the only thing that is slow scrolling and panning? How is interaction with the browser itself?
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
Firefox beta doesn't help. Soon as i can i will try the nightly.
The menu/options/desktop mode/exit are normally fast. The interaction on the web is slow if you scrolled before; also the loading time seems slow compared to a nexus 7 (> not a problem of android 4.2.2 i think). Few times too much scroll can cause the block of the zoom. it's like to surf on an old pc with windows 98.
i tryed both, aurora and nightly. The problem still remain, no visible changes.
Same issue here, Nexus 10, 4.2.2. I've used Stable, Beta (From Play Store) and Nightly builds (download) but each have the same issue with terribly jerky scrolling.
With regards to the Beta version (20.0) i have no addons installed which could be causing conflicts, its a clean install.
Comment 5•12 years ago
|
||
We have a Nexus 10 in our office we will take a look at it. Are there any particular URL's that seem to be the worst culprits for you?
(In reply to Aaron Train [:aaronmt] from comment #5)
> We have a Nexus 10 in our office we will take a look at it. Are there any
> particular URL's that seem to be the worst culprits for you?
None in particular that are worse than others, news.bbc.co.uk or reddit cause the issue (don't try reddit, you'll be on there all night and this'll never get fixed ;) )
Any website seems to be bad though.
in my case no, it's lagging everywhere.. i hope you you can find the problem, thanks! :)
I should also add that as well as being very jittery when scrolling, it's also very slow scrolling up and down as well. Not as speedy as it should be.
Comment 9•12 years ago
|
||
Friends, I see this 'jank' on our office's Nexus 10 as well; from complex sites like BBC News to really simple text (about:credits), or http://kernel.org. I'll hand the device off to our mobile platform developers next week for investigation. I'm suspecting the core issue here is related to the resolution of the device; 2560x1600.
status-firefox19:
--- → affected
status-firefox20:
--- → affected
status-firefox21:
--- → affected
status-firefox22:
--- → affected
Keywords: perf
Summary: Firefox is unusable on Nexus 10 → Large 'janky' slowdown in panning on the Samsung Nexus 10
Updated•12 years ago
|
tracking-fennec: ? → 20+
Reporter | ||
Comment 10•12 years ago
|
||
searching on internet, i saw that there weren't any problems with firefox and android 4.2.1 (if can help)
Updated•12 years ago
|
Assignee: nobody → chrislord.net
Comment 11•12 years ago
|
||
If this is isolated to 4.2.2 only do we have any idea what new changes were introduced that may cause issues?
Reporter | ||
Comment 12•12 years ago
|
||
no idea, this is my first android device. maybe we can ask on xda..
Comment 13•12 years ago
|
||
I can confirm hat this issue seems to have to do something with Android 4.2.2. I used Firefox on my Nexus 10 with Android 4.2.1 without any problems. Right after updating to 4.2.2 the problems with scrolling started. Could be a coincidence, but that seems not very likely to me. ;-)
Comment 14•12 years ago
|
||
I found a 4.2.2 changelog at http://www.androidpolice.com/2013/02/12/developer-changelog-heres-whats-new-in-android-4-2-2-jdq39/ but nothing much jumps out at me.
cset 6f7654d6658f1bd0eb9e6658aaf77aae23ac26df is kind of interesting in relation to our bug 805479, though.
Comment 15•12 years ago
|
||
Think this is a dupe. kats has a fix.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 16•12 years ago
|
||
Un-duping as comments in bug 815862 indicate this is probably a different issue.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 17•12 years ago
|
||
Did Ian leave his tablet with you? If not, should probably order one. I think this might be too late for 20 unfortunately.
Flags: needinfo?(chrislord.net)
Comment 18•12 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #17)
> Did Ian leave his tablet with you? If not, should probably order one. I
> think this might be too late for 20 unfortunately.
Not as far a I know. I'm at the performance work-week now and then I'm on PTO for a week, so I won't really be able to attend to it within the next two weeks regardless - is that ok?
Flags: needinfo?(chrislord.net) → needinfo?(aaron.train)
Comment 19•12 years ago
|
||
Is there anyone else who could make progress on this while you are traveling?
Comment 20•12 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #19)
> Is there anyone else who could make progress on this while you are traveling?
snorp if he expensed a Nexus 10? Though I imagine he's pretty busy atm :) kats is going on holiday at the same time as me... gbrown or cpeterson perhaps?
Comment 21•12 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #20)
> snorp if he expensed a Nexus 10? Though I imagine he's pretty busy atm :)
> kats is going on holiday at the same time as me... gbrown or cpeterson
> perhaps?
I won't be on holiday at the same time. I can take a look next week if there's a device that reproduces it in Toronto.
Comment 22•12 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #21)
> I won't be on holiday at the same time. I can take a look next week if
> there's a device that reproduces it in Toronto.
Ian's tablet has 4.2.2 and yes.
Flags: needinfo?(aaron.train)
Reporter | ||
Comment 24•12 years ago
|
||
any news? :)
Updated•12 years ago
|
tracking-fennec: 20+ → ?
status-firefox23:
--- → affected
Comment 25•12 years ago
|
||
Kat's any update?
Status: REOPENED → NEW
tracking-fennec: ? → 23+
Flags: needinfo?(bugmail.mozilla)
Comment 26•12 years ago
|
||
Sorry, I dropped the ball on this. I can take a look at it tomorrow.
Flags: needinfo?(bugmail.mozilla)
Updated•12 years ago
|
Flags: needinfo?(bugmail.mozilla)
Comment 27•12 years ago
|
||
I have the Nexus 10 now and I can reproduce the janky scrolling on mozilla.org. It seems fine when mozilla.org is zoomed out (on initial load) but the more I zoom in the jankier the panning is. I agree with Aaron that this is likely due to the large screen resolution, which is probably causing the uploads to the compositor to take very long. I can investigate.
Flags: needinfo?(bugmail.mozilla)
Comment 28•12 years ago
|
||
I turned on the COMPOSITOR_PERFORMANCE_WARNING log and loaded mozilla.org and did some panning. The compositor spits out some pretty huge composite times. BenWa, suggestions on what we can do here?
Flags: needinfo?(bgirard)
Assignee | ||
Comment 29•12 years ago
|
||
Here's a multi-threaded profile:
http://people.mozilla.com/~bgirard/cleopatra/#report=288bf542b8bf69b5ceb6ec1cd442156a2b828c56
We're hitting a symbol I've never seen before 'llvm::APFloat::semanticsPrecision(llvm::fltSemantics const&)'. That's accounting for this jank.
Flags: needinfo?(bgirard)
Comment 30•12 years ago
|
||
That function appears to be part of the LLVM float library, but it's trivial: http://llvm.org/docs/doxygen/html/APFloat_8cpp_source.html#l00769
Assignee | ||
Comment 31•12 years ago
|
||
Right. It's just because they stripped their symbols but not those for some reason.
Here's a profile with some sample labels. Looks like it's an upload problem.
http://people.mozilla.com/~bgirard/cleopatra/#report=0251e4979055a3e8a8f8e14fbec41d5c2dd60fd5
Assignee | ||
Comment 32•12 years ago
|
||
Confirmed obscene upload size. That's good news:
I/Gecko (31487): Upload 80, 1792, 176, 256
I/Gecko (31487): Upload 80, 1736, 3040, 806
I/Gecko (31487): Time to upload 210
I/Gecko (31487): Upload 80, 1792, 3040, 750
I/Gecko (31487): Time to upload 114
I/Gecko (31487): Upload 1492, 2556, 24, 4
I/Gecko (31487): Upload 80, 1736, 176, 56
I/Gecko (31487): Time to upload 11
I/Gecko (31487): Upload 1492, 2556, 216, 85
I/Gecko (31487): Time to upload 16
I/Gecko (31487): Upload 80, 1736, 3040, 312
I/Gecko (31487): Time to upload 73
I/Gecko (31487): Upload 80, 1736, 3040, 806
I/Gecko (31487): Time to upload 154
I/Gecko (31487): Upload 80, 1792, 3040, 750
I/Gecko (31487): Time to upload 112
I/Gecko (31487): Upload 80, 1792, 688, 256
I/Gecko (31487): Time to upload 32
I/Gecko (31487): Upload 768, 1792, 1792, 256
I/Gecko (31487): Time to upload 28
I/Gecko (31487): Upload 80, 1792, 3040, 512
I/Gecko (31487): Time to upload 49
I/Gecko (31487): Upload 80, 2048, 3040, 494
I/Gecko (31487): Time to upload 45
I/Gecko (31487): Upload 80, 1792, 176, 256
I/Gecko (31487): Upload 80, 1736, 3040, 806
Comment 33•12 years ago
|
||
Hi, so what dies this mean then? Easy fix or something more serious?
Assignee | ||
Comment 34•12 years ago
|
||
I was hoping we could do something smart here but it doesn't appear to. I changed the path to use glTexSubImage2D and that's no faster.
It's apparently a know issues according to this:
http://stackoverflow.com/questions/15580619/slow-gltexsubimage2d-performance-on-nexus-10-android-4-2-2-samsung-exynos-5-w
Romain guy works on Google Graphics so it's a credible source.
Assignee | ||
Comment 35•12 years ago
|
||
I should note here that's the time to upload a 256*256 tile is ranges from 4-10 millisecond. That's only a 26 MB/sec =\. Even slow phones can upload a tile in under 1ms.
Comment 36•12 years ago
|
||
Thanks for the feedback and tour work on this issue.
What puzzles me though, and excuse my ignorance here, is that chrome, Boat browser, Opera etc don't have this issue.
I can only assume they handle the pages differently than Firefox and use a different method.
The annoying thing though is that, if what you day is correct, this is an ARM driver bug with no apparent fix time.
Comment 37•12 years ago
|
||
After a discussion with BenWa today, I'm attempting to get in touch with the ARM developers to find out what the state of their investigation is so that we can figure out what the best thing to do here is.
http://forums.arm.com/index.php?/topic/16691-slow-upload-performance-on-nexus-10/
Comment 38•12 years ago
|
||
Reassigning to BenWa as he's looking into this now based on the info we got from ARM.
Assignee: bugmail.mozilla → bgirard
Assignee | ||
Comment 39•12 years ago
|
||
Thanks to Kats we have a contact at ARM who's helping us work out the issue. Apparently the drivers incorrectly thinks that the texture is in-flight when we do a full replacement causing performance degradation. ARM reports that this will be fixed in the next release of their drivers but there is no estimate.
Meanwhile we're working on a work around for the issue. I tried using a new texture for every update but I'm still seeing 4+ms upload times. I'm hoping to hear back with other suggestions.
Reporter | ||
Comment 40•12 years ago
|
||
nothing? any news about arm driver?
Assignee | ||
Comment 44•12 years ago
|
||
I got a response. The problem is caused by a faulty 565 texture upload path. Applying the patch in bug 803299 fixes the problem.
Chris can we make bug 803299 runtime switchable and detect the Nexus 10 to apply it.
Depends on: 803299
Flags: needinfo?(chrislord.net)
Comment 45•12 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #44)
> I got a response. The problem is caused by a faulty 565 texture upload path.
> Applying the patch in bug 803299 fixes the problem.
>
> Chris can we make bug 803299 runtime switchable and detect the Nexus 10 to
> apply it.
Interesting - it can already be set via a pref, but it happens on startup - making it switchable while the browser is live would be kinda hard, but I'm guessing that would be unnecessary to fix this?
Flags: needinfo?(chrislord.net)
Assignee | ||
Comment 46•12 years ago
|
||
(In reply to Chris Lord [:cwiiis] from comment #45)
> (In reply to Benoit Girard (:BenWa) from comment #44)
> > I got a response. The problem is caused by a faulty 565 texture upload path.
> > Applying the patch in bug 803299 fixes the problem.
> >
> > Chris can we make bug 803299 runtime switchable and detect the Nexus 10 to
> > apply it.
>
> Interesting - it can already be set via a pref, but it happens on startup -
> making it switchable while the browser is live would be kinda hard, but I'm
> guessing that would be unnecessary to fix this?
Alright let's just focus on any solution where we can detect the Nexus 10 early enough. Also I think it will be interesting to use Nexus 10 as a test device for 32-bit mode and in this case we wont have to worry about the performance regression :).
Comment 47•12 years ago
|
||
Similar symptoms using Firefox beta 22.0 on android 4.2.1 on ASUS transformer pad TF700T (with or without keyboard). Scrolling has become unusable - starts to scroll then jumps back to original location on page. Fx unusable unless keyboard "down arrow" or "PgDn" can be used. On older versions of Beta (and probaby Android too) it worked find, but still too slow. Throughout I've has 'firefox is not resonding' error popups.
BTW I nearly didn't find this because of the odd title. What on earth is janky?
Comment 48•12 years ago
|
||
Can we verify if the same ARM driver is used on the TF700T?
Comment 49•12 years ago
|
||
(In reply to Pat Drummond from comment #47)
> Similar symptoms using Firefox beta 22.0 on android 4.2.1 on ASUS
> transformer pad TF700T (with or without keyboard). Scrolling has become
> unusable - starts to scroll then jumps back to original location on page.
Fixed: Disabled "Quick Gestures" addon and scrolling now normal. :( But slow loading still a problem. As I scroll down I will see a blank (dark blue) page until it decides to load. Or I see the page in "blurred" text until it loads completely (just like some JPEGs)
Comment 50•12 years ago
|
||
Doubtful this is the same bug Transformers have been using nVidia ARM chips. Best to file a new bug.
Comment 51•12 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #50)
> Doubtful this is the same bug Transformers have been using nVidia ARM chips.
> Best to file a new bug.
And find out whether or not that behaviour also occurs with the newest Nightly version. http://nightly.mozilla.org/
Comment 52•12 years ago
|
||
I can confirm this on a Samsung Note (4.1.2). AOSP browser is significantly smoother. Not sure why Firefox is so jerky.
Comment 53•12 years ago
|
||
The nightly version 25.0a1 of the 05.07.2013 brings a significant improvement for the Nexus 10 with Version 4.2.2.
Anyway it is fare away from the softness of the Chrome.
They are still some jerky left.
Checked it with the software www.mindmeister.com.
Before this nightly build this software was unusable.
Now it is not good yet but usable.
Comment 54•12 years ago
|
||
I imagine that is the workaround recommended from ARM used in the patches from 803299 has potentially resolved this.
Reporter | ||
Comment 55•12 years ago
|
||
seems fixed with android 4.3 :) waiting others feedbacks!
Comment 56•12 years ago
|
||
Marking fixed. The switch to 24-bit should have fixed this, and comment 53 seems to agree with that. Comment 55 indicates that the drivers in Android 4.3 might no longer have this problem as well.
Status: NEW → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 57•12 years ago
|
||
Not fixed for the 23.0 timeframe.
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•