Closed Bug 982143 Opened 11 years ago Closed 8 years ago

Swooop game much slower on Firefox OS than Fennec on comparable hardware

Categories

(Firefox OS Graveyard :: Performance, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:-)

RESOLVED WONTFIX
tracking-b2g -

People

(Reporter: djvj, Unassigned)

Details

(Keywords: perf, Whiteboard: [c=handeye p= s= u=])

Attachments

(1 file)

Tested the Swooop game on Firefox OS master build (as of Friday, March 8) on a Nexus 4, and it was almost unusably slow, frame rates at around 10fps or so. On Fennec on a nexus 5, the same game is playable and relatively smooth. This should be looked into with urgency. I was planning on doing it this week but I cannot due to a high fever.
Can we check what happens with this app on a Buri device on 1.4?
Keywords: qawanted
I locally confirmed that the problem seems to happen because of out of memory. "adb shell dmesg" log had the following log. <3>[ 185.638031] Out of memory: Kill process 347 (Homescreen) score 621 or sacrifice child <3>[ 185.638051] Killed process 347 (Homescreen) total-vm:70496kB, anon-rss:15996kB, file-rss:0kB <7>[ 187.760969] msm_batt_update_psy_status>>>>>>>> ygg 626 <7>[ 187.761759] ygg **** msm_batt_get_batt_chg_status 473 is_charging_complete 0 is_charging 0 <6>[ 187.761774] msm_batt_update_psy_status 653 4200 <4>[ 187.761788] BATT: rcvd: 0, 2, 0, 2; 4200, 31 <7>[ 187.761799] ygg *** full off led msm_batt_update_psy_status 846 <6>[ 187.761813] ygg *******led_on 483 on 0 <7>[ 187.761826] ygg *** full off led msm_batt_update_led_status 500 <6>[ 187.761836] ygg *******led_on 483 on 0 <6>[ 187.761849] resume update msm_batt_update_psy_status 858 4200 <6>[ 187.762493] msm_batt_update_psy_status 0 0 <7>[ 187.762514] msm_batt_update_psy_status <<<<<<<<< ygg 874 <4>[ 188.006503] select 616 ((Preallocated a), adj 10, size 2839, to kill <4>[ 188.006523] send sigkill to 616 ((Preallocated a), adj 10, size 2839 <4>[ 189.894286] select 575 (Cupcakes vs. Ve), adj 2, size 9543, to kill <4>[ 189.894308] send sigkill to 575 (Cupcakes vs. Ve), adj 2, size 9543 <4>[ 213.756886] SSL Cert #3 used greatest stack depth: 4728 bytes left
(In reply to Jason Smith [:jsmith] from comment #2) > Can we check what happens with this app on a Buri device on 1.4? Sorry, I commented to the incorrect bug. Comment is for the different bug.
Keywords: perf
OS: Mac OS X → Gonk (Firefox OS)
Priority: -- → P2
Hardware: x86 → ARM
Whiteboard: [c=handeye p= s= u=]
(In reply to Jason Smith [:jsmith] from comment #2) > Can we check what happens with this app on a Buri device on 1.4? I am unable to find the swooop application on the latest v1.4 Buri build. I have also tried on the latest v1.4 engineering Buri build to no avail. Can a link to the application or the application itself be provided? needinfo-ing the reporter.
Keywords: qawanted
QA Contact: rkunkel
Leaving qawanted - will send the app link over email.
Keywords: qawanted
Attached file log.txt
(In reply to Jason Smith [:jsmith] from comment #6) > Leaving qawanted - will send the app link over email. With the provided link I was unable to launch the application. The browser shortly crashes after launching the link on the latest v1.4 Buri build. 3/12 Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140312040203 Gaia: 3005269d4dcabcc7d27eaf72bda44a969873af8c Gecko: 23005b395ae8 Version: 30.0a1 Firmware Version: V1.2-device.cfg Attaching logcat of opening the link and browser crash.
Keywords: qawanted
(In reply to Roland Kunkel [:RolandK] from comment #7) > Created attachment 8390059 [details] > log.txt > > (In reply to Jason Smith [:jsmith] from comment #6) > > Leaving qawanted - will send the app link over email. > > With the provided link I was unable to launch the application. The browser > shortly crashes after launching the link on the latest v1.4 Buri build. > > 3/12 Environmental Variables: > Device: Buri 1.4 MOZ > BuildID: 20140312040203 > Gaia: 3005269d4dcabcc7d27eaf72bda44a969873af8c > Gecko: 23005b395ae8 > Version: 30.0a1 > Firmware Version: V1.2-device.cfg > > Attaching logcat of opening the link and browser crash. The application seems to uses a lot of memory. It might be impossible to run the application in buri/hamachi(256MB b2g phone).
Okay - can we test this on a Leo device then running 1.4?
Keywords: qawanted
(In reply to Jason Smith [:jsmith] from comment #9) > Okay - can we test this on a Leo device then running 1.4? Running the application on the latest v1.4 Leo build is extremely slow. The app runs at 5-10 FPS and is not usable as intended. 3/12 Environmental Variables: Device: Leo v1.4 MOZ BuildID: 20140312160210 Gaia: e61dc0019d9d6135d88ba15153c37f73a952567e Gecko: a10d0ba50f64 Version: 30.0a1 Firmware Version: V10d
Keywords: qawanted
Okay - can we check the behavior on a Leo device on 1.3?
Keywords: qawanted
Component: General → Performance
(In reply to Jason Smith [:jsmith] from comment #11) > Okay - can we check the behavior on a Leo device on 1.3? Out of 10 attempts with the provided link I was unable to launch the application. The browser will crash before the application can fully load for the latest v1.3 Leo build. 3/13 Environmental Variables: Device: Leo 1.3 MOZ RIL BuildID: 20140313004002 Gaia: 6194def5ceed3f4b9bc9de0ea2c11661cd439a27 Gecko: 9368fd13bfa6 Version: 28.0 Firmware Version: V10d
Keywords: qawanted
Seems like the behavior is better on 1.4, but still not great. So this isn't a regression.
tracking-b2g: --- → -
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: