/srv/irclogs.ubuntu.com/2018/11/08/#ubuntu-x.txt

michael-vbHello there.  I wanted to ask about a crash I am seeing with Ubuntu 18.10 in VirtualBox with Additions installed and 3D pass-through enabled.  The crash is in strstr, seemingly called from glamour_egl_init.08:48
michael-vbIt looks like what this patch: <https://lists.x.org/archives/xorg-commit/2018-April/041045.html> is meant to prevent.  I see that check in the "apt source" sources, but I can't see it in the disassembly.08:48
michael-vb(Caveat that I am not good at reading disassembly.)  Also, the line numbers in the debug symbols do not seem to match the apt source source, though the version numbers do.08:48
michael-vbCan anyone comment there?  Didn't want to go reporting a bug before I know that it is not a problem at my end.08:48
tjaaltondoubt anyone here uses such a setup09:43
michael-vbI am wondering about rebuilding the xserver-xorg-core package from the apt source sources to see if the problem goes away... but does it sound very silly that the binaries and sources do not match?09:45
tjaaltonyes10:00
michael-vbStill rebuilding.  Can you think of anything else I might have done to cause a mismatch?10:02
tjaaltonyou just assume that patch would help10:03
jcristausilly question.. are you sure you're looking at source and disassembly of the same version?10:03
tjaaltonit's in 1.20.1, a rebuild won't help10:03
jcristauapt-get source sometimes does weird things10:03
michael-vbjcristau: that is roughly the lines I am thinking along.10:04
michael-vbtjaalton: it may still help me to match up line numbers.10:04
michael-vbWorst case it behaves exactly as it did.10:04
tjaaltonif you have the source and a proper backtrace, you should be able to match the lines without a rebuild, no?10:10
michael-vbI have debug symbols installed and can reproduce the crash in gdb, but the line number is inside a comment in the source.10:12
tjaaltonapply patches10:13
tjaaltonwhich file10:13
tjaalton?10:13
tjaaltonsource file10:13
tjaaltondebian/patches/dont-init-glamor-on-llvmpipe.diff modifies glamor/glamor_egl.c10:14
michael-vbThe source file as unpacked by apt source.  Might that be missing patches?  I thought it applied them on unpacking, but I often get confused with Debian source packages.10:14
tjaaltonquilt push -a10:15
jcristaupatching on unpack is not universal10:15
tjaaltonand happens only on source 3.0 packages iirc10:16
tjaaltonxorg-server isn't10:16
michael-vbquilt push -a applies the patches?10:16
tjaaltonshould10:17
michael-vbIn which folder?10:18
tjaaltonsource root10:18
michael-vbSays "No series file found".10:18
tjaaltonQUILT_PATCHES="debian/patche10:18
tjaaltons10:18
tjaaltonQUILT_PATCHES="debian/patches" quilt push -a10:19
michael-vbIt liked that better.10:19
tjaaltonnow check the line10:19
michael-vbAh...10:19
michael-vbYes, that adds a new strstr.10:20
michael-vb    renderer = glGetString(GL_RENDERER);10:20
michael-vb    if (strstr((const char *)renderer, "llvmpipe")) {10:20
tjaaltonthat patch is in current master10:20
tjaaltonso file a bug upstream10:20
tjaaltonand also in 1.20.210:21
michael-vbNot until I am sure that the problem is not on my end.10:21
tjaaltonthough, maybe it sholud be tested with 1.20.3 just in case10:21
michael-vbThanks.10:21
michael-vbNow it looks a lot more like our Additions messing something up.10:24
tjaaltonI could push 1.20.3 to a ppa if you like10:27
tjaaltonwell, I'll do it anyway because we want that in 18.10 and then in hwe-18.0410:27
michael-vbI could give it a test if I can't quickly solve it in my own code.  Shall I wait on IRC?  You could also drop me an e-mail at michael dot thayer at oracle.10:30
tjaaltonI'll push it to ppa:canonical-x/x-staging10:30
tjaaltonin a bit10:30
tjaaltonmichael-vb: uploaded10:57
michael-vbThanks.  Will check later if I don't find anything in my code.10:58
michael-vbtjaalton: I fixed the problem in my code.  I can still give the updated X server package a sanity run on my host system though if you like.14:27
michael-vbI assume it is mainly for Xwayland?14:27
tjaaltonmichael-vb: updates in it? mostly16:25
michael-vbI will give it a try out on my laptop when I have a chance.  Don't know if that will be tomorrow though.16:26
tjaaltonno worries16:39
soeehi, there is new driver version  :)18:30
mamarleysoee: What driver? :P19:06
soeemamarley: oh you... :D19:43
soeehttps://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-415.13-Linux-Released19:43

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