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

racarronly 68 more files to remove mir event access from01:02
racarrwill be here for meeting but going to break for a while01:29
DalekSecHello!  Sorry to come with so little detail, but is there a known issue with xmir, nouveau, tty switching, or such that would cause a screen lockup?  What I did, booted into the xmir session, looked at a couple things, ran a few commands, switched to a tty and ran a couple more, switched back to TTY7 and after a little typing nothing seemed to take anymore, keyboard or mouse.  I was also unable to02:43
DalekSecswitch TTYs.02:43
DalekSecCongrats otherwise, was more responsive than before! :)02:46
dufluDalekSec: Not surprising such bugs might still exist, but I'm not aware of anyone else still experiencing that kind of thing. Not sure02:53
DalekSecOh sorry, Mir 0.10.0, forgot to say. >_<02:54
DalekSecduflu: OK, thanks.  It was a live session anyway, so no harm.02:54
dufluDalekSec: Yeah I could tell if it's "more responsive" :)02:54
DalekSecAhaha. :D02:54
dufluDalekSec: BTW Mir 0.11 will be noticeably better for XMir02:55
DalekSecduflu: Oh?  And is that going to be released into vivid soon?02:56
dufluDalekSec: Probably more like a month away. It will take that long to reach critical mass02:56
DalekSecAh, alright.  Thanks.  I suppose I should check the tabloids to see what might be coming. :P02:57
dufluDalekSec: Maybe, but this channel is more accurate :)02:58
duflubecause the Mir team is actually here02:58
DalekSecOh indeed, I don't follow it too closely though, too many things to keep track of.02:58
dufluHa. I keep starting the wrong version of our demo servers by accident. But you notice the difference immediately as 0.10 is noticeably more laggy than 0.1103:41
dufluracarr: You could make a permanently opaque structure for clients like:04:37
duflustruct MirEvent04:37
duflu{04:37
duflu    long long serial_num;   // A unique ID for this event. Only Mir can use it.04:37
duflu};04:37
dufluAnd let the server decide how long is right to remember each one internally04:37
dufluif not "char opaque[1024];" ;)04:38
DalekSec(Oh woah, 1212753 was fixed?!  Also, I don't suppose that'll fix the software renderer?)04:39
dufluI mean let the client library decide how long to keep the internal representation of each04:39
dufluDalekSec: Kinda. That error should now be impossible but none of mir-team has hardware to reproduce and verify it04:40
DalekSecSo I suppose if I get a chance, I should check it.  OK, coolio.  I'll stop bugging now. :)04:41
=== chihchun_afk is now known as chihchun
dufluUgg, I top approve things and then am surprised when they land06:24
dufluClever06:24
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
anpokhm is there any reason why RAOF used mir/{client,server}-platform as install paths for platforms but just {client,server}-modules inside the build?09:01
=== sil2100_ is now known as sil2100
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
greybackalf_: hey, I've multimonitor working with Qt. Did you ever observe, with mesa, that one display's swap buffers would cause swap buffers of the other display to block?10:34
anpokwow, one thread per monitor?10:35
greybackyeah10:35
anpokand a single qml scene?10:35
greybackyeah10:35
alf_greyback: \o/, I haven't noticed this. Could it be locking at the qml/qt level?10:35
anpokhm then one event loop .. hmm are renderers allowed to draw one scene multiple times?10:35
alf_greyback: Also is this using MultiThreadedCompositor now or just Qt as before?10:36
greybackanpok: one per "frame" the QML scene is synchronized with the scenegraph. The scenegraph can then be passed over multiple times if need be10:37
anpokoh10:37
anpoki mean .. cool10:37
greybackalf_: just Qt. It's another project to combine mir and qt's renderers10:37
alf_greyback: ok10:38
greybackanpok: note it's not a single scene as you'd define it. We've 1 QML scene, but it is split into 2 subtrees, one subtree for each monitor10:38
greybackanpok: so I can't easily have something 1/2 way on each monitor10:38
greybackalf_: so yeah it could be many things, I just heard rumour mesa might be an issue10:40
anpokhm something like that might happen with qxl10:41
alf_greyback: I haven't noticed something like this locally, but I haven't tried MM recently. Does the blocking have a visible effect?10:41
greybackalf_: with relatively complex scenes yes. I see one monitor's eglSwapBuffer block for 7-10ms every frame10:42
greybackI'm sure you would have noticed that however. So probably something I'm doing wrong10:42
greybackbut yay for almost working , and not crashing10:43
alf_greyback: Is that the low-level eglSwapBuffer call in mesa::DisplayBuffer ?10:43
greybackalf_: not quite, it's the DisplayBuffer::gl_swap_buffers and flip calls10:44
alf_greyback: If this includes flip then a delay is normal, since need to synchronize with vsync to do the flip.10:47
* greyback goes to disable on non-primary monitor...10:55
alf_greyback: having said that, you should also be seeing such a "delay" even with one monitor. If you are seeing very different delay behavior with multiple screens we should look into it. Of course, with multiple screens we are stressing the GPU more...11:04
greybackalf_: I only see such a delay with one monitor. I want to see how a stock mir server behaves11:05
duflugreyback_: Multi-monitor could theoretically suffer from indefinite freezes on secondary monitors (part of bug 1395581)11:21
ubot5bug 1395581 in Mir "Double-buffered surfaces may lag or freeze if event driven and not constantly redrawing" [High,In progress] https://launchpad.net/bugs/139558111:21
duflu... in theory11:21
dufluAlthough your render time should be <1ms on desktop11:22
greyback_duflu: ok, will keep that in mind. I've an animation on both screens, so both should be constantly redrawing11:23
greyback_how do I make proving shell change to side-by-side config?11:23
duflugreyback_: --help ;)11:23
greyback_you mean I have to read, ugh11:23
duflugreyback_: Also you'll get significantly higher performance releasing all your renderables before the flip()11:24
dufluIf not already11:24
greyback_duflu: not so easy for qtmir to do that just yet, but yeah I understand why11:25
duflugreyback_: Sounds a lot like buffers_ready_for_compositor() is underestimated for the second monitor... which is bug 139558111:26
ubot5bug 1395581 in Mir "Double-buffered surfaces may lag or freeze if event driven and not constantly redrawing" [High,In progress] https://launchpad.net/bugs/139558111:26
greyback_duflu: I'm not even rendering client surfaces yet. This is compositor only11:27
duflugreyback_: Not nested I take it11:27
greyback_well mir-proving-shell works nicely11:27
greyback_duflu: correct11:27
duflugreyback_: OK, good luck. It's getting late here11:28
greyback_so qtmir has a problem somewhere11:28
greyback_duflu: absolutely, go away :)11:28
dufluKay11:28
alan_ggreyback_: would you also check "mir_demo_shell --display-config sidebyside  --window-manager tiling"? (There are some - probably irrelevant - compositing tweaks in proving shell)11:36
greyback_alan_g: ok11:37
greyback_alan_g: ah I don't have the latest mir for that11:37
greyback_mir_proving_server --display-config sidebyside  --window-manager tiling11:38
greyback_[1421840251.676989] (II) SharedLibrary: Loading libmirplatform5driver.so11:38
greyback_Unknown command line options: --window-manager tiling11:38
alan_ggreyback_: nevermind then11:38
greyback_next time11:38
alan_gLike I said the tweaks are probably irrelevant. Just peace of mind to eliminate them11:39
greyback_just figured out it's a qt problem, so I wouldn't worry :)11:40
alan_g:)11:43
anpokfor various definitions of 'I'?11:43
greyback_:D11:43
alan_ganpok: it's a common abbreviation for "if I were you then I wouldn't worry"/"I wouldn't worry if I were you"11:46
anpok... lost in translation11:50
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
=== marcusto_ is now known as marcustomlinson
=== chihchun is now known as chihchun_afk
tsdgeosguys, do you use zeitgeist for something?15:05
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD
=== SturmFlut|AFK is now known as SturmFlut
=== greyback__ is now known as greyback

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