/srv/irclogs.ubuntu.com/2021/05/12/#ubuntu-desktop.txt

callmepkgood morning01:52
dufluMorning callmepk 02:17
kenvandinegood morning callmepk and duflu 02:17
kenvandineand jamesh 02:17
dufluHi kenvandine. How goes?02:17
callmepkmorning duflu kenvandine jamesh 02:17
jameshhi callmepk, duflu 02:17
dufluMorning jamesh 02:18
oSoMoNgood morning desktoppers06:04
didrocksgood morning06:25
oSoMoNsalut didrocks 06:25
didrockssalut oSoMoN, ça va, pas terminé trop tard hier soir ?06:26
dufluMorning oSoMoN and didrocks 06:33
oSoMoNdidrocks, un peu après 21h, comme prévu, ça va06:34
oSoMoNhey duflu 06:34
didrockshey duflu 06:37
ricotzgood morning06:52
ricotzhey oSoMoN didrocks duflu 06:52
didrockshey ricotz 06:53
dufluHi ricotz 06:53
seb128gooood morning desktopers!06:57
seb128hey ricotz didrocks duflu, how is it going?06:57
dufluHi seb128. Going OK. You?06:57
seb128I'm alright thanks!06:58
didrockshey seb128, ça va, et toi ?06:58
seb128trying to understand why the new installer snap is segfaulting in swrast_dri.so :/06:59
seb128didrocks, ça va :)07:00
seb128it works when using GALLIUM_DRIVER=softpipe07:00
seb128something wrong with the driver in the classic snap env :/07:01
dufluseb128, sounds like a VM? That driver shouldn't be used on real hardware07:02
seb128duflu, the snap forces LIBGL_ALWAYS_SOFTWARE=1 , unsure why Ken did that but I assume it was to workaround driver issues in the snap env07:04
duflu:(07:04
seb128duflu, it's not the issue though, if I unset that it segfault in iris_dri.so07:04
seb128it's staging those from a deb and copying the deb files over fixes the segfault07:05
dufluseb128, kind of good. If you can get a stack trace with symbols (or without) I can try and triage the crash07:05
seb128so it's something snapcraft is doing07:05
seb128it's setting an rpath07:05
seb128which I think is creating the issue07:05
dufluAlthough if it's just snap-mixing-versions-of-mesa then it's not a Mesa bug07:05
seb128but if I patchelf --remove-rpath it's not enough to resolve the issue07:05
seb128duflu, well, at this point I'm puzzled07:06
seb128it's not a bug in the code otherwise the deb .so copied over would segfault the same way07:06
seb128it's something snapcraft is doing to it07:06
dufluseb128, anything like a crash file or oops link?07:06
seb128I wonder if setting the rpath could lead to a bug in some way07:06
seb128duflu, no, that's inside a classic snap :/07:07
seb128rogram received signal SIGSEGV, Segmentation fault.07:07
seb1280x00007ffff69af93d in ?? ()07:07
seb128   from /snap/ubuntu-desktop-installer/x1/usr/lib/x86_64-linux-gnu/dri/iris_dri.so07:07
seb128(that's trying to start glxinfo)07:07
seb128I rebuilt the deb witgh nostrip to get the debug info07:08
dufluIdeally that file should not exist because we want the OS to only have a single set of Mesa drivers. Otherwise they will crash each other07:08
seb128which is how I discovered that the deb build doesn't segfault...07:08
jibelGood morning07:08
dufluHi jibel 07:08
seb128jibel, hey07:08
seb128duflu, what do you mean 'crash each other'?07:08
seb128maybe that's the issue there07:08
dufluseb128, I mean the slightest version difference means ABI changes and crashes07:09
seb128though than seeing from the snap the idea I think is that only the snap ones are seen07:09
seb128duflu, https://paste.ubuntu.com/p/mJGDPctxy2/07:09
dufluBut good news: The libGL ABI is super stable for decades. You shouldn't need to ship your own07:09
seb128it's a bit weird that ld-linux-x86-64.so.2 is used from the system though, unsure if that could lead to this issue...07:11
dufluseb128, that's the dynamic loader. I would expect you don't get the option of replacing that one07:12
seb128k, so not my issue07:12
marcustomlinsonmorning desktoppers07:13
seb128marcustomlinson, hey, how are you?07:13
didrockshey marcustomlinson 07:13
dufluHi marcustomlinson 07:14
marcustomlinsonseb128: hey, tired but alright thanks07:14
marcustomlinsonhey didrocks and duflu07:14
jibelhi duflu seb128 didrocks marcustomlinson 07:15
seb128marcustomlinson, :-(07:15
marcustomlinsonhey jibel07:16
seb128duflu, ah, I did success with debug symbols by copying over the ddebs files to the snap env07:22
seb128duflu, https://paste.ubuntu.com/p/WpJYNqwFwC/07:22
dufluseb128, good? But if there's any version mismatch with the system then the stack would still be bogus. So make sure it's an identical Mesa build07:23
seb128duflu, they are, the snap just prime the focal deb which is the same build as the ddeb07:23
seb128duflu, the only difference is that snapcraft sets an rpath on the binaries due to how classic snaps work (so it loads libraries from the snap env and not the system ones)07:24
dufluHmm duplicate static variables could still be a problem there but unlikely07:24
seb128how would that happen?07:25
seb128I wonder if patchelf could damage the binary in some way :/07:25
seb128$ objdump -x /tmp/lib/x86_64-linux-gnu/dri//swrast_dri.so |grep RPATH07:26
seb128  RPATH                $ORIGIN/..:/snap/core20/current/lib/x86_64-linux-gnu07:26
dufluYeah patchelf sounds like it's designed to break things in a controlled way07:26
seb128ok, so I think it's it and I'm not the first one to hit that07:29
seb128https://github.com/MirServer/egmde-snap/blob/master/snap/snapcraft.yaml#L11707:29
seb128'      - no-patchelf # Otherwise snapcraft may strip the build ID and cause the driver to crash'07:29
seb128for whatever reason remove that build ID which snapcraft is doing is making the driver crash07:29
dufluseb128, ah yes. "build_id" in the function names of the crash07:31
seb128just spent a day to get there, tricky problem to get at the bottom of07:32
seb128marcustomlinson, ^ finally found the real issue07:32
seb128and https://forum.snapcraft.io/t/caveats-for-no-patchelf-in-a-classic-snap/ has the details07:35
seb128'As part of the shuffling, in some scenarios, patchelf may end up shuffling the GNU build id note section, that normally will live in the “note” segment (i.e. PT_NOTE) into another segment (not PT_NOTE). This may cause issues for applications that assume they are in the note segment, such as mesa (https://github.com/intel/external-mesa/blob/master/src/util/build_id.c#L75)'07:36
seb128duflu, ^ so that was it, thanks for proposing to help :)07:41
dufluseb128, GL APIs and ABIs are very stable long term. Maybe the most stable ones around. So those libraries ideally shouldn't be needed in any snaps07:57
dufluPretty much what worked in the 1990s still does now07:58
dufluI mean shouldn't be duplicated from the system ones07:59
seb128duflu, thanks for the hint, I will check if we can do without those08:00
Laneymoin08:04
oSoMoNgood morning ricotz, seb128, marcustomlinson, jibel, Laney 08:13
oSoMoNseb128, well done on getting that snap to work, it was a nasty issue08:13
seb128hey Laney, how are you?08:14
seb128oSoMoN, thanks! and indeed, I feel better now, spent most of the day yesterday on it and I kept me busy thinking in the evening/night on what it could be08:15
seb128I'm glad I figured it out now, feeling better!08:15
dufluHi Laney08:15
didrockshey Laney 08:16
jibelsalut oSoMoN 08:16
Laneyhey oSoMoN seb128 duflu didrocks jibel 08:25
Laneydoing good, was out this morning potting up some sunflowers and peas08:25
Laneymore to do later08:25
Laneyseb128: well done on getting to the end of that investigation08:25
* duflu high fives Laney after fertilising some flowers at lunch08:26
Laney\o\08:28
marcustomlinsonhey oSoMoN and Laney08:33
Laneyduflu: I guess there's a decent amount of interesting things that will grow for you in winter08:34
Laneyyo marcustomlinson 08:34
dufluLaney, I usually only try to stop the tropicals from dying. They don't like anything near freezing, despite that being rare08:35
Laneynod08:36
seb128Laney, thanks :-)09:09
seb128wifi router went unhappy for some reason, hangout was still working but most of the other things timeout in the back09:10
seb128I reconnected and it's all working, weird09:10
jibelGood morning Laney 09:25
Laney\o10:00
Laneyseb128: https://people.canonical.com/~platform/desktop/versions/stats/current/ looks a bit odd, those subdirs10:00
seb128Laney, what did I do this time :p10:02
Laneytouched a computer, that was your first mistake10:03
seb128that's right!10:03
seb128Laney, fixed, thanks for reporting! I was basically doing 'ln -sf $(date) current', works fine the first time but when 'current' exists it consider it as a the target dir, needed to add 'n' to the arguments10:13
Laneynice one!10:17
seb128thanks for the reviews!10:17
seb128I will check the grafana side later :)10:17
seb128jibel, I would appreciate a review on https://code.launchpad.net/~ubuntu-bugcontrol/ubuntu-qa-tools/+git/ubuntu-qa-tools/+merge/402641 before the long weekend, I think we are still not getting daily current iso due to that one13:06
seb128jibel, also the dl-ubuntu-test-iso snap needs a rebuild to pick an updated distro-info-data13:07
seb128it's a bit annoying how distro-info just errors out after new ubuntu series are created13:07
jibelseb128, okay, I'll have a look14:01
jibelsil2100, Laney would you have time to review https://code.launchpad.net/~jibel/livecd-rootfs/+git/livecd-rootfs/+merge/402585 ?14:02
seb128jibel, thanks14:05
Laneyjibel: sure, that looks fine™ to me, what could possibly go wrong?14:21
hellsworthgood morning desktopers14:26
Laneywait a second14:27
Laneyjibel: have you checked this in a ppa?14:27
Laneyhey hellsworth 14:27
jibelLaney, no, I just ran the germinate command to see if it generated the expected seed. I am not sure if there could be some side effects on other flavours or images actually14:29
seb128hey heather, how are you?14:29
jibelGood morning hellsworth 14:29
hellsworthhi folks14:30
hellsworthi'm good thanks, how are you seb?14:30
Laneyjibel: I think your problem is not this, but the lack of Task: headers in the archive, the package is in the live seed so it should get Task: ubuntu-live, which add_task() is meant to pick up14:33
Laneylaney@nightingale> GET http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-amd64/Packages.xz | xzcat | grep-dctrl -sPackage,Version,Task -FPackage -X realmd14:33
LaneyPackage: realmd14:33
LaneyVersion: 0.16.3-314:33
Laneylaney@nightingale>                                                                                              ~14:33
seb128Laney, do you remember when the current +1 rotation started?14:37
seb128hellsworth, I'm alright thanks!14:37
Laneyaround start of cycle or a week before14:37
Laneyish14:37
seb128hellsworth, btw you did one week but have another to do in theory which I think we didn't plan, unsure when the current rotation is ending though14:38
hellsworthi would love to!!!14:38
seb128you could do one next week or the week after?14:38
seb128unsure how busy you are with other things14:38
hellsworthnext week i move and my life will be kind of crazy. but the following week would be good14:38
LaneyI need to put another one in too14:39
seb128k, let me check with Matthieu if that's still in this rotation period14:39
seb128I never know where to check, if there is a place14:39
Laneythere's a calendar but it doesn't actually list the rotation periods14:39
Laneywould be a good suggestion to add those as events on there14:39
hellsworthseb: next week is bad, the week after is good, the week after is bad, any future weeks are good14:40
seb128k, let's try for the week after next14:40
seb128thanks!14:40
hellsworthawesome!14:40
seb128oh also, waht's the status of the glimpse-editor snap build fixes? ;)14:42
seb128that's still having a backlog on the trello USN rebuilds!14:42
seb128and the cherrytree one is also on there14:42
jibelLaney, when you look at the build log, it's ignored because it is not in the germinated seed14:42
jibelLaney, updates is not considered by germinate and for germinate the package doesn't exist14:44
hellsworthseb128: the glimpse-editor fixes requires some back and forth with upstream but one of my 3 PRs to fix the builds were merged yesterday. I expect the others to be merged today or soon14:45
hellsworthcherrytree is building so I'll go look at why it's still there14:45
Laneyjibel: I see it, but I don't think this germinate output is used for seeding debs, that is using apt-cache inside the chroot looking at the indexes that it got from the Ubuntu archive14:47
Laneywe can try a test build to be sure if you want14:47
jibelsure, how do we do that?14:50
jibelisn't the live task generated from the list of germinated packages?14:52
Laneyyes, but that's done at the archive level by lp:ubuntu-archive-tools14:52
Laneyand then expressed as a Task header in the Packages file14:52
Laneytesting> I'll upload to a PPA, that's the first step14:53
Laneythen I have to remember how to use the API to make livefs builds14:53
seb128hellsworth, thanks! cherrytree seems it's arm64 being outdated, so either that fails to build and needs fixing or the binaries on that arch need to be deleted from the store14:55
hellsworthi will look at that today!14:55
seb128hellsworth, oh, and i386 but those should probably be deleted14:55
seb128thx14:55
seb128it would clear a stack for trello cards14:56
hellsworthoh i know what happened. fixing it real quick14:56
seb128great!14:56
Laneyjibel: it is building in https://launchpad.net/~laney/+archive/ubuntu/livefs15:01
Laneyonce I re-figure out how to make the livefs build I will share the knowledge with you15:02
jibelLaney, thanks!15:35
hellsworthseb the cherrytree snaps in the store are updated now (no more i386 either). and those trello cards will automatically close, right?16:25
hellsworthseb128: ^16:26
seb128hellsworth, lol, I was about to write that that my script listed them to close and that it's done now, thanks for fixing!16:27
hellsworthha great!16:28
seb128we still have a few that didn't build for a while but we are getting there16:29
hellsworthindeed!16:34
Laneyjibel: https://launchpad.net/~laney/+livefs/ubuntu/focal/ubuntu/+build/275004 https://paste.ubuntu.com/p/9BZ9JPsJPw/16:51
Laney(whoops, ignore 8)16:52
jibelseb128, your MP has been merged and built https://code.launchpad.net/~canonical-platform-qa-jenkins/+archive/ubuntu/canonical-platform-qa-jenkins-prod/+build/2153993117:06
jibelseb128, I'll deploy it on the server as soon as it's published17:06
jibelseb128, and done17:27
seb128jibel, thanks!17:52

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