/srv/irclogs.ubuntu.com/2015/01/21/#ubuntu-touch.txt

=== charles_ is now known as charles
=== _salem is now known as salem_
=== salem_ is now known as _salem
RobbyF2seems those links in the topic are really outdated.03:10
RobbyF2anyone happen to be maintining galaxy nexus build?03:13
RobbyF2been looking around and hav't seen so i thought i would check in here as a last resort03:13
nhainesThe links in the topic are the information we have.03:14
nhainesMost community ports are not active--of course, if independant developers don't maintain their port listing...03:14
RobbyF2thanks nhaines03:16
RobbyF2I might just have to run an emulator03:16
nhainesOn 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:16
nhaines(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
RobbyF2yeah.03:17
nhainesAn emulator works pretty well and runing apps on your Ubuntu system is actually very close to device use.03:17
RobbyF2tempted to buy one of those devices but I assume they will be $500+ usd03:17
nhainesOne of which devices?03:18
RobbyF2mx403:18
RobbyF2meizu or what ever it's called03:18
nhainesNo idae about that.  the bq Aquaris is maybe going to be more like €200.03:19
RobbyF2i'll have to keep my eye on that03:19
nhainesThe Meizu MX4 is $293.03:19
RobbyF2bbl03:20
nhainesUp to $390 for the 64GB model.03:20
nhainesTake care!03:20
RobbyF2laptop gonna die03:20
RobbyF2thanks for your help03:20
RobbyF2appreciate it!03:20
bubbasauresnhaines, Are the OEM's going to have the plugin ubuntu desktop?03:28
bubbasauresplugin as an axtion bad syntax sorry03:29
nhainesbubbasaures: maybe once it exists.  That's about two years away.03:31
nhainesYear and a half, maybe.  16.10.03:31
bubbasauresnhaines, Cool, thanks, it is nice to see it getting this far.03:32
bzoltan_aquarius: The SDK is using the key from ~/.config/ubuntu-sdk04:11
lotuspsychjehttp://www.omgubuntu.co.uk/2015/01/aggregator-scopes-ubuntu-phone05:46
lotuspsychjenew article05:46
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning08:11
=== milli` is now known as milli
sturmflut-workgood morning09:12
=== sil2100_ is now known as sil2100
JamesTaitGood morning all; happy Hugging Day! :-D09:30
=== 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
rickspencer3aquarius, what a nice way to wake up today :)12:14
rickspencer3your videos are super slick12:15
aquariusrickspencer3, cheers12:16
=== pindonga` is now known as pindonga
davmor2aquarius: 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:25
melvstermeizu with ubuntu touch expected to on sale in february in europe, is that right?12:35
melvsteror am i thinking of the bq?12:36
=== dandrader is now known as dandrader|afk
jgdxmelvster, seems bq comes first, ref http://www.omgubuntu.co.uk/2014/12/bq-ubuntu-phone-launches-in-europe-this-february12:40
melvsterjgdx: woot ... ill be ordering one when it comes out ... my nexus 4 seems a bit dated now12:41
melvster1GB RAM12:42
melvsterhmmm that's tight12:42
melvsterwow price is low12:43
melvsterexpensive NOT to buy one!12:43
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
* asac updtes to latest13:16
=== MacSlow is now known as MacSlow|lunch
=== marcusto_ is now known as marcustomlinson
mzanettisturmflut-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 etc13:50
sanjeevhi13:53
mterrybfiller, 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
ubot5bug 1413065 in unity8 (Ubuntu) "[Call]The call interface sometimes disappears when making emergency call" [Critical,Confirmed] https://launchpad.net/bugs/141306514:20
bfillermterry: think it's been broken for a while and it's a timing thing14:21
bfillermterry: might have to do with the live call indicator?14:21
mterrybfiller, yeah you mention it doesn't always happen14:21
bfillermterry: yeah14:22
bfillermterry: or the fact the dialer is running fullscreen mode?14:22
bfilleror a combo14:22
mterrybfiller, I wouldn't *think* either of those components would be able to trigger an unfocus but maybe14:23
=== MacSlow|lunch is now known as MacSlow
bfillermterry: 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 somehow14:31
bfillermterry: I'll try and find the bug as the MR might shed some hints14:32
=== zyga is now known as zyga-afk
mterrybfiller, interesting14:34
mterrybfiller, looking at code, I could believe we request focus for the dialer-app when a call starts14:35
mterrygreyback_, ^ would it make sense that ApplicationManager.requestFocusApplication() would unfocus/re-focus if an app already had focus?14:36
greyback_mterry: requestFocusApplication just emits a focusRequested(appId) signal, which unity8 will act upon.14:39
mterryah14:39
greyback_mterry: take care, surfaces get input focus, which is what Qt.application.active reflects14:40
mterrygreyback_, ok so that just does ApplicationManager.focusApplication it seems in PhoneStage14:40
greyback_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 same14:40
greyback_mterry: I recommend you monitor MirSurfaceItem::focus, and only explore AppMan::focus* as last resort14:41
mterrygreyback_, OK, I'm just tracing code while I wait for my phone to finish flashing and such14:42
greyback_mterry: sure. Feel free to ask anything14:42
mterrygreyback_, does unity8 direct things from a surfaceItem perspective?  I thought u8 only cared about apps?14:42
=== chihchun is now known as chihchun_afk
greyback_mterry: yes it does care about surfaces. It composites them, and looks after sending input events to those surfaces14:44
greyback_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:45
greyback_if an app's surface has activeFocus=true, then that app have Qt.application.active==true too14:46
greyback_the focus state of the surface in unity8, is passed to the application as "your surface is focused/not focused"14:46
mterrygreyback_, where do we do that in u8?  In the stage all I see is app stuff14:48
greyback_mterry: see SurfaceContainer14:49
mterrygreyback_, ok thanks, phone is flashed, I'll spend some time in a debugger and see if I can follow thread14:50
sturmflut-workmzanetti: 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
mzanettimhm. well, whenever you have time for it15:02
mterrybfiller, 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 app15:10
bfillermterry: nice15:11
mardyjdstrand: hi! My part of bug 1219644 has landed in Vivid15:15
ubot5bug 1219644 in Online Accounts setup for Ubuntu Touch "Account plugins should be made confinable by apparmor" [Medium,In progress] https://launchpad.net/bugs/121964415:15
mardyjdstrand: so, when you get some time, you can start working on the apparmor side15:16
mterrygreyback_, so I put a breakpoint at MirSurfaceItem::updateMirSurfaceFocus(), but it doesn't seem to be hit during this bug15:24
mterrygreyback_, if I comment out the top-level requestApplicationFocus in u8 that tries to focus the already-focused dialer-app, the bug goes away15:24
greyback_mterry: qtmir::MirSurfaceItem::updateMirSurfaceFocus15:24
mterrySo somewhere in the focus-an-already-focused app, we do something wrong15:25
greyback_mterry: there's a fixme in mirsurfaceitem.cpp line 311 which might interest you15:26
mterrygreyback_, that's unfocusing on startup?  This bug doesn't happen on startup though15:27
greyback_mterry: start of the application. Ok, was just a thought15:28
mterrygreyback_, 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:28
pittiuh, oh, things you don't want to see on a phone emulator (current devel-proposed): http://paste.ubuntu.com/9806535/15:29
pitti(and landing in busybox)15:29
greyback_mterry: frankly, "refocus" should never happen15:30
greyback_but it should be a noop if it does15:30
jgdxCimi, 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
mterrygreyback_, yeah I figure as much.  But where in the stack do you prefer we check that and enforce a no-op?15:31
greyback_mterry: why do you think it is a refocus?15:31
mterrygreyback_, I'm also curious why it's not a no-op15:31
greyback_could it instead be something stealing focus from the mir surface, and then the mir surface stealing it back again?15:32
mterrygreyback_, 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 away15:32
mterrygreyback_, maybe u8's handling of that request is breaking it, and it's not a mir thing.  Haven't determined that yet15:32
greyback_mterry: qtmir & mir just pass the surface focus message from unity8 to the application15:33
mterrygreyback_, but maybe they shouldn't if it's already focused?15:33
ogra_pitti, check your USB cable :P15:34
mterrygreyback_, is it possible Qt is taking that message on the app side and acting like an unfocus/focus then?15:34
ogra_pitti, surely one of these virtual wires is loose15:34
greyback_mterry: highly unlikely15:35
pittiogra_: I tried another one, and also wiggled it a lot already!15:35
ogra_:D15:35
mterrygreyback_, 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:37
pittisergiusens, 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
greyback_mterry: sorry no. Honestly I don't think you've got to the core of the matter.15:40
pittisergiusens, ogra_: I filed it as bug 1413271, this has a log15:40
ubot5bug 1413271 in android-tools (Ubuntu) "[vivid] emulator fails to find a root partition, landing in busybox" [Undecided,New] https://launchpad.net/bugs/141327115:40
mterrygreyback_, I agree.  That's why I'm still investigating rather than just guarding the Shell.qml call15:41
mterrygreyback_, or are you saying that I'm going up the entirely wrong tree?15:41
sergiusenspitti: so this is different than xnox's problem about not being able to create15:42
pittiyes15:42
pittiI was creating an emulator just last Friday, which worked fine15:42
greyback_mterry: no, you're in the rough area, QML's activeFocus is bouncing around for some reason15:42
mterrygreyback_, but I'm reporting that it isn't -- updateMirSurfaceFocus, triggered off activeFocusChanged, isn't actually happening during the bug15:43
mterryUnless I screwed up that test.  Can do it again15:43
greyback_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 sent15:44
mterrygreyback_, OK, so if that method isn't hit, there's no way the app's Qt.application.active would change?15:44
greyback_mterry: correct15:45
* mterry will run that test again, maybe I accidentally queued up a 'c' in gdb15:45
greyback_mterry: qtmir.surfaces: MirSurfaceItem::updateMirSurfaceFocus false - should see those in the unity8.log15:45
mterrygreyback_, oh that's enabled by default?  swell15:46
=== dandrader is now known as dandrader|lunch
mterrygreyback_, this is what happens when Shell.qml requests focus for the already-focused dialer-app:15:48
mterryhttp://paste.ubuntu.com/9806703/15:48
mterrywhich doesn't actually hit updateMirSurfaceFocus.  But does seem to be unfocusing it15:49
greyback_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 it15:51
mterryyeah15:51
greyback_so that's not surface focus, that's application "focus"15:51
greyback_sorry I know the terminology is a nightmare, I hope to clean it up soon15:51
mterrygreyback_, line 412 of application_manager.cpp15:51
mterrygreyback_, should probably check if it's the same app before unfocusing15:52
greyback_mterry: well is odd for unity8 to ask for an already focused app to be focused. But yes15:53
greyback_mterry: I'd prefer that check being done in unity8, not for qtmir.15:53
mterrygreyback_, 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 else15:53
mardymvo: 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
greyback_mterry: that qtmir code will go away15:54
greyback_mterry: hence my preference15:54
mterrygreyback_, 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 situation15:54
greyback_mterry: sure. Only said it because it is code that has to die15:55
mterryok15:55
mterrygreyback_, thanks for your help!  I'll go off and do this in unity815:55
greyback_np15:55
mterrybfiller, ok MP filed.  Works for me, but more testers is good too: https://code.launchpad.net/~mterry/unity8/dont-refocus-dialer/+merge/24716516:21
bfillermterry: awesome, will try, boiko and salem_ please test as well ^^^16:21
mterryIt's a simple one-line qml change, so you don't need to wait for the debs to be built if you're feeling adventurous16:22
boikobfiller: mterry: nice! I will test it soon16:22
salem_mterry, cool, thanks16:22
mvomardy: 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 it16:24
mardymvo: yes, that one; I'm afraid we'll need it, sooner or later16:24
mardymvo: 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 gone16:25
mvomardy: right, we could use the approach from the MP, but that assuem the address is availalbe on /run16:26
mardymvo: if it's not there, it means that there really isn't any session running, right?16:26
=== zyga-afk is now known as zyga
mvomardy: 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 guess16:30
ogra_yeah, please get the DBUS_ADDRESS from the environment, that file isnt meant to stay16:31
aquarius_ChickenCutlass, ping16:59
aquarius_ChickenCutlass, about mp4 encoding in hardware on phones and whether it's doable :)16:59
ChickenCutlassaquarius_: ah encode.17:00
ChickenCutlassaquarius_: so the camera app does this on record17:00
aquarius_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
aquarius_but I have no idea whether the mp4 chips in phones let you encode arbitrary incoming stuff :)17:01
ChickenCutlassaquarius_: it might, maybe jhodapp would know that17:01
aquarius_and I thought: Frey knows this stuff. ;)17:01
aquarius_aha, jhodapp, ping then :)17:02
ChickenCutlasslol17:02
ChickenCutlassaquarius_: so jhodapp is the one who hocks all the bits together for multimedia17:02
bfillermterry: tested your MR - works great. fixes issues and no regressions that I can see during testing.17:04
aquarius_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
bfillermterry: thank you for the quick turnaround!17:04
salem_bfiller, mterry awesome.17:04
MoPacHello - 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 desktop17:05
ChickenCutlassaquarius_: I think you can feed a surface to the record interface and basically turn that into an mp417:05
mterrybfiller, 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 things17:05
MoPacI've seen (a) and know that (b) has always been part of the project. But is (c) an initial capability?17:05
bfillermterry: yup, did that17:06
mterrybfiller, awesome thanks!17:06
aquarius_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
ChickenCutlassaquarius_: right take a look at qtubuntu camera17:07
jhodappaquarius_, pong17:07
aquarius_jhodapp, see the above conversation to get up to speed -- and then I have some questions for you :)17:07
jhodappaquarius_, ok, give me 5 mins17:08
aquarius_cheers :)17:10
jhodappaquarius_, ok, so in theory what you want to do should be possible17:17
aquarius_jhodapp, yay! although "in theory" worries me ;)17:18
jhodappaquarius_, 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-hub17:18
jhodappaquarius_, so driver-level on down, this is possible...we are missing the integration bits that would make this easy for you to do17:19
aquarius_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 :)17:20
=== dandrader|lunch is now known as dandrader
jhodappaquarius_, of course :)17:21
jhodappaquarius_, but it would be nice to have it all generic17:21
nhainesMoPac: when Ubuntu desktop ships with Unity 8, that's when you can expect (c).  It is not an initial capability.  Maybe 16.10.17:22
aquarius_jhodapp, oh, totally, but I suspect everyone capable of doing this is already really busy :)17:24
jhodappaquarius_, 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 code17:24
jhodappaquarius_, I'll try and get back to you tomorrow some time17:24
aquarius_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:25
jhodappaquarius_, 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 class17:27
jhodappaquarius_, what I did was to re-work the control interface for recording to work with hybris and our camera-app17:29
aquarius_jhodapp, ah, so it does all need to get hooked up at a low level... got it.17:31
jhodappaquarius_, so really the only thing you need now is to get your hands on the output of the encoder17:31
jhodappaquarius_, and ideally this would be done by gstreamer17:31
jhodappaquarius_, because then you could pipe it to one of the network sinks17:32
jhodappaquarius_, that might be possible to send through a fifo up to a new gstreamer plugin17:33
aquarius_jhodapp, that'd be totally excellent17:37
aquarius_jhodapp, I create a gst pipeline which is, basically, mir-as-mp4 ! networksink host=whatever port=whatever, and that's *it*17:37
jhodappaquarius_, 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 element17:40
jhodappaquarius_, would you want audio in there too?17:40
aquarius_jhodapp, yeah.17:40
aquarius_Audio... hm. Yes, ideally.17:41
aquarius_the goal for this is to make screencasting really, really easy, as it is with AirPlay mirroring on iOS.17:41
aquarius_except without all Apple's brain-dead drm stuff built in :)17:41
jhodappaquarius_, 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 sink17:42
aquarius_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
aquarius_audio is a nice-to-have, not an ssential.17:42
jhodappaquarius_, ok, a proof of concept would be to just do video first17:42
nhainesAudio's good for v1.117:42
aquarius_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
aquarius_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 audio17:43
aquarius_and a whole bunch of other standards stuff like miracast, etc.17:43
jhodappaquarius_, you know what would be ideal is to get AirTame ported to Ubuntu Touch17:44
aquarius_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
aquarius_jhodapp, maaaaaaaaaaaybe. AirTame is proprietary :(17:44
jhodappaquarius_, their driver, because they do this already for mobile devices and they developed the tech using primarily Ubuntu17:44
aquarius_because they wanna sell devices.17:45
jhodappyes17:45
aquarius_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
jhodappaquarius_, anyway, what you want should be possible, it's hard to predict what the performance would be like17:46
jhodappaquarius_, yeah, if I'm not mistaken airplay does Apple's HTTP Live Streaming, which I've worked with a bunch in the past17:46
aquarius_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 stack17:47
jhodappaquarius_, yeah, I'm just worried about feeding to GStreamer, but it's tough to say17:48
aquarius_(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:48
aquarius_jhodapp, fair comment!17:49
jhodappaquarius_, 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 level17:49
aquarius_that would mean that you don't stream *to* a remote device (your TV), but the TV streams *from* you?17:50
jhodappaquarius_, yes, or you could do a simple http client as well17:51
jhodappaquarius_, just depends on what's on the receiving side17:51
aquarius_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
aquarius_this was an encouraging discussion!17:52
aquarius_I need to work out how to have this be your priority task now ;-) Who's your boss? Do they like chocolates? :)17:53
jhodappaquarius_, awesome, glad it was helpful17:53
jhodappaquarius_, you were talking to him right before me :)17:53
jhodappaquarius_, beer, lots of beer would be my suggestion ;)17:53
aquarius_not sure my liver is up to the challenge of bribing ChickenCutlass ;)17:57
=== alan_g is now known as alan_g|EOD
=== SturmFlut|AFK is now known as SturmFlut
bschaeferSturmFlut, hey, soo just pushed some new changes to this branch: https://code.launchpad.net/~brandontschaefer/libsdl/sdl2-needs-rebuild-mir18:21
bschaeferwhich should fix your issues, if you dont mind giving it a test!18:21
bschaeferalso the fixes are aimed at vivid, not utopic sadly18:22
SturmFlutbschaefer: So my phone should be running Vivid?18:22
bschaeferSturmFlut, if possible yes18:23
bschaeferi just have it on vivid sooo its pretty hard to test out, i also usually use: https://hg.libsdl.org/SDL18:23
bschaeferhaha, soo i need to test main out more18:23
SturmFlutbschaefer: Oh, you fixed a lot of stuff in Revision 18.18:23
bschaeferyeah its stuff i've fixed upstream18:24
bschaeferbut never ported back into main18:24
bschaeferi think the main things though are: 114=== modified file 'src/video/mir/SDL_mirsym.h'18:24
bschaeferas with out that change, dlsym fails18:24
bschaefersoo the mir backend is skipe18:24
bschaeferskipped*18:24
SturmFlutGeneral 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 possible18:27
bschaeferSturmFlut, 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 Utopic18:31
bschaeferi could always make a ppa...18:31
SturmFlutbschaefer: I'll give it a try later, thanks for your work and thanks for pinging me :)18:33
bschaeferSturmFlut, np, thanks for testing it out!18:33
=== salem_ is now known as _salem
popeySturmFlut: bq will ship with utopic and move to vivid via OTA sometime in March (probably)18:50
popey(maybe a bit later)18:50
SturmFlutpopey: Ah, thanks. So I'll continue targeting Utopic18:52
bschaeferSturmFlut, if that branch works ill create a ppa to get it so you can work with utopic!18:53
bschaefer(it should work...)18:53
=== greyback__ is now known as greyback
=== _salem is now known as salem_
SturmFlutmzanetti, 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 installation19:16
mzanettiSturmFlut: nice! thanks :)19:16
SturmFlutmzanetti, 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
mzanettino, there has been worse19:17
mzanetti:D19:17
SturmFlutmzanetti: I see you know me well...19:18
kenvandinejgdx, 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 problem19:28
dobeywhy would 'init' be using lots of cpu?19:32
dobeymy 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, though19:33
jgdxkenvandine, wifi-fix-cancel-test was for vivid..19:37
jgdxkenvandine, I fixed the test in rtm-forgetful19:37
jgdx*that test19:38
kenvandinejgdx, oh... that error about Dialog seemed to be from 14.09 though19:38
jamie_Does anyone know if hostapd is working, so I can use a Nexus 4 in AP mode?19:42
kenvandinejamie_, i've heard that can work, with some scripts19:43
kenvandinejamie_, but i don't know how, just heard people have done it19:43
ahayzendobey, bug 141050619:44
ubot5bug 1410506 in mtp (Ubuntu RTM) "MTP looping between start and stopping causing constant ~10% cpu load" [Undecided,In progress] https://launchpad.net/bugs/141050619:44
jamie_kenvandine - do you have any links that could help me?19:45
kenvandinejamie_, sorry, no... cyphermox ^^19:46
dobeyah19:46
kenvandinejgdx, can you review this backport for me?19:47
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-system-settings/rtm-brightness_crash/+merge/24420219:47
jgdxkenvandine, sure19:53
kenvandinejgdx, thx!19:54
SturmFlutjamie_: 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
jamie_Brilliant - will try it. Which channel / version are you running?20:00
popeynice!20:00
SturmFlutjamie_: stable, 14.10 r1420:01
jgdxkenvandine, are you looking at rtm silo 4?20:03
kenvandinejgdx, not yet... i was looking at what i wanted to land after silo 4, since silo 4 will need a rebuild after silo 19 lands20:04
kenvandinebut testing silo 4 wouldn't be a waste, since the 2 silos don't touch the same plugins20:05
mzanettiSturmFlut: btw, https://plus.google.com/105839534016416729197/posts/ePSLDescKL320:06
jgdxkenvandine, nope. I am done testing, looks good. But would be nice to get another pair of eyes on it.20:06
kgunnSturmFlut: i must have posted at the exact same time as Michael :D20:07
kgunnhttps://plus.google.com/116997345010659023379/posts/RiuPtGyEY8Y20:07
kenvandinejgdx, can you add some more detail for testing on line 54?20:07
kenvandinedon't want to run the entire plan there20:07
awe_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:08
SturmFlutmzanetti, kgunn: Haha, nice!20:11
jgdxkenvandine, done20:12
kenvandinejgdx, thx20:17
=== salem_ is now known as _salem
* Jon9012 is away: I'm busy20:35
=== Laney is now known as Guest54456
SturmFlutbschaefer, 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.821:48
bschaeferSturmFlut, hmm i just tested that branch out on the phone... and it worked21:49
bschaeferthe libprotobuf sounds like a mir issue...21:49
SturmFlutbschaefer: But you are on Vivid, right21:49
bschaeferyeah21:49
bschaeferlet me re-flash my phone with utopic and see what happens21:49
bschaeferSturmFlut, what did you test?21:50
SturmFlutbschaefer: https://github.com/Sturmflut/ubuntu-touch-sdl-template/blob/master/src/main.c21:51
bschaeferSturmFlut, im guessing it seg faults in the Init part right?21:51
SturmFlutbschaefer: Jep, was about to type that21:51
bschaeferyeeeah, something in mir is wacky... what happens when you try to run a mir demo?21:52
bschaefersudo apt-get install mir-demos21:52
bschaeferthen try mir_demo_clients_eglplamsa21:52
bschaeferor something (in a desktop file)21:52
bschaeferim wondering if somethings being strange in mir... or if its sdl doing something weird21:53
SturmFlutbschaefer: Got /usr/bin/mir_demo_client_eglplasma to work on the phone21:58
SturmFlutbschaefer: ...let me try some other things, I suspect that it is my fault...21:58
bschaefershoots, thats strange, what version of libproto is it using?21:58
bschaeferi remember libproto being weird at some point as well...but i dont remember the cause21:59
SturmFlut  libprotobuf.so.8 => /usr/lib/arm-linux-gnueabihf/libprotobuf.so.8 (0xb6ce5000)21:59
bschaeferSturmFlut, you can always try out a test in SDL/tests/21:59
bschaefertheres quite a few tests in there22:00
bschaeferbut hmm22:00
bschaeferim not sure why it wants to only fail through SDL22:00
* Jon9012 is back (gone 02:10:18)22:46
* Jon9012 is away: I'm busy22:55
popeyJon9012: you might want to disable that22:56
SturmFlutbschaefer: 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
SturmFlutbschaefer: 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:29
bschaeferHmm i wonder if its not correctly releasing them?23:30
bschaeferSturmFlut, what you could try, is to use --disable-mir-shared23:30
bschaeferin the debain/rules23:30
bschaeferinstead of --enable-mir-shared, as if its disable it will just return 1;23:30
bschaeferand will not load anything23:31
SturmFlutbschaefer: Rebuilding...23:34
bschaeferSturmFlut, sorry for all of these weird issues...some times the dynamic way of loading is very fickle23:35
SturmFlutbschaefer: I wonder why the second call to SDL_LoadObject() fails23:37
bschaeferSturmFlut, yeah ... its a bit strange but the reason we load then unload is we just need to double check we should even use that backend23:37
bschaeferif we end up using a different backend, it would leak23:37
bschaefersooo .. hmm thats really strange Ill have to re-flash my phone to check that out my self23:37
jrgso is there any word on a US release date for an ubuntu phone from BQ yet?23:42
jrgdoesn't seem like those Meizu phones will be out any time soon23:42
SturmFlutbschaefer: rebuilt it with --disable-mir-shared, still segfaults. Let me throw in another round of debugging...23:43
jrglatest rumor was BQ was releasing to the EU in the first week of feb 201523:43
bschaeferSturmFlut, 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
sergiusensjoin #ubuntu-release23:45
SturmFlutbschaefer: 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:47
bschaeferRAOF, hey, do you remember any strange issues from a crash in protobuf?23:48
bschaeferRAOF, on utopic?23:48
RAOFbschaefer: Protobuf is stupid about being loaded twice?23:48
bschaeferRAOF, it would seem that way... though when disabled it still seems to crash23:48
RAOFie: if you load it twice into a process at the same time, it aborts.23:49
bschaeferRAOF, ill need to re-produce the issue... normal mir stuff works23:49
bschaeferRAOF, right. Though he disable shared sooo it shouldn't be loaded twice anymore23:49
bschaeferand it still seg faults23:49
bschaeferRAOF, was just curious if you've hit something like that before, i need to dig into it more23:49
RAOFHm, no, that's not familiar.23:50
bschaeferRAOF, dang, nm then! Thanks23:50
SturmFlutI 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:53
nik90charles: 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:57
nik90charles: oh and also I have a branch ready to fix https://bugs.launchpad.net/ubuntu-clock-app/+bug/137254523:58
ubot5Launchpad bug 1372545 in Ubuntu Clock App "Day-of-Week picker in Alarms doesn't respect locale" [Medium,In progress]23:58
SturmFlutbschaefer: I was wrong, after rebuilding with --disable-mir-shared the backtrace looks different23:58
SturmFlutbschaefer: http://paste.ubuntu.com/9811754/23:58
nik90charles: 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 sdk23:58

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