=== charles_ is now known as charles === _salem is now known as salem_ === salem_ is now known as _salem [03:10] seems those links in the topic are really outdated. [03:13] anyone happen to be maintining galaxy nexus build? [03:13] been looking around and hav't seen so i thought i would check in here as a last resort [03:14] The links in the topic are the information we have. [03:14] Most community ports are not active--of course, if independant developers don't maintain their port listing... [03:16] thanks nhaines [03:16] I might just have to run an emulator [03:16] On the bright side, with luck once the phone is "out" in February, that might trigger more interest in ports. But Canonical hasn't come through with the promised updated porting guide either. [03:17] (They're really busy getting things working for the bq phone, so hopefully post release they'll be able to finish that up--it's in progress, but just going very slowly.) [03:17] yeah. [03:17] An emulator works pretty well and runing apps on your Ubuntu system is actually very close to device use. [03:17] tempted to buy one of those devices but I assume they will be $500+ usd [03:18] One of which devices? [03:18] mx4 [03:18] meizu or what ever it's called [03:19] No idae about that. the bq Aquaris is maybe going to be more like €200. [03:19] i'll have to keep my eye on that [03:19] The Meizu MX4 is $293. [03:20] bbl [03:20] Up to $390 for the 64GB model. [03:20] Take care! [03:20] laptop gonna die [03:20] thanks for your help [03:20] appreciate it! [03:28] nhaines, Are the OEM's going to have the plugin ubuntu desktop? [03:29] plugin as an axtion bad syntax sorry [03:31] bubbasaures: maybe once it exists. That's about two years away. [03:31] Year and a half, maybe. 16.10. [03:32] nhaines, Cool, thanks, it is nice to see it getting this far. [04:11] aquarius: The SDK is using the key from ~/.config/ubuntu-sdk [05:46] http://www.omgubuntu.co.uk/2015/01/aggregator-scopes-ubuntu-phone [05:46] new article === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [08:11] good morning === milli` is now known as milli [09:12] good morning === sil2100_ is now known as sil2100 [09:30] Good morning all; happy Hugging Day! :-D === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === cking_ is now known as cking === _salem is now known as salem_ === tekojo_ is now known as tekojo === alan_g is now known as alan_g|lunch [12:14] aquarius, what a nice way to wake up today :) [12:15] your videos are super slick [12:16] rickspencer3, cheers === pindonga` is now known as pindonga [12:25] aquarius: yes seconded, they are pretty concise, easy to follow and audio on them are great, obviously the video has your ugly mug on it so is marred by that ;) But on a serious note, Well done that man keep up the good work :) [12:35] meizu with ubuntu touch expected to on sale in february in europe, is that right? [12:36] or am i thinking of the bq? === dandrader is now known as dandrader|afk [12:40] melvster, seems bq comes first, ref http://www.omgubuntu.co.uk/2014/12/bq-ubuntu-phone-launches-in-europe-this-february [12:41] jgdx: woot ... ill be ordering one when it comes out ... my nexus 4 seems a bit dated now [12:42] 1GB RAM [12:42] hmmm that's tight [12:43] wow price is low [12:43] expensive NOT to buy one! === alan_g|lunch is now known as alan_g === dandrader|afk is now known as dandrader [13:16] * asac updtes to latest === MacSlow is now known as MacSlow|lunch === marcusto_ is now known as marcustomlinson [13:50] sturmflut-work: hey, could you do me a favor and do a small writeup on how you got ubuntu installed on that tablet? in particular about the UEFI stuff etc [13:53] hi [14:20] bfiller, you were asking about bug 1413065. I agree that unity8 is probably involved if it's a focus problem. I am trying to track down what focus changes might have been made recently. Is this a regression or is it something that might have been broken for a while? [14:20] bug 1413065 in unity8 (Ubuntu) "[Call]The call interface sometimes disappears when making emergency call" [Critical,Confirmed] https://launchpad.net/bugs/1413065 [14:21] mterry: think it's been broken for a while and it's a timing thing [14:21] mterry: might have to do with the live call indicator? [14:21] bfiller, yeah you mention it doesn't always happen [14:22] mterry: yeah [14:22] mterry: or the fact the dialer is running fullscreen mode? [14:22] or a combo [14:23] bfiller, I wouldn't *think* either of those components would be able to trigger an unfocus but maybe === MacSlow|lunch is now known as MacSlow [14:31] mterry: I remeber there was a bug where the live call indicator was quickly displayed and removed when placing a call, but that was fixed a while ago. wondering if that might be related somehow [14:32] mterry: I'll try and find the bug as the MR might shed some hints === zyga is now known as zyga-afk [14:34] bfiller, interesting [14:35] bfiller, looking at code, I could believe we request focus for the dialer-app when a call starts [14:36] greyback_, ^ would it make sense that ApplicationManager.requestFocusApplication() would unfocus/re-focus if an app already had focus? [14:39] mterry: requestFocusApplication just emits a focusRequested(appId) signal, which unity8 will act upon. [14:39] ah [14:40] mterry: take care, surfaces get input focus, which is what Qt.application.active reflects [14:40] greyback_, ok so that just does ApplicationManager.focusApplication it seems in PhoneStage [14:40] there's an annoying concept of application focus in qtmir, which is due to mir. That concept is used to manage app lifecycle, so is not the same [14:41] mterry: I recommend you monitor MirSurfaceItem::focus, and only explore AppMan::focus* as last resort [14:42] greyback_, OK, I'm just tracing code while I wait for my phone to finish flashing and such [14:42] mterry: sure. Feel free to ask anything [14:42] greyback_, does unity8 direct things from a surfaceItem perspective? I thought u8 only cared about apps? === chihchun is now known as chihchun_afk [14:44] mterry: yes it does care about surfaces. It composites them, and looks after sending input events to those surfaces [14:45] mterry: Don't forget QML has a concept of (keyboard) focus. Only one QML item can get keyboard events - the one which has activeFocus=true. In unity8, an application surface is just another QML item (MirSurfaceItem) [14:46] if an app's surface has activeFocus=true, then that app have Qt.application.active==true too [14:46] the focus state of the surface in unity8, is passed to the application as "your surface is focused/not focused" [14:48] greyback_, where do we do that in u8? In the stage all I see is app stuff [14:49] mterry: see SurfaceContainer [14:50] greyback_, ok thanks, phone is flashed, I'll spend some time in a debugger and see if I can follow thread [15:02] mzanetti: I was already writing on it, but couldn't find the time to finish it. Basically I have to do a full re-install and confirm that all steps actually work, and there have been some changes in Vivid which should make things easier and which I have to test. [15:02] mhm. well, whenever you have time for it [15:10] bfiller, OK I see the unity8 call that starts the problem, have to figure out where in the chain the actual flaw lies, but it seems to involve trying to focus an already focused app [15:11] mterry: nice [15:15] jdstrand: hi! My part of bug 1219644 has landed in Vivid [15:15] bug 1219644 in Online Accounts setup for Ubuntu Touch "Account plugins should be made confinable by apparmor" [Medium,In progress] https://launchpad.net/bugs/1219644 [15:16] jdstrand: so, when you get some time, you can start working on the apparmor side [15:24] greyback_, so I put a breakpoint at MirSurfaceItem::updateMirSurfaceFocus(), but it doesn't seem to be hit during this bug [15:24] greyback_, if I comment out the top-level requestApplicationFocus in u8 that tries to focus the already-focused dialer-app, the bug goes away [15:24] mterry: qtmir::MirSurfaceItem::updateMirSurfaceFocus [15:25] So somewhere in the focus-an-already-focused app, we do something wrong [15:26] mterry: there's a fixme in mirsurfaceitem.cpp line 311 which might interest you [15:27] greyback_, that's unfocusing on startup? This bug doesn't happen on startup though [15:28] mterry: start of the application. Ok, was just a thought [15:28] greyback_, well updateMirSurfaceFocus only happens on activeFocusChanged. What would you expect to happen / what is correct behavior if shell tries to re-focus an app? [15:29] uh, oh, things you don't want to see on a phone emulator (current devel-proposed): http://paste.ubuntu.com/9806535/ [15:29] (and landing in busybox) [15:30] mterry: frankly, "refocus" should never happen [15:30] but it should be a noop if it does [15:31] Cimi, that u-s-s ci failure is not introduced by your branch. I think it's ci infra issues, but I haven't investigated yet. [15:31] greyback_, yeah I figure as much. But where in the stack do you prefer we check that and enforce a no-op? [15:31] mterry: why do you think it is a refocus? [15:31] greyback_, I'm also curious why it's not a no-op [15:32] could it instead be something stealing focus from the mir surface, and then the mir surface stealing it back again? [15:32] greyback_, because if I comment out a line in Shell.qml that does a requestApplicationFocus("dialer-app") that gets triggered when the user presses the call button in the emergency dialer, the bug goes away [15:32] greyback_, maybe u8's handling of that request is breaking it, and it's not a mir thing. Haven't determined that yet [15:33] mterry: qtmir & mir just pass the surface focus message from unity8 to the application [15:33] greyback_, but maybe they shouldn't if it's already focused? [15:34] pitti, check your USB cable :P [15:34] greyback_, is it possible Qt is taking that message on the app side and acting like an unfocus/focus then? [15:34] pitti, surely one of these virtual wires is loose [15:35] mterry: highly unlikely [15:35] ogra_: I tried another one, and also wiggled it a lot already! [15:35] :D [15:37] greyback_, well I can fix this bug by just guarding the Shell.qml call. But that seems like we're leaving some focus issue in place to hit someone else later. Any suggestions for another place to try a breakpoint? [15:40] sergiusens, ogra_: ok, seems to be a problem with finding the root partition; that still worked last week, are you aware of any changes there? [15:40] mterry: sorry no. Honestly I don't think you've got to the core of the matter. [15:40] sergiusens, ogra_: I filed it as bug 1413271, this has a log [15:40] bug 1413271 in android-tools (Ubuntu) "[vivid] emulator fails to find a root partition, landing in busybox" [Undecided,New] https://launchpad.net/bugs/1413271 [15:41] greyback_, I agree. That's why I'm still investigating rather than just guarding the Shell.qml call [15:41] greyback_, or are you saying that I'm going up the entirely wrong tree? [15:42] pitti: so this is different than xnox's problem about not being able to create [15:42] yes [15:42] I was creating an emulator just last Friday, which worked fine [15:42] mterry: no, you're in the rough area, QML's activeFocus is bouncing around for some reason [15:43] greyback_, but I'm reporting that it isn't -- updateMirSurfaceFocus, triggered off activeFocusChanged, isn't actually happening during the bug [15:43] Unless I screwed up that test. Can do it again [15:44] mterry: that method sends the IPC call to the dialer app to say is i or is not focused. There is no other way for that message to be sent [15:44] greyback_, OK, so if that method isn't hit, there's no way the app's Qt.application.active would change? [15:45] mterry: correct [15:45] * mterry will run that test again, maybe I accidentally queued up a 'c' in gdb [15:45] mterry: qtmir.surfaces: MirSurfaceItem::updateMirSurfaceFocus false - should see those in the unity8.log [15:46] greyback_, oh that's enabled by default? swell === dandrader is now known as dandrader|lunch [15:48] greyback_, this is what happens when Shell.qml requests focus for the already-focused dialer-app: [15:48] http://paste.ubuntu.com/9806703/ [15:49] which doesn't actually hit updateMirSurfaceFocus. But does seem to be unfocusing it [15:51] mterry: Application::setFocused - appId= "dialer-app" focused= false <- that looks wrong, that is something telling qtmir that the dialer-app is not being used. You see it then going into the suspended state. Then reume is called on it [15:51] yeah [15:51] so that's not surface focus, that's application "focus" [15:51] sorry I know the terminology is a nightmare, I hope to clean it up soon [15:51] greyback_, line 412 of application_manager.cpp [15:52] greyback_, should probably check if it's the same app before unfocusing [15:53] mterry: well is odd for unity8 to ask for an already focused app to be focused. But yes [15:53] mterry: I'd prefer that check being done in unity8, not for qtmir. [15:53] greyback_, sure, like I said, I could guard in Shell.qml against this as well, but seems like it would just be lying in wait for someone else [15:54] mvo: hi! Can I expect the hook program to be run in an environment where the DBus session is set, or should I assume that there's no DBus? [15:54] mterry: that qtmir code will go away [15:54] mterry: hence my preference [15:54] greyback_, I'm happy to also guard Shell.qml. If this qtmir code is short-lived fine. But if it weren't, I would really expect that qtmir wouldn't unfocus in this situation [15:55] mterry: sure. Only said it because it is code that has to die [15:55] ok [15:55] greyback_, thanks for your help! I'll go off and do this in unity8 [15:55] np [16:21] bfiller, ok MP filed. Works for me, but more testers is good too: https://code.launchpad.net/~mterry/unity8/dont-refocus-dialer/+merge/247165 [16:21] mterry: awesome, will try, boiko and salem_ please test as well ^^^ [16:22] It's a simple one-line qml change, so you don't need to wait for the debs to be built if you're feeling adventurous [16:22] bfiller: mterry: nice! I will test it soon [16:22] mterry, cool, thanks [16:24] mardy: I assume you mean access to DBUS_SESSION_BUS_ADDRESS via the env? I need to look at the details but I think you don't have this. https://code.launchpad.net/~mvo/click/lp1232130-kill-on-remove-2/+merge/237601 has some code to get it but its not merged and there were some concerns over it [16:24] mvo: yes, that one; I'm afraid we'll need it, sooner or later [16:25] mvo: there's the case when you remove an account plugin: we also remove the corresponding account(s), and we should notify any running app using this account that it's gone [16:26] mardy: right, we could use the approach from the MP, but that assuem the address is availalbe on /run [16:26] mvo: if it's not there, it means that there really isn't any session running, right? === zyga-afk is now known as zyga [16:30] mardy: yeah, you can use it I think someone (ogra?) mentioned that it having the file on /run/user/$uid/dbus-address was not meant as a real interface that people should rely on, worth double checking I guess [16:31] yeah, please get the DBUS_ADDRESS from the environment, that file isnt meant to stay [16:59] ChickenCutlass, ping [16:59] ChickenCutlass, about mp4 encoding in hardware on phones and whether it's doable :) [17:00] aquarius_: ah encode. [17:00] aquarius_: so the camera app does this on record [17:01] ChickenCutlass, yeah. I had this idea: I would like to have, basically, apple airplay on the phone. So something which pulls frames from /var/run/mir_socket and gives them to Some Chip In The Phone which gives back an mp4, and then I stream that mp4 over the network. Which, if it's possible, should involve almost no actual *CPU* time, so the phone won't bog down. [17:01] but I have no idea whether the mp4 chips in phones let you encode arbitrary incoming stuff :) [17:01] aquarius_: it might, maybe jhodapp would know that [17:01] and I thought: Frey knows this stuff. ;) [17:02] aha, jhodapp, ping then :) [17:02] lol [17:02] aquarius_: so jhodapp is the one who hocks all the bits together for multimedia [17:04] mterry: tested your MR - works great. fixes issues and no regressions that I can see during testing. [17:04] nvidia chips have the vdpau stuff which will encode arbitrary incoming things and give you an mp4 stream, but I don't know if the stuff you get in phones does. I shall ask jim :) [17:04] mterry: thank you for the quick turnaround! [17:04] bfiller, mterry awesome. [17:05] Hello - I'm a bit confused at the moment about (a) natively running touch apps on desktop vs (b) docking a phone to run a full desktop enviro vs (c) docking the phone to a *running* desktop session and controlling the phone from the desktop [17:05] aquarius_: I think you can feed a surface to the record interface and basically turn that into an mp4 [17:05] bfiller, sweet, maybe leave a comment in the MP so the unity8 folks know it's already gotten some testing and they can focus on code review side of things [17:05] I've seen (a) and know that (b) has always been part of the project. But is (c) an initial capability? [17:06] mterry: yup, did that [17:06] bfiller, awesome thanks! [17:07] ChickenCutlass, that'd be ideal, I think; that's what I was imagining, a little thing which connects together a mir surface, the record interface, and a network port to get a streaming mp4 of the phone screen with little or no cpu impact. [17:07] aquarius_: right take a look at qtubuntu camera [17:07] aquarius_, pong [17:07] jhodapp, see the above conversation to get up to speed -- and then I have some questions for you :) [17:08] aquarius_, ok, give me 5 mins [17:10] cheers :) [17:17] aquarius_, ok, so in theory what you want to do should be possible [17:18] jhodapp, yay! although "in theory" worries me ;) [17:18] aquarius_, we don't have anything tied in platform-wise other than camera recording though, and that's highly specific. We are missing a gstreamer plugin that would abstract this in our pipeline that could talk to media-hub [17:19] aquarius_, so driver-level on down, this is possible...we are missing the integration bits that would make this easy for you to do [17:20] jhodapp, this would be equally specific, though -- get the screen from mir. I'm not bothered about some generic way to expose this encoding ability to everybody :) === dandrader|lunch is now known as dandrader [17:21] aquarius_, of course :) [17:21] aquarius_, but it would be nice to have it all generic [17:22] MoPac: when Ubuntu desktop ships with Unity 8, that's when you can expect (c). It is not an initial capability. Maybe 16.10. [17:24] jhodapp, oh, totally, but I suspect everyone capable of doing this is already really busy :) [17:24] aquarius_, I'll add a todo list item for myself to look into this a little more for you and point you to some Android-level code [17:24] aquarius_, I'll try and get back to you tomorrow some time [17:25] jhodapp, what would it need? the camera uses gstreamer to send incoming video to the mp4 encoder? or does it all happen in the kernel or something? [17:27] aquarius_, there's an Android-level driver that reads the bits from the device...each device has its own specific driver...then there's a C++ class that abstracts it into a standard camera interface, again at the Android level. Right now for the camera recording, the video frames never leave the Android level...they get read in, sent to the encoder and output frames are sent to the MPEG4Writer class [17:29] aquarius_, what I did was to re-work the control interface for recording to work with hybris and our camera-app [17:31] jhodapp, ah, so it does all need to get hooked up at a low level... got it. [17:31] aquarius_, so really the only thing you need now is to get your hands on the output of the encoder [17:31] aquarius_, and ideally this would be done by gstreamer [17:32] aquarius_, because then you could pipe it to one of the network sinks [17:33] aquarius_, that might be possible to send through a fifo up to a new gstreamer plugin [17:37] jhodapp, that'd be totally excellent [17:37] jhodapp, I create a gst pipeline which is, basically, mir-as-mp4 ! networksink host=whatever port=whatever, and that's *it* [17:40] aquarius_, that would be the idea yes, but most of the work is identifying the right place to attach a fifo on the android side and then creating a new Gst "encoder" plugin that receives the data and sends the data out its sink port to the right network sink element [17:40] aquarius_, would you want audio in there too? [17:40] jhodapp, yeah. [17:41] Audio... hm. Yes, ideally. [17:41] the goal for this is to make screencasting really, really easy, as it is with AirPlay mirroring on iOS. [17:41] except without all Apple's brain-dead drm stuff built in :) [17:42] aquarius_, well a little trickier then but should still be doable...you would need the same as I described above, but another element to read the audio data from pulse, then the gstreamer mp4 mux plugin, then the network sink [17:42] at the moment screencasting the ubuntu phone is hard, because you can't do it at full resolution and framerate because it all happens on the cpu and so the phone bogs down. [17:42] audio is a nice-to-have, not an ssential. [17:42] aquarius_, ok, a proof of concept would be to just do video first [17:42] Audio's good for v1.1 [17:43] the three primary use cases for this, in my mind, are: demoing the phone, live, to someone on a big screen; showing the phone's screen in a window on your desktop for hangouts, etc; streaming the video to somewhere that it can be recorded. [17:43] the *real* use case for this is "use your phone to drive your TV", which is a proper user use-case rather than a techie use case, but that needs audio [17:43] and a whole bunch of other standards stuff like miracast, etc. [17:44] aquarius_, you know what would be ideal is to get AirTame ported to Ubuntu Touch [17:44] so being able to screencast by just streaming an mp4 stream to a network http server is enough to get this off the ground, and that's the bit which needs to be done inside the core OS. Everything else is niceness. [17:44] jhodapp, maaaaaaaaaaaybe. AirTame is proprietary :( [17:44] aquarius_, their driver, because they do this already for mobile devices and they developed the tech using primarily Ubuntu [17:45] because they wanna sell devices. [17:45] yes [17:46] Apple Airplay actually is nice and open, in theory -- run an http server and advertise it on zeroconf as _airplay._tcp and an iphone will detect it and try streaming to it. That would be how we'd do it. (Airplay then doesn't owrk because you have to do a stupid drm exchange, but we wouldn't do that bit. :)) [17:46] aquarius_, anyway, what you want should be possible, it's hard to predict what the performance would be like [17:46] aquarius_, yeah, if I'm not mistaken airplay does Apple's HTTP Live Streaming, which I've worked with a bunch in the past [17:47] jhodapp, oh, really? I can promise you that just taking the rawvideo output from mirscreencast and shovelling it over the network makes the phone bog down too much. I was hoping that if this were all done at a low level then there'd be hardly any cpu involvement at all; it's all just the mp4 encoder on a chip (which wasn't doing anything at all before) and the network stack [17:48] aquarius_, yeah, I'm just worried about feeding to GStreamer, but it's tough to say [17:48] (this is why I halve the size of screencasts, and only do 6fps, which doesn't make the phone bog down but looks really not smooth in videos :( ) [17:49] jhodapp, fair comment! [17:49] aquarius_, another option would be to modify the MPEG4Writer class to feed the output into a very tiny web server and keep it all at the Android level [17:50] that would mean that you don't stream *to* a remote device (your TV), but the TV streams *from* you? [17:51] aquarius_, yes, or you could do a simple http client as well [17:51] aquarius_, just depends on what's on the receiving side [17:52] ya. I'm inclined to suggest that the phone looks for zeroconf-advertised servers and streams to them, and then those servers can do what they like with the stream, but that's all handwave detail at the moment. The hard bit is getting an mp4 to stream at full resolution and framerate without the phone lagging to death :) [17:52] this was an encouraging discussion! [17:53] I need to work out how to have this be your priority task now ;-) Who's your boss? Do they like chocolates? :) [17:53] aquarius_, awesome, glad it was helpful [17:53] aquarius_, you were talking to him right before me :) [17:53] aquarius_, beer, lots of beer would be my suggestion ;) [17:57] not sure my liver is up to the challenge of bribing ChickenCutlass ;) === alan_g is now known as alan_g|EOD === SturmFlut|AFK is now known as SturmFlut [18:21] SturmFlut, hey, soo just pushed some new changes to this branch: https://code.launchpad.net/~brandontschaefer/libsdl/sdl2-needs-rebuild-mir [18:21] which should fix your issues, if you dont mind giving it a test! [18:22] also the fixes are aimed at vivid, not utopic sadly [18:22] bschaefer: So my phone should be running Vivid? [18:23] SturmFlut, if possible yes [18:23] i just have it on vivid sooo its pretty hard to test out, i also usually use: https://hg.libsdl.org/SDL [18:23] haha, soo i need to test main out more [18:23] bschaefer: Oh, you fixed a lot of stuff in Revision 18. [18:24] yeah its stuff i've fixed upstream [18:24] but never ported back into main [18:24] i think the main things though are: 114 === modified file 'src/video/mir/SDL_mirsym.h' [18:24] as with out that change, dlsym fails [18:24] soo the mir backend is skipe [18:24] skipped* [18:27] General question to the channel: Which version will the commercially available devices (Bq Aquaris etc.) be on? All my current apps are targeting Utopic because the mako stable channel is Utopic, and I want all my apps to run on as many devices as possible [18:31] SturmFlut, well, ideally the version the phone is released on? Though targeting utopic isn't a bad idea, just Im not sure if i'll be able to get an SRU in to fix these issues in Utopic [18:31] i could always make a ppa... [18:33] bschaefer: I'll give it a try later, thanks for your work and thanks for pinging me :) [18:33] SturmFlut, np, thanks for testing it out! === salem_ is now known as _salem [18:50] SturmFlut: bq will ship with utopic and move to vivid via OTA sometime in March (probably) [18:50] (maybe a bit later) [18:52] popey: Ah, thanks. So I'll continue targeting Utopic [18:53] SturmFlut, if that branch works ill create a ppa to get it so you can work with utopic! [18:53] (it should work...) === greyback__ is now known as greyback === _salem is now known as salem_ [19:16] mzanetti, kgunn: I just published http://sturmflut.github.io/linux/ubuntu/2015/01/21/installing-ubuntu-15.04-on-baytrail-tablets/ , it is not complete but should contain enough information to to a full installation [19:16] SturmFlut: nice! thanks :) [19:17] mzanetti, kgunn: If not people can file bug reports against my blog on github (which might be the nerdiest thing I've ever said) [19:17] no, there has been worse [19:17] :D [19:18] mzanetti: I see you know me well... [19:28] jgdx, your wifi-fix-cancel-test branch includes my dialog cpo work around, which won't work in rtm yet... that's why you're seeing that problem [19:32] why would 'init' be using lots of cpu? [19:33] my phone was quite hot earlier and init was constantly jumping between ~4% and ~20% cpu usage. seems to not be doing so now, after i rebooted, though [19:37] kenvandine, wifi-fix-cancel-test was for vivid.. [19:37] kenvandine, I fixed the test in rtm-forgetful [19:38] *that test [19:38] jgdx, oh... that error about Dialog seemed to be from 14.09 though [19:42] Does anyone know if hostapd is working, so I can use a Nexus 4 in AP mode? [19:43] jamie_, i've heard that can work, with some scripts [19:43] jamie_, but i don't know how, just heard people have done it [19:44] dobey, bug 1410506 [19:44] bug 1410506 in mtp (Ubuntu RTM) "MTP looping between start and stopping causing constant ~10% cpu load" [Undecided,In progress] https://launchpad.net/bugs/1410506 [19:45] kenvandine - do you have any links that could help me? [19:46] jamie_, sorry, no... cyphermox ^^ [19:46] ah [19:47] jgdx, can you review this backport for me? [19:47] https://code.launchpad.net/~ken-vandine/ubuntu-system-settings/rtm-brightness_crash/+merge/244202 [19:53] kenvandine, sure [19:54] jgdx, thx! [20:00] jamie_: I just logged into my Nexus 4 via adb shell, made the image writeable, "apt-get install hostapd", took the example configuration, "service network-manager stop" and ran hostapd. Seconds later the new SSID appeared on my other devices. So AP mode with hostapd seems to work on the Nexus 4. [20:00] Brilliant - will try it. Which channel / version are you running? [20:00] nice! [20:01] jamie_: stable, 14.10 r14 [20:03] kenvandine, are you looking at rtm silo 4? [20:04] jgdx, not yet... i was looking at what i wanted to land after silo 4, since silo 4 will need a rebuild after silo 19 lands [20:05] but testing silo 4 wouldn't be a waste, since the 2 silos don't touch the same plugins [20:06] SturmFlut: btw, https://plus.google.com/105839534016416729197/posts/ePSLDescKL3 [20:06] kenvandine, nope. I am done testing, looks good. But would be nice to get another pair of eyes on it. [20:07] SturmFlut: i must have posted at the exact same time as Michael :D [20:07] https://plus.google.com/116997345010659023379/posts/RiuPtGyEY8Y [20:07] jgdx, can you add some more detail for testing on line 54? [20:07] don't want to run the entire plan there [20:08] Wellark, was there a chance recently to PIN prompting when coming out of flight-mode? Wasn't this supposed to be an auto-prompt? [20:11] mzanetti, kgunn: Haha, nice! [20:12] kenvandine, done [20:17] jgdx, thx === salem_ is now known as _salem [20:35] * Jon9012 is away: I'm busy === Laney is now known as Guest54456 [21:48] bschaefer, popey: I built lp:~brandontschaefer/libsdl/sdl2-needs-rebuild-mir manually on my Utopic device because I am obviously too stupid to do proper cross compiling. If I omit the "--enable-mir-shared" from the standard ./configure line I actually get a libSDL2.so which loads libmirclient.so.8 and libmircommon.so.2, but then produces a segmentation fault in libprotobuf.so.8 [21:49] SturmFlut, hmm i just tested that branch out on the phone... and it worked [21:49] the libprotobuf sounds like a mir issue... [21:49] bschaefer: But you are on Vivid, right [21:49] yeah [21:49] let me re-flash my phone with utopic and see what happens [21:50] SturmFlut, what did you test? [21:51] bschaefer: https://github.com/Sturmflut/ubuntu-touch-sdl-template/blob/master/src/main.c [21:51] SturmFlut, im guessing it seg faults in the Init part right? [21:51] bschaefer: Jep, was about to type that [21:52] yeeeah, something in mir is wacky... what happens when you try to run a mir demo? [21:52] sudo apt-get install mir-demos [21:52] then try mir_demo_clients_eglplamsa [21:52] or something (in a desktop file) [21:53] im wondering if somethings being strange in mir... or if its sdl doing something weird [21:58] bschaefer: Got /usr/bin/mir_demo_client_eglplasma to work on the phone [21:58] bschaefer: ...let me try some other things, I suspect that it is my fault... [21:58] shoots, thats strange, what version of libproto is it using? [21:59] i remember libproto being weird at some point as well...but i dont remember the cause [21:59] libprotobuf.so.8 => /usr/lib/arm-linux-gnueabihf/libprotobuf.so.8 (0xb6ce5000) [21:59] SturmFlut, you can always try out a test in SDL/tests/ [22:00] theres quite a few tests in there [22:00] but hmm [22:00] im not sure why it wants to only fail through SDL [22:46] * Jon9012 is back (gone 02:10:18) [22:55] * Jon9012 is away: I'm busy [22:56] Jon9012: you might want to disable that [23:29] bschaefer: At least on my device it goes like this: MIR_Available() calls SDL_MIR_LoadSymbols(), which calls SDL_LoadObject(libmirclient.so.8) and SDL_LoadObject(libxkbcommon.so.0). Both libraries get loaded and then the functions are resolved. Everything goes well, so MIR_Available() calls SDL_MIR_UnloadSymbols() to unload the libraries again. [23:29] bschaefer: In the next step MIR_CreateDevice() is called, calls SDL_MIR_LoadSymbols() again, and this time the segfault occurs *inside* SDL_LoadObject(libmirclient.so.8) [23:30] Hmm i wonder if its not correctly releasing them? [23:30] SturmFlut, what you could try, is to use --disable-mir-shared [23:30] in the debain/rules [23:30] instead of --enable-mir-shared, as if its disable it will just return 1; [23:31] and will not load anything [23:34] bschaefer: Rebuilding... [23:35] SturmFlut, sorry for all of these weird issues...some times the dynamic way of loading is very fickle [23:37] bschaefer: I wonder why the second call to SDL_LoadObject() fails [23:37] SturmFlut, yeah ... its a bit strange but the reason we load then unload is we just need to double check we should even use that backend [23:37] if we end up using a different backend, it would leak [23:37] sooo .. hmm thats really strange Ill have to re-flash my phone to check that out my self [23:42] so is there any word on a US release date for an ubuntu phone from BQ yet? [23:42] doesn't seem like those Meizu phones will be out any time soon [23:43] bschaefer: rebuilt it with --disable-mir-shared, still segfaults. Let me throw in another round of debugging... [23:43] latest rumor was BQ was releasing to the EU in the first week of feb 2015 [23:45] SturmFlut, geez.. hmm I think theres something wrong with the libs for some reason... Ill need to also take a look... Dont want you to spend to much time on that! [23:45] join #ubuntu-release [23:47] bschaefer: All my other app ideas are on hold because of issues I can't do much about. This SDL issue at least is something I can work on. [23:48] RAOF, hey, do you remember any strange issues from a crash in protobuf? [23:48] RAOF, on utopic? [23:48] bschaefer: Protobuf is stupid about being loaded twice? [23:48] RAOF, it would seem that way... though when disabled it still seems to crash [23:49] ie: if you load it twice into a process at the same time, it aborts. [23:49] RAOF, ill need to re-produce the issue... normal mir stuff works [23:49] RAOF, right. Though he disable shared sooo it shouldn't be loaded twice anymore [23:49] and it still seg faults [23:49] RAOF, was just curious if you've hit something like that before, i need to dig into it more [23:50] Hm, no, that's not familiar. [23:50] RAOF, dang, nm then! Thanks [23:53] I am quite surprised how fast the Nexus 4 is at compiling code. No match for the machines I usually work with, but for a consumer phone the performance is pretty solid. [23:57] charles: hey, just wanted to let you know that the one-time alarm status shown in the clock app now updates correctly when i-dt disables after it has gone off :) .. You can now correct your manual test about that refresh ui bug. [23:58] charles: oh and also I have a branch ready to fix https://bugs.launchpad.net/ubuntu-clock-app/+bug/1372545 [23:58] Launchpad bug 1372545 in Ubuntu Clock App "Day-of-Week picker in Alarms doesn't respect locale" [Medium,In progress] [23:58] bschaefer: I was wrong, after rebuilding with --disable-mir-shared the backtrace looks different [23:58] bschaefer: http://paste.ubuntu.com/9811754/ [23:58] charles: so the alarm days-of-week picker should now respect your locale..the alarm time-picker doesn't yet, but that's due to the sdk