Closed Bug 755532 Opened 12 years ago Closed 12 years ago

terrible video performance on Nexus S

Categories

(Core :: Audio/Video, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: djf, Unassigned)

Details

Attachments

(1 file)

I've recently rebuilt and reflashed my Nexus S using the new build system on my mac: https://github.com/mozilla-b2g/B2G

With this new build I see video (and audio) performance problems in the Gaia video app (flickering, pauses in the audio) and image animation performance problems in the Gaia gallery app.

I don't have the same problem when I install the same version of gecko onto the sgs2.
That sounds very similar to what you see when you do a non-ics build on the nexus s. Did you use config-nexuss-ics?
In mwu's new build system, there isn't an ics/non-ics choice.  I just did:

   ./config.sh nexus-s

cc'ing mwu.
Here's the startup log of my phone, at :mwu's request
So it looks like GL is broken on your phone. I built B2G from scratch and my GL is fine. I'd try deleting the out and objdir-gecko directories, ./config.sh nexus-s and then rebuild/reflash.
mwu: I'm trying that now, though I don't know why the result would be any different than what I got when I built from scratch yesterday...

Could you try to reproduce #755489?  I wonder if that is also related to my broken GL.
mwu: I did this:

rm -f gecko/out gecko/objdir-gecko
./config.sh nexus-s
./build.sh
./flash.sh

I've got the same results as before. The logcat output is almost exactly the same as the one posted.

I've noticed now that the CrystalSkull and CubeVid videos both crash and cause B2G to restart.  Here's the log message, in case it helps.

I/Gecko   (  318): ###!!! ABORT: No global context anymore? Then you need to update this code, or force-enable WebGL.: file /Volumes/B2G/B2G/gecko/content/canvas/src/WebGLContext.cpp, line 527

mwu: did you create your working Nexus S build on Linux or on a Mac?
Mine is a linux build
Closing; this was a problem on my phone only caused by a bad download causing a corrupt blob.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: