Media/WebRTC/Peak: Difference between revisions

 
(5 intermediate revisions by 3 users not shown)
Line 24: Line 24:
* There is a bad interaction with the high resolution peak screen that makes links not work properly. Install all the patches from here: https://bugzilla.mozilla.org/show_bug.cgi?id=883646. Note that the first 7 of these have already landed on m-i, so you may only need the 8th depending on when you update and which tree you are on.
* There is a bad interaction with the high resolution peak screen that makes links not work properly. Install all the patches from here: https://bugzilla.mozilla.org/show_bug.cgi?id=883646. Note that the first 7 of these have already landed on m-i, so you may only need the 8th depending on when you update and which tree you are on.


* The patchsets at: https://github.com/YiyiLee/webrtc-perf-patches should get WebRTC working. However, because the Peak has more CPU, you do not need as aggressive tuning. A new patchset is coming shortly.
* Apply the patchset at: https://github.com/ekr/webrtc-perf-patches/tree/Peak




Line 30: Line 30:


== Notes on enabling profiling for the peak ==
== Notes on enabling profiling for the peak ==
# switch to the profiling branch checked out from https://github.com/jld/B2G.git
# Add git://github.com/jld/B2G.git as a remote and check out the "profiling" branch from it
# "export B2G_PROFILING=1" in .userconfig
# Delete "out" and "objdir-gecko" if they exist
# BRANCH=master ./config.sh peak
# BRANCH=master ./config.sh peak
## It may tell you that peak is unsupported, if so add it to the config.sh & flash.sh script next to the keon
## It may tell you that peak is unsupported, if so add it to the config.sh & flash.sh script next to the keon
# Replace kernel/arch/arm/configs/C8680_defconfig (which is pulled down during config) with http://www.pastebin.mozilla.org/2572801
# Replace kernel/arch/arm/configs/C8680_defconfig (which is pulled down during config) with [https://wiki.mozilla.org/images/c/c7/C8680.tar this(untared)]
## This is so that we can recompile the b2g kernel with support for stack traces, kallsyms, et al
## This is so that we can recompile the b2g kernel with support for stack traces, kallsyms, et al
# ./build.sh
# ./flash.sh
# ./flash.sh




WARNING: This is mostly working. I still get occasional warnings about corrupted stacks. As soon as this problem is solved, I will update the instructions here. --bbrittain
WARNING: This is mostly working. I still get occasional warnings about corrupted stacks. As soon as this problem is solved, I will update the instructions here. --bbrittain
Confirmed users
11

edits