/srv/irclogs.ubuntu.com/2014/06/10/#ubuntu-mir.txt

RAOFBah!04:43
RAOFQT CREATOR!!!!!!!!!04:44
anpokalf_: do you have any thoughts regarding a new separate namespace for main loop, timer service..07:14
RAOFI don't think it's a terrible idea, but I'm not sure what it would be.07:19
anpokscheduler is a hot candidate.. like event_loop07:19
RAOFThat's a pretty decent name.07:20
alf_anpok: mir::services? scheduler is not bad07:20
anpokRAOF: btw, regarding mesa - all issues so far were solved through pulling in further autotools related patches from master07:20
RAOFYou autotools!07:21
anpokRAOF: what is currently in the archive is a non-functional gallium backend07:21
RAOFAh.07:21
RAOFHeh.07:21
anpokRAOF: now it stumbles getting a good EGLConfig - i.e. surface attribute bit is wrong iirc07:21
anpokalf_: sounds good but, but what is not a service? (maybe I misnamed timer service?)07:22
anpok-but07:22
alf_anpok: fair point07:23
anpokRAOF: ah right, this one is really odd.. all config entities it checks have EGL_PBUFFER_BIT = 0x1 and one that is not listed in egl.h 0x10... so it is 0x11 while we want EGL_WINDOW_BIT = 0x4 to be set07:26
RAOFHm. Incorrect shift?07:26
anpokI have not yet found the place where those config objects get assembled..07:27
anpokoh no it isi 0x8 + 0x1 actually07:28
anpokbut that one is also not listed in egl.h07:28
anpoknot as a surface type at least07:28
=== robjh- is now known as peps
anpokalf_: i would like to introduce an interface like main loop that does not say "i am a single instance" - maybe something like EventLoop or Scheduler .. dunno .. which provides the FD/Timer/ActionQeueu (services :))..07:30
alf_anpok: Whether this is going to be useful depends on what needs our consumers have. For example at the moment we have a need for synchronized FD + Signal + ActionQueue (current MainLoop) and a Timer which doesn't need to be sync with them.07:34
alf_s/synchronized/serialized/07:35
anpokhm input sender needs fd + timer, none of them need to be serialized.. or in the main loop or ..07:35
alf_anpok: I guess if two services don't need to be serialized between them, we might as well pass them as separate interfaces?07:36
anpokyes07:36
anpokoh .. sorry that was what I wanted to express07:37
anpoks/an interface/a class/07:37
RAOFThe way AsioMainLoop provided both mir::MainLoop and mir::Timer? :)07:38
anpokyes..07:38
anpokso that we can decide within server configuration which thread handles which type of events for which part of the mir functionality07:39
alf_anpok: RAOF: Didn't we split them apart to make things simpler? :)07:39
anpokyeah lets revert07:39
alf_anpok: hmm, if we really need this can we somehow use composition to provide the functionality and keep the eveng logic in separate classes?07:41
alf_anpok: instead of going back to the the loop super file?07:42
anpokyes.. that should be a driving goal07:42
anpokalso getting rid of the unpredictable parts of asio07:42
anpokI wont be working on that this week or so..07:43
anpokJust thought about it again, as I am updateing the MPs again07:43
RAOFMan I wish gdb worked.08:05
alan_gRAOF: ? It has been working for me for at least a decade08:23
RAOFalan_g: Tried it on mir_unit_tests recently? It segfaults while trying to load the debugging symbols.09:03
alan_gRAOF: yes, I've been using it to track down weird behaviour in trust-session APIs09:04
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== chihchun_afk is now known as chihchun
alan_galf_: thanks for the clue - that's fixed now and I don't have to worry about a mystery CI failure. [@https://code.launchpad.net/~alan-griffiths/mir/rework-test_client_library_old.cpp/+merge/222018/comments/533359]11:10
alf_alan_g: great, glad I could help11:11
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== pete-woods is now known as pete-woods-lunch
anpokalan_g: i just realized that you suggested scheduling, while I propose scheduler instead..11:58
alan_ganpok: scheduler is likely better.11:58
anpok... ok then I will rebase the input sender on that..11:59
=== alan_g is now known as alan_g|lunch
anpokhm I should move TimerService too12:07
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
=== pete-woods-lunch is now known as pete-woods
anpokalf_: I am inclined to rename mir::graphics::EventHandlerRegistrar to scheduler::FDHandlerRegistrar12:59
anpokbecause in input::InputSender I only use that part of the main loop interface13:00
=== dandrader|afk is now known as dandrader
=== chihchun_afk is now known as chihchun
anpokalan_g: alf_: kdub_: is the order in which parts of the DisplayServer are started and stopped relevant?14:00
anpokI see we do have test cases that ensure a specific order..14:00
alan_ganpok: yes (but I can't remember details)14:01
alf_anpok: yes14:01
anpokI think about your complaint about the name TimerService..14:01
alf_anpok: TimerServiceManagerer :P14:03
anpokhehe14:03
anpokthat part of the interface is only there to start&stop it.. so maybe we could inverse it.. and make it an observer of the server state, and react by starting and stopping the thread14:04
anpokor provide a StartStoppable (suggestions welcome) interface14:04
anpokthat could be driven by DisplayServer14:05
anpokbut that means the we strictly follow insertion order on start and backwards on stop..14:05
anpoks/the we/that we have to/14:05
anpokor on third thought..:14:07
alf_anpok: there is also the pause/resume case which has some special needs14:07
anpokclass AlarmLoop : public AlarmService14:07
=== alan_g is now known as alan_g|tea
AlbertAkdub_: for your alpha question yesterday...14:38
=== alan_g|tea is now known as alan_g
AlbertAkdub_: the issue with the alpha originally was yes, the alpha channel in nested was not initialized14:38
AlbertAkdub_: so then we initialized it to opaque14:39
=== jono is now known as Guest92020
AlbertAkdub_: that doesn't work for the split greeter work as it relies on being able to show through multiple nested sessions14:39
AlbertAkdub_: so then I modified it so that a nested transparent display buffer would get its alpha channel written14:40
AlbertAkdub_: and the last change was to make it actually write correct alpha14:41
AlbertAkdub_: to avoid alpha^2'ish effects14:41
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|lunch
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dandrader|lunch is now known as dandrader
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== alan_g is now known as alan_g|EOD
=== dandrader is now known as dandrader|afk
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
kdub_sigh, why did we lose the rich pixel format type18:52
anpokkdub_: from the conversations I heard it was just side effect of unification of two types..19:08
=== dandrader|afk is now known as dandrader
kdub_heh, i'd say the type was just c-ified :)19:13
anpokcode is patient19:24
anpokor version control systems at least19:24
anpokkdub_: maybe a good time to get that mp through :)19:25
kdub_yeah, seems like a big chunk to improve given how pervasive the type is though19:27
kdub_other fish to fry19:28
anpokhm are there affordable displays to test depp color pixel formats19:30
anpoki only know that mine sucks even at displaying 8 bit per channel19:31
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
anpokhi racarr_20:34
=== DalekSec_ is now known as DalekSec
racarr_anpok: hi. What's up?20:57
racarr_seems like there was netsplit or something.20:58
racarr_did I miss something?!?!20:58
anpoknope20:59
racarr_haha21:00
racarr_I was just converting cursor test stuff to inprocess server test21:00
racarr_to find this intermittent failure21:00
racarr_and found that but still have the other half of the tests to convert now.21:00
racarr_then...I have to do the same thing for this enable usb touchscreen branch lol21:00
racarr_I feel good about getting more fake devices in fake event hub though21:01
racarr_I was thinking after that branch lands I will add a fake joystick.21:01
racarr_fake wacom style tablet, etc.21:03
racarr_hmm22:11
racarr_I have a weird throw in std::mutex::lock I dont understand22:11
racarr_Throws std::system_error when errors occur, including errors from the underlying operating system that would prevent lock from meeting its specifications. The mutex is not locked in the case of any exception being thrown22:12
racarr_like what!22:12
racarr_oh I understand22:13
racarr_lol22:13
racarr_good talk22:13
kdub_why do we have a Width /and/ a DeltaX23:26
RAOFanpok: The Dell UltraSharp line does (reasonably) affordable 10bpp panels; even the crappier ones are full 8bit. :)23:32

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