/srv/irclogs.ubuntu.com/2014/07/07/#ubuntu-mir.txt

RAOFH00:23
RAOFDear armhf: really?00:23
=== renato_ is now known as Guest30310
dufluHmm, did some pipe specific to Canonical just go down?03:38
RAOFDunno. What are you trying to resolve?03:43
dufluRAOF: Canonical mail, Launchpad and IRC all went quiet for a while.03:44
dufluNow they're back03:44
RAOFduflu: Is there any particular reason not to _catch_ the exceptions in the compositing thread?06:31
dufluRAOF: Because we don't know how to recover from them, and the act of catching trashes the stack trace06:32
dufluIs there another solution?06:32
RAOFHm. I think we actually _do_ know how to recover from them; try again next frame.06:37
RAOFThat'll work for some of the errors.06:37
RAOFWell, some classes of failure.06:37
dufluRAOF: Recovery would be excellent if it was reliable. If there's a risk of looping then it's safer to get a nice bug report.06:38
RAOFWe'd need to try for 5 or so frames, then bail.06:38
dufluBut still, I'd prefer to debate the recoverability of each scenario separately06:38
RAOFYeah. That'd require us to have an actual exception hierarchy. And to proxy said things to the main thread, I think.06:39
RAOFWhich is indeed a post-RTM thing.06:39
dufluRAOF: Yes, actual exceptions with actual catching06:39
dufluAlthough if the recovery is near the ioctls then maybe not even exceptions are required06:40
RAOFHow useful were the cores generated when these exceptions _were_ generating cores?06:42
RAOFBecause looking through the code it looks like a lot of the error state has dropped out of the stack before the exception is thrown.06:43
dufluRAOF: Very, for a brief while between the first fix and when it regressed.06:45
dufluUnfortunately the first fix occurred after the first flood of bug reports06:45
* RAOF is quite surprised06:45
anpokwe could assemble additional error information with boost exception while unwinding06:45
* duflu offers anpok the wear jar06:45
duflu*swear jar06:45
RAOFanpok: You know what we should do? Rather than use enable_error_info on std::runtime_errors, we should just throw std::system_errors.06:46
dufluThrowing anything you don't know how to catch and recover from is the problem06:46
RAOFduflu: Not really, because we're a library.06:47
anpokRAOF: well .. if there is relevant information in the stack itself06:47
RAOFBut throwing something we don't handle in a thread of our creation is indeed a problem.06:47
anpokbut yes system_error looks more like the right type06:47
* RAOF queues up a “replace everything with system_error” branch.06:47
dufluRAOF: Unless it includes full catching and recovery it's a step backwards... we really need to deal with each throw separately06:49
dufluIt's a long path06:49
RAOFIt's not a step backwards. At worse it's a step sideways. It gets us a better exception message if nothing else.06:57
RAOFIt's also just the sort of mechanical transformation that I feel I'm about capable of doing at the moment :/06:57
dufluRAOF: I know how that feels. However using any exceptions without full recover implemented will fail to solve the bug06:58
duflurecovery even06:59
RAOFThat is correct.06:59
dufluRAOF: OK then, no problem. Please don't create conflicts for me though :)06:59
dufluOh Compiz/Unity7 I won't miss you... just as soon as we have the replacement ready07:10
* duflu has the tiny phantom window problem. They sporadically appear and disappear07:11
duflucamako: Still showing 0.1.9 is the latest download. Don't forget https://launchpad.net/mir   Development focus = 0.507:24
camakoduflu... Weird... I coulda sworn I saw 0.4.0...  lemme check again07:26
duflucamako: Should be Development focus = 0.5, but is presently utopic (which is obsolete)07:26
dufluYou have to configure the Mir project page07:27
dufluSorry I can't give more details. I don't administer any projects any more. I can't see a project details page to cite for an example07:30
duflucamako: You should have a "Change project details" option (or similar) on https://launchpad.net/mir07:36
duflu... which I don't07:36
dufluOh and the trusty (and earlier) series possibly should still be visible.  Because it's theoretically possible for them to get fixes backported, although highly unlikely07:38
camakoduflu still looking07:39
duflucamako: https://answers.launchpad.net/launchpad/+question/8204907:41
camakoduflu .. "change details" doesn't exist for me07:43
duflucamako: Oh. You aren't a project admin either07:43
dufluI wonder who it07:43
dufluis07:43
camakoduflu... guess not07:44
camakoThomas?07:44
dufludidrocks, sil2100, Saviq: Can anyone add camako to pspmteam?07:45
dufluOr Mirv? ^07:47
dufluThe Mir Tech Lead has no permissions to administer the Mir project :)07:48
camakoduflu.. I was able to change status for 0.3, 0.4 as I was the "release manager" on lp...07:49
camakofor 0.5, you are the release manager since you created it07:49
duflucamako: Yeah I can do that too on the series I created. But you need top-level access to admin the Mir project. That's owned by https://launchpad.net/~pspmteam07:49
camakoright07:50
duflucamako: popey is also an admin. Ask him when he comes online07:50
camakoduflu... ok07:51
dufluIt's really annoying then the button you need is hidden07:51
ogra_duflu, camako looks like dbarth or popey can add people there07:52
dufluYep. And David's not online yet either07:52
camakoogra_.. ok thanks07:52
duflualf_: You around?08:00
alf_duflu: yes08:00
duflualf_: Are you familiar with any changes that happened in June around buffer ownership? Looks like the new behaviour is that a client can own _all_ the buffers until/unless a compositor needs one.08:01
dufluSounds like a bug but may be a feature08:01
alf_duflu: I don't remember of an explicit change, but it sounds like something that may have changed by Alberto's work on the BufferQueue?08:02
duflualf_: It seems to work but in theory shouldn't. If a client is allowed to have all the buffers on startup then compositors get what?08:04
dufluI guess I'll keep trying to write more tests till I can prove something is amiss08:04
RAOFSoooooo.08:06
alf_duflu: Perhaps it works currently because the clients get one buffer at a time?08:06
RAOFWhy does armhf seem to receive fewer fds than sent?08:06
dufluRAOF: sizeof() silliness?08:07
RAOFHm.08:07
dufluBut AFAIK sizeof all the important bits is the same as desktop08:07
RAOFI shall come back to this later.08:07
RAOFBut I *send* 2 fds, and cmsg->cmsg_len on the receiving end is 16.08:08
RAOFWhich is *not* CMSG_LEN(2 * sizeof(int))08:08
RAOFAnyway, later.08:08
dufluRAOF: Oh. I don't understand the cmsg stuff but remember everyone was suspicious of recent changes to it08:08
=== chihchun_afk is now known as chihchun
popeysomeone ping me?08:56
ogra_camako, duflu ^^^^08:56
seb128popey, hey08:56
duflupopey: Yeah can you add camako to pspmteam?08:56
camakoogra_.. thanks08:56
ogra_;)08:57
dufluWe presently have no one able to administer the Mir project :)08:57
* popey looks08:57
popey"lol"08:57
camakoI think kgunn is part of the pspm team08:57
camakobut yea.. I should be as well08:58
popeydone08:58
duflupopey: Ta08:58
camakopopey thanks08:58
camakoduflu... done... looks good now?08:59
duflucamako: Ah cool yes09:00
popeynp09:00
duflucamako: For cleanliness we could rename "trusty" to "0.1" and "saucy" to "0.0"09:01
dufluI think that's possible09:01
camakoduflu... sure09:02
camakoduflu.. done! Looks all neat :-)09:03
duflucamako: Cool again. Also looks better here now: https://launchpad.net/ubuntu/+source/mir09:04
camakoyep09:04
duflucamako: I think we need a new plan to reduce branching. Somehow we need to avoid branching until after the server ABI has changed09:05
camakoduflu.. yea I agree09:06
dufluPerhaps explicitly targeting lp:mir/0.N (where N is "next") would work09:06
dufluthen we don't need to call anything "devel"09:07
duflubut that increases the risk of proposals targeting the wrong one09:07
dufluWhatever the approach it should be possible to release 0.5.1, 0.5.2 ... before ever needing to branch a 0.6 for example09:08
camakoyea currently it's a presumptive approach09:08
alan_gduflu: instead of changing targets can we just rename devel and create a new one each release09:17
duflualan_g: You mean use "devel" as a series? I think that would look confusing in Bugs that are targeted09:18
dufluBetter to have a number09:18
dufluOr just keep the development branch as it is and tag 0.5.x on devel _until_ an ABI break happens09:19
dufluThen branch09:19
dufluBut that requires a "freeze" period for each point release. Same old problem09:20
=== chihchun is now known as chihchun_afk
alan_gduflu: got time to review this before you go? https://code.launchpad.net/~alan-griffiths/mir/fix-1300653/+merge/22569209:47
duflualan_g: Maybe :) Hang on09:47
alan_gduflu: thanks09:53
duflunp09:54
=== MacSlow is now known as MacSlow|lunch
=== chihchun_afk is now known as chihchun
=== MacSlow|lunch is now known as MacSlow
=== Trevinho_ is now known as Trevinho
kdub_hey all12:54
=== renato_ is now known as renato__
mzanettianpok: hey, I'd need some help with touch input events.13:01
mzanettiwould you have a bit of time for that?13:01
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== doko_ is now known as doko
alf_mterry: Hi! I am working on refactoring USC. Do we have a document (or even better tests) describing the expected behavior for session switching and spinner display when we get DM events?14:58
mterryalf_, no, but I could try to put together a quick explanation14:59
anpokmzanetti: meeting is in a minutes14:59
anpok-s14:59
anpokright after that14:59
alf_mterry: That would be useful, thanks. Based on that I can write some tests you can then review for expected behavior.15:00
alf_mterry: could you please also briefly describe in the explanation what exactly "next" and "active" mean for the DM15:03
mterryalf_, yup15:03
mterrywriting that now in fact  :)15:03
alf_mterry: thank you :)15:04
=== chihchun is now known as chihchun_afk
mterryalf_, sent email.  Let me know if you have questions15:24
alf_mterry: great, thanks15:24
=== chihchun_afk is now known as chihchun
alf_camako: Sorry, hangouts crashed computer15:41
greybackalf_: hey just to tell you, the issues I was having on Friday last week (the GL/GLES conflict) I resolved. I needed to call eglBindAPI before mir created a context. However I had made a typo: EGL_OPENGL_BIT instead of EGL_OPENGL_API16:21
greybackso no need for an immediate mir change16:21
alf_greyback: Interesting that this works, since Mir sets eglBindAPI() to ES2 when creating a context16:22
alf_greyback: this for the desktop, IIRC?16:23
greybackalf_: really? Heh, then I'm confused :) Yes desktop16:23
alan_gdednick: had a look at this yet? https://code.launchpad.net/~alan-griffiths/mir/spike-trusted-helper-socket/+merge/22567716:41
dednickalan_g: eh. no, i haven't had a chance yet.16:41
dednickalan_g: sorry. i will try to get it in tomorrow morning. Just busy trying to get somethings to land16:41
alan_gdednick: np. (Until kgunn asks why it didn't land.) ;)16:43
=== alan_g is now known as alan_g|EOD
PreSSionso, for example, a game for example metro,... will be compatible in ubuntu mir?18:07
PreSSioni think no18:08
kdub_PreSSion, not enough info.... mir can run games18:08
PreSSionyes, i know, but i want buy metro for linux18:09
PreSSionbut idk because i don't know if in the future i will can play in ubuntu with mir18:09
PreSSionsorry for my "engrish"18:10
PreSSionso, I  want to buy a game, its ok, i know now i can play in ubuntu18:10
PreSSionbut i don't know if in the future i will can play in the future ubuntu versions with mir18:11
kdub_we should have backwards compatibility with xmir18:11
PreSSionoh nice, so i will play for example metro in ubuntu phone18:12
PreSSionposible right=18:12
PreSSioni mean when i put the dock station with the monitor18:13
racarrwell most phones are arm not x8618:14
racarrso no binary compatibility18:14
PreSSionyes, but ubuntu said his phone will have full convergence18:15
PreSSionso, ubuntu will sell some phone with x86 processor?18:15
PreSSionnice, i see one of the ubuntu phone have got an intel atom processor, so that phone will be full convergence and play games as metro right?18:21
PreSSionwith xmir ofc18:21
racarrallllmost done with my foray in to surface attributes18:37
racarrI instantiated 4 common tests over all of them 1.Default value. 2. Notifies observer on change 3.Doesntnotify observer on default change18:38
* greyback raises an eyebrow18:38
racarrerr on no change18:38
racarr4. Throws on invalid value18:38
racarrand only about half pass...18:39
racarrand then DPI uses invalid value to mean "Query"18:39
racarrgreyback: ?18:40
greybackracarr: just curious18:41
greybackracarr: thought you were adding more surface attributes or something18:41
racarrhaha not yet18:42
greybackracarr: would be nice if we could have a protobuf style way of defining properties on surfaces, just a text file which defines type and range could do a lot18:43
* greyback wakes from dream world and goes back to work18:44
racarrhaha18:44
racarrim not sure about that far18:44
racarrbut ultimately I would like the attribute system to be more generic...18:44
racarri.e. cursor setting should be an attribute...18:44
racarrits not clear that size isnt an attribute18:44
racarretc18:44
greybackit was one reason I wanted the custom protobuf stuff, so we could rapidly iterate on surface attributes. Sadly that wasn't possible with protobuf18:45
* kdub_ sorta likes that idea18:49
kdub_ s/sorta//18:49
racarr:)18:55
racarrall im doingh now...is ensuring consistent semantics on all of them18:55
racarrand also making them18:55
racarrsent on surface creation18:55
racarrso that the client can always query them with a non blocking getter18:55
racarrcurrently we are missing getters for 218:55
racarrand one has a blocking getter18:55
racarr(dpi)18:55
kdub_i've been thinking that some sort of generic/extensible compositor data system would be a win too19:00
racarrmm19:01
kdub_like...19:02
kdub_visibility19:02
=== josharenson1 is now known as josharenson
kdub_or animation... the compositor should be able to tag the surfaces with data19:05
kdub_and the data can be generic to libmirserver19:05
kdub_and every individual compositor keeps the concept of what data they're tagging with19:05
* kdub_ ends musing19:05
racarrLunnch19:27
=== renato_ is now known as Guest32432
=== Guest32432 is now known as renato__
greybackhey guys, anyone run xmir with nouveau recently? I'm just seeing a black screen for USC22:04
greybackbregma: hey, I'm having trouble testing unity8-mir on my desktop (well having trouble with USC) - could I ask you to do a quick test of ppa:unity-team/phone-right-edge to see if unity8-mir comes up or not?22:06
=== w00t_ is now known as w00t
greybackok so working with mterry a bit, he think it's more XMir issue than USC.22:18
greybacklet me recap:22:18
greybackI have  ubuntu-desktop-mir  & USC installed22:19
greybackWhen I startup, after plymouth, I just get a black screen22:20
greybackI see that USC is running though. Also appears to be an X server running22:20
greybackhere's useful log-files http://pastebin.ubuntu.com/7762355/22:22
greybackmterry sees from the USC log file that USC never sees a client session - i.e. the xmir greeter session22:22
greybackrunning mir 0.4.022:23
racarrgreyback: no ideas on my end sorry...22:33
racarryou can start xmir with Xorg :1 -mi r <ANYTHING>22:33
racarr -mir22:34
racarrand make sure it doesnt segfault22:34
racarreven Xorg :1 -mir 0 -retro22:34
racarrto get the crosshatch so there will be something22:34
racarron screen lol22:34
bschaeferracarr, you don't need -mirSocket?22:34
racarroh22:34
racarrmaybe22:34
racarrI think you can use22:34
racarrMIR_SOCKET22:34
racarrenv22:34
bschaeferoo right yeah you can22:34
greybackracarr: thanks for suggestion, doing that leaves me with a hanging process http://pastebin.ubuntu.com/7762468/22:50
bschaefergreyback, i was running into that earlier attempt to do xmir ... let me try on a mir server22:51
greybackbschaefer: thanks :)22:52
bschaefernp!22:52
bschaefergreyback, X seems to start up for me22:53
bschaefergreyback, this is just a mir_demo_server though, + xmir22:53
greybackbschaefer: ok, I'll try that,  just to see22:54
bschaeferwouldn't hurt to try that out22:54
greybackhuh, I get a "Connection refused" error.22:56
greybackbut I can run a mir demo client ok22:56
bschaefergreyback, chmod 777 /tmp/mir_socket?22:56
bschaefero22:56
bschaeferhmm22:56
bschaefergreyback, is it trying forever to attempt to connect to the xserver?22:56
greybackbschaefer: nope22:56
greybackbschaefer: nope, it terminates22:56
bschaefergreyback, whats your MIR_SOCKET?22:57
bschaefererr well a demo works...22:57
greybackhttp://pastebin.ubuntu.com/7762489/22:57
bschaeferwhy does a demo work...22:57
greyback /run/mir_socket22:57
greybackoh oh oh22:57
bschaefergreyback, mir_demo_server_* puts the socket in /run for you?22:57
greyback /tmp/mir_socket22:58
bschaeferyeah22:58
bschaeferthat'll be the issue :)22:58
greybackLoading extension GLX22:58
greybackDriver needs flags 0, incompatible with nested, deleting.22:58
greybackDriver needs flags 0, incompatible with nested, deleting.22:58
greybackDriver needs flags 1, incompatible with nested, deleting.22:58
bschaeferthats normal, at lease i hit those22:58
greybackok22:58
bschaeferthen the background loads, and you get a nice x cursor22:58
greybackbschaefer: kinda, I just saw the screen flash black/grey/black/grey/black and I'm back to a black screen23:01
bschaefergreyback, o, that doesn't sound good. I get the flashing for a second, then it loads23:02
bschaefermaybe the xorg log offers some info?23:02
greybackbschaefer: nothing I can see as obvious anyway: http://pastebin.ubuntu.com/7762506/23:05
bschaefergreyback, im also using intel23:05
bschaeferwhich could explain some things...23:05
greybackbschaefer: indeed23:05
greybackbut this did used to work23:05
greybackwell it's late here, think I'll give up for the night,23:06
bschaeferinteresting...23:06
greybackbschaefer: thanks for the help so far23:07
bschaefergreyback, its only mid afternoon here :)23:07
bschaefergreyback, hopefully you can figure out some more info! Have a good night!23:07
greybackbschaefer: ah you folk in your sunny climes23:07
bschaeferhaha23:07
greybacko/23:07
racarrRAOF: Ping?23:48
RAOFracarr: Pong!23:48
racarrRAOF: The import of xcursor.c has lead to mass abstention23:48
racarron cursor spike phase 623:48
racarrcan you weigh in?23:48
racarrI mean not urgently or anything just at some point23:49
RAOFracarr: Sure, queued up.23:51
racarrthanks23:51

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