Mir

Differences between revisions 2 and 3
Revision 2 as of 2013-06-26 18:49:09
Size: 1953
Editor: 209-6-88-28
Comment:
Revision 3 as of 2013-06-26 19:19:05
Size: 2152
Editor: 209-6-88-28
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
'''From computer''':
Line 19: Line 18:
$ adb root
$ adb shell
# ubuntu_chroot shell
}}}

'''From Ubuntu chroot''':

{{{
adb root
adb shell
Line 69: Line 62:

== Switch from SurfaceFlinger to Mir ==

{{{
adb root
adb shell
cp /var/lib/lxc/android/rootfs/init.rc /var/lib/lxc/android/overrides/
vi /var/lib/lxc/android/overrides/init.rc
# Comment out any line that deals with surfaceflinger (near the bottom there is a chunk of them)
}}}

Introduction

Mir is a new display server being developed for Ubuntu. It is possible to use it today with Ubuntu Touch, though a tad difficult.

Install

First, install the latest Touch image like normal, except make sure to pass --flipped to phablet-flash. (Be aware that first boot with flipped image will take longer than normal.)

Boot up the device, make sure everything works before we start messing with it.

Build Branches

Initial Setup

adb root
adb shell
add-apt-repository ppa:mir-team/staging
apt-get update
apt-get install bzr devscripts pbuilder aptitude build-essential fakeroot

Make sure you have saucy's mesa stack, not the one from the PPA. Run something like the following (adjusting VER to be accurate):

export VER=9.1.3-0ubuntu4; apt-get install libegl1-mesa-dev=$VER libegl1-mesa=$VER libegl1-mesa-drivers=$VER libgles1-mesa-dev=$VER libgles1-mesa=$VER libgles2-mesa-dev=$VER libgles2-mesa=$VER libglapi-mesa=$VER libgl1-mesa-dev=$VER mesa-common-dev=$VER libgl1-mesa-glx=$VER

platform-api

mkdir platform-api
cd platform-api
bzr branch lp:~robertcarr/platform-api/mir-with-packaging
cd mir-with-packaging
/usr/lib/pbuilder/pbuilder-satisfydepends
debuild -i -I
dpkg -i ../*.deb || apt-get install -f

qtubuntu

mkdir qtubuntu
cd qtubuntu
bzr branch lp:~robertcarr/qtubuntu/mir-with-packaging
cd mir-with-packaging
/usr/lib/pbuilder/pbuilder-satisfydepends
debuild -i -I
dpkg -i ../*.deb || apt-get install -f

Unity

mkdir unity
cd unity
bzr branch lp:~unity-team/unity/unity8-integrate-mir/
cd unity8-integrate-mir
/usr/lib/pbuilder/pbuilder-satisfydepends
DEB_BUILD_OPTIONS=nocheck debuild -i -I
dpkg -i ../*.deb || apt-get install -f

Switch from SurfaceFlinger to Mir

adb root
adb shell
cp /var/lib/lxc/android/rootfs/init.rc /var/lib/lxc/android/overrides/
vi /var/lib/lxc/android/overrides/init.rc
# Comment out any line that deals with surfaceflinger (near the bottom there is a chunk of them)

Touch/Testing/Mir (last edited 2015-09-24 13:40:47 by pool-173-74-225-137)