/srv/irclogs.ubuntu.com/2015/07/31/#ubuntu-mir.txt

RAOFGrr.00:14
RAOFThreadsafety by making every individual component threadsafe is maybe not the best idea.00:40
racarrRAOF: Yeah...I had this thought when I studied01:38
racarrChromium and they have this...uh01:38
racarrwell rather than each component is thread safe its more like components live in threads01:39
racarrand the threads are like01:39
racarrhigher level than the components01:39
racarre.g. render thread, ipc thread, etc...01:39
racarrgrr sorry I can't think of how to articulate it quickly01:39
RAOFThe google juice for that would be CSP (communicating sequential processes) I believe.01:39
racarrbut it was a really different model that I thought probably made more sense01:39
racarryeah I mean01:39
racarrit looked like that because the main communication between them was01:39
racarrthis fd thing but01:40
racarreven without going full like...01:40
racarrI mean even with still using shared memory concurrency01:40
racarryouc an group components in a smarter way and not01:40
racarrrequire thread safety on each one01:40
RAOFJust on the interface between them, yeah.01:40
RAOF(CSP doesn't imply not shared-memory, either)01:41
racarryeah thats true.01:42
racarrRunning out to Go club (Game not Lang)!01:42
RAOFCoo!01:42
RAOFHave fun!01:42
AlbertAvogons: so prepping for 0.15 release, abi compliance checker complains mir client is not ABI compatible because of enum MirPixelFormat mir_pixel_formats has changed...02:24
AlbertAany opinions on the matter?02:26
RAOFAlbertA: False positive.02:27
RAOFOr, rather, only code that currently fails to work will change behaviour.02:27
RAOF(I believe what it's complaining about in the value of mir_pixel_formats has changed)02:27
AlbertAyeah I couldn't think of anything....but it's late....02:28
AlbertARAOF: right, which should be unused or just used for bounds checking02:28
RAOFThe only way code can usefully use it is still valid (as a guard value).02:28
RAOFCorrect.02:28
AlbertAas long as it doesn't go down should be ok....02:28
RAOFIt technically is an ABI change, as something which called mir_foo(..., mir_pixel_formats) changes behaviour from erroring to passing.02:29
RAOFBut people who write such code deserve what they get :)02:29
RAOFHm.02:29
AlbertAhe he yep02:30
RAOFActually, that could plausibly break a test-suite.02:30
RAOFBut almost certainly doesn't, and shouldn't break any code that *users* care about.02:31
RAOFSo, go ahead.02:31
AlbertAtest-suite probing behavior of mir client apis?02:31
AlbertAwith invalid inputs?02:31
AlbertAI suppose so....but is there such a thing in the wild?02:32
RAOFA toolkit could reasonably use that to check its handling of Mir errors, for example.02:32
AlbertAumm true... but that's why you mock those things :)02:33
RAOFI don't think there is such a test-suite in the wild, and I don't think that “inputs which were invalid remain invalid” is an ABI guarantee we make.02:33
dufluAlbertA: Yep mir_pixel_formats is intended to be a value current for the code it's compiled into. One should expect (and plan for) other users to be aware of a different value for mir_pixel_formats02:55
dufluAlbertA: Also, my MP up for review solves an issue that will block 0.15.02:56
dufluAlthough I'm making great progress optimizing QtMir, that won't be finished for a while02:57
AlbertAduflu: thanks, which MP?03:02
dufluAlbertA: My only one up for review :)03:02
AlbertAalways triple buffers?03:02
AlbertAduflu: ok03:02
RAOFMan, GLibMainLoop is thorny.07:43
duflugreyback: Fun fact: I successfully prototyped very short buffer holds in QtMir and found less than expected performance. Then looked at Mir again and found I had regressed the short hold feature back in Feb. Mir needs fixing :)08:59
greybackduflu: em, woo!08:59
=== andyrock_ is now known as andyrock
=== guest42345 is now known as guest00|AFK
=== alan_g is now known as alan_g|lunch
kenvandinekgunn, with silo 0 installed, usc doesn't start, is that known?13:25
kenvandineERROR: /build/mir-GtufN4/mir-0.13.4+15.04.20150717/src/platform/graphics/platform_probe.cpp(59): Throw in function std::shared_ptr<mir::SharedLibrary> mir::graphics::module_for_device(const std::vector<std::shared_ptr<mir::SharedLibrary> >&)13:25
kenvandineDynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE13:25
kenvandinestd::exception::what: Failed to find platform for current system13:25
greyback_kenvandine: known issue, USC needs rebuild13:31
kenvandinegreyback_, ok, so is someone doing that?13:31
kgunnkenvandine: yep, sorry....13:31
greyback_kenvandine: yep, will ping when it ready13:31
kenvandinethx13:32
greyback_someone rebuilt bits before it was all ready... :)13:32
kgunni rebuilt mir last night and got stuck on the u-s-c merge13:32
kgunngreyback_: ah,....that would be me13:32
kgunngreyback_: altho i did retarget mir0.14 and the whole bit13:32
greyback_kgunn: no worries, I had mir & qtmir updated, but wanted to finish usc before rebuilding13:33
kgunnyeah, i prolly shouldn't have done the piece wise rebuild13:33
kgunnesp after sending out mails13:33
kgunnclassic13:33
* kgunn hasn't checked mail and can only imagine13:34
=== alan_g|lunch is now known as alan_g
=== chihchun is now known as chihchun_afk
=== dandrader_ is now known as dandrader
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOW
=== dandrader|afk is now known as dandrader

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