/srv/irclogs.ubuntu.com/2015/09/11/#ubuntu-mir.txt

dufluThat's confusing...00:57
duflumir (0.15.1+15.10.20150903-0ubuntu1) wily; urgency=medium00:57
duflu  [ Kevin Gunn ]00:57
duflu  * released-rebuild-for-vivid-overlay00:57
duflu -- CI Train Bot <ci-train-bot@canonical.com>  Thu, 03 Sep 2015 18:50:01 +000000:57
duflubut also doesn't change anything00:57
robert_ancellduflu, does XMir crash immediately when you launch it on a Nexus 4?01:11
duflurobert_ancell: Yeah, but I'm pretty sure I know why. I'll test and fix that today01:11
robert_ancellduflu, I'm wondering why I don't see that01:11
dufluNo idea why your vivid would work cos it's the same package.01:11
robert_ancellperhaps you have newer drivers01:12
duflurobert_ancell: It might be you have an older kernel and your GLES version is < 3.001:12
dufluThat would make epoxy skip over the problem01:12
robert_ancellglamor GL version: OpenGL ES 3.0 V@53.0 AU@  (CL@) according to the log01:12
robert_ancellduflu, do you know how to get XMir to dump core on the phone? It seems ulimit -c unlimited doesn't help.01:14
duflurobert_ancell: It's a Xorg thing and I forget...01:14
robert_ancellAnd I love how that log message always says "dumping core" regardless of if if actaually does01:14
duflurobert_ancell: Yes it's dumping with a limit of zero01:14
robert_ancellI guess that's technically true01:14
duflurobert_ancell: The "dumping" message would come from libc or something, userspace. But the actual dumping is a kernel operation. So blame libc for not checking the kernel setting01:15
robert_ancellyeah, it's libc01:16
robert_ancellThe -core flag is supposed to dump core but still not getting any core files01:16
* duflu wishes nobody ever stripped debug symbols. Although that would require abandoning bloaty things like C++01:17
* robert_ancell wishes we'd abandon C++01:18
dufluWell Microsoft kind of did. Apple completely did. Google mostly did. But you'll find small traces of C++ in all of them01:19
duflu-completely +mostly01:19
RAOFEven C is often much much bigger with debug symbols.01:21
dufluRAOF: Yes but much bigger C is still single digit bloat. C++ is often double or even triple digits (1-2 orders of magnitude)01:34
duflurobert_ancell: I'll confirm today but it might be uninitialized memory. So zero for me gives a nice crash. You however might have got some readable bytes, which would let it keep going since it's just doing strcmp02:12
robert_ancellzero what?02:13
duflurobert_ancell: Zero result from glGetStringi02:13
dufluNULL02:13
robert_ancellduflu, I'm getting your crash now, but only after updating to get your colour fixes02:13
duflurobert_ancell: Probably not related but also uninitialized memory issues would move with different logic. I'll confirm soon02:14
dufluI was getting the same crash before that fix02:14
robert_ancellyeah, I'm thinking something like that. The changes don't seem likely to cause the problem.02:14
robert_ancellok02:14
duflurobert_ancell: This is annoying. epoxy is doing the right thing only calling GLESv3 functions after it confirms the version is >= 3.0. And hybris is doing the right thing, only claiming to export GLESv2 functions (which unfortunately for mako report their version as 3.0)02:59
dufluWe need to break one of them02:59
robert_ancellduflu, how is mako reporting gles?03:00
duflurobert_ancell: The mako driver lives in /android and libhybris proxies into it with its own libGLESv2.so03:00
robert_ancellduflu, which part is saying it does 3.0?03:01
duflurobert_ancell: The log message on startup :)03:02
dufluFrom the GL version string03:02
robert_ancellduflu, why don't we make hybris export 3.0?03:02
duflurobert_ancell: Because it's structured to implement v1 and v2 separately. Adding v3 under that structure is a very large undertaking03:02
robert_ancellduflu, ok, but that sounds like the correct solution right? Instead of breaking one thing.03:03
duflurobert_ancell: It would be a silly investment of a large amount of time to implement all of v3. I'd rather stick the one v3 function we need in the v2 implementation. Or work around elsewhere03:05
dufluOur code actually links to GLESv2. It's just because epoxy queries things dynamically that we find it using v3 functions03:05
dufluActually fixing epoxy to limit its efforts to GLESv2 might be more sane03:06
dufluYes, I will do a one line mod to epoxy so it will never crash when used with hybris...03:12
dufluRAOF: If I want to add an Ubuntu-only patch to a package that is still "copied from debian sid", who do I talk to?03:21
robert_ancellduflu, you just need anyone with appropriate upload permissions03:22
robert_ancellduflu, do you want to patch libepoxy?03:22
duflurobert_ancell: Lemme check it works first ;)03:23
duflurobert_ancell: Success! It now fails later, the same as on desktop with -egl03:25
dufluAlthough I might need a second epoxy fix for that. Let's see03:26
duflurobert_ancell: Here tis. This might change what you see too:  https://bugs.launchpad.net/ubuntu/+source/libepoxy/+bug/1494240/comments/403:33
ubot5Ubuntu bug 1494240 in xorg-server (Ubuntu) "Xmir crashes immediately on startup using glamor on Nexus4" [High,In progress]03:33
robert_ancellduflu, ta03:33
robert_ancellduflu, it looks like GLES3 uses libGLES2.so so it's probably not hard to add a few new wrapped functions in hybris04:25
duflurobert_ancell: Not worth the effort. The epoxy fix is logically correct for any GL version. So is safe to keep04:39
robert_ancellduflu, excepts it's a patch that will never be accepted  upstream04:39
duflurobert_ancell: We could modify it to delete the unnecessary redundant (and crashing) code. That would also be correct04:40
robert_ancellduflu, which code is crashing?04:40
duflurobert_ancell: The strcmp after glGetStringi04:49
duflurobert_ancell: It's an Ubuntu-specific problem. I'm happy to make it an Ubuntu-only patch, or generalize a proposal to upstream under the title of "add support for libhybris" (which is not Ubuntu specific)04:50
robert_ancellduflu, but I don't get why we don't just make hybris wrap glGetStringi04:50
dufluAlthough I suspect more libepoxy fixes will be required first04:50
robert_ancellThen everything will just work right?04:50
duflurobert_ancell: Yes, but that's uglier and less correct. You're adding v3-only function to something that only claims to support v204:51
dufluUsing glGetString instead of glGetStringi works for all versions. Nice and cleanly04:51
dufluAlso, I think we might need to make additional patches to libepoxy's extension maps, unrelated to this04:52
dufluSo can't escape needing to patch libepoxy04:53
dufluA third reason is it would help Mir a lot. But Mir can't use it till we fix it04:53
* robert_ancell -> EOD05:17
=== chihchun_afk is now known as chihchun
Mirvis greyback on holidays? I now got the total hang on my personal use krillin again and filed bug #1494692 (I'll fill in more later)10:26
ubot5bug 1494692 in mir (Ubuntu) "Total hang of the krillin with a graphics artifact" [Undecided,New] https://launchpad.net/bugs/149469210:26
Mirv(ok, yes he is)10:29
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
kgunnalf_: did pat's new log help any on that sms-freezes ui bug ?13:03
alf_kgunn: I am going to look into that in a bit, I wanted to first publish the voice call blanking improvements13:04
alf_kgunn: feel free to try out https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-014/+packages13:04
kgunnsure13:04
kgunnalf_: pat has a special love for us...did you see he logged another13:05
kgunnhttps://bugs.launchpad.net/bugs/149451313:05
=== alan_g|lunch is now known as alan_g
ubot5Ubuntu bug 1494513 in unity-system-compositor (Ubuntu) "When a message is received while the screen is dimmed it does not restore full brightness" [Undecided,New]13:05
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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