/srv/irclogs.ubuntu.com/2014/02/25/#ubuntu-touch.txt

mandelbarry, have we had any feedback from the testing?00:13
barrymandel: a little, not much00:31
mandelbarry, bad, good?00:33
mandelbarry, we need to move that silo because it blocks other possible landings, we can only have one project per silo...00:33
barrymandel: good, but Laney found a ui bug, which he's pushing a fix to.  now i'm just struggling with the normal dbus hup build failures00:33
barryinfinity: is toyol a virtualized buildd?00:34
infinitybarry: No.00:34
barryinfinity: then crap00:35
infinitybarry: It's not crap either. :P00:35
barryinfinity: then dang00:35
sergiusensat least not dung00:35
mandelbarry, ok, if there is anything I can help just ping00:36
barrymandel: cool, thanks00:36
mandelbarry, I'll be around for a little longer00:43
barrymandel: sounds good.  i think we're waiting on Laney and my ppa build atm00:44
barryralsina_: any chance you're still around?02:28
=== duflu_ is now known as duflu
basketballllllDoes anyone here work for cononical03:04
=== salem_ is now known as _salem
=== vying is now known as Guest76183
=== jacerx_ is now known as jacerx
liam-kellyI have been following the porting guide and I am having some trouble with the breakfast command finding me device.04:58
liam-kellyIs this the correct place to ask questions about porting ubuntu touch?05:56
RAOFliam-kelly: Yes; xda is also appropriate, I think.06:01
RAOFI'm not sure how many porting-knowledgeable people there are online at the moment.06:02
liam-kellyOn that subject is there a better time of day to ask porting questions here?06:05
RAOFI don't know, sorry.06:11
RAOFBut just ask your question; if there's anybody here who can answer it, they might :)06:12
RAOFAnd hang around; when people come online they might scan backscroll for questions they can answer.06:12
diwicgood morning07:13
dholbachgood morning08:25
Saviqtvoss, hey, q: any experience in debugging android-side crashes?08:37
Saviqlike where to get symbols and such :?08:37
=== peter is now known as Guest49738
=== jacerx is now known as jacerx_ZzZz
Laneycan I switch channel but not update to it right away?09:26
Laney-b <build i'm currently on> ?09:26
JamesTaitGood morning all; happy Chocolate-Covered Peanuts Day! :-D09:35
Laneyalternatively09:44
Laneyhow do I flash an old image?09:44
Laneydoes -revision blah work?09:45
Laneyseems to!09:45
=== chriadam is now known as chriadam|away
ograLaney, yep09:51
Laneybarry: I gave it a couple of retries and it failed both :/10:02
nhainesrsalveti, ogra: Nexus 5 (hammerhead) basically just works, and the sound fixes posted to the ML on Sunday enable sound.10:05
nhainesI know resources are limited, but would it possible to run builds for hammerhead so that the built-in updater would work?10:06
ogranhaines, you need to convince asac (and the mgmt.), not us :)10:07
nhaines(And if so, then what do you need from me to make it easy for you?)10:07
nhainesogra: okay, challenge accepted.  :)10:07
nhainesasac: ^^10:08
ogranothing needed, its a few lines of changes in a few places to make that happen10:08
nhainesBasically, it can be like the maguro builds.  Maybe you're running tests but you're not blocking on failures.10:08
=== oSoMoN_ is now known as oSoMoN
nhainesAnd since the Engineering spreadsheet indicated that support was coming by the end of June anyway, it can't hurt to just have automated builds.10:09
nhainesBesides, apparently Canonical has Nexus 5s in the MWC booth.  :)10:10
ogrado we ?10:10
ograi thought there are only N4s10:11
nhainesIt might be a typo, but I read it earlier.  Either on CNet or OMGUbuntu.10:11
ogra(if there are N5s they are definitely not officially dmoed)10:11
nhainesI ran my N5 for the Ubuntu booth at SCALE all weekend.  But that was definitely not official.  Was useful when the N4s were not available, though.10:12
popeynhaines: nice10:12
* ogra read about that somewhere :)10:12
nhainesIt was very useful for talking about how Ubuntu is meant for purpose-built phones but that the community could organize ports, too.10:13
nhainesAnd it was funny, since I had my Galaxy Nexus at the booth last year showing off the phone just a week after the preview image dropped.  (Thanks to Canonical for the N4s, too.)10:14
Saviqogra, hey, can you point me how to info on how to get a local android build for debugging android-side crashes?10:14
ograSaviq, well, you can use logcat (with the full path /system/bin/logcat) ... and you can enter the container via: lxc-console -nandroid -t0 ...10:15
ogranot sure if there is a way to enable more symbols or anything10:16
Laneybarry: I'm starting to smell a s-i bug for that other one10:18
LaneyYou never get any subsequent UpdateAvailableStatus messages10:19
Laney"checking lock not acquired" on console10:19
Laney(in response to a CheckForUpdate call)10:19
Laneyit does work under testing=update-auto-success though10:19
Saviqogra, well, yeah, I need to build it locally (on my host) to get more symbols10:20
Saviqthat's what I'm trying to find out how to do10:20
=== vrruiz_ is now known as rvr
davmor2Morning all10:44
effbiaiis there a comunity port of ubuntu touch for the nexus 5?10:57
ograeffbiai, https://wiki.ubuntu.com/Touch/Install_UT_on_android4.4.210:58
xnoxogra: system-image is up for flo, so why not just use ubuntu-device-flash?10:59
ograxnox, thats hammerhead, not flo11:00
xnoxogra: oh, right. I'm not used to new codenames yet =)11:02
ogra:)11:02
effbiai"install UT on android"? what do you actually do? install ubuntu inside some kind of a container in android or do you wipe the phone and install UT? the heading is a bit mis-leading..11:02
ograeffbiai, no11:02
ograyou replace the android install11:03
xnoxogra: have you got meizu/bq builds and hw to sneak to me?! =)11:03
effbiaino to which question? :)11:03
effbiaiok11:03
effbiaithen "install UT on android" is a bit misleading..11:03
ograeffbiai, but to do that the android device needs to be in a certain state (radio firmware needs to be initialized etc)11:03
effbiai"isntall UT instead of android" should be better11:03
ograit should actually be "install the android 4.4 based UT" :)11:04
ograbut that site will hopefully go away anyway11:05
effbiaiogra: so "From Ubuntu Touch devices" is actually how to re-install android if you have Ubuntu Touch on your phone. and "Install from android" is if you want to wipe your android partition and install UT?11:05
ograright, the point is that you need to have android installed and properly initialized first11:05
effbiaicuz it uses android 4.4.2's radio/baseband/fw?11:06
ograbecause we do not touch radio firmware and bootloader ... these two come from the android install11:06
effbiaiokay11:06
ograalso make sure to have it booted into android once after fastboot oem unlock ... else you get issues with adb later11:06
effbiairoger that11:07
effbiaifastboot oem unlock is for unlocking bootloader, right? and it will wipe the phone aswell, right?11:07
ograyeha, it resets to a default android11:07
effbiaithanks11:07
effbiaiand then the million dollar question.. is it possible to send sms and do phone calls? :)11:08
ograeffbiai, ask nhaines (or check the ubuntu-phone ML) for the alsa config files11:08
ograthey are not merged yet (will do that later today)11:09
effbiaiok, thanks11:09
ograso that you get working sound ...11:09
effbiaiyep, know what alsa does :)11:09
ograif thats in place sms and calls should work just fine11:09
ogra(sms will most likely work without sound i guess :) )11:09
effbiaiso the problem is alsa and not conectivity? :)11:09
ograright11:09
ogramissing alsa UCM profile11:09
effbiaiah, okay11:10
effbiaiis there a docking station or a usb-micro cable converter to be purchased to get ubuntu on a desktop screen available yet?11:10
ograno, that functionality isnt in the current Ubuntu11:11
ograprobably in 15.0411:11
ografocus ofr 14.04 is to get a rock solid phone OS11:11
ografocus for 14.10 is to get that over to the desktop11:11
ograthne in 15.04 there should be convergence possible11:12
effbiaiany roadmaps laying around with this kind of information, maybe? :)11:12
ogranot really11:12
ograthe thing is that we need to merge the two bases first11:12
ograand thats plkanned for 14.1011:13
effbiaiokay11:13
effbiaiis UT a fork from the normal Ubuntu?11:13
ograonly the UI ... which will be merged back into the desktop in 14.1011:13
effbiairoger that11:13
ograunder the hood there is a normal ubunu (plus the lxc container with the android hardware abstraction layer to get access to sensors, modem etc)11:14
effbiaiokay11:14
effbiaiis there  any news on when the bq and that other brand is coming out for sale?11:14
ograno idea about a specific date ... summer or end of summer perhaps11:15
effbiaishould have been a FAQ with these questions answered =)11:15
xnoxogra: any instructions on debuging ofono / using the ofono-scripts?11:15
xnoxogra: all i get is dbus errors Could not get owner of name 'org.ofono': no such name11:15
ograxnox, well, does ofono run ?11:16
ograyou can add debug stuff to the ofono.override job we ship11:16
ograit logs to syslog by default11:16
xnoxogra: yes, i may however not be on the same DBUS....11:16
ograofono itself should use the system bus11:16
ograiirc the scripts need to use the session bugs ... so make sure to be the phablet user11:16
ograbeyond that ... awe :)11:17
ogras/bugs/bus/11:17
ograsilly finger memory11:17
ograhmm11:18
ograso i see that CONFIG_RT_GROUP_SCHED is set in our kernels ... which prevents pulse to go into realtime mode ...11:19
ograi wonder why we set that option ... is that needed for anything in lxc ?11:19
* ogra wouldnt have though so11:19
ograstgraber, would it be bad to switch off CONFIG_RT_GROUP_SCHED in our kernels (to allow rtkit daemon to grant realtime privileges to pulse)11:20
e-Rahi guys, is it possible to develop apps in QML/C++ for tablets and smartphones with the current preview version of the sdk? Which template should I choose in the ide?11:20
xnoxogra: i appear to have no modem =(11:21
ograxnox, on what device ?11:21
xnoxogra: generic11:21
ograah11:21
ograyeah11:21
xnoxogra: but it's suppose to have one.11:21
ograprobably installing ofono-honesim can help ?11:21
ogra*phonesim11:21
ograit should create a mock device11:22
xnoxogra: but i already have a device which has signal, status, etc. and i can control it via telnet.11:25
ograhmm11:25
ograbut does it have an emulated  SIM ?11:25
xnoxright, it appears to be faked up and down.11:26
AshkarHello??11:43
AshkarAre you there??11:44
=== _salem is now known as salem_
Ashkarhello, is ot possible to install ubuntu for android on sony xperia L (C2104)????11:45
popey!devices | Ashkar11:46
ubot5Ashkar: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices11:46
popeyis it listed there?11:46
firelmnt_hi all, where i can set kernel for debugging?11:46
Ashkari couldn't find Xperia L at there.. does it mean its impossible??11:47
firelmnt_no, it could mean no1 tried to port it | Ashkar11:49
Ashkarok11:49
Ashkarwhat should i do to install ubuntu for android on xperia L11:50
Ashkar??11:50
ograyou wuld need to do a port11:50
ogra(see the channel topic for a link to the porting guide)11:50
ograor search xda-developers and hope that you find something there that was not added to the wiki yet11:50
firelmnt_how can i debug booting?11:51
ografirelmnt_, whats your issue ?11:51
firelmnt_well i need to log it, cause it's booting and even before booting logo it reboots11:52
ograboot into recovery and do: cat /proc/last_kmsg11:55
ograthat holds the dmesg from last boot11:55
firelmnt_ok, thanks i'll try11:55
e-RaIs it possible to delvelop with the qtcreator from qt project, not the sdk from ubuntu dev page?12:00
=== oSoMoN_ is now known as oSoMoN
ograxnox, wow, thats a lot of prints12:17
ograoh, wow, 2/3 through the MP there is actual code changes :)12:18
xnoxogra: yeah, all of them would be 10x quicker and less the size in perl =)12:18
xnoxogra: well, pitti is doing his own cover version of them =)12:19
ograheh12:19
ograremix culture12:20
ografrom a plain look at the code the MP looks fine12:20
=== FuLgOrE is now known as Guest87556
Guest87556ogra: thx (alsa-lib) :)12:23
ogranp :)12:23
ograi hope you guys fine solutions for the remaining issues12:23
ograhappy to merge them too12:23
Guest87556chris did the most thinking work. I just modified some values from android to ucm style ;)12:24
=== Guest87556 is now known as FuLgOrE_
FuLgOrE_anyway: since the first steps are done and the principle is clear I will also take a look on the weekend12:25
=== MacSlow is now known as MacSlow|lunch
VezzoniHello everyone, I'm from Brazil and I have installed the ubuntu touch trusty12:49
VezzoniDo, anyone know how to sync google contacts?12:49
Vezzoni*does12:49
nik90Vezzoni: try http://victorpalau.net/2013/12/17/ubuntu-qml-importing-google-contacts/12:53
VezzoniThanks nik9012:53
nik90Vezzoni: yw12:53
diwicogra, rsalveti, hi, do you still need assistance with the PulseAudio CPU bug or was it resolved with rsalveti's uevent filter?12:55
ogradiwic, not resolved yet12:55
ogradiwic, seems our kernel has CONFIG_RT_GROUP_SCHED set which might have some impact on the rtkit thing12:56
ograthats as far as i got ... waiting for stgraber to tell me if we actually need that in our kernels12:56
diwicogra, do you have a Nexus 4 in front of you or should bring mine up to date?12:57
ograrsalveti was looking into the other issue that keeps pulse awake all the time12:57
ogradiwic, my nexus4 is private ... it is my main phone, i dont do development on it :)12:57
ogra(so yes, this would most likely help)12:58
diwicogra, ok, I'll flash mine then, it was a while, so might take some time. Would this one do: "ubuntu-device-flash --wipe --channel devel-proposed" ?12:59
ogras/--wipe/--bootstrap/12:59
diwicok12:59
ograand i think for bootstrap you need to be in bootloader mode12:59
ogra(adb reboot bootloader)12:59
=== alan_g is now known as alan_g|lunch
* diwic flashing13:07
rsalvetidiwic: morning13:22
diwicrsalveti, hi!13:23
diwicrsalveti, I've just finished flashing the device, let me see if I see the problem here as well13:23
rsalvetidiwic: great, thanks13:25
=== Guest26924 is now known as fmasi
diwicrsalveti, ok, I'm seeing it here too. It eats 1% CPU and the sink is IDLE but not SUSPENDED. Maliit-server has a sink input, but it is corked. *looks deeper into the code*13:34
rsalvetidiwic: right13:35
rsalvetithat's what I saw as well13:35
diwicrsalveti, I don't have things set up to do test builds for the phone, if I send a patch to you, will you test it for me?13:52
diwicrsalveti, or is it easy to set up?13:52
rsalvetidiwic: sure, I can quickly rebuild it for you13:53
rsalvetiphablet-config writable-image13:53
rsalvetito get the image writable13:53
rsalvetithen you'd need to build on the phone, don't know if you already can easily cross build pulse13:53
diwicrsalveti, patch sent  :-)13:53
rsalvetidiwic: but I have a local build already, so it might be faster13:54
diwicrsalveti, btw, I noticed that if you just played a test sound, when the test sound stopped, the sink was suspended like it should13:54
rsalvetidiwic: yeah, noticed that as well here13:55
rsalvetibut indeed, the maliit-server stream is not even started13:55
=== alan_g|lunch is now known as alan_g
diwicogra, why would config_rt_group_Sched disable rtkit ?14:00
diwicogra, or, in what doc did you read that...?14:00
ogradiwic, dunno, thats what i read everywhere in bug reports that google gave me ... it would either need configuration for rtkit or switching off in the config apparently14:00
ograi dont think we need it for anything so switching it off seems like the easiest option14:01
diwicogra, but don't we have that option set on the desktop too? And I don't think we have that problem there, or do we?14:02
ograseemingly by default the config option prevents all non root processes from gaining RT14:02
ogranot sure if we have it on the desktop14:03
ograyeah, we do14:03
ograhmm14:03
ograi dont see any RT related syslog messages here though14:04
diwicogra, maybe we're better at enabling RT for non-root users on the desktop, perhaps through logind or something14:06
ograyeah, might be something that we dont ship on the touch images14:06
rsalvetidiwic: boot log, pulse is still consuming cpu http://paste.ubuntu.com/6994548/14:07
rsalvetishould I wait more?14:08
ograBy default all bandwidth is assigned to the root group and new groups get the14:08
ograperiod from /proc/sys/kernel/sched_rt_period_us and a run time of 0. If you14:08
ograwant to assign bandwidth to another group, reduce the root group's bandwidth14:08
ograand assign some or all of the difference to another group.14:08
ograthats what i find in the kernel docs14:08
diwicrsalveti, thanks14:11
rsalvetidiwic: pulse is still giving that message from time to time, but it seems to be consuming less cpu14:11
diwicrsalveti, it looks indeed like module-suspend-on-idle is not doing what it should, just that my patch doesn't fix it14:11
rsalvetisorry, that was another machine14:11
rsalvetiit's still consuming 1.0% here14:11
diwicrsalveti, ok, I'll send another patch shortly.14:14
rsalvetidiwic: ok14:14
rsalvetilet me also make sure it's indeed using your changes14:15
rsalvetidiwic: http://paste.ubuntu.com/6994614/14:20
rsalvetidiwic: it seems indeed better now, I didn't copy the updated idle module at the previous run14:20
rsalvetipulse is now only consuming 0.1% cpu14:21
rsalvetilet me get a package with that14:22
rsalvetiargh, just noticed maliit-sever didn't actually start the stream this time14:24
diwicrsalveti, looking at the log, something happened...why did PA restart (first pid 1882, then pid 2279)14:24
rsalvetithat explains :-)14:24
rsalvetiyeah, why would it crash now, let me get the package done14:25
barryLaney: hi14:26
rsalvetiI replaced pulseaudio and module-idle, which were the only ones that got updated14:26
ograrsalveti, diwic are we sure it crashes ? we start pulse from an upstart job in the session ... desktop doesnt do that, probably we actually start it twice ?14:27
rsalvetiogra: no, it crashed14:28
ogra(by inheriting some desktop behavior we didnt have before or some such)14:28
rsalvetidoing a clean install now14:28
=== karni is now known as karni-food
=== karni-food is now known as karni
barryLaney: can you give landing 10 a rebuild?14:30
=== pete-woods is now known as pete-woods-lunch
Laneybarry: did you fix something?14:36
barryLaney: just the PPA build.  i'm responding to LP: #1284217.  happy to discuss that further, but let me finish my comment there first14:36
ubot5Launchpad bug 1284217 in ubuntu-system-settings (Ubuntu) "[updates] Displays a spinner indefinitely when an update download was started externally" [Critical,Triaged] https://launchpad.net/bugs/128421714:36
Laneybarry: I  mean I already retried it twice this morning and it failed both times14:37
Laneyso, reluctant to do it again unless there's a change :P14:37
diwicrsalveti, yeah, I first thought I saw a flaw in my patch, but now I think it should have worked. Could it have been that pulseaudio crashed with some assert failure due to my patch?14:38
barryLaney: it needs s-i 2.1-0ubuntu314:39
Laneyroger14:39
barryLaney: and hopefully my interwebs will stay up.  my isp is out there re-burying the line14:40
Laneyhttp://162.213.34.102/job/landing-010-1-build/21/console14:40
* barry watches14:41
Laneythat's only the source package build14:41
Laneyit polls the PPA after it's uploaded there14:41
Laneylooking forward to reading the reply to the bug14:43
rsalvetidiwic: yeah, logs after installing the debs http://paste.ubuntu.com/6994698/14:43
rsalvetidiwic: debs also available at http://people.canonical.com/~rsalveti/pulse/14:43
diwicrsalveti, that looks quite good, doesn't it?14:45
rsalvetidiwic: yup, seems it fixed the issue14:45
diwicrsalveti, \o/14:45
rsalvetidiwic: give it a try with my debs, and if it also fix the issue for you, mind uploading it as well?14:45
rsalvetiogra: pulse just consuming 0.1 now :-)14:46
rsalvetidiwic rocks :-)14:46
ograrsalveti, great14:46
ograyeah, he does14:46
diwic0.1 is still 0.1 too much ;-)14:46
rsalvetihaha14:46
ograif we could now only get rtkit to behave14:46
ograi cant find any differences in the setup comparing sysfs on the phone with my laptop14:47
ograbut i definitely never get any rtkit (or even pulse) messages in syslog here14:47
diwicrsalveti, ogra, thanks :-) and same to you btw, doing all the dirty work for me so I just have to write patches :-)14:48
rsalvetihaha :-)14:48
ogra:)14:48
diwicrsalveti, I'll do a test here. In case it works, can I just upload, or do I need to fill out spread sheets, ping people and whatnot to get an "ok" to upload ?14:51
rsalvetidiwic: just upload14:51
diwicrsalveti, sounds good :-)14:51
rsalvetiI tested the fix14:51
rsalveticode looks sane as well14:52
ograbut the upload will get stuck until thu ... in beta freeze14:52
rsalvetidiwic: there's just another annoying audio bug to fix (bug 1283818), but will take a better look at that later today14:52
ubot5bug 1283818 in android (Ubuntu) "voice call not working properly after the first call" [Critical,Confirmed] https://launchpad.net/bugs/128381814:53
rsalvetiit seems audio hal is not behaving properly with 4.4.214:53
diwicrsalveti, ok14:58
diwicrsalveti, fix confirmed working here15:00
rsalvetidiwic: \o/15:00
stgraberogra: I'm not aware of any obvious problem that'd result from changing CONFIG_RT_GROUP_SCHED but I'd recommend you take this to the kernel team instead as I won't pretend to know much about the realtime stuff in the kernel15:00
ograheh, ok15:00
diwicstgraber, ok, do you know anything about how we set up cgroups for non-root users?15:01
ogramdeslaur, lets take it over here15:01
diwicstgraber, is that done through logind, pam, or something?15:01
ograroot@ubuntu-phablet:/# ps axu|grep rtkit15:01
ogrartkit     1434  0.0  0.0  20484  1008 ?        SNl  14:07   0:00 /usr/lib/rtkit/rtkit-daemon15:01
stgraberdiwic: yes, logind does that15:01
mdeslaurogra: yes, the daemon drops privs but keeps CAP_SYS_NICE15:01
ograthen i dont get why we cant set RT caps15:02
ograi wouldnt mind just dropping the kernel option though15:02
ograi doubt it does any harm15:02
mdeslaurogra: excuse me, what?15:02
ogramdeslaur, rtkit refuses to set the capabilities for pulse in our setup15:03
diwicstgraber, so if one would look for where logind enables non-root users to have RT permissions...?15:03
ogramdeslaur, i dont think we make any use of CONFIG_RT_GROUP_SCHED on the phone ... so i wouldnt expect ill sideefects when dropping that option ... which should make rtkit work15:03
barryLaney: comment posted.  let me know if you want to discuss further15:04
mdeslaurogra: why don't you figure out the problem instead of working around it? :)15:04
diwicstgraber, "This uses the cgroup virtual file system '<cgroup>/cpu.rt_runtime_us' to control the CPU time reserverd for each control group."15:04
diwicstgraber, mdeslaur does that say anything to you?15:05
mdeslaurdiwic: your problem has nothing to do with cgroups15:05
mdeslaurit's either pulse can't talk to rtkit, or rtkit is failing the policykit check, or rtkit is failing to set the pulse priority15:06
* ogra guesses our prob is that we start pulse directly from an upstart job 15:06
ograwhich desktop doesnt15:06
diwicogra, have you confirmed this has anything to do with config_rt_group_sched by disabling it and see that it works?15:06
mdeslaurogra: you should see a message in the pulse output if it couldn't contact rtkit15:07
ogradiwic, well, mdeslaur told me in -desktop that this cant be our prob15:07
diwicmdeslaur,15:07
diwicFeb 25 14:42:10 ubuntu-phablet rtkit-daemon[1900]: Failed to make thread 1953 RT: Operation not permitted15:07
ogramdeslaur, it seemingly can contact it, else i wouldnt see rtkit complaiun in syslog15:07
ograso the communication layer is intact ... the permissions probably are not15:08
ograand all hints i found in bug reports etc point to the fact that the cgroup by default doesnt allow non-root access15:08
ografedorea seems to have patched sytemd for this specifically15:09
mdeslaurogra: ok, so if you got that message that means you've passed all the policykit stuff, and you're hitting an issue setting the priority on the process itself15:09
mdeslaurogra: perhaps related to the android specific priority patches15:09
mterryLaney, you had mentioned not being thrilled with sync'ing volume via AccountsService.  Did you mean as the canonical location (I agree it should stay in pulse), or just at all?15:10
ogradoes that fiddle with cgroups ?15:10
mdeslaurthis problem is in _no_ way related to cgroups15:10
Laneymterry: The concept of doing that kind of syncing15:10
stgraberogra: ignore cgroups there, we're talking process priority.15:10
ograok15:10
Laneymterry: Ideally the session would be able to communicate things like that to the greeter when the switch happens15:11
mterryLaney, but it is also a per-user setting.  I remember we have a long-standing bug on desktop to do that, but we never bothered15:11
stgraberthe cgroup keys are only there to tweak some of the delays but that won't prevent you from making a process rt and those keys aren't set by default anyway15:11
mterryLaney, although that bug was probably more about going the other way (i.e. changing in greeter and having that change the session)15:12
ograstgraber, well, the kernel doc is confusing me15:12
ogra"By default all bandwidth is assigned to the root group and new groups get the15:12
ograperiod from /proc/sys/kernel/sched_rt_period_us and a run time of 0. If you15:12
ograwant to assign bandwidth to another group, reduce the root group's bandwidth15:12
ograand assign some or all of the difference to another group"15:12
stgrabernote that those are "groups" not "cgroups"15:14
ograyes, i understood that15:14
mhall119ogra: where's the instructions for making an image-based install writable?15:17
ogramhall119, phablet-config writable-image15:17
mhall119really? it's that simple now?15:19
sergiusenshas been for 3 months I say (or more)15:19
mhall119is that documented on the wiki somewhere?15:19
ograprobably :)15:20
stgrabermdeslaur: might have something to do with cgroups after all...15:23
stgraberroot@castiana:~# chrt -r -p 99 $$15:23
stgraberchrt: failed to set pid 19023's policy: Operation not permitted15:23
stgraberroot@castiana:~# echo $$ > /sys/fs/cgroup/cpu/tasks15:23
stgraberroot@castiana:~# chrt -r -p 99 $$15:23
mhall119ogra: I don't even have to restart?15:23
ogramhall119, you do15:23
ogramhall119, oh, btw https://code-review.phablet.ubuntu.com/#/c/189/15:24
mhall119oh...maybe I'd already made it writable then15:24
Laneybarry: I replied again15:24
ogramhall119, did you open a bug for that ?15:24
ogra(teh fix will land with the next android upload)15:24
mdeslaurstgraber: curiously, I do have messages that rtkit set my pulse process to realtime in the log15:24
mhall119ogra: I opened one against dialer-app15:24
mdeslaurstgraber: but chrt isn't showing it15:24
ogramhall119, can you re-assign against android ? dialer-app is just a victim15:25
stgrabermdeslaur: so my guess is that everything works fine so long as rtkit runs as root and isn't itself in a cgroup15:26
ogramdeslaur, getprop ro.build.version.release15:26
barryLaney: okay.  btw, the build succeeded.  yay for sleep(2)15:26
ogramdeslaur, are you on android 4.4 already ?15:26
Laney\o/15:26
stgrabermdeslaur: if it's a cgroup, it gets affected by cpu.rt_runtime_us which is 0 for the /user hierarchy15:26
stgraber*in a cgroup15:26
diwicogra, fwiw, I did see error messages on 4.2 too15:26
mhall119ogra: https://bugs.launchpad.net/ubuntu/+source/dialer-app/+bug/1284255 I can't change the project15:27
ubot5Ubuntu bug 1284255 in dialer-app (Ubuntu) "dailer-app doesn't work when /home/ is out of space" [Undecided,New]15:27
ogradiwic, i never noticed that... but rsalveti telling me "thats normal" kind of indicates that they were there before :)15:27
diwicogra, well, they were there before, but it's not normal :-)15:28
diwicit should be fixed15:28
ograheh, yeah15:28
stgrabermdeslaur: and AFAICT nothing is setting that value to 0, it's the controller's default that only something in the root cgroup has it set to 950000, any other sub-cgroup defaults to 015:28
mdeslaurogra: I don't have a device, I'm just looking at my laptop15:28
stgraberhowever looking on my mako, rtkit is in the root cgroup, so it should be able to set the priority just fine15:29
stgraberit's just if pulseaudio attempts to do it itself that it'll fail15:29
xnox15:28:59.080 INFO __init__:387 - dbus.DBusException while attempting to get PID for org.freedesktop.ReserveDevice1.Audio1: DBusException("Could not get PID of name 'org.freedesktop.ReserveDevice1.Audio1': no such name",)15:29
xnoxdoes not sound good.15:29
ogramhall119, adjusted15:30
diwicxnox, hmm, is this related to anything or are you just talking about error messages in general? :-)15:30
mdeslaurstgraber: I'm wondering if something is failing in trusty... do chrt -a -p `pidof pulseaudio`15:30
xnoxdiwic: filemanager autopilot tests fail, but that's about it.15:30
xnoxdiwic: and it sounds like not the only sound problem at the moment.15:31
mdeslaurstgraber: in precise, I get this: pid 1837's current scheduling policy: SCHED_RR|SCHED_RESET_ON_FORK15:31
mdeslaurpid 1837's current scheduling priority: 515:31
ograxnox, weird that filemanager triggers such a message though15:31
mdeslaurstgraber: but none of them in trusty is getting realtime15:31
=== charles_ is now known as charles
xnoxogra: oh, it has some sound settings / sound feedback or somesuch and the tests check that.15:31
diwicxnox, uhm, filemanager? Why would it try to look at the second sound card in a system?15:31
xnoxdiwic: i dunno, i'm just verifying it works with python3.... and it doesn't work at all at the moment on my grouper.15:32
xnox(and that is _not_ on 4.4 i take it?!)15:32
ograxnox, grouper is dead and buried15:32
ograhave your manager get you a flo15:33
xnoxogra: what happened? it does have full 4.4 support from cyanogen mod trees.15:33
xnoxogra: why can't we just build that? (sure it will still be phone UI without sim, but it's better than nothing)15:33
ograwe have long stopped looking into grouper issues15:33
ograMir doesnt work right etc15:33
xnoxogra: Mir got fixed, and works right.15:33
xnoxogra: it's actually very slick.15:34
stgrabermdeslaur: http://paste.ubuntu.com/6994941/15:34
ograwell, groupper wont be supported anymore by end of the week or so15:34
stgrabermdeslaur: to me it looks like rtkit is just completely buggy15:34
stgrabermdeslaur: all those paths are lacking an obvious /proc15:34
mdeslaurstgraber: oh gah, what's that on?15:35
diwicstgraber, it does a chroot into /proc as an additional security thing15:35
diwicstgraber, IIRC15:35
stgrabermdeslaur: strace of rtkit while restarting pulseaudio15:35
stgraberdiwic: well, if it does that, it doesn't seem to be terribly succesful :)15:35
ograprobably it only works with systemd nowadays :P15:36
stgraberdiwic: though, you're right, ls /proc/$(pidof /usr/lib/rtkit/rtkit-daemon)/root confirms it15:36
stgraberdiwic: ok, so re-reading with that in mind, it actually looks kind of fine15:37
=== dandrader is now known as dandrader|afk
ograhttps://bugzilla.redhat.com/show_bug.cgi?id=655321... admittedly 3 years old and no reference which patches were added15:37
ubot5bugzilla.redhat.com bug 655321 in systemd "rtkit-daemon[1141]: Failed to make ourselves RT: Operation not permitted" [Medium,Closed: worksforme]15:37
=== alan_g is now known as alan_g|tea
ograis our rtkit actually recent ?15:39
barryLaney: i think i see what's going on.  see my last comment, esp. the last paragraph.  ping me when you've read that and we can do a quick discussion15:40
ograoh, awesome ... so the homepage of rtkit is http://0pointer.de/public/15:40
ogralovely15:40
Laneybarry: okay, sec, desktop team meeting atm15:40
mdeslaurogra: looks like it was http://git.0pointer.de/?p=rtkit.git;a=commit;h=933c59c232df3c3910bf61ea3dc7c45c27e7912915:40
barryLaney: no rush15:40
ograyeah, seems we have it15:42
xnoxbarry: i am on grouper/devel r19415:43
xnoxbarry: i've treid system-image-cli -v -c devel-proposed15:43
xnoxbarry: and i get SignatureError =(15:43
ograxnox, -b 015:43
barryxnox: are you testing with the new s-i and u-d-m stack?15:43
xnoxbarry: no.15:44
xnoxbarry: worked the second time....15:44
barryxnox: right.  try it with the debs from https://launchpad.net/~ci-train-ppa-service/+archive/landing-010/+packages15:44
* ogra finds it astonishing that rtkit only had 6 revisions in 4 years15:45
Laneybarry: I think your last paragraph is what I was thinking of15:45
LaneyYou just repeat the previous UAS in that case15:45
barryLaney: it will only happen if the initial check was completed of course.  if that check is still in progress, we have no status and will return without issuing a UAS signal15:46
* mdeslaur really likes multiple commit messages that are "systemd: update sd-daemon.[ch]"15:46
mdeslauronly slightly better than "change stuff."15:46
Laneybarry: yup15:47
stgraberhmm, so I see the problem but I'm not sure how that one got solved on Fedora15:47
jodhmdeslaur: http://imgs.xkcd.com/comics/git_commit.png15:47
stgraberbasically, when setting a task as RT, no matter who sets it, the cgroup limit will be checked15:47
barryLaney: here's what i think i can do: i'm going to try to fix this in s-i trunk, but i'm not going to release a 2.2 upstream.  i'll take that patch and turn it into a quilt patch for 2.1, push it to my existing ci-train mp and ask you to do a landing 10 rebuild.  then we'll have something to test.  i can back the patch out when i do the next 2.2 upstream release15:47
mdeslaurjodh: heh :)15:47
stgraberso even if I'm root, in the root cgroups and have no limit applied to ME, I can't set the value for a process which is in a limited cgroup15:48
stgraberroot@castiana:~# echo $$ > /sys/fs/cgroup/cpu/tasks15:48
stgraberroot@castiana:~# chrt -r -p 99 $$15:48
stgraberroot@castiana:~# chrt -r -p 99 2137115:48
stgraberchrt: failed to set pid 21371's policy: Operation not permitted15:48
Laneybarry: ack, sounds fine to me15:48
LaneyNot really bothered how the code gets to me as long as it does :P15:48
=== alan_g|tea is now known as alan_g
barryLaney: :)  okay, stay tuned15:48
LaneyUnless you mean *really* back out, and not drop the quilt patch because it's then upstream15:48
mdeslaurstgraber: http://git.0pointer.de/?p=rtkit.git;a=commit;h=10a96f332f0f31275f53cf370989c828d72cf5bc15:48
barryLaney: right, drop the quilt patch because it's then upstream15:49
stgrabermdeslaur: sure but that's not enough, that's what I just said :)15:49
Laneygood :)15:49
stgrabermdeslaur: my example above shows me being root, in the root cgroup and still not being allowed to change rt capabilities of processes in a restricted cgroup15:49
mdeslaurstgraber: ah, right15:50
mdeslaurhrm15:50
stgrabermdeslaur: this may be very well also apply to Fedora as I'm not sure they actually set the cpu controller in logind15:51
stgraberif they don't, they won't have the problem15:51
stgraberand that's why a saucy system or a trusty system without cgroup-lite installed won't have that problem at all15:51
stgraberbut since we plan on having logind setup all the controllers for all users in trusty, we'll have to find a way to sort out that mess...15:51
mdeslaurstgraber: ok, I'm sure you'll manage to figure it out :)15:54
mdeslaurogra: sorry, seems you were right about it being related to cgroups15:54
ogra:)15:55
* ogra is good at guessing 15:55
mdeslaurheh :)15:55
hallynhey ( though i can't actually pay attention for the next few mins, biab )15:55
stgraberhey hallyn, let me just brain dump where we are at this point :)15:55
stgraberhallyn: so ogra reported that rtkit (a Lennart project that grants RT privileges to user processes) fails on Ubuntu Touch and on some Ubuntu desktops in trusty15:56
=== dandrader|afk is now known as dandrader
stgraberhallyn: I tracked this down to us now setting up a cpu cgroup for each user, so pulseaudio is in a cpu cgroup15:56
stgraberhallyn: basically this is related to rt_runtime_us, /sys/fs/cgroup/cpu has it set to 950000 but any sub-cgroup will default to 015:57
stgraberhallyn: as weird and stupid as this may be, even if rtkit is running in the root cgroup, it can't set rt priority on a process which is in a cgroup with rt_runtime_us set to 015:58
stgraberhallyn: so since by the time we release trusty we'll have all user processes in a cpu cgroup, and most of our users unfortunately run pulseaudio which kind of likes to have rt priority (and I hear it's important for phone calls too...), we need to find a way out of this16:01
hallynoh maybe that explains why i've had trouble soetimes with linphone16:02
mdeslaurhallyn: try chrt -a -p `pidof pulseaudio`16:02
hallynstgraber: all right, basically i know nothing about rt cgroup;  after team mtg (which starts now) i'll look over16:02
hallynhttp://lkml.iu.edu/hypermail/linux/kernel/0808.2/0223.html16:02
stgraberhallyn: current thoughts include: patch logind to set the limit to the root value (so manual inheritance of rt_runtime_us) or turning off that bit in the kernel entirely16:02
hallynhttp://www.mjmwired.net/kernel/Documentation/scheduler/sched-rt-group.txt16:02
mdeslaurhallyn: on trusty, nothing is realtime16:02
hallynand then hopefully i can talk more intelligently16:02
=== pete-woods-lunch is now known as pete-woods
diwicrsalveti, hrm, other things got in the way, so didn't have time to upload PulseAudio with the fix today. Feel free to do so yourself. Sorry for the inconvenience.16:27
rsalvetidiwic: no worries, will upload after my call then, thanks :-)16:28
hallynstgraber: so the solution is multiple hierarchies?  :)16:34
hallynstgraber: if pulseaudio is started by a user upstart session, it could create a different cpu cgroup for pulse16:38
hallynwe can say root gets 50% runtime_us, and the console cgroup gets 35?16:39
stgraberhallyn: so yeah, that's one possibility, technically logind doesn't apply any limitation at the moment, so it'd make sense to just manually inherit the rt value but that's slightly painful as logind does mkdir_p and we then need to go and walk the path to set it all the way to the user's cgroup16:40
hallynwell i think we can find a clean way to do that - the first question is whether that design makes sense16:41
stgraberthe other possiblity being to get rid of that rt stuff from the cpu cgroup entirely (since it's confusing inconsistent and I'm not sure anyone actually uses this)16:41
hallynwhat all would go into the console cgroup?16:41
hallynalso the rt cgroup is the one that lets a user hose the system iiuc16:41
hallynwho do we have who wants rt?  jackd users?16:42
hallynstgraber: we wouldn't "walk a path" though,16:42
stgraberpulseaudio wants rt but it asks a privileged rtkit daemon to make it rt, so we don't need the user to be allowed to do that themselves16:42
ogranobody on the phone, i can promise you16:42
hallynstgraber: in a container, we wouldn't do this.  so we'd just use "/console"16:43
stgraberthe problem is that because pulseaudio is in a rt limited cgroup, rtkit can't do its job16:43
ograright16:43
* ogra proposes since the start to just drop the kernel option 16:43
hallyni'm ok with that.  i sort of assumed we would16:43
ograthough if you guys found general probs that extend into the desktop too ...16:44
hallyndo we need rt on desktop?16:44
hallyns/need/want/16:44
stgraberogra: you are proposing to drop the rt restriction feature enitrely which is slightly overkill, just killing the cgroup part of it would be better16:44
ograwe have rtkit there was well, to bump the scheduling for pulse16:44
stgraberhallyn: pulseaudio wants it and used to have it until we turned on the cpu cgroup for all users16:44
Tassadarbarry: I'd like to fix https://bugs.launchpad.net/ubuntu-system-image/+bug/1278589 , but I'm not sure how to replace current use of http(s)_base in the code - would adding another method to Configuration class (like, url_base(prefer_https): ...) and then replacing http(s)_base with that call be okay?16:44
ubot5Ubuntu bug 1278589 in Ubuntu system image "Support turning off https from channel.ini" [Wishlist,Triaged]16:44
hallynstgraber: but if we turn of rt cgroup, pulse audio will ignore it?16:45
hallyn(i'm not sure why you keeping sayin gthat to me, so i must be missing something)16:45
stgraberhallyn: my hope is that if we turn off the rt cgroup, things will be identical to the process being in the root cgroup, and we know that this works fine16:45
hallynstgraber: so what is the downside to turning of the rt cgroup16:45
hallynactually i suppose on small hw like a phone we in fact might want rt cgroup for the phone functionality...16:46
stgraberhallyn: none that I can think of though is there an easy way to turn off only those bits?16:46
hallynI thought that was what CONFIG_RT_GROUP_SCHED was.16:46
stgraberhallyn: well, no, on the phone you'd want whatever wants rt privileges to talk to rtkit which will then grant them the privilege if they deserve it16:46
ograright16:47
stgraberhallyn: is CONFIG_RT_GROUP_SCHED in fact only applying only to cgroups? the name and description I've seen here and there suggested it was also responsible for exposing some of the knobs in sysctl16:49
hallyncan't say i understand why rt isn't its own cgroup.  cpu was originally for resource tracking... this limits its usefulness for that16:49
barryTassadar: nice!  i haven't had time to comment on that bug, but my thinking is that we'd add a use_https flag to the [service] section, which of course would default to yes.  then in config.py, where we calculate the service['https_base'] value, if use_https is false, we'd essentially copy the service['http_base'] value to service['https_base'].  other than tests, i think this is all we'd need to do.  let me add that to the bug16:50
stgraberwell, the whole cpu* stuff is a mess at the moment, but yeah, rt should have been a separate controller16:50
stgraberhallyn: so if you can't think of a downside to turning CONFIG_RT_GROUP_SCHED off, then we probably ought to have that done for all kernels by the kernel team16:50
hallyni dunno - it does show up all over the place,16:51
Tassadarbarry: oh, okay) Should I do it and then propose merge? (I'm not sure how that works on launchpad...)16:51
hallynstgraber: see http://paste.ubuntu.com/6995272/16:52
stgraberhallyn: ah, that's much clearer than the doc page :)16:52
hallynit's from http://www.mjmwired.net/kernel/Documentation/scheduler/sched-rt-group.txt .16:53
hallynbut i'm still not convinced...16:53
hallynonly bc i'm not 100% clear on what exactly we want.16:53
hallynso CONFIG_RT_GROUP_SCHED depends on cgroups.  but i dont' know if it is required for some other rt-y thing16:53
barryTassadar: yeah, that would be awesome.  you'd be our first outside contributor! (have to figure out how that would work, might have to do a cla :).  the way to do it is to branch lp:ubuntu-system-image/client, make the changes, push a branch to lp, and do a merge proposal.  i can certainly help you with those steps16:54
stgraberI think what we want is the pre-trusty behaviour where users can't mark their task rt (obviously) but rtkit can (because its privileged) and we don't want to bother with quotas as that's exactly what rtkit does already16:54
stgraberso the equivalent of having all processes in cpu:/ with no limit applied to rt_* (default system wide values)16:54
hallynstgraber: ok, so rtkit only does that per-task right?16:55
hallynif it doe sit per-group, then i think it depends on the cgroups16:55
hallynif per-task is ok then we can turn off CONFIG_RT_GROUP_SCHED16:55
stgraberhallyn: it doe it per-task and does some kind of throttling based on the uid that owns the task16:55
Tassadarbarry: okay. See, I've set-up a system-image server for hammerhead, but I don't have https certificate, so it won't update itself after installation16:56
stgraberhallyn: I read through rtkit's code earlier and the only mention of cgroups is in its systemd detection code, it never reads or writes the rt_ cgroup entries16:56
hallynstgraber: yes, but i was afraid there might be another way of grouping tasks which rtkit uses and which is not cgroup-y, but depends on cgroup in its in-kernel rt implementatin16:56
stgraberTassadar: if you have a dedicated IP for that server, you can get a basic https certificate for free from startssl16:56
hallynsounds like no16:56
barryTassadar: https://bugs.launchpad.net/ubuntu-system-image/+bug/1278589/comments/116:56
ubot5Ubuntu bug 1278589 in Ubuntu system image "Support turning off https from channel.ini" [Wishlist,Triaged]16:56
barryTassadar: take a shot at it, and feel free to ping me.  it would be a very nice contribution.16:57
stgraberhallyn: right, I looked for that and it looks like none of Lennart's project ever try to read/write any of that rt cgroup stuff16:57
stgraberhallyn: so sounds like we should just poke the kernel team and have that thing turned off everywhere16:57
hallynstgraber: agreed.  they might of course have a good reason why they can't do that...16:58
Tassadarbarry: I suppose I have to change the server to pass that use_https flag from etc/config into channel.ini too, right?17:00
hallynstgraber: note that, all the same, having a separate /console cgroup (one per host) might be interesting anyway17:00
stgraberhallyn: I'm not sure I understand what that'd do, would we move all of the user's tasks from /user/uid.user/cX.session/ to /console or what?17:03
hallynonly pulseaudio and maybe compiz;  anything related to audio/video17:03
hallynmaybe (*$&%($*% hangouts crap17:03
barryTassadar: sorry, not sure i understand that last comment.  this shouldn't require a change on the server side, but a client who is connecting to an http-only server would have to edit their client.ini file, which yeah, could be somewhat problematic.  are you thinking about implementing auto-detect for http-only?17:04
stgraberbarry: hmm, hold on, let me read your latest comment because client.ini seems like a very bad idea to me :)17:05
Tassadarbarry: well system-image-server generates my channel.ini with address according to etc/config17:05
Tassadarit could generate it with use_https: false, if I set it in my server's etc/config17:05
Tassadarbut using current port options (with 0 == don't use this one17:06
Tassadar) seems better to me17:07
Tassadar(to a person who isn't familiar with system-image at all >_>)17:07
stgraberbarry: commented in the bug17:07
=== vying is now known as Guest36622
Laneympt: We got a system-settings bug complaining that "free space" tells you all of the free space on the system, rather than just the amount of space available for the home directory. What's it supposed to be?17:15
LaneyIf it were to be something other than all free space then you'd want to list the types of free space differently17:19
LaneyI'll assign the bug instead. :)17:22
barrystgraber, Tassadar more thoughts in comment #317:25
=== bfiller is now known as bfiller_afk
barryLaney: i have a patch in my trunk now, and it passes all the tests.  i'll adapt it to a quilt patch for landing-10 after lunch.17:28
Laneybarry: nice one17:28
barryLaney:  4 files changed, 39 insertions(+), 17 deletions(-)17:29
stgraberbarry: replied17:29
Laneybarry: if you push it then I can build a package to test quickly17:29
barrybut really that's more than necessary for quilt, since it includes NEWS and version bump17:29
* Tassadar just leaves it to you, I don't know enough to say anything useful about the implementation - I can probably write those few lines of python once you decide what to do though)17:29
Laneywill be going in 3017:29
barryLaney: okay, let me quiltify and push before lunch17:29
Laneyoh I just meant to your work branch, but that works ;-)17:29
barryLaney: yeah might as well get the ci train wheels churning :)17:30
Laneywfm17:30
Laneycould even publish today...17:31
=== jasoncwarner___ is now known as jasoncwarner
=== tvoss is now known as tvoss|dinner
barryLaney: i just pushed an update: 2.1-0ubuntu4.  doing a local build here too for verification, but i figured you could get the ci train rolling out of the station in parallel17:45
* barry -> lunch17:46
Laneybarry: roger, will build now17:47
=== Guest84682 is now known as dk
=== dandrader is now known as dandrader|lunch
guinness6554Hi. I am trying to port the ubuntu touch for nexus 5.  I know that there are people who already dealing with I just wanna do it 4 fun and I am a bit stacked. Is there anybody who could help me a bit?18:12
Tassadarguinness6554: there is no need to port anything, there are images for N5 and the code is in official repositories18:15
effbiaihi, anyone here running ubuntu touch on i9505 (galaxy s4)? i got it installed and when trying to boot it, it "freezes" at galaxy s4 boot screen. tho.. i am able to connect to it with adb18:16
=== robru is now known as robru-is-deathly
effbiaiin adb (shell) i'm able to do normal linux commands like list mounts, dmesg, etc18:16
=== robru-is-deathly is now known as robru-is-dying
effbiaiany hints on what to troubleshoot?18:16
=== vying is now known as Guest5551
ograeffbiai, well, check logs and such18:20
effbiaii've checked dmesg. is there a spesific log i should check? a log in /var/log/somewhere maybe?18:20
=== gatox_ultra is now known as gatox
=== daker_ is now known as daker
=== ValicekB_ is now known as ValicekB
balloonsdoes 207 feel a bit sluggish to anyone else?18:33
aquariusif running dual-boot Ubuntu/Android on an N4, how do I update apps?18:35
ograaquarius, use the app updater18:36
rsalvetiballoons: maybe apport is getting a crash?18:36
aquariusogra, that being System Settings > Updates ?18:36
* ogra only tired 207 on flo and maguro ... on one it flies the other is always sluggish ... 18:36
balloonshmm could be.. it's just noticeably sluggish.. I'll look18:36
ograaquarius, nope, the app in the click scope18:36
ograaquarius, same icon as the updater in system settings18:37
balloonsrsalveti, I don't see apport running18:37
ograballoons, /var/crash ?18:37
rsalvetiballoons: which device?18:37
balloonsrsalveti, ogra I'm on an n418:37
aquariusogra, I don't seem to have that. Searching for "Update" on the apps scope doesn't show anything.18:37
balloonslast crash is from feb 21 so :-)18:38
ograaquarius, oh, then you are one of the few unlucky people that used an image from proposed atht accidentially had this app dropped18:38
ogra(we never promoted one with it missing iirc ... )18:38
aquariusogra, I shouldn't be... I don't think I'm using -proposed, I'm just using trusty18:39
aquariusogra, how can I check?18:39
ograwell, then i probably mis-remember18:39
aquariusI "upgraded" (that is: reinstalled, from the Android dual boot app) a few days ago, I think18:39
ograaquarius, it was gone between 195 and 20218:40
aquariusogra, ah, OK. How can I know what I'm running?18:41
ogra"about this device"18:41
aquariusah, I'm on r19418:41
aquariusso I should upgrade, shouldn't I?18:41
ograhmm18:41
aquariushas there been a promoted image since then?18:41
ograyou just pointed out a serious issue18:41
aquarius(I'm not running -proposed)18:41
ograright18:42
ograhasnt18:42
aquariusogra, that's why I'm bringing it up here rather than, e.g., whining on reddit ;)18:42
ograthats a little serious18:42
aquariusogra, yeah. I can't upgrade any apps :)18:42
aquariusogra, I thought I was going mad18:42
ograwe cant really promote anything atm ...18:42
aquariusogra, OK -- if the answer is "you can't upgrade any apps until there's a new promoted image, and then you'll be able to again" then I'm OK with that18:43
ograyes ... you could hack around that18:43
aquariuspresumably I can "upgrade" an app by, e.g., uninstalling it and then reinstalling it :)18:43
ograby making the image writable and installing click-update-manager18:43
ogra(and making it ro after that again)18:44
aquariusno, no, no writeable image for me. If I do that then I stop being a normal person and start being a haXX0r and I can never trust that my apps will work on normal devices ever again ;)18:44
* aquarius uninstalls and reinstalls app18:45
ograheh, k18:45
balloonssomeone mentioned phablet-screenshot is broken, and indeed it seems to be. Can anyone recommend how to get a screenshot atm?18:47
aquariusogra, is there anything else I should do to notify people about this issue? ("Tell ogra" seems to be enough from my point of view, but you may disagree ;))18:48
ograaquarius, already escalated it18:48
aquariuswhat a star18:48
ograaquarius, but there isnt much we can do, the images are not in a promotable quality18:48
aquariusogra, yeah, I understand that, and that's OK -- now that I know that I'm not mad, it's a known bug, and it's being dealt with, that helps. It would be nice if it were fixable somehow, though...18:49
aquarius(not "ssh in and run these commands" fixable, but "promote image 194.5" or something ;))18:49
ograyeah18:50
=== barry` is now known as barry
barryTassadar: comment #8 has an implementation plan.19:09
Tassadarbarry: okay, thanks, will try to do that in a minute19:11
barryLaney: we have a successful s-i 2.1-0ubuntu4 in landing 10 PPA.  can you test that and see if it does what you need?19:12
Laneybarry: yep, but it'll need to be tomorrow morning now19:24
=== dandrader|lunch is now known as dandrader
=== bfiller_afk is now known as bfiller
Laneybarry: you could try to trick seb128 into doing it19:25
barryLaney: ack.  i'll test it too.19:25
barrymaybe mandel has some cycles to test it as well19:26
asacdavmor2: do you have bugs about autopilot on qt5.2?19:42
asacdavmor2: Mirv said there were bugs identified by you19:42
davmor2asac: the crashes are listed on the spreadsheet I need to complete the autopilot tests latter this week once the mwc stuff is out of the way.  I hadn't publish bugs for the autopilot failures, but did for the manual testing failures.19:45
asacdavmor2: do all APs crash? or just some?19:46
asacdavmor2: is AP crashing itself?19:46
davmor2asac: most of the manual testing failures have either been addressed or have been assigned19:46
asacdavmor2: do you have a link to spreadsheet?19:46
davmor2asac: just some19:46
thomidavmor2: asac: please be careful with your language. I *think* you mean "acceptance test failures", not "autopilot failures"... unless you really do mean autopilot failures, in which case you should let me know :)19:47
asacdavmor2: did you ever try to somehow validate how the apps in store behave with qt5.2? i really we need to do what i say here: https://lists.launchpad.net/ubuntu-phone/msg06611.html19:47
davmor2asac: https://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0AjuCdq68GSyVdGI4dGllUUxyZGxhc0tZWFhqNnJaaFE#gid=0  the red ones are the test failures orange were test passes but either a crash or extra info in the logs produced that might be important19:47
davmor2asac: popey is on that19:48
popeyto be clear, I'm starting the apps to make sure they start, not spending ages testing each one19:48
asacpopey: would it make sense to send a call for testing to the appdev community? like i suggested in the mail here: https://lists.launchpad.net/ubuntu-phone/msg06611.html ?19:49
davmor2meh popey I was just writing something similar but you beat me to it :)19:49
asacor does anything need to happen brefore that?19:49
popeyasac: i think balloons wanted to spin up a community around testing apps, this would be a good bootstrap for that19:50
asacballoons: can we get started on that today :)?19:50
davmor2asac: before we can do the big push for 5.2.1 we need the qt multimedia sorting.  Currently no sound, no ring tone, speaking or audio in calls etc.  Once that fix lands I think most of the issues will slowly go away19:51
balloonsasac, popey yea the plan was to kick it off today. We have to nail down the logistics as we discussed yesterday popey19:51
asacChickenCutlass: ^^ qtmultimedia seems to block push for qt5.219:52
asacwho did qtmultimedia things in the past?19:53
davmor2asac: I'm not sure if it has landed yet I've been heavily testing mwc images so that has been my priority.  Mirv iirc has pointed it out that it needs fixing  so I believe did chase it initially but could be wrong19:54
asacdavmor2: so you say we have a fix. thats good19:55
asacthought we didn thave that19:55
davmor2asac: I don't know, I just know that Mirv started chasing it from a conversation we had19:56
davmor2asac: let me see if I have some notes on it19:57
=== veebers_ is now known as veebers
asacpopey: how does the current "startup test" look like? is that all good so far?20:01
asacpopey: do you have a list or something?20:02
popeyasac: not finished yet... will update in a bit.. meeting20:02
asacthx20:03
davmor2asac: so current there is a qt-multimedia patch that drops the qt-multimedia components as they aren't compatible with 5.2.1.  As soon as it is then new package will build with it from what I can understand.  There was not media when I ran the autopilot tests last week on the 18th20:04
asacrsalveti: ChickenCutlass: who did qtmultimedia glueing to our sound stack for qt5.0? jim?20:05
rsalvetiasac: yes20:05
rsalvetiasac: is that the only blocker?20:05
rsalvetiif so we should just port it to 5.2 as the new mediaservice will take at least another week20:05
asacrsalveti: seems its the big blocker preventing us to send out a wider call for testing to app community20:06
rsalvetialright20:06
asacballoons: can you confirm?20:06
asacor is there anything else that prevent us?20:06
balloonsoutside of multimedia? I don't know of anything else preventing moving, but multimedia is a big one :-)20:07
davmor2rsalveti, asac: I think the camera app is failing completely because of it, and as blockers go on a phone not being able to make a call is about as big as it gets ;)20:07
asacballoons: and sending out call for testing without MM doesnt make sense?20:07
rsalvetidavmor2: issues with the dialer-app?20:08
rsalvetiI can take a look at this package20:08
balloonsasac, we can send out a call to test the apps with that known caveat, but I suspect it's one of the things we really want feedback on20:08
davmor2rsalveti: no sound and no audio20:08
asacdavmor2: true. but is that also blocking app community from doing an intial round of useful testing on qt5.2? not sure how many use MM there20:08
rsalvetidavmor2: that's interesting as it's not related with qt at all20:08
asacthomi: have you seen https://bugs.launchpad.net/ubuntu/+source/autopilot/+bug/1284316 ?20:09
ubot5Ubuntu bug 1284316 in dialer-app (Ubuntu) "multiple StateNotFoundError failures in image 206" [Undecided,New]20:09
davmor2rsalveti: so how does the audio stack work if it isn't through qt?20:10
thomiasac: yes, I agree with balloons comments on that bug.20:10
thomiasac: also, the fact that it exists independantly of the autopilot version seems to indicate that it's not a bug in autopilot itself20:11
thomibut rather, the tests fail poorly. We've already talked about this in the QA team, and elopio has a plan to fix things up, but we're not sure what the timeframe will be20:11
rsalvetidavmor2: audio for phone calls is different, but yeah, qt calls telepathy-ofono, which calls pulseaudio20:11
davmor2rsalveti: I mean I get no sound from the music play, none from the internet, no video/sound from the videos scope, and then no audio from call, no ringtones  all seems pretty much linked but I could be horribly wrong :)20:13
rsalvetidavmor2: oh, ok20:13
rsalvetilet me first port qtmultimedia20:13
asacthomi: can you guys communicate the outcome of that discussion in bug?20:14
asacelopio: ^^20:14
ChickenCutlassrsalveti: its a shame we have to do this twice.  port qtmultimedia.20:14
thomiasac: elopio, sure, I'll update it now20:14
rsalvetiChickenCutlass: well, we didn't get the mediaserver sooner20:14
ChickenCutlassI know20:15
rsalvetibut yeah20:15
=== tvoss|dinner is now known as tvoss
thomiasac, elopio, balloons: my summary: https://bugs.launchpad.net/ubuntu/+source/autopilot/+bug/1284316/comments/420:22
ubot5Ubuntu bug 1284316 in dialer-app (Ubuntu) "multiple StateNotFoundError failures in image 206" [Undecided,New]20:22
asacthomi: awesome thanks. anything we can do short term to get rid of this behaviour? not sure why we suddently start seeing this20:29
rsalvetiasac: maybe because the kernel is behaving properly now regarding cpus on/off?20:29
rsalvetiand using the 4 cpus as well20:29
thomiasac: I haven't looked at the specific failure yet - that's on my list for later today. I suspect that in the short term we can patch the test case up to do the right thing20:29
rsalvetithat could possibly make asynchronous test cases behave a bit worse20:30
balloonsI would support thomi's notion of addressing the testcases as the first step. If the errors persist, with our fixes it should pinpoint an issue in the app or platform which we can then deal with.20:31
cyphermoxasac: what's this about MM?20:33
asaccyphermox: qt5.2 hsa broken MM and we need that fixed to do a serious push for 5.220:33
cyphermoxwhat do you mean by "MM" though?20:33
asacballoons: i think we shouldnt wait for MM fix... maybe we can make a small round of testing before that?20:34
asacbut tell folks that audio/mm isnt working so they shouldnt report issues related to that?20:34
rsalvetiMM could also be modem manager20:34
* cyphermox still parses "MM" as ModemManager20:34
* asac would like to get promissing feedback as soon as we can20:34
asaccyphermox: hehe qtmultimedia20:34
asacfor a moment i wondered why you are so concerend :)20:34
cyphermoxbah20:35
cyphermoxthere is a libmm-qt ;)20:35
balloonsasac, sure.. so what image do we want to point people at ?20:35
GreySyntaxwould dmesg output be the best way to debug where a boot fails?20:36
asacballoons: good point. lets wait till tomorrow. i hope we get a few more issues fixed which makes testing even more valuable i figure and we can also sync with mirv again.20:37
asacto ensure that the ppa is really ready for this20:37
gnutsHello everyone, I'm curious why there is no ~flo.zip only a ~flo.img in the ~/current directory. there are zips of the others. Can anyone tell me why or where I can find them?20:41
rsalvetignuts: as flo is based on aosp, there's no zip anymore20:44
rsalvetijust pure img files20:44
rsalvetithe others are also aosp based now, but the old files are still around20:45
gnutsok, but I'd like to flash the current files to my nexus 7 (2103) using multirom. I guess I'll wait and keep watching xda. thank you20:47
Tassadargnuts: I'll update the android app to support installing new official images soon20:49
GreySyntaxis there a recommended way to modify scripts/touch so the change is applied in every build?20:50
gnutsWow, hearing directly from the source! Thank you. I'll keep watch.20:52
Tassadargnuts: I'm trying to put things in place also to support N5, not sure how long will that take, should be a few days max20:53
Tassadarbarry: can I run the tests on ubuntu computer or do the require to be ran on Ubuntu Touch device?21:02
=== salem_ is now known as _salem
=== _salem is now known as salem_
barryTassadar: you can run it on a desktop with a hacked up ini file.  just point all the paths to some tempdirs21:09
=== salem_ is now known as _salem
Tassadarwhen I run "python3 setup.py test" in the root dir, it seems to try to reboot the computer during some tests21:10
Tassadar(which fails, because it's not root, and then it's stuck waiting for the reboot I guess)21:10
rtyupohi21:18
rtyupoanyone there ?21:19
rtyupoi would like to know it possible to install ubuntu-touch ?21:20
matv1rtyupo yes it is possible. but it depends on what device you want to install it on21:24
rtyupoiphone 521:24
GreySyntaxthen no21:24
rtyupowhy not possible ?21:24
matv1nope21:24
matv1touch is being deveoped on android hardware21:25
GreySyntaxbecause apples secureROM is still 'secure' on modern devices you modify the boot-chain21:25
=== dandrader is now known as dandrader|afk
matv1question: I am confused: is Maguro now officialy desupported?21:26
rtyupowell is it possible to install IOS6 and IOS7 on dualboot on IPHONE 521:28
Tassadarbarry: http://bazaar.launchpad.net/~vbocek/ubuntu-system-image/support_http/revision/241 my code now looks like this, but I'm kinda lost in all the tests :/21:31
matv1and if so, why are images still being built and tested up to today?21:32
rtyupobootcamp for iphone not exist ?21:33
barryTassadar: that looks pretty good.  i suggest one small semantic change: DISABLED_PROTOCOL = object() and then test for identity instead of equality.  e.g.  if self.service.http_port is DISABLED_PROTOCOL21:34
barryTassadar: as far as end-to-end tests, i am happy to write them when i merge your branch if you'd like.  that part of the test suite can get pretty complicated21:35
pmcgowanmatv1, maguro is on its way out, but it still works and we have many devs using it21:37
Tassadarbarry: yeah, I think that would be better. I don't even know how to run those tests. Should I remove those 3 I've added into test_config.py?21:38
barryTassadar: naw, keep them in your branch.  i'll use that as a starting point and will probably flesh out all the corner cases.21:38
barryTassadar: the way i run individual tests are:21:39
barry`tox --notest -r` to set up the test environment (don't need to do this if you've already done a full `tox` test)21:39
barrythen:21:39
barry.tox/py33/bin/python -m nose2 -v -P test_config21:39
barrywith variations thereof21:39
Tassadarokay. I'll change that DISABLED_PROTOCOL and add overriding of [system] as separate commit21:39
barryTassadar: sounds good.  do please do a merge proposal once you're happy with the branch.  we can either continue to discuss on the mp, or i can merge + tweak21:40
barryTassadar: and let me know when you've signed the cla :)21:40
matv1pmcgowan yes i saw that todays image test even looked good. So would bug report would still get looked at if one would report them against Maguro? and what about after the desupport date?21:40
Tassadarbarry: I've signed it already, it said that a member or canonical team will contact me shortly)21:41
pmcgowanmatv1, yes bugs would get looked at, and not sure when it might be officially cut off, maybe 14.0421:41
barryTassadar: great, thanks21:41
matv1pmcgowan thank you21:42
=== dandrader|afk is now known as dandrader
dakerQ: can UT run on Meizu MX2 ?21:44
Tassadarbean: http://bazaar.launchpad.net/~vbocek/ubuntu-system-image/support_http/revision/242 This isn't correct is it, because channel.ini would have to have [system] section (else it would load just empty Bag). I should check if the [system] is present and then overwrite it I guess..?21:52
Tassadarups, wrong nick21:52
Tassadarbarry: ^^21:52
beano,.o21:52
GreySyntaxrtyupo: no it doesn't21:54
rtyupowhat doesn't ?21:54
GreySyntax"bootcamp for iPhone"21:55
rtyupois it possible to install grub ?21:55
GreySyntax"no"21:55
barryTassadar: that's a good point.  override will only ever be true when loading a channel.ini, but "legacy" channel.ini files may not have the [system] section.  you're probably right about first checking whether parser['system'] exists.  alternatively, Bag can be given an .update() method, but that's more work (i.e. refactoring & tests)21:55
GreySyntaxyou can't modify the boot process at all you can only boot iOS21:56
barryTassadar: what do you feel up for? :)21:56
rtyupotell me how to do it ?21:56
GreySyntaxyou can't21:56
rtyupoi would like to run IOS6 AND IOS7 on dualboot21:56
GreySyntaxyou can't21:57
GreySyntaxit's impossible21:57
rtyupohow to modify the boot process21:57
rtyupo?21:57
GreySyntaxsee above21:57
Tassadarbarry: well, how should it work? if section is present, then remove all existing values and use only the ones specified in channel.ini, or just overwrite the existing values and leave the ones not specified in channel.ini as-is?21:57
=== bregma_ is now known as bregma
rtyupook understand21:57
Tassadarbarry: given how [service] override works, it should probably remove all existing options and add only the ones in channel.ini21:58
barryTassadar: for the former, i think implementing a Bag.update() would be a better approach.  otherwise we can document that channel.ini must override everything or nothing (i.e. if the section exists, it must include all settings)21:58
rtyupois there any snifer for IOS7 boot process  ?21:59
GreySyntaxnope21:59
GreySyntaxrtyupo: you'd be best to direct your iOS related questions to #openjailbreak or #jailbreakqa22:00
rtyupook22:00
GreySyntaxdoes anybody know how to modify the ubuntu ramdisk, i need to make a few changes to /scripts/touch22:00
Tassadarbarry: http://bazaar.launchpad.net/~vbocek/ubuntu-system-image/support_http/revision/242 I've added that Bag.update() and changed config.py so that both [service] and [system] section use it22:17
Tassadarbarry: note that this changes how overriding of [service] works - now it just updates existing values22:18
barryTassadar: that looks pretty good22:20
Tassadarbarry: I'll submit merge proposal, then22:22
barryTassadar: cool.  i'll work out the tests and comment on the mp, or ping you here if i have any questions22:22
Tassadarbarry: does system-image server have no documentation? I'd add info about that "disabled" value in there too, but I can't see any man files in it's repo22:27
barryTassadar: ini-manpage.rst22:27
TassadarI mean etc/config in server, that's a different file22:27
* barry looks at stgraber for server docs22:33
stgrabernot much doc on the server side, though I've got examples around that say port=0 so I'll just push a change to the version tarball generator to set =disabled when I have =0 in my config22:34
Tassadarstgraber: I've found a mistake in config.example when I was setting up the server - http://hastebin.com/poxayofote.diff - should I make merge request for that?22:36
stgraberTassadar: nah, I'll just fix it, thanks. That syntax changed a while back, I guess I just forgot to update the example...22:37
Tassadark22:38
Tassadarstgraber: another "problem" I had with it was that remote-system-image tries to download rootfs file for each device, and when the device is not present on system-image.ubuntu.com (i.e. hammerhead) it fails22:39
Tassadarso I've added option to hardcode the device name it checks for22:40
Tassadarnot sure if you want to do something about that, but ports are likely to encounter the same problem22:40
stgraberTassadar: adding a device= keyword to remote_system_image would be fine with me22:45
TassadarI did exactly that) I'll clean it up a bit and submit it)22:45
stgraberTassadar: cool, please make sure we still get 100% test coverage with your change and that the test suite passes with both python2 and python322:46
Tassadarstgraber: should I add test for that device=X option?23:00
stgraberTassadar: yes you should, I never push to trunk with less than 100% code coverage23:04
=== daker_ is now known as daker
Tassadarstgraber: I've submited the merge proposal, all tests pass (assuming running tests involves just "tests/generate-keys; python tests/run; python3 tests/run")23:24
Tassadarhm, except they shouldn't pass, that test I've copypasted is wrong23:25
=== jacerx_ is now known as jacerx
nhaineseffbiai: yes, SMS workds perfectly.  Phone calls and sound don't work at all (unless you get the ALSA config files from the ubuntu-phone ML, which plays sound great but I haven't tested calls yet).23:33

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