/srv/irclogs.ubuntu.com/2014/06/11/#ubuntu-touch.txt

=== chriadam|away is now known as chriadam
=== LarrySteeze is now known as LarrySteeze|Away
=== chihchun is now known as chihchun_afk
=== LarrySteeze|Away is now known as LarrySteeze
=== vying is now known as Guest97265
=== phunyguy_ is now known as phunyguy
=== cul_ is now known as cul
=== chriadam is now known as chriadam|aay
=== chriadam|aay is now known as chriadam|away
=== gnu is now known as Guest7562
JamesTaitGood morning all; happy Ferris Bueller Day! :-D08:34
=== vying is now known as Guest65626
ogra_cking, any reason to not seed cpustat, eventstat, powerstat  and health-check too ?10:20
ckingno reason I can think of10:21
ogra_ok, adding them ...10:21
ckingand forkstat perhaps?10:21
ogra_lets get suspend-blocker into the archive asap too10:21
ogra_yeah, forkstat was in the discussion yesterday10:22
ogra_already got it10:22
ckingack10:22
ckingogra_, my only concern with suspend-blocker is that it is tied to the specific kernels we use on the phone devices and it's not a generic tool10:23
ogra_hmm10:23
ogra_i would have said just add a dependency ... but we dont install the kernel packages at all10:23
ckingyep, that's part of the issue really10:24
ogra_you could depend on the specific initramfs-tools-ubuntu-touch package ... but that will likely break on amd64 and i386 ... so not a good option either10:25
ckingmmm, i've not got the packaging know-how to figure this out10:26
ogra_i dont know a solution of the top of my head but will think about it10:26
ckingok, thanks :-)10:26
ogra_hmm, why did slangasek's change not make it out of proposed last night10:28
ogra_oh10:28
ogra_unity-scope-click failed10:28
ogra_hmm10:28
ogra_cjwatson, did the click API change recently ? http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#ubuntu-touch-meta seems to be stuck due to unity-scope-click being ftbfs10:35
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g
=== MacSlow is now known as MacSlow|lunch
northabeato: Apart from rilmodem, does ofono work like normal RIL - RIL daemon + RIL driver ? If so, how do the concept of atoms and plugins chip in ?11:42
=== alan_g is now known as alan_g|lunch
oSoMoNMirv, hey, I’m looking at bug #1328841, what version of oxide did you rebuild against qt 5.3 ?12:00
ubot5bug 1328841 in webbrowser-app "webbrowser slowed down on Qt 5.3" [Undecided,New] https://launchpad.net/bugs/132884112:00
oSoMoNis it the version in trusty?12:00
oSoMoNwell, actually the version in utopic is the same as in trusty, until we do a new release12:01
oSoMoNi.e., did you just do a simple rebuild of the version in the archive against qt 5.3?12:02
oSoMoNif so, then it’s likely that compositing is not enabled, hence the general slowdown and clipping errors12:02
MirvoSoMoN: check the PPA https://launchpad.net/~ci-train-ppa-service/+archive/landing-005/+packages - a rebuild of the lataest one in archive12:13
Mirva simple rebuild indeed12:13
oSoMoNMirv, ok, so that explains it, when a new version of oxide hits the archive (hopefully later this week), another rebuild should make the issue go away12:14
oSoMoNI’ll comment on the bug12:14
MirvoSoMoN: ah, that'd be great then. thanks for commenting!12:14
MirvI'll then rebuild it again, too, since it's one of the packages that depends on qtbase-abi-5-2-1 -> required rebuild12:15
rsalvetiogra_: ChickenCutlass: one problem I found yesterday, is that we now have 2 pulseaudio instances running at the same time12:39
rsalvetibecause of the split-greeter12:39
ChickenCutlassthat’s not good12:40
rsalvetiit seems we now have 2 maliit-servers running12:40
ChickenCutlassrsalveti: I noticed we have 2 of everything12:40
rsalvetiand that's the main process that triggers pulse12:40
ChickenCutlasslots of extra memory12:40
rsalvetiyeah =\12:40
=== alan_g|lunch is now known as alan_g
rsalvetiwhere is mterry?12:40
ogra_rsalveti, yes, i told you so yesterday12:42
ogra_we run two sessions12:42
ogra_one for the lightdm user and one ofr phablet12:42
rsalvetiright, but didn't know we had 2 pulse running12:43
rsalvetias that might cause additional issues for me12:43
rsalvetinot sure if we really need 2 though12:43
seb128the lightdm session shouldn't be running when the phone is unlocked though?12:43
rsalvetiit's always running12:43
seb128why?12:43
rsalvetinot sure, need to ask mterry12:43
seb128on desktop we don't run the greeter all the time12:43
ogra_ChickenCutlass, rsalveti, additionally to running two sessions there is also bug 132558012:43
ubot5bug 1325580 in unity8 (Ubuntu) "after split greeter landing unity8 and the greeter consume a lot more memory" [Undecided,New] https://launchpad.net/bugs/132558012:43
seb128rsalveti, well, split greeter or lock-in-session both have tradeoffs12:44
ogra_seb128, on desktop we dont run the greeter at all once autologin is enabled12:44
seb128the main motivation for the split greeter was to have only 1 implementation of the lock screen12:44
ogra_but here the greeter is the lockscreen12:44
seb128rather than one in lightdm and one in session12:44
ogra_right12:44
seb128ogra_, no, the lock screen is unity on desktop12:44
ogra_so you need to run it all the time in case the user locks the screen12:44
ogra_ah12:45
rsalvetiI know the reasoning, just don't like much the side effects12:45
seb128right, it's all tradeoffs12:45
seb128we could decide to change back the approach12:45
ogra_i think we should at least be able to sigstop the stuff12:45
ogra_that will still eat your RAM though12:45
seb128well, I don't see why it needs to run when the screen is not locked12:45
seb128on desktop we close it on login12:45
seb128and open it back on switch user12:45
ogra_probably because spawining all the stuff takes to long12:45
seb128which is sort of a lock case12:45
rsalvetiright, spawning everything every time the user locks the screen might not be ideal12:46
ogra_i guess only mterry can asnwer this properly though12:46
rsalvetimight consume too much cpu then12:46
rsalvetiand that will eat your battery12:46
ogra_right, sigstop should work though12:46
ogra_but still ... eats your RAM ...12:46
ChickenCutlassogra_: I am worried about the extra memeory overhead12:46
rsalvetinot sure we can have a workaround for the amount of ram consumed though12:46
rsalvetispecially on bq, that we have ~900mb of ram12:47
ChickenCutlassrsalveti: already, do a ps and its like way too many processes12:47
ogra_ChickenCutlass, yes, it got pretty noticeable n dogfooding ... i can definitely only have half of the webapps open i usually use here12:47
ChickenCutlassits bad12:47
ogra_before they start respawning12:47
pittihello12:47
pittiah, freenode is back :)12:47
rsalvetiright12:47
ogra_(and losing their history ... i wouldnt mind the respawning if i wouldnt lose that all the time)12:47
pittidoes anyone know how I can run a click app on the phone from teh command line?12:47
ogra_ubuntu-app-launch12:48
pittiI ssh'ed in, then did cd `click pkgdir com.ubuntu.calculator`12:48
pittiand then what's in the .desktop file:12:48
ogra_with the full app name (including the version) as the key12:48
pitti$ qmlscene -qt5 ubuntu-calculator-app.qml12:48
pittiQUbuntu: Could not create application instance12:48
pittiAbgebrochen (Speicherabzug geschrieben)12:48
ogra_ah12:48
ogra_you need --desktop_file_hint=12:48
ogra_point it to any .desktop file12:48
pittiwell, if that's in the .desktop file, how does Unity start that?12:49
ogra_it doesnt use the .desktop file12:49
seb128pitti, using ubuntu-app-launch12:49
ogra_thats a silly bug in qmlscene ... you need to hand over the option but it wont actually be used for anything12:49
pittiseb128: I did play with that, but I coudln't get it to do anything useful (at least not in a chroot)12:49
seb128pitti, tedg might be able to help you there12:50
pitti$ ubuntu-app-launch com.ubuntu.calculator12:50
pitti** (process:4489): WARNING **: Unable to find keyfile for application 'com.ubuntu.calculator'12:50
pitticom.ubuntu.calculator1.3.27912:50
pittibut click list has that ^12:50
rsalvetiogra_: wonder if we can at least not start 2 maliit-servers12:51
pittierr, with a tab between name and version12:51
ogra_pitti, ubuntu-app-launch com.ubuntu.gallery_gallery_2.9.1.98912:51
rsalvetiogra_: how would you use the keyboard on the lock screen?12:51
seb128pitti, https://wiki.ubuntu.com/Process/Merges/TestPlan/ubuntu-app-launch might have useful info?12:51
seb128pitti, " upstart-app-launch com.ubuntu.clock_clock_$(version from click list)"12:51
ogra_pitti, you need the version (you can assemble the actual name from "click list" output)12:51
pittiah, that works:12:51
pittiubuntu-app-launch com.ubuntu.calculator_calculator_1.3.27912:51
ogra_yeah12:51
pittiok, so I have two questions:12:52
ogra_rsalveti, i have no idea12:52
pitti- what's the _calculator_ and how do I find out what to put there?12:52
pitti- why does the .desktop file have a non-working Exec= ?12:52
ogra_rsalveti, i know that password input, number input and pattern are on the RTM list though12:52
ogra_iirc12:52
ogra_pitti, Exec= thats the app confinement stuff mangling it when you "click install" the package12:53
rsalvetiogra_: oh, right =\12:53
rsalvetithat's annoying12:53
ogra_right12:54
ogra_on BQ specifically i guess12:54
davmor2rsalveti: telepathically you just think your password and the chip in your head transmits it to the device......Next you'll be saying that you don't have a chip in your head won't you :D12:54
ogra_with the lower ram12:54
rsalvetiogra_: my problem is now that I need to coordinate 2 pulses12:54
rsalvetinot sure if the current droid code supports that nicely12:54
ogra_davmor2, he told us it was "eye lasering" back then when they programmmed it ;)12:54
pittiogra_: thanks; any idea what the _calculator_ bit is and where I can get it from?12:55
ogra_rsalveti, well, for single user systems we *could* run a system pulse ... couldnt we ?12:55
ogra_pitti, nops12:55
rsalvetithat's a workaround, yes, but trying to avoid that initially12:55
ogra_seems to always just be a duplication of the former word12:56
rsalvetirunning pulse as root is not cool :-)12:56
ogra_nope12:56
ogra_well, we would need a pulse user12:56
ogra_or some such12:56
rsalveticould just run one as lightdm though, and make phablet user to use that12:56
rsalvetior something along that line12:56
pittiogra_: and finally (sorry, --help doesn't work nor is there a manpage), any idea how to run it in the foreground?12:56
ogra_then we wouldnt be able to stop the lightdm session though12:56
pittiit just seems to spawn off into the background, which is rather inconvenient for testing and debugging12:57
pittii. e. like with qmlscene12:57
ogra_pitti, sorry, no, wait for tedg12:57
pittiogra_: ok; thanks for your help!12:57
ogra_there is surely a debug option or some such12:57
pittiseb128: thanks to you, too12:58
seb128pitti, yw!12:59
tedgpitti, Good morning12:59
pittiseb128: with --desktop_file_hint it indeed at least starts, just whines bitterly about "WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID" and other things12:59
pittihey tedg, how are you?12:59
jibelpitti, I think it's the key of the hook in click info12:59
tedgYeah, don't get used to desktop_file_hint, it should die soon :-)12:59
ogra_pitti, you are the phablet user, right ?12:59
ogra_(usng phablet-shell instead of adb)13:00
tedgpitti, Good, what are you trying to do? Start calculator?13:00
pittiogra_: "ssh phablet@nexus" over forwarded ssh port, yes13:00
pittitedg: right; I'm trying to figure out how to start a generic .click app for testing13:00
ogra_k13:00
pittitedg: I first tried with the Exec= line in the .desktop file, but that doesn't work (that needs this --desktop_file_hint= thing)13:01
tedgpitti, Specifically for testing (i.e. testing env vars) or just to test it.13:01
davmor2ogra_, rsalveti: Thinking outside the box when you select the login option can that phablet account not then spawn the keyboard?  That would then help with multiple accounts too right?13:01
pittitedg: then I got told about upstart-app-launch13:01
tedgpitti, Yes, the desktop files are only for legacy desktops, they're a misnomer.13:01
pittitedg: well, what would e. g. autopilot or an autopkgtest call?13:01
rsalvetidavmor2: problem is that we might have user specific configs for the keyboard as well13:01
ogra_davmor2, yeah, prob is that it is not that easy ...13:01
ogra_right13:02
rsalvetiunless the keyboard can react to that dynamically13:02
tedgpitti, Autopilot is using the GI bindings to call the start function in libual.13:02
ogra_and the indicators are started by default for all sessions ... that would need some config hackery13:02
pittitedg: u-a-l doesn't have --help or manpages; is there an option to run the app in the foreground?13:02
rsalvetibut duplicating everything doesn't seems right though13:02
tedgpitti, We have two start functions, one for testing flags and one with out.13:02
tedgpitti, No, it always executes under Upstart13:02
tedgpitti, Signals about what it's doing and the log file path, etc all are in the lib.13:03
davmor2ogra_, rsalveti: how does lightdm do it now if you have the a11y on screen keyboard up?13:03
ogra_davmor2, thats not using a server in the backend13:04
ogra_the desktop OSK is a standalone app ... malitt is a server/client thing13:04
ogra_*maliit13:04
rsalvetiwonder what would happen if during a call, you call greeter again and decide to start another user session13:04
rsalvetior just calling greeter13:04
rsalvetithe mic/speaker would come from the phablet session13:04
pittitedg: so what does u-a-l do with that app ID?13:04
ogra_rsalveti, well, it should stick to the currently open connection13:05
rsalvetiright, and would that be right?13:05
rsalvetiin the desktop use case the audio stream is corked13:05
ogra_if there is a call running ? sure13:05
pittitedg: oh, and wrt. to its argument: that's com.ubuntu.calculator_calculator_1.3.279 ; the first part is from "click list", the third the corresponding version from "click list", but what's the second (_calculator_)?13:05
ogra_yeah, thats logind13:05
rsalvetiright, because otherwise the audio will go over the other session13:06
ogra_if you lose your active seat it supends pulse13:06
davmor2ogra_: :(13:06
rsalvetiyeah, there are quite a few specifics that we need to handle here13:07
tedgpitti, We take the app id and create an upstart job instance with it.13:07
tedgpitti, The second is the application, there can be multiple apps in a click package.13:08
tedgpitti, There's upstart-app-triplet that'll help build them.13:08
pittitedg: ah, does com.ubuntu.calculator_calculator.desktop map directly to these first two parts?13:08
pitti$ ubuntu-app-triplet com.ubuntu.calculator13:09
pitticom.ubuntu.calculator_calculator_1.3.27913:09
pittitedg: ah, I see13:09
tedgpitti, For most of our packages there's only one app though.13:10
pittitedg: what would u-app-triplet do if there's more than one? print a list of all triplets?13:11
tedgpitti, It chooses the first one. You can adjust it to by passing "first-listed-app" or "last-listed-app" for the app name.13:15
=== rickspencer3_ is now known as rickspencer3
dobeywhom can we lobby to, in order to get proper official support for N5 (since its hardware more closely matches what the Meizu phone will ship with)?13:15
pittitedg: ah, splendid; many thanks for your help!13:16
davmor2popey, pmcgowan: https://bugs.launchpad.net/music-app/+bug/1324105  I knew there was a bug :)13:19
ubot5Ubuntu bug 1324105 in Ubuntu Music App "music-app crashed with SIGSEGV in GriloDataSource::removeModel() when using with Qt 5.3" [Undecided,Confirmed]13:20
davmor2popey: so it's grilo causing the crash so I guess once they move to the new version they lose grilo maybe?13:21
=== pete-woods is now known as pete-woods-lunch
pmcgowandavmor2, ah so indeed looks like scanning13:22
popeyk13:22
davmor2I remember timo telling me that musicplayer was the only hold back on multimedia which certainly seems to be the case although I haven't try camera so I'll do that today13:24
pittirsalveti: is it possible to pass qemu options to ubuntu-emulator? I'm particularly interested in -snapshot, i. e. I want a transient overlay13:25
rsalvetipitti: yes, just not with ubuntu-emulator run, but there's a way to give qemu arguments13:26
davmor2popey, pmcgowan: so the camera app doesn't seem to fill the screen on flo in qt5.3 there is a black boarder on both sides13:26
rsalvetiwe also use snapshots internally13:26
pmcgowandavmor2, how about media player13:26
ogra_davmor2, like on mako today ?13:26
pmcgowanor gallery slideshow13:26
pittirsalveti: oh, I suppose "ubuntu-emulator snapshot --revert-pristine trusty13:27
pittirsalveti: pretty much does what I need13:27
rsalvetipitti: see goge-ubuntu-touch/ubuntu-emulator/run.go13:27
rsalvetioh, great then13:27
pmcgowanogra_, oh?13:27
rsalveti:-)13:27
ogra_trusty ... heh13:27
pittiwell, I copied that from https://wiki.ubuntu.com/Touch/Emulator :)13:27
ogra_pmcgowan, i got dark grey stripes in the camera app on the sides ... like ... since forever13:28
ogra_davmor2, ^^13:28
pmcgowanogra_, yeah, I never noticed that13:29
davmor2http://davmor2.co.uk/~davmor2/screenshots-phone/device-2014-06-11-142821.png13:29
davmor2ogra_: that wasn't always the case I'm sure13:29
ogra_davmor2, it is like that since an eternity though13:29
ogra_but yeah, there were versions where it wasnt like that13:30
davmor2maybe I wasn't looking that closely and was concentrating more on the transfer to gallery :)13:30
pmcgowandavmor2, bug it for ugo then if its not logged13:30
ogra_pmcgowan, camera-app bugs currently get the response "it is being re-written anyway" ...13:31
davmor2pmcgowan: it's on mako but it is far more noticeable on flo13:31
davmor2indeed13:31
ogra_we should just make sure the new app doesnt have it also13:31
pmcgowanogra_, could be appropriate for this bug but god to log13:31
pmcgowangood13:32
davmor2omg it's really bad on manta the thinkness scales with the screen increase13:32
ogra_thinkness ?13:33
ogra_funny word :)13:33
davmor2thickness even13:33
cjwatsonogra_: unity-scope-click> No, that's a new warning emitted by gcc-4.9; pitti has already forwarded it to dobey13:33
ogra_ah, cool13:33
pittiyay (not!) -Werror in production builds..13:35
ogra_yeah13:36
sil2100dholbach: hey!13:39
pittihm, seems the emulator still doesn't like me; 10 minutes, and it's still black, and no progress any more on the terminal13:39
dholbachhey sil210013:40
sil2100dholbach: so, our session is in an hour, right?13:41
ogra_pitti, did you build an i386 one ?13:41
ogra_the armhf one is no fun ...13:41
pittiogra_: no, armhf; I'll try with x86 now13:41
dholbachsil2100, yes, 1h20m13:41
dholbachsil2100, with a majority of the session covered in xnox session, I think I could just quickly summarise the workflow for getting something in the distro the usual way, and then resort to asking you questions about the citrain process and everything and relay questions - what do you think?13:42
sil2100dholbach: since xnox has his in 20 mintues - should we also join his session?13:42
sil2100dholbach: ok ;)13:43
sil2100dholbach: anyway, since 'our' session is on the client track, I guess we'll simply cover things there13:43
sil2100I have some slides so I can quickly overview what CI Train is about and how to release through it13:44
dholbachnice!13:44
dholbachyeah, I had to put it into the client track because everything else was full yesterday when I looked13:44
=== olli_ is now known as olli
davmor2rickspencer3: you are live I know it's the wrong channel I don't care though14:00
cwaynedavmor2: hahahah14:03
=== chihchun_afk is now known as chihchun
=== pete-woods-lunch is now known as pete-woods
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== dandrader is now known as dandrader|afk
=== gnu is now known as Guest23946
pittirsalveti: hm, I tried "ubuntu-emulator snapshot --revert-pristine adt", but I still have all of my files in /home/phablet/; is that meant/known to only affect some images/partitions?14:52
rsalvetipitti: hm, no, should revert everything in theory14:53
* pitti destroys and re-creates14:53
rsalvetimight be a bug14:53
pittirsalveti: I'll reproduce and file it14:53
rsalvetithanks14:53
pittiI was actually about to file the crasher14:54
pittirsalveti: oh, sounds pretty much like bug 132030714:55
ubot5bug 1320307 in goget-ubuntu-touch (Ubuntu) "snapshot command doesn't work with x86" [Undecided,New] https://launchpad.net/bugs/132030714:55
rsalvetihm14:55
pittiqemu-img snapshot -l actually does show "pristine"14:58
seb128mterry, hey14:58
pittirsalveti: /home/phablet is on sdcard.img?14:58
mterryseb128, heyo14:58
rsalvetipitti: yeah, everything is part of sdcard.img14:59
seb128mterry, the "wizard isn't in production" was a "landing team is not going to fall on us if there is a bug" ... doesn't mean we should land buggy code, but there is less pressure to be careful14:59
mterryseb128, not sure I follow -- I was just saying that I'd like to consider turning wizard on in production images in the relatively short term15:00
seb128mterry, yeah, I know ... sorry, I was just clarifying my comment15:02
seb128or trying to15:02
seb128+1 to turn it soon15:02
mterry:)15:02
seb128but I would do "flush the queue"15:02
seb128test the wizard then15:02
mterryseb128, the queue of wizard branches?  Sure15:02
seb128and fix/iterate if it's not good enough15:02
seb128then turn it on15:02
ogra_turn it on !!!15:02
mterryYar15:02
ogra_and the boot animation too!15:02
mterryogra_, boot animation isn't on my RTM list, meh15:03
mterry:)15:03
ogra_pfft15:03
mterryPlus, it probably needs a tweak to be killed after sessions starts15:03
oSoMoNrsalveti, hey, I’m trying to use the X86 emulator on my laptop, but it hangs at startup (I just created an instance an hour ago or so), here’s the output I’m getting: http://pastebin.ubuntu.com/7628986/15:04
ogra_mterry, btw, you missed a discussion this moring about why the greeter session runs all the time15:04
mterryogra_, oh yeah.  OK.  Were there people that were able to answer that?  Cause I can if it matters15:04
ogra_it eats quite some amount of RAM ... which we will be very low on on the prod. phones15:04
ogra_mterry, right, rsalveti, seb128 and i were wondering what we can do about it15:05
mterryogra_, right.  So (A) I imagine 95% of the lifetime of a phone is spent in locked mode, so the 5% case is less interesting in my mind.  And (B) it was done that way for instantaneous locking -- otherwise we have to bring up a greeter session.  We tried that first, but it was a pain point for Design15:05
ogra_mterry, well, we will only have 1G for everything on BQ15:06
ogra_and the N4 already is very low on ram with the recent images15:06
ogra_(and N4 has 2G ... i cant even run two apps without the bg one being killed all the time)15:06
mterryogra_, understood.  The memory loss is due to some crazy memory usage by maliit-server that needs to be investigated and also unity8's core is very beefy, which needs investigation.  But we are probably going to revert split greeter for phone, but keep it for desktop images15:07
=== dandrader|afk is now known as dandrader
ogra_mterry, we should also have a way to SIGSTOP the whole session imho ...15:08
mterryogra_, does that free the memory?15:08
ogra_so it at least wont eat your CPU15:08
mterryogra_, Ah15:08
ogra_no15:08
ogra_but the CPU cycles15:08
mterryogra_, it would be nice if we could swap the whole thing to disk15:08
ogra_battery life became horrid with split greeter15:08
mterryogra_, I didn't think the CPU cycles were much15:09
ogra_my phone doesnt survive half a day anymore when i use it as i did before15:09
mterrynever seemed like much in top anyway15:09
ogra_(it used to last a day)15:09
mterrybut maybe it adds up.  Wonder what it is doing all that time.15:09
rsalvetioSoMoN: the output is fine, see if you can access with adb shell15:09
rsalvetione thing I noticed:15:09
mterryBut anything the greeter is doing, the shell is too.  Bugs to be fixed15:09
rsalvetiemulator: No kvm device file detected15:09
rsalvetiwithout kvm it will be a bit slow15:09
oSoMoNrsalveti, how do I enable kvm?15:10
rsalvetioSoMoN: it tries to find /dev/kvm, maybe that is not enabled in your bios15:10
ogra_mterry, well, does the greeter stop everything if the phone suspends ?15:11
mterryogra_, as much as the shell does?15:12
oSoMoNrsalveti, after running "ubuntu-emulator run", am I not supposed to be dropped in an SSH shell prompt to the device? I’m not getting anything, and the emulator screen is black15:12
ogra_oSoMoN, did you build an i386 emulator ?15:13
ogra_or an armhf one15:13
ogra_armhf is painfully slow15:13
rsalvetioSoMoN: no, you need to use adb shell or phablet-shell to have access to it15:14
oSoMoNogra_, I tried armhf first, then fell back to i386, but no luck still15:14
rsalvetithat window you started it will remain open with the output from qemu15:14
rsalvetihttps://wiki.ubuntu.com/Touch/Emulator#Using_the_emulator15:14
oSoMoNok15:15
* oSoMoN RTFM15:15
=== vying is now known as Guest55492
pmcgowanoSoMoN, ironically there is a session right now on using the emulator ;)15:17
oSoMoN_rsalveti, ok, I can adb shell into the device, but still nothing on the emulator screen15:18
rsalvetioSoMoN_: run ps and top, and see what is happening in there15:19
brendandMirv, do you know anything about QtContacts module?15:20
oSoMoN_rsalveti, init consumes 10% CPU constantly, unity8 is running15:22
rsalvetimight just be too slow because kvm is disabled15:23
rsalvetisee if you can enable that first15:23
Mirvbrendand: no, but renato does (he contributes to upstream development as well)15:27
seb128mterry, is the wizard supposed to run on unity7 session?16:01
mterryseb128, no16:01
seb128mterry, it aborts on libmirplatformgraphics.so code16:01
seb128:-(16:01
mterryseb128, it listens for unity8-greeter upstart signals16:01
seb128mterry, well I tried to run the command manually16:02
mterryseb128, though I suppose that will need editing now that we're going to make the greeter optional on phones16:02
mterryseb128, aborted...  with any particular message?  Are you running under mir?16:03
seb128mterry, no, I'm running unity7 :p16:04
seb128I was trying to test it on my desktop16:05
seb128that used to work16:05
mterryah yeah16:05
mterryseb128, you people and your "Desktops"16:05
mterryWell I suppose I should say you people and your X desktops16:06
mterryMir desktop would in theory work16:06
seb128mterry, I'm trying to run it on unity8-desktop-mir, but I guess I need to hack the upstart job there16:07
seb128no luck starting it from the dash either :/16:08
seb128hitting an exception in libmirserver.so16:09
* seb128 needs to unbrick phone to test16:09
seb128mterry, I'm going to trust your testing and put that in a silo16:11
seb128one day those things are going to run on unity8-mir-desktop!16:11
mterryseb128, hrm16:11
mterryseb128, I only tested on phone16:11
seb128mterry, yeah, which is the right place to test it16:12
seb128it's only that my phone is bricked atm16:12
seb128so I was trying to test somewhere else16:12
=== gatox is now known as gatox_lunch
=== Tassadar_ is now known as Tassadar
=== mhr3_ is now known as mhr3
=== alan_g is now known as alan_g|EOD
=== chihchun is now known as chihchun_afk
=== gatox_lunch is now known as gatox
sarnoldI don't know how far along our mobile pdf viewer is, but this might be interesting to consider if we're not very far along: http://www.foxitsoftware.com/blog/?p=64117:26
ogra_sarnold, it is pretty much stalled afaik17:29
ogra_since it need deep integration with the underlying architecture that nobody did yet17:29
ogra_(content hub etc ... you cant just open pdfs ... the app needs to be written for the architectural design)17:29
sarnoldogra_: I figured it'd be a fair amount of work..17:30
ogra_yep17:30
=== dandrader is now known as dandrader|lunch
ogra_we already ship all bits and pieces (poppler mainly)17:30
ogra_just missing all the integration17:30
dobeyi wonder if reverting the split greeter will fix the screen not waking up issue on n517:47
* ogra_ doubts that 17:47
=== Ursinha is now known as Ursinha-afk
=== dandrader|lunch is now known as dandrader
=== Ursinha-afk is now known as Ursinha
mhall119ogra_: theibaud is giving you a run for most apps published19:02
ogra_haha, yeah, i noticed19:02
ogra_after i landed ten games he landed 10 french apps19:03
mhall119on a related note, beuno we sure could use a way to filter apps by language19:03
ogra_mhall119, you can already ...19:03
ogra_up to the developer19:04
mhall119where?19:05
ogra_in the submission form19:05
ogra_final page before you provide the click app foor review19:05
ogra_*for19:06
beunomhall119, filte where?19:06
mhall119beuno: in the results from the store19:06
ogra_beuno, by target audience/language19:06
mhall119I have a lot of apps available to install in a language I don't speak19:07
ogra_because the dev didnt restrict them19:07
beunoright19:07
beunocorrect19:07
mhall119ogra_: I see how to limit my app by country, but not by language19:07
beunoand they also may be punching in a foreign language in the english description field19:07
ogra_right ... i thought they were the same ...19:07
beunowhich may be a UI issue19:07
ogra_but it is indeed by country19:08
mhall119beuno: quite often, yes19:08
beunoso language should be automatic19:08
mhall119so I think this wouldn't so much be "Don't let non-French speakers download my app", but rather "My apps is available in French and German" and then if the user says "I only speak English" it won't show that one19:09
beunoif your device is in english, you should only see apps in english19:09
ogra_i dont really want that ...19:09
beunothe apis are certainly there for the scope to allow users to select languages19:09
ogra_i might want to keep my phone in english but still use german apps19:09
mhall119it's decent enough for the first release19:10
beunobut maybe we need to think about this a bit19:10
ogra_and because i'm weird i would want to use a french keyboard in that setup19:10
popey+119:10
popey(to ogra_ being weird)19:10
rickspencer3uh, even I would want to see French apps, but would certainly keep my phone in English19:10
ogra_heh19:10
brendandplars, hey19:11
rickspencer3what's wrong with just showing all the apps?19:11
popeywe dont show all apps19:11
popeyonly a subset19:11
beunowell, the idea is that people would translate french apps, at least the description to english19:11
popeyonly 100 are returned, which is IMO a problem19:11
ogra_rickspencer3, that mhall119 needs to learn french ;)19:11
popeyI can't even see my own apps listed on my phone19:11
rickspencer3ogra_, or he could just not install apps that have no English translation?19:11
ogra_or that19:11
mhall119rickspencer3: I do need to learn french, yes, but in the mean time the first ~20 apps being suggested to me in the Dash I can't understand19:12
ogra_well, specifically the webapps (which are essentially just better bookmarks atm) are tricky19:12
rickspencer3mhall119, well, wait until the apps page has the new design before we decide we need to make changes19:12
mhall119I don't recall Android ever presenting me with French-only apps to install19:12
mhall119ok, if there's *some* solution coming, I'm happy to wait19:12
rickspencer3Android has 100s of Ks of apps19:12
rickspencer3there are many problems to solve when we hit those numbers :)19:13
mhall119rickspencer3: a large number of which I assume are not in English, but I still don't see those19:13
rickspencer3mhall119, right, that's point19:13
ogra_rickspencer3, how to spend our money and the like :P19:13
rickspencer3we'll see19:13
rickspencer3:)19:13
ogra_if we have 100s of Ks of apps ... canonical will have 5000 employees too19:13
rickspencer3I think when the apps are displayed in a sensible order (rather than in the reverse order they were uploaded) and are sensibly categorized ... a solution may present itself19:14
beunoagreed19:14
rickspencer3or the problem may not seem so bad19:14
beunobut we'll have to think about a good balance here19:14
ogra_yeah19:14
rickspencer3meantime, my apps should be on top .. always19:14
rickspencer3that's the only firm rule I insist on19:14
beunootherwise maybe the phone will be popular in china and none of us will be able to install an app19:14
beunorickspencer3, that's why we have "if openid == 'rickspencer3'" everywhere19:15
brendand"order by price"19:15
brendand"order by name"19:15
brendand"order by rickspencerishnish"19:15
=== dandrader is now known as dandrader|afk
rsalvetiogra_: shouldn't we fix the crash files to use a timestamp in the name as well?19:26
rsalvetisaid that in #ubuntu-devel yesterday but got no reply19:26
ogra_rsalveti, they have a creation time in ls19:27
ogra_isnt that enough ?19:27
rsalvetiogra_: nops19:27
rsalvetiogra_: once you get a crash file, you don't get any other from the same process19:27
rsalvetiuntil the crash is removed19:28
rsalvetisee on your desktop19:28
rsalvetisusres.2014-06-06_19:45:19.608452.crash19:28
rsalvetithere's a timestamp as well19:28
ogra_ogra@styx:~$ ls /var/crash/19:28
ogra_ogra@styx:~$19:28
ogra_:P19:28
rsalvetiso you can get multiply crashes19:28
ogra_my system is stable19:28
ogra_:)19:28
rsalveti*multiple19:28
rsalvetihaha, right19:28
ogra_well, we could indeed add a timestamp19:29
ogra_i thought they append an integer for foollowup craches19:29
ogra_*crashes19:29
rsalvetiI raised this to bdmurray during the sprint, and he thought we were already using timestamps19:29
ogra_rsalveti, we should drag bdmurry into a hangout next week ;)19:29
rsalvetiyup19:29
ogra_since it is his baby now19:29
=== artmello is now known as artmello|afk
tedgrsalveti, I brought this up before and pitti brought up the concern that we'd over report crashes.19:54
tedgi.e. running the same app and crashing the same way 20 times isn't useful data.19:55
rsalvetiright, that's true, but we're also losing useful crashes19:55
tedgPersonally, I think we should let the stack trace dedup handle that.19:55
rsalvetias once you got a single crash, and keep using the phone, you'll never get any other crash for the same process19:56
tedgWe have a bunch that are things like qmlscene that *aren't* the same app, even if the same path.19:56
tedgrsalveti, I think they clear at some point, but I'm not sure the mechanism there.19:56
rsalvetiI think we just enabled cron19:56
rsalvetinot sure yet if enabled on latest image though19:57
rsalvetiogra_ was working on that19:57
rsalvetibut without cron we don't have anyone cleaning that up automatically19:57
ogra_rsalveti, thats still in discussion19:57
ogra_if we ship a cron daemon it will be anacron, not cron itself19:57
ogra_and it will need s good bunch of diverts so the std. desktop cron jobs dont kick off19:58
ogra_s/s/a/19:58
rsalvetiright19:58
rsalvetiso yeah, short answer is that we're not erasing any crash file19:58
rsalveti:-)19:58
ogra_right19:59
ogra_until we either have anacron seeded or have whoopsie immediately send them19:59
asaci think whoopsie doesnt work either, right?19:59
asacor does it autosubmit now?19:59
ogra_it could if we had a cron daemon19:59
asaccan we please remove cron from the image?19:59
ogra_all bits and pieces are in place afaik19:59
asacoh its gone?20:00
ogra_asac, it isnt on there yet .... which causes tons of issues20:00
asacmisread what you said: )20:00
asacits great20:00
ogra_no its not20:00
asaccron needs to die20:00
rsalvetiyeah, we're trying to add it20:00
rsalvetinot remove it20:00
asacits the tool of the devil20:00
ogra_it makes our logs grow eternally20:00
rsalvetihaha, right20:00
asacencourages hacky solutions for hacky problems :)20:00
ogra_including app logs20:00
asacwe can make an api that uses alarms type of stuff to do things on a schedule20:01
ogra_asac, we wouldnt ship cron but anacron ... so you dont wake up the device ... and we would have to remove all existing cron jobs20:01
ogra_only keeping logrotate and whoopsie active20:01
asacdoes android ship cron or anacron?20:01
ogra_no idea20:02
asaccheck what our competitors are doing20:02
ogra_probably their own implementation of something similar20:02
tedgsystemd will solve all these problems of choice.20:02
asacthat might inspire us20:02
ogra_asac, well, inventing something from scratch right now doesnt sound like a good idea for RTM20:02
asactedg: does systemd support crontab format?20:03
tedgasac, Haven't looked that deeply, but I would guess not. Not their MO.20:03
ogra_asac, and we need a solution for logs and whoopsie ... both are hooked in with cron already20:04
ogra_i would say lets think about a cool solution at the next UOS ;)20:04
ogra_and go with anacron for RTM ... and some clever logrotate setup20:04
asacthe hooks are super cheap; so their existance shouldnt be taken into the equation20:04
asacwhat is not that cheap is the daemon; but we have many things running that could just call out20:04
ogra_well, at this point of the release i'd like to rely on proven technology20:05
ogra_we can still rip it out in an update and ship something shiny20:05
ogra_but have something that we know works reliable for now20:06
asacin practice, whatever we add will stay in there20:06
asacfor a while20:06
ogra_sure20:06
asacwe dont even have tools to track technical debt and remember to go back20:07
ogra_but there will be updates at some point20:07
ogra_and i would like the phone to work til that point ;)20:07
asacrsalveti: why are you trying? what is holding you back?20:09
asacoh getting rid of all the cron files :)20:09
asachehe20:09
asaci think i get it20:09
ogra_asac, right20:10
asachow about we chat with tvoss tomorrow about this problem20:10
ogra_thats a pretty ugly bunch of diversions we need to add20:10
ogra_other packages ship cron files ...20:10
ogra_like dpkg ...20:10
ogra_asac, we had a call with lool already20:10
asacwhat did he say?20:10
ogra_there are some workitems ...20:10
ogra_if i could find the google doc now :P20:11
asacwho was on that call?20:11
ogra_https://docs.google.com/a/canonical.com/document/d/1PKqrxzJbHqsHfsSnAqRdV1F42u-fXlh8nvTh8QFXNfY/edit?usp=drive_web20:12
ogra_geez. stop jumping around with your cursor !20:13
* ogra_ thinks thats asac secretl plan for distracting people 20:13
* asac deletes everything :)20:15
asacj.k.20:15
asacdamn there is history feature20:15
asacso that doc starts off very good20:15
asacbut then it becomes a mess. i think i can envision how the meeting went :)20:15
ogra_very coordinated ... the notes arent perhaps20:16
asacanyway, dont feel distracted by me20:16
ogra_asac, i think it is a good idea to use /dev/alarm as a long term solution and we should look deeper into that20:16
asacthe main reason i am still asking/looking is to understand how our grown decision making process works20:16
ogra_just not for RTM20:17
asacand how to improve the way we take architecture decision20:17
asacs20:17
asacbut ignore that :)20:17
ogra_well, the blocker for "true innovation" is always "but hey, will that work in convergence too"20:17
asacplease realize that we define the rules of what convergence mean; there is nothing saying that in convernge everything of the old world will be preserved in the same manner and all of the new world will also be there :)20:18
asacanyway, not on topic here20:18
ogra_no, but you will want to not reinvent all the wheels20:19
=== abhijit is now known as Guest66457
=== dandrader|afk is now known as dandrader
=== fmasi is now known as Guest75017
DX3MHi everyone.23:55
DX3MAnyone know if the HTC M7ul port is still being worked on?23:56

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