/srv/irclogs.ubuntu.com/2013/03/22/#ubuntu-mir.txt

RAOFracarr: Just to be clear - you'd like https://code.launchpad.net/~rocket-scientists/mir/mesa-egl-platform-mir-native-display to land, yes?02:59
RAOFracarr: Ok, so where do I get mir_client_library_mesa_egl.h from?03:32
dufluRAOF: It used to be proposed here but has since vanished or been renamed... https://code.launchpad.net/~robertcarr/mir/prepare-for-inprocess-egl-clients/+merge/15388903:34
RAOFAh, seems it got renamed to native_display.h03:38
RAOFNot a big fan of that header name.03:39
thomikdub: hey, still around?03:47
RAOFracarr: Ok, so my hacks to make https://code.launchpad.net/~rocket-scientists/mir/mesa-egl-platform-mir-native-display buildable against lp:~robertcarr/mir/prepare-for-inprocess-egl-clients don't result in a working mesa.04:44
bcbc2Running mir ppa on Raring. When I add type=mir to lightdm.conf I get a terminal login. This is the lightdm.log: http://paste.ubuntu.com/5636106/ Any ideas? PS the mir_egltriangle runs correctly in the separate test04:56
RAOFbcbc2: XMir currently isn't in the PPA, so those steps won't work.04:59
bcbc2RAOF: ah ok. So I need to compile from source?05:00
RAOFbcbc2: XMir & the associated drivers will land after I've landed https://code.launchpad.net/~raof/mir/use-dma-buf/+merge/153267 and the associated changes.05:00
RAOFbcbc2: Yeah, you can build from source if you want; the necessary code is on github - https://github.com/RAOF/xserver and the associated driver from xf86-video-{ati,intel,nouveau}05:02
RAOF(Note, I don't think nouveau's currently working)05:02
RAOFbcbc2: It's pretty boring, too (as long as it works) - everything looks exactly like it currently does, with the exception that colour management doesn't work :)05:02
bcbc2RAOF: ok thanks. I'll probably wait a bit then. yeah it's boring IF it works ;)05:03
duflummrazik: Would it be possible to make Jenkins CI build Mir against clang?06:37
dufluTest cases don't work yet, and it requires a custom cmake command, but the static analysis is very useful06:37
RAOFDoes input build yet?06:38
mmrazikduflu: sure. what is the cmake command?06:38
dufluRAOF: No. And not for the foreseeable future. There are "errors" in code we have to keep :P06:38
RAOFBoo.06:38
duflummrazik: https://code.launchpad.net/~vanvugt/mir/clang/+merge/15398406:38
dufluRAOF: But there's a chance the offending code can be worked around by moving pieces. Have not looked in detail06:39
mmrazikduflu: does the build fail with those commands? I see input is disabled but what about the tests?06:40
duflummrazik: Yeah tests fail. We expect that into the near future at least. Just testing it builds with clang is enough06:40
mmrazikduflu: oh.. they fail during execution, not during compile?06:41
duflummrazik: Yeah execution fails. It all builds (without input)06:41
mmrazikok06:42
tvossduflu, RAOF is the clang build step optional for CI then?06:57
duflutvoss: It's non-existent right now. But I think it should be compulsory due to the high value of its static analysis06:58
dufluAnd we pass the clang test now. So nothing to be fixed06:58
tvossduflu, for the static analysis: I do agree, but: we need gcc, too, especially to be able to execute the tests, right?06:58
duflutvoss: Of course. gcc still builds and runs tests06:59
tvossduflu, okay, then I'm fine06:59
dufluHah. No I'm not suggesting drop tests from CI :)06:59
tvossduflu, just tried to clarify on the backlog :)07:01
dufluMan, even when I was reviewing hundreds of bugs per day, I never tried keeping up with IRC backlogs...07:02
tvossduflu, I sometimes do :)07:03
RAOFFor high-value channels, sometimes.07:07
dufluRAOF: They exist?07:08
RAOFHeh.07:08
* duflu -> coffee07:08
RAOFChannels like #debian-x and #debian-cli are quite low traffic, so they have a signal/noise that makes backscroll sometimes a worthwhile investment.07:09
tvosstvoss -> coffee07:15
=== mmrazik is now known as mmrazik|afl
=== mmrazik|afl is now known as mmrazik|afk
RAOFLet's see if this mesa lets me use lp:~raof/mir/use-dma-buf07:16
Cheeryhas anything new happened recently?07:26
dufluCheery: New code is landing in Mir every day. But I don't think any of the recent changes are interesting to users (yet)07:27
Cheeryanything new about nvidia drivers?07:27
Cheeryapparently.. no07:30
tvossCheery, I think the easiest way to stay up to date is to subscribe to the mir mailing list (see https://wiki.ubuntu.com/Mir)07:32
alf_tvoss: pong07:40
RAOFCheery: I wouldn't hold my breath for news on the nvidia front; my guess is that it'll be a while before we('re allowed to ☺) have anything interesting to reveal.07:43
=== mmrazik|afk is now known as mmrazik
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g
alan_galf_: tvoss: Another day without progress on "Include directory structure, and installation packages" :(09:11
dufluAwesome. I now realise the past few hours work needs to be partially redesigned from scratch. And 13 minutes to weekend.09:47
alan_gduflu: I hear your pain09:48
dufluOh dear. Over-stimulation and too many ideas for a Friday evening. Better go open some wine and make dinner.09:54
smspillazmmm wine10:12
alan_galf_: got time for a review? https://code.launchpad.net/~robertcarr/mir/send-input-to-clients/+merge/15422110:24
alf_alan_g: I thought I had already reviewed that, but it turned out I forgot to actually press the button :)10:25
alan_gLOL10:25
alan_gGood job I reminded you10:26
alf_alan_g: The poor review... it was patiently waiting for me in a forgotten browser tab :)10:27
alf_alan_g: you saved it from it's pain10:27
alf_alan_g: s/it's/its/10:27
alan_galf_: I'm going to fix lp:~robertcarr/mir/prepare-for-inprocess-egl-clients in a trivially different branch so we might get it landed too10:30
alf_alan_g: ok10:31
alan_galf_: https://code.launchpad.net/~alan-griffiths/mir/prepare-for-inprocess-egl-clients/+merge/15490910:45
=== mmrazik is now known as mmrazik|lunch
alan_galf_: does this look like the bug you were fixing? Or is it a new problem?11:29
alan_ghttps://jenkins.qa.ubuntu.com/job/mir-quantal-amd64-ci/173/console11:29
alf_alan_g: It's in the same code, but I don't think it's related. It seems similar to the one we are getting in VM builds (some client/server process synchronization issue).11:33
alan_galf_: thanks, for looking11:35
alf_alan_g: aha, I have managed to recreate it locally at last! I had to sufficiently overload/slow down my computer to recreate it...11:41
alf_alan_g: well, at least I have recreate some problem, hopefully the same as the one we are seeing11:42
alan_galf_: Does that mean I can leave it to you?11:42
alan_gAt least for now11:42
alf_alan_g: sure, I will try to take a look today11:42
alf_alan_g: is this problem happening consistently or sporadically for normal (non-VM) CI (i.e. is it blocking our CI)?11:45
alan_galf_: I've only seen this instance11:46
alan_gI'll set it approved again and see what happens11:46
alf_alan_g: ok, if it proves to be a blocker, I will take a look now11:47
=== mmrazik|lunch is now known as mmrazik
alan_galf_: Looks like it is an intermittent problem. The worst ones to prove are fix. :(12:21
alan_g*fixed12:22
=== kgunnAFK is now known as kgunn
alan_gmmrazik: do you know what caused this? https://jenkins.qa.ubuntu.com/job/mir-android-raring-i386-build/95/console13:46
mmrazikalan_g: looking...13:48
alan_galf_: are you happy with this? https://code.launchpad.net/~kdub/mir/android-display-factory/+merge/15390713:49
alf_alan_g: checking13:52
mmrazikalan_g: I think it was a network error. Let me retry13:54
mmrazikbzr error messages are not particularly helpful :-/13:54
alan_gmmrazik: I'd be happy to switch to git13:54
mmrazikalan_g: seems to be reproducable. I have a call now but will check afterwards14:00
alan_gmmrazik: thanks14:01
mmrazikalan_g: oh.. its because the branch is private14:04
alan_gmmrazik: oops14:04
alan_gmmrazik: Do I need to create a new branch?14:06
=== mmrazik is now known as mmrazik|otp
alf_alan_g: reviewed ("needs fixing")14:21
alan_galf_: ta14:22
=== mmrazik|otp is now known as mmrazik
mmrazikalan_g: I made it public14:25
mmraziklet me re-run the job14:26
alan_gmmrazik: thanks14:26
alf_alan_g: @CI error, I don't see anything suspicious, it's probably just the server being late. We should increase the wait time to a sufficiently large value, e.g., 10 seconds, and see if it helps. The VM builds are consistently failing, so, if this works, we will get an indication that we are solving the right problem.14:36
alan_galf_: ok14:37
kdubgood morning15:15
kdubhey mmrazik, for the android ci builds, could we add the phablet-team's armhf ppa (with libhybris packages) to the jenkins pbuilder setup?15:21
kdubit will help with this failure https://code.launchpad.net/~mir-team/mir/consolidate-crossbuild-scripts/+merge/15476215:21
mmrazikkdub: sure. ppa:phablet-team/ppa ?15:21
kdubyep, thats the one15:22
mmrazikkdub: done + I queued a rebuild15:25
kdubthanks mmrazik15:25
mmrazikbtw. there is a clang build enabled in addition15:25
alan_gare we supporting clang?15:30
mmrazikalan_g: is the question "do we care about clang errors" or "can we compile lp:mir with clang"?15:35
mmrazikthe later is true15:35
mmrazikduflu asked me to have clang job in jenkins earlier today15:35
mmrazikthis is what the jenkins job is doing: cmake .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DMIR_DISABLE_INPUT=ON15:36
alan_gmmrazik: the question is "does spending time on clang help deliver what we promised"15:36
mmrazikright15:36
mmrazikalan_g: can't answer15:36
mmrazikshall I drop an e-mail to mir-devel ?15:37
mmrazikI thought you guys care given you approved the MP15:38
alan_gAFAIK clang isn't a supported platform (just a nice to have).15:41
kdubalan_g, +115:44
kdubalf_, re-review of android-display-factory? :)15:44
alf_kdub: on it15:44
mmrazikkdub, alan_g: so you are -1 on clang blocking the ci/autolanding15:47
mmrazikwhat if I keep it for ci and remove for autolanding? I.e. you will be able to merge code even if clang fails15:48
alan_gmmrazik: yep15:48
kdubmmrazik, yes, at least until we figure get our gcc arm compiles to a nice point15:49
mmrazikso should I remove clang completely?15:50
alan_gmmrazik: g++ arm is a supported platform15:50
mmrazikshall I translate g++ arm as building natively on arm (like we do in ppa)?15:50
alan_gmmrazik: clang shouldn't distract you or us from what we are trying to deliver15:51
* mmrazik is removing the clang job15:51
mmrazikkdub: your branch compiles on android again16:02
kdubi just saw, thanks mmrazik16:02
=== mmrazik is now known as mmrazik|afk
=== rafalm_ is now known as rafalm
alan_gkgunn: hangout to find a way forward on the include directories question: https://plus.google.com/hangouts/_/fa5325fabc3ebf8c432cbc427c9f78b02e2a6806b8?authuser=0&hl=en-GB (alf_ kdub racarr - you're welcome to join in)16:13
kgunnthanks alan_g !!16:13
kgunnalf_: racarr kdub ^ if you want to join16:14
alf_kgunn: thanks, coming16:14
racarrmorning16:31
alan_gracarr: ^^16:33
racarrstill going on?16:33
alan_gack16:34
racarrok just a sec16:35
alf_kgunn: http://www.timeanddate.com/worldclock/meeting.html16:37
racarrmerged trunk on send-input-to-clients :)16:52
alan_gracarr: looking16:53
racarralan_g: Have you seen anything in andoid with17:28
racarrCompat.h and redefinition of lseek64 and _FILE_OFFSET_BITS < 64?17:29
racarrIt happens when trying to include the fake_event_hub in my new acceptance test17:29
racarram guessing it only works in other places because of some header included previously17:29
racarror some such17:29
=== yofel_ is now known as yofel
alan_gracarr: it isn't something I remember (but why would I try)17:30
alan_gI usually stuff #error in the offending header to get an include backtrace17:30
racarrNo idea, just not sure if you had seen it come up in the process of refactoring :)17:30
racarrmm17:30
racarrits like AndroidConfig.h isnt being included17:31
racarrah17:32
racarrI did not know about the uses_android_input macro17:32
racarrin CMake17:32
alan_galf_: re earlier discussion about separating run_mir () for reuse - it is done in https://code.launchpad.net/~mir-team/mir/misc-code-cleanup/+merge/15501817:40
alan_gracarr: "Fixed the comments" - did you push the changes?17:42
racarrapparently now!17:44
racarrnot17:44
racarrit looks like I did now :)17:44
racarralan_g: ^17:44
alan_gracarr: I didn't want to set "Approved" and then have you remember. ;)17:44
racarrthanks :)17:45
=== alan_g is now known as alan_g|eow
=== kgunn is now known as kgunnAFK
_NerdyMe_hey guys is there a chance for a question about a possible use case about MIR which (if technically possible) would save compositing overhead...19:15
_NerdyMe_the idea is (as it is server allocation) for the case of a cell phone: apps normally run maximised. so they use the whole screen except the top panel. the compositor has a buffer which includes the "whole" screen and when the client asks for the buffer in a state that it has the focus then you pass a reference to a subset of that very same compositor buffer. so that way you never have to copy anything around etc.... and when you bring in the launche19:20
_NerdyMe_r it will render directly over that very same buffer... is that possible?19:20
=== mhall119_ is now known as mhall
=== kgunnAFK is now known as kgunn
kgunn_NerdyMe_: yes19:41
kgunn_NerdyMe_: this is what is known as "bypass composition" in the mobile industry19:42
kgunn_NerdyMe_: it should be "for free", this kind of logic....along with some other goodies19:43
kgunn_NerdyMe_: is supported by hw vendors in hwc hal19:43
kgunn_NerdyMe_: and on gpu fallback path....its fairly simple logic19:43
kgunn_NerdyMe_: all in all....yes....its something we know we'll do19:44
kgunn_NerdyMe_: support19:44
_NerdyMe_kgunn: thank you. the thing is I have no clue how that buffering stuff actually works, just had my thought on it. that makes feel good, like even I could make my own display server hahaha let's call it ISS. great, thx for the info. wish you all good luck!19:44
kgunn_NerdyMe_: ISS...good one19:45
kgunnracarr: hey, where do i look for test output (like aggregate run rate/pass rate stuff) ?19:47
kgunnracarr: as well, tested code coverage data19:47
racarrkgunn: I am trying to find where it went since jenkins moved around19:50
kgunnracarr: thanks for the help19:50
racarrAnyone around?22:32
racarrTrying to figure out how to test the input receiver polling logic...22:32
sturmflutI tried to write my own Mir client but the include files in the current PPA packages seem to be borked. I #include <mir/client/mir_toolkit/mir_client_library.h> but it tries to #include "mir_toolkit/c_types.h" and there is no mir_toolkit/c_types.h in the default path22:34
racarrsturmflut: I guess there is something wrong with the pkgconfig...will make a note. for now -I/usr/include/mir (you should have mir_toolkit/c_types.h in there) should do it22:37
racarrthough...um...if c_types.h landed that means a branch landed that wasn't supposed to land yet22:37
racarrand mesa will be out of sync and not working ;)22:38
racarrkdub: Ping?22:39
kdubpong22:39
kdubracarr^^22:42
racarrkdub: Prepare-for-inprocess-egl landed accidentally22:42
racarrso I guess things will be broken22:42
racarrbecause i havent pushed the mesa changes22:42
racarrtrying to figure out what to do...22:42
kdubracarr, broken how?22:44
kdubracarr, android seems ok22:47
racarrkdub: Will be broken on mesa...well22:48
racarrI guess you can just pass the MirConnection as the EGLNativeDisplayType22:48
racarrand nit will work22:48
racarrbut mir_connection_get_egl_native_display22:48
racarrwill return the22:48
racarrnew struct that mesa cant handle yet22:48
racarrI guess mir_connection_is_valid (called by old mesa)22:48
racarrwill then return 0 and it will just fail22:48
kdubwell, if there's a quick fix, let's mp it.... if not backing out the change seems like the way to go22:51
RAOFracarr: And I couldn't get your mesa changes to work :)22:55
sturmflutAnyone working in a Mir backend for SDL? Being able to run games on Mir would be awesome22:57
tehcloudsturmflut, have you run ANYTHING on Mir yet?23:01
sturmfluttehcloud: The demo clients from the repository, yes23:02
tehcloudI suspect the Mir devs are focussing on getting it on par at least with Wayland, before committing resources to SDL23:02
tehcloudand I think the SDL devs are not working on it either, since they are trying to release 2.023:03
racarrsturmflut: Afaik no one has touched SDL yet :)23:04
racarrRAOF: Oh you are here.23:04
racarrHmm. I am kind of engrossed in input but should fix this.23:05
racarrso if you have time to review something in 30 minutes or so I could make an updated patch23:05
RAOFracarr: Because, during my morning walk with Zoë, I realised why my mesa changes to support use-dma-buf only half worked :)23:05
racarrwhere did mesa repo move since everything went public?23:05
RAOFgithub23:05
racarrRAOF: Aha. The mesa mind virus23:05
RAOFracarr: Enjoy.23:05
RAOFracarr: https://github.com/RAOF/mesa23:05
racarrRAOF: Ok between checking out and building a fresh copy and all will take a while23:07
racarrbut will get back to you soon23:07
RAOFracarr: Question re: mir_connection_is_valid and your native_display patch - couldn't you just pass a MirConnection in to mesa and have mesa pull the native display out of that? Then you could keep using mir_connection_is_valid.23:47
RAOFThere are two hard problems in computing: cache invalidation, naming things, and off-by-one errors.23:49
RAOFMesa was a cache invalidation problem :)23:49
racarrRAOF: http://paste.ubuntu.com/5638637/ should work23:50
racarrbut there is a little cleanup to be done perhaps23:50
racarrRAOF: Can't pass a MirConnection as the23:51
racarrdisplay type because there is no23:51
racarrMirConnection ont he server side23:51

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