/srv/irclogs.ubuntu.com/2013/09/02/#ubuntu-mir.txt

RAOFYou know what would be really awesome?01:00
RAOFDocumentation of the ownership semantics of pointers we pass into mirclient.01:01
=== duflu_ is now known as duflu
dufluRAOF: What is the ID in "X -mir ID" ?03:27
RAOFIt's the name that XMir uses to identify its connection.03:28
RAOFduflu: It's a string that usc uses to distinguish between different xservers.03:28
dufluRAOF: Oh, my mistake for assuming it was always an int03:29
RAOFIt's passed verbatim through to mir_connect03:30
RAOFusc just happens to pass integer strings for it :)03:30
dufluRAOF: Ah, kay. I know the connect string is harmless. Didn't know that's what -mir ID was03:31
* RAOF should possibly document it better03:31
oiaohmRAOF: sometimes is great when a team has a techical writer for some of these items that need documentation.  They don't get destracted by needing to code.03:35
dufluoiaohm: That's true, you do get better results with dedicated technical writers. However in this case we're talking about a very small section of code, not part of any docs03:37
* duflu is impressed that --display-config sidebyside figures out where the monitors are in space and gets them *backwards* every time ;)03:38
dufluRAOF: Is there a reason why XMir changes the monitor layout immediately on startup, even with zero X clients?03:39
RAOFduflu: Because that's X's default behaviour, and I haven't yet overridden it.03:42
dufluRAOF: Kind of?... X without Mir doesn't change the resolution or start mirroring. Whereas XMir does both (bug 1216224)03:43
ubot5bug 1216224 in XMir "[multimonitor] XMir defaults to wrong resolution 1152x864 instead of 1920x1200." [Undecided,Confirmed] https://launchpad.net/bugs/121622403:43
RAOFduflu: xf86-video-intel overrides X's default behaviour.03:44
duflu_Whee, i915 hangcheck03:47
=== duflu_ is now known as duflu
oiaohmThere are a lot of horible x11 features killed by drivers.03:53
tvossgood morning :)04:17
RAOFAloha!04:19
smartboyhwtvoss, hello:)04:19
tvosssmartboyhw, hey there :) how is it going?04:20
smartboyhwtvoss, quite good:) How's XMir?04:20
tvosssmartboyhw, alive and we made feature freeze, now some issue to fix04:20
smartboyhwtvoss, \o/04:20
* duflu goes to find lunch, and the store04:46
duflutvoss: BTW if there are still radeon corruption issues without bugs, please log another bug. We only have one right now... bug 121881505:24
ubot5bug 1218815 in xorg-server (Ubuntu) "[radeon] Graphic glitches and screen corruption since the latest update" [Undecided,Incomplete] https://launchpad.net/bugs/121881505:24
RAOFHarumph.06:15
RAOFWhy am I receiving unpared focus/unfocus events?06:16
RAOFOh, of course!06:17
RAOFmir_surface_release doesn't implicitly trigger a focus lost event.06:17
dufluRAOF: Wonder if it should....06:20
RAOFIt would make my life easier.06:20
RAOFAnd I don't think that my use case is *that* peculiar.06:21
RAOFAnd given that I need to add at least *some* code to make this work...06:22
dufluRAOF: Though that's another reason why the even should be on the connection rather than on the surface...06:25
RAOFWell, possibly multi-layered?06:26
dufluDon't know06:28
dufluRAOF: Is there a way to make X not ignore the LD_LIBRARY_PATH?06:28
RAOFIt doesn't ignore LD_LIBRARY_PATH06:28
dufluHmm, mine is06:28
RAOFAre you trying to pass LD_LIBRARY_PATH througgh sudo again?06:28
dufluRAOF: No06:28
RAOFHm. Should work. I've used it in the past.06:30
dufluRAOF: Sanity check: Does the frame ordering issue occur on nouveau/radeon?06:36
RAOFduflu: I don't know; I don't have dual-head nouveau/radeon set up.06:37
=== smartboyhw_ is now known as smartboyhw
dufluRAOF: Sanity check (2): What branch/URL contains the latest XMir?06:51
RAOFduflu: The Ubuntu archive.07:02
dholbachgood morning07:02
dufluOh, I'm cloning that just now07:02
dufluMorning dholbach07:02
dholbachhi duflu07:02
RAOFAha! unity-system-compositor needs to handle this. Maybe.07:04
dufluRAOF: So... maintaining in archive means maintained as a patch? That sounds painful07:09
dufluPossibly less painful than not being in archive though07:09
RAOFduflu: Ah, no. I maintainish on vladmir-upstreaming branch of github, then dump the diff of that against vladmir-upstream-base to generate the patch.07:10
RAOFduflu: If you want to do upstreamish hacking on xmir that's where you should hack, but if you want to do printf debugging you want to start with the archive.07:11
dufluYep07:11
RAOFWe appear to have three subtly different focus mechanism classes in Shell :/07:12
dufluAwesome. More the merrier07:13
dufluOr is that backwards?07:13
dufluArgh. How can building the archive version have missing symbols when my machine is up to date?07:17
RAOF*Fails* with missing symbols?07:21
RAOF(Also, what do you mean by missing symbols?)07:21
dufluRAOF: X: symbol lookup error: /usr/lib/xorg/modules/drivers/intel_drv.so: undefined symbol: xmir_window_to_windowptr07:25
RAOFHrm. Odd.07:26
* duflu rebuilds the intel driver07:26
RAOFIs xmir successfully loading/?07:26
RAOFBecause that woud happen in the past when xmir failed to find mir, and then would unload itself.07:26
RAOFBut I thought I made those errors fatal.07:26
dufluRAOF: Yes, now. But my packages are kind of screwed now. Trying to fix07:28
dufluRAOF: Oh. Someone has been dputting without updating the lp:ubuntu/....07:34
RAOFlp:ubuntu/ is automatically maintained. When it works.07:34
dufluYeah it's quite behind right now07:35
dufluA few weeks07:35
dufluMaybe apt-get source will give me the actual correct code...07:36
RAOFIt shall.07:36
* mlankhorst pokes tvoss with a glmark2 deb07:51
tvossmlankhorst, yeah :)07:51
tvossmlankhorst, sent07:53
tvossmlankhorst, sent you armhf, too07:54
tvossmlankhorst, not sure you need them, though07:54
dufluRAOF: Unexpectedly I appear to have fixed the artifact'd cursor08:03
tvossduflu, how so? :)08:13
duflutvoss: Maybe I just hid it by going slower. Added more mir_wait_for in xmir08:13
dufluI'm still concerned by XMir's apparent lack of synchronization though08:14
RAOFduflu: What were you mir_wait_foring?08:54
dufluRAOF: The swap buffers08:57
RAOFOh, yeah. That'd be adding significant wait.08:57
dufluRAOF: Cos there doesn't seem to be any guarantee otherwise that mir_surface_get_current_buffer is getting for the correct frame08:58
RAOFNothing should call that until has_free_buffer is true, which is set in the buffer_received callback.08:58
RAOFAnd we should only ever have one swap_buffers in flight at any one time.08:59
RAOF(per surface)08:59
dufluRAOF: OK, will have a closer look next time I'm in XMir09:01
dufluPing alan_g09:23
alan_gduflu: good morning09:23
duflualan_g: Hi. Something that's tripped me up a few times... the display server test fixture hangs if you try to swap buffers more than once. Any idea why?09:24
alan_gduflu: yes09:25
dufluUmm, good.09:25
alan_gduflu: It uses a stubbed graphics component that never consumes buffers09:25
duflualan_g: I keep getting lost in the whole "this test is now three processes" :( Do you think you can propose a way to consume them?09:26
RAOFWhy does C++11 not contain features in C99? :(09:29
alan_gduflu: I can add it to the list. (I'll probably need a fuller test graphics implementation for nested mir at some point)09:29
alan_gRAOF: because they're bad ideas?09:30
dufluRAOF: Because the ideas are *too good*09:30
alan_gDoes anyone implement all C99 anyway?09:30
dufluRAOF: Consider it a fork with no recent common ancestor :/09:31
RAOFalan_g: I don't think designated structure initialisers are a bad idea ;)09:35
tvossRAOF, now that's a good idea, indeed. Have stumbled over that multiple times, too09:37
alan_gRAOF: as best as I can tell the only reason is that no-one proposed adding them09:40
* duflu also votes for dynamically sized arrays in the local stack frame09:40
dufluI think people raised that as a security risk though09:41
duflualan_g: Strangely, multiple swaps started working recently (with the switch branch??) and we added a test case that depends on it. But now I'm working on new buffering changes, the new test case hangs (expectedly)09:45
alan_gduflu: in that case I have no idea09:46
duflualan_g: OK, I *think* I found a fix. Will propose it soon09:53
greybackHi folks, I've an 26" Apple display in front of me that I want to use as second monitor with my macbook pro. When I plug it in, I get black screens, except for on my laptop where the cursor remains. If I try to move the cursor, it takes 2-5 seconds for the display to update. Ideas?10:03
duflugreyback: radeon by any chance?10:09
greybackduflu: nope, intel sandybridge10:09
duflugreyback: Anything chewing CPU while the cursor is slow?10:09
greybackduflu: any way I can tell, without needing a second device to SSH in?10:10
greybacknote unplugging made everything ok again10:11
duflugreyback: With Mir you will often need a second device for ssh :(10:12
duflugreyback: It's only OK _while_ unplugged?10:12
greybackduflu: yes. Plugged in, laptop display black screen with cursor, Apple display unchanged, as if not plugged in at all. If I unplug, laptop display returns to normal10:14
duflugreyback: Normal X session you mean?10:15
duflugreyback: X will auto-enable remembered multi-monitor layouts when new monitors become available AFAIK. Maybe you should start fresh by removing ~/.config/monitors.xml10:16
greybackduflu: yes, I'm using XMir. Ok will try that.10:16
* greyback just pulled updates, will reboot for safety10:17
duflugreyback: You're not the only one reporting a black screen. So it would be helpful to get to the bottom of10:17
greybackduflu: ok. Will let you know once I reboot. Also have my tablet here with terminal app, so should be able to ssh into my laptop10:18
duflugreyback: Is that soon? I am off in a minute...10:21
=== mpt_ is now known as mpt
greybackduflu: I'll probably be 5 minutes. No worries if it's your EOD10:22
duflugreyback: OK, I can easily track the issue if you log a bug :)10:23
greybackduflu: ack10:23
mlankhorsttvoss: hm sent me where?10:25
tvossmaarten.lankhorst@canonical.com10:25
mlankhorstodd, didn't arrive then10:27
mlankhorstoh nm i see it now10:27
mlankhorstderp10:28
alan_ghikiko: have you time to review https://code.launchpad.net/~alan-griffiths/mir/tidy-up-nested-class-responsibilities/+merge/183233?10:31
hikikoyes alan_g10:32
hikikoin a sec to finish something10:32
mlankhorsttvoss: hm seems most likely that nouveau is syncing glmark2 to vblank :P10:49
tvossmlankhorst, oops :)10:50
tvossmlankhorst, however, having something like 60fps would already be better than last week, both for X and XMir10:50
mlankhorsttry glmark2 --off-screen10:51
=== chihchun is now known as chihchun_afk
=== hikiko is now known as hikiko|lunch
tvossRAOF, ping12:02
=== alan_g is now known as alan_g|lunch
penghuanhi, i build mir locally, i got an error, "undefined symbol: eglCreateImageKHR", how can i resolve this12:41
=== hikiko|lunch is now known as hikiko
=== alan_g|lunch is now known as alan_g
alan_gpenghuan: I can only guess that you've not got the right dependencies installed in your build environment. You've followed these instructions? http://unity.ubuntu.com/mir/building_source_for_pc.html13:34
smartboyhwtvoss, (and the Mir team), I can't seem to load lightdm using XMir13:52
tvosspenghuan, do you have libhybris or libhybris-dev installed?13:53
tvosssmartboyhw, not sure what you mean? what are the symptoms you see?13:53
smartboyhwtvoss, after Plymouth, it went black13:54
smartboyhwWell, seems like that I have to report a bug:(13:54
tvosssmartboyhw, that's fine :) please make sure to attach the relevant logs including dmesg13:55
smartboyhwtvoss, for dmesg, how can I find PAST logs?14:00
smartboyhwSince I've now booted in using Xorg14:00
tvosssmartboyhw, you cannot really resurrect it, sorry14:03
tvosssmartboyhw, what kind of setup are you testing?14:04
smartboyhwtvoss, so unfortunately, I can't include it then14:04
smartboyhwtvoss, Ubuntu 13.1014:04
tvosssmartboyhw, in terms of hw?14:04
smartboyhwtvoss, laptop (amd)14:04
smartboyhwI mean, amd card14:04
smartboyhwtvoss, Bug 121984714:21
ubot5bug 1219847 in mir (Ubuntu) "XMir can not start LightDM" [Undecided,New] https://launchpad.net/bugs/121984714:21
tvosssmartboyhw, thanks14:21
smartboyhwBut, I can't attach anything (in Firefox or Chromium) weird14:21
jibelI get bug 1218456 with xserver-xorg-video-ati14:28
ubot5bug 1218456 in xorg-server (Ubuntu) "Xorg assert failure: X: ../../../../include/privates.h:123: dixGetPrivateAddr: Assertion `key->initialized' failed." [Critical,Confirmed] https://launchpad.net/bugs/121845614:28
tvossjibel, I assume you upvoted it?14:29
jibeltvoss, yes14:31
tvossjibel, thanks for reporting :)14:32
jibeltvoss, yw, let me know if you need more info, this is my main work machine :)14:33
tvossjibel, ;)14:33
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
tvosskdub, ping14:57
kdubhello tvoss14:57
tvosskdub, unping, it's labor day, isn't it?14:57
kdubit is, but i thought I'd quickly update myself and check our status after my time off :)14:59
tvosskdub, ff is passed, we do see some performance issues on the galaxy nexus15:01
tvosskdub, first of all: welcome back :)15:01
kdubthanks :)15:02
=== 16WAAZ40T is now known as tvoss_
=== alan_g is now known as alan_g|EOD

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