/srv/irclogs.ubuntu.com/2016/05/27/#ubuntu-touch.txt

=== JanC is now known as Guest50625
=== JanC_ is now known as JanC
=== plutoniix is now known as xiinotulp
=== chihchun_afk is now known as chihchun
Lenovo_hi04:47
Lenovo_I am having trouble installing Ubuntu touch on a Lenovo A8-50 or samsung galaxy tablet04:48
Lenovo_On the Lenovo I have unlocked the OEM, on the Samsung I cannot unlock it04:49
=== ecloud_wfh is now known as ecloud
kaisozhi!08:32
dufluHello kaisoz08:35
duflugreyback: I suspect (actually can measure) much of our remaining dash performance issues are CPU bound. Anyone looking into that side yet?08:35
greybackduflu: I believe that is on tsdgeos' plate08:36
dufluCool. I know it's impractical to collect CPU profile data on a phone, but it is possible.08:36
dufluI haven't done it in a while08:36
dufluKind of requires a binary that will run without needing interaction08:37
tsdgeosit's on my plate yeah, i'm first still working on the metrics reporting08:37
tsdgeosbut eventually will get there08:37
duflutsdgeos: I've had luck with valgrind --tool=callgrind in the past. Collect data on a phone and then visualize on desktop with kcachegrind08:38
dufluAlso try Google Profiler (the only free one that can accurately measure time wasted in the sleeping state)08:39
dufluAlthough you can start using just desktop08:44
popeyduflu: greyback had some tools he demo'd at the desktop sprint in prague. dunno if you're already aware of them. SoC specific ones IIRC08:46
greybackduflu: for Qt apps, we can use a power profiler tool in QtCreator08:47
greybackpopey refers to other tools I found, which profile the entire device CPU & GPU, and help you see what's going on in the whole system08:48
dufluI'm trying to avoid mentioning Q* things as it's entirely possible our problems are simpler than that08:48
greybackduflu: sure, but you were referring to the Dash08:48
greybackduflu: I wrote up guide on a nice profiling tool for Mali, DS-5, here: https://wiki.ubuntu.com/Touch/GPU%20profiling/Mali08:49
ogra_popey, how is your battery life on the pro5 ? (i have the feeling mine doesnt properly go to sleep, i lose about 50% over night (rc-proposed))08:57
popeyogra_: mine's charged a lot of the time09:27
popeyor on charge09:27
ogra_ah, i only charge mine when it tells me to09:28
ogra_(and unplug when it is full)09:28
popeylast full charge 24 hours ago, now at 69%09:28
popeyoh, it was off overnight  ðŸ˜ƒ09:28
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
brunch875I'm wondering... why stuff like snaps when you can confine with groups and reading permissions?10:14
brunch875there's more to it, isn't there?10:14
ogra_brunch875, try #snappy ;)10:19
brunch875I'm afraid I might get lit up from asking these sort of questions :Þ10:20
ogra_nah10:20
ogra_nobody bites over there (at least everyone pretends not to :) )10:21
svijthey only tend to nibble (especially that ogra_ guy)10:23
ogra_haha10:23
brunch875I just used phone to flirt huehue11:22
brunch875utouch++11:22
=== mterry_ is now known as mterry
jdstrandpopey: hi! I'm going through the reviewers queue and clearing out things/getting questions answered. would you mind looking at permy though? its security policy did not change13:00
mterryoSoMoN, heyo!  What's the plan for building webbrowser-app on arm64?13:36
ogra_hmm, so my miracast adapters arrived ... seems my session crashes when i disable the external display13:36
oSoMoNmterry, the plan is to first have oxide build on arm6413:36
mterryogra_, why would you ever want to disable such a beautiful thing13:36
mterryoSoMoN, is there a rough ETA on that?13:36
ogra_and the fonts are super blurry (my moniotor says it gets 1080p60 ... though that m,ight only be from the adapter)13:36
mterryoSoMoN, like next month, next week, etc13:36
ogra_mterry, yeah, when making a call for example ;)13:36
peat-psuwitAre there any event that's propagate to Android container when booting is done?13:37
ogra_bahm and two-finger-scrolling is completely broken ... goes into the wrong direction13:37
ogra_peat-psuwit, only the other way round IIRc13:37
jdstrandpopey: thanks!13:37
ogra_(teh container listens to ueventd and sends an event to upstart once it is done )13:38
peat-psuwitogra_: No property set? Like, when unity finish starting up?13:41
ogra_i dont think we seed anything into the container, no, we need it completely running for most of the graphical bits13:42
ogra_so it has to be done even before lightdm starts the UI session13:42
ogra_(and lightdm waits fro the event from the container ... see its upstart override job)13:43
peat-psuwitogra_: Ok. I'm trying to mimic this event: "on property:init.svc.bootanim=stopped" in Android init. I guess I have to create an Upstart job to do that.13:44
ogra_err13:45
ogra_that would be long before anything in ubuntu started up13:46
oSoMoNmterry, that’s tracked by bug #1582638 , see the comments in there13:46
ubot5bug 1582638 in Oxide "Fails to build from source on arm64" [Critical,Triaged] https://launchpad.net/bugs/158263813:46
ogra_peat-psuwit, but yeah, you can easily put that into a unity8.override post-start script snippet13:46
oSoMoNmterry, more in the "next month" ballpark13:46
ogra_peat-psuwit, just make sure the android boot finishes fully ...13:46
mterryoSoMoN, ok thanks!13:47
ogra_peat-psuwit, i.e. you cant really block the container boot on this else you produce a deadlock13:47
peat-psuwitogra_: I'm not sure I understand you correctly.13:51
ogra_peat-psuwit, do youo want to make the android container boot block until this property is set ?13:52
ogra_(this wouldnt work  since the container must be done booting for lightdm to start)13:52
peat-psuwitogra_: No, not at all. It's kind of post boot adjustment for CPU governor and such.13:53
ogra_ah, well, then you should just be able to use setprop from either the lightdm or unity8 upstart jobs13:53
ogra_(i think lightdm would be easier since that doesnt run as the user ... though a bit early perhaps)13:54
peat-psuwitogra_: Ok. Thank you, then.14:04
mardydobey: hi! About your comment on https://code.launchpad.net/~mardy/ubuntuone-credentials/signon-plugin-part2/+merge/29321714:48
mardydobey: SSOService::login() is (in the core currently on the images) calling Keyring::storeToken() after the authentication succeeds,14:49
mardydobey: and the latter creates the account (if not already present)14:49
mardydobey: the signon-plugin takes care of storing the token only, but it has no knowledge of accounts14:49
mardydobey: so that dance with the Accounts::Manager to create the account must still be done somewhere14:50
dobeyyes i know how it works currently14:50
dobeythe account should already be created in the qml plug-in afaik14:51
dobeymardy: doesn't libsignon or libaccounts already have some way to flag the credentials as being invalid for an account? or is the oauth plug-in just hitting the respective server every time the account is requested by an app?14:52
mardydobey: ideally, the right place for doing that is the account plugin, but it may be that for this first iteration it's simpler to keep this code in the lib14:53
mardydobey: in a next iteration, I'd like to rework the account plugin so that it's QML only, using the Ubuntu.OnlineAccounts module directly (should be doable)14:53
mardydobey: no, it's plugin specific; the OAuth plugin also has a ForceTokenRefresh option14:56
dobeyick14:56
mardydobey: I've just checked, the U1 account plugin does not create the account, it relies on SSOService::login14:58
dobeymardy: so it just shoves another flag into PluginData and then calls authenticate()?14:58
mardydobey: yes14:58
mardydobey: ah, now I remember why I didn't convert the account plugin to use the signon-plugin directly: the signon-plugin does not have the functionality to create an account on the server (yet)14:59
dobeywell i'm not worried about creating new accounts on the server yet15:00
mardydobey: found a little bug with default-token-name, please don't hurry up with landing https://requests.ci-train.ubuntu.com/#/ticket/146115:14
dobeymardy: i haven't even assigned a silo to build it in yet. wanted to get the large part2 branch reviewed enough to be close enough to what we want to land, before building15:16
dobeyand was trying to find a couple other easy things to fix along with15:16
dobeysince our TZ overlap is not great, makes the turnaround for changes a bit annoying :)15:17
mardydobey: true15:17
dobeymardy: why would respondWithStoredToken() always fail?15:18
mardydobey: because the stored data it expects must be in the form { "token-name": { "Token": ..., "TokenSecret": ..., ... }, "other-token-name": {...}, ...}15:21
mardydobey: unless you tell me that we will never ever support more than one single token name, it's better to store data in this way15:21
dobeymardy: it still stores data in that way15:22
mardydobey: yes, but now process() can be called with an empty token name, so the lookup in the stored data will fail15:22
mardydobey: I think that at the beginning of process() we should do tokenName = m_data.TokenName().isEmpty() ? buildTokenName() : m_data.tokenName(), or something like that15:23
dobeymardy: process() could have been called with an empty token name before too. this doesn't seem like a problem with my branch (if it is indeed a problem)15:26
mardydobey: no, tokenName was a required param before15:27
mcphailpopey: is your microsoft dongle the one on offer on ebuyer today?15:28
dobeymardy: but it could have been an empty string15:28
dobeyoh i guess validateInput checked that it wasn't empty15:29
mardydobey: well, probably, but than that was a fault with my code; my intention was clearly to have it as a mandatory non empty param15:30
ogra_mcphail, you want the v1 version ... that works for sure15:30
dobeymardy: anyway, yes, currently we only have the one token name for any one device15:30
ogra_not sure if/how well the v2 works ... i just got two v1 ones ... both work OOTB15:30
mardydobey: ok; but do you agree that we could set it right at the beginning of process, if it's empty?15:30
mcphailogra_: ta. Thought it was a bit pricey anyway15:31
ogra_it is ... 40€ or so15:31
LarisHello, so I am thinking of switching android to ubuntu touch15:33
popeymcphail: link?15:33
Lariscan you install glibc.i686 for example on the device after you have ubuntu touch as your os?15:33
popeymcphail: https://www.amazon.co.uk/gp/product/B00J9C2JDG is the one I have15:33
dobeymardy: probably not in process(); though i think process() probably needs to be a bit more complex, in order to actually use the signon plug-in15:34
mcphailpopey: hold on - just deleted the email after ogra_ told me to look at the other version... :)15:34
popeyhah15:34
ogra_well, that pic shows v115:35
ogra_afaik the "big part" is smaller in v215:35
dobeymardy: if i set it in responseWithStoredData(), it should satisfy your complaint here, no?15:35
popeyhttp://www.ebuyer.com/743240-wireless-display-adapter-v2-hdmi-usb-in-p3q-00003 is the v215:35
popeyyes, smaller "big part"15:35
mardydobey: yes15:36
mcphailpopey: http://m.ebuyer.com/743240?utm_source=2016-05-27&utm_medium=campaign_email&utm_campaign=B2C_%28Friday%29_Openers15:36
mardydobey: please apply this to test: http://paste.ubuntu.com/16733924/15:36
ogra_mcphail, thats a v215:36
Lariscan someone please tell me if having ubuntu touch on your device makes it possible in installing 32 and 64 bit libraries?15:38
popeyyou can tell it's a v2 by the price :)15:38
mcphailogra_: yep. v1 much cheaper anyway15:38
popey34vs50 quid15:38
dobeygrr, pastebin is broken15:38
ogra_Laris, that culd theoretically work in a libertine container if you would have a 64bit rootfs (which we do not have yet) ... then you could enable 32bit execution15:39
mcphailpopey: yep - 20 quid more and you could get the little asus nettop15:39
Larisaha.15:39
Laristhanks ogra_15:39
ogra_Laris, note though that the only x86 rootfs/image we currently have is for the emulator15:40
ogra_al supported devices are ARM15:40
Laristhis is what I wanted to find out15:40
LarisI made the mistake into unrooting my device and getting the latest kernel15:41
ogra_you can do a normal ubuntu install and install the unity8 mir session though15:41
ogra_in case your device is PC compatible15:41
LarisI can't root it again as there is nothing available for this kernel and the other way to have uid-0 is to lose my knox certificate and other15:41
Larisit's a samsung a315:42
ogra_ah15:42
LarisI want to try some pentesting tools and I guess I'll have to wait some more or get an older patch of my actual os15:42
ogra_hmm, so casting a 1080p youtube movie from my pro5 to the TV still gets me quite some frame dropping ...15:43
Larisanyway, thanks, it helped15:43
ogra_popey, ^^ did you try that ?15:43
dobeyalso we only have an i386 image for emulator right, no amd64?15:43
ogra_dobey, yeah, i think i mentioned that above15:43
dobeyogra_: you just said "x86" :)15:43
ogra_yeah :)15:43
ogra_(i could have said "intel" but x86 makes me sound so much more professional :P )15:44
dobey"intel" wouldn't have made it more clear than "x86" does, about whether it's 32 or 64 bit15:44
mardydobey: this is my proposal, feel free to modify it at will: http://bazaar.launchpad.net/~mardy/ubuntuone-credentials/default-token-name/revision/24315:45
ogra_its "all x86 sstems"15:45
mardydobey: but the test case is fine, on that I'm sure :-)15:45
dobeyi don't know why we don't build an amd64 emulator image15:46
* mardy is EOD15:46
dobeycheers15:47
popeyogra_: no15:52
popeyogra_: I think the dongle scales down to 720p15:52
ogra_well, the one attached to my monitor tells me 1080p60 ... on the monitor side though ... could be it scales internally15:53
ogra_fonts are definitely very hard to read here15:53
popeyyeah, same15:53
ogra_on both, monitor and TV15:53
popeylooks awful15:53
brunch875queschiun: Can I put a reminder on calendar so that it reminds me with an alarm?15:53
brunch875or should I use the tasks app?15:54
dobeybrunch875: calendar events can have alarms, yes.15:54
brunch875hoorraaay15:54
ogra_since forever :)15:55
brunch875Now how about I add it on my laptop's calendar program. Will it sync?15:56
brunch875cause that'd be bombastic15:56
brunch875meh desktop calendar doesn't sync with anything15:58
dobey?15:58
ogra_depends which one you use15:59
brunch875default, didn't install anything. That's gnome's, isn't it?15:59
* ogra_ uses evolution and syncs through google ...15:59
dobeygoogle works "fine" in evolution or gnome-calendar15:59
ogra_dunno, never used it ... most of my machines were installed like 5-6 years ago and since upgraded15:59
brunch875I'm really tempted to boot thunderbird and get evolution15:59
dobeyonly 5-6 years? n00b :P16:00
s`telegram is accumulating badges, now it shows 3. cant make them go away (talking about the left dock)16:00
s`anyone got this issue?16:01
ogra_dobey, well, i have a warty laptop, but that hasnt been booted in years :)16:01
brunch875The green badges? I have those too. I never quite understood what they meant16:01
ogra_s`, file a bug16:01
s`brunch875: it's red16:01
* ogra_ has seen that before as well16:01
brunch875I believe telegram doesn't mark messages as red if you read them someplace else16:01
ogra_brunch875, well, it should remove the badge when you open the app locally ... but it doesnt do that every time16:02
s`i mean, the badge color is red, not green :P16:02
ogra_(sometimes it does, dometimes it doesnt16:02
ogra_)16:02
s`never worked for me ogra_16:02
s`like NEVER16:02
s`:D16:02
s`oh wait16:03
ogra_works for me about 50% of the time ... perhaps i'm lucky16:03
brunch875oh wait, I actually had 4 unread messages16:03
s`ok i understood16:03
=== chihchun is now known as chihchun_afk
brunch875s`, are you using the latest version?16:04
s`yes16:04
s`OTA-10.216:04
brunch875hmph maybe it's different for me because sitting on rc-proposed16:04
s`and latest tg version16:04
brunch875how do you check ota version, again?16:05
s`system settings16:05
s`about16:05
s`something like that16:05
brunch875not finding it there16:05
ogra_only on stable16:05
brunch875ogra_ spills knowledge everywhere16:06
brunch875thanks!16:06
ogra_(OTA version for rc-proposed would be nonsense ... rc-proposed is daily builds)16:06
=== chihchun_afk is now known as chihchun
brunch875I got age of wonders 3 yesterday. Such a fantastic game. Being turn based it would be simply the best game for utouch. By far!16:52
brunch875Someone will have to nag the developers to recompile for arm16:53
brunch875if mc-phail asks, I didn't say anything :Þ16:53
* brunch875 clings to hope16:54
brunch875Actually, it could be a good place for them to monetize. The ubuntu store16:55
=== chihchun is now known as chihchun_afk
* ogra_ LoLs18:00
ogra_popey, seen that http://withinrafael.com/building-a-microsoft-wireless-display-adapter-base-image/ ? seems there is linux inside18:00
fish__Help/18:49
fish__need help18:50
fish__installing touch os on samsung g note18:50
DPAHi. I just got a Meizu Pro 5 ubuntu edition, and found some things which apear strange to me. First of all, I want to use an ext4 formatted SD Card, but the Phone can't authomatically mount it. I tried to modify /etc/fstab, but the file is mounted on a tmpfs, and any change vanishes after a reboot. How is the /etc/fstab file generated on an ubuntu phone, and how can I change it? Secondly, I read that19:44
DPAthe ubuntu phones aren't updated using apt-get, is this really true? If so, why? And lastly, I found an LXC Container named 'android' on my phone, what purpose does it serve?19:44
mcphailDPA: with regards to the latter, some android drivers are required for the hardware. There aren't open equivalents19:47
mcphailDPA: the devs haven't decided on the final strategy for the sd card. You can format as ext4, but you'll be swimming against the tide19:48
DPAmcphail: Many thanks, this axplains a lot.19:49
dobeyDPA: yes, apt-get is not how the phones are updated. the root fs is read-only. system updates are applied via image diffs19:49
mcphailDPA: the core images are update as a whole, rather than piecemeal with apt get. If you need apt, safest way is with a chroot19:50
dobeyor a container via libertine19:50
mcphailbrunch875: am I getting a bad reputation on here? ;)19:51
brunch875Impossible! you're one of the coolguis, mcphail!19:52
popeyogra_: oooh! Didn't know it had linux inside, maybe we can make an image for it which has an ubuntu splash :)19:53
mcphailpopey: the one good thing about windows is it doesn't have plymouth!19:54
popeyhah19:55
popeyseems no documentation for flashing the thing though19:56
DPAIf image diffs are used for system updates, how does this look like from a security perspective? How can I check that no one manipulated the images with the Images?19:56
=== curtness is now known as strahtw
popeyDPA: the images are cryptographically signed on our server20:01
dobeyalso delivered over HTTPS20:03
crs___bluetooth is not working on my pro5 with rc-proposed. is that normal?20:57
moritz311do someone have some basic knowledge about sony devices ?21:25
altker128mcphail: On the SD card front, why are there issues using ext4 or any other filesystem Linux supports?21:33

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!