[00:59] "Interesting. That implies Mir'..." <- This *might* be a `zwp_linux_dmabuf`-exposed bug, then? That's the most obvious candidate for how a new *sever* mesa could result in client-visible changes. [08:10] "This *might* be a `zwp_linux_dma..." <- Did you also read the discussion in the bug report? [09:07] -GitHub[m]:#mir-server- **[MirServer/mir]** bors[bot] merged [pull request #2511](https://github.com/MirServer/mir/pull/2511): Clean up legacy feature checks [10:01] Saviq, this looks like an explanation: https://github.com/MirServer/mir-kiosk-kodi/issues/32#issuecomment-1192402735 [10:03] Something in the Kodi client is abusing the wl_drm protocol, and the server side got stricter [10:03] Ok so a Kodi ~bug (not unexpectedly)? [10:03] That. [10:03] Interestingly though, it is fixed in the 22.04 archive [10:04] And the snap pulls Kodi from upstream [10:04] Probably some intermediate lib [10:05] A candidate for `graphics-core22` potentially [10:13] Probably not: I tried building mir-kiosk-kodi without the upstream PPA and that also fails [10:17] Sounds like we need a 20.0 track for mesa-core20, and then promote 21.2 to stable [10:18] *21.0 [10:18] Uhh. I'd rather find a working Kodi? You say the one from the archive does work? [10:19] The one from 22.04 works, the snap build from 20.04 archive (without upstream) doesn't [10:20] Right, which is why I said it's a candidate for graphics-core22, so we pull in Kodi from the archive [10:20] Actually, "works" only in this context. Plugins like "iPlayer" (useful in UK) don't install [10:21] Meh. [10:22] Currently, I don't think we are ready for graphics-core22 [10:24] I'm more concerned that if we promote 21.2 to stable "something out there" will also fail. mir-kiosk-kodi isn't important to me (except as a testing ground) [10:29] Right. Would be interesting to know what exactly breaks it? Like, it's probably not Kodi itself, but a dependency, and we could maybe work out a fix [10:33] Yeah. So far as I know wl_drm is internal to mesa, so libegl is likely what actually makes the call the question is why. How much time should we spend spelunking in Kodi? [10:34] I more thought that the spelunking in Kodi would hopefully yield a solution to anything else failing out there [10:34] OK, I have an hour or two this week [10:35] And by "a fix" I meant a built of newer $lib (libegl, maybe) [10:35] *build [10:36] Or just revert the libegl change to allow spurious `authenticate` calls? [11:01] But that we'd need to revert in Mesa? [11:24] Well, it looks like Kodi is calling drmAuthMagic() directly: https://github.com/xbmc/xbmc/blob/master/xbmc/windowing/gbm/drm/DRMUtils.cpp (I've not established if that's the interesting call but...) [11:31] But… that's when running sans compositor I think? [11:33] The wayland windowing system (https://github.com/xbmc/xbmc/tree/master/xbmc/windowing/wayland/) has no direct DRM calls I can find… [11:36] These are the only two references in there: https://github.com/xbmc/xbmc/blob/ed4003583e54aa3699430e2830a5dd97ffb634d6/xbmc/windowing/wayland/WinSystemWaylandEGLContextGLES.cpp#L47-L48 [12:51] So, probably somewhere like libwayland-egl... [13:01] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** AlanGriffiths edited [issue #77](https://github.com/MirServer/ubuntu-frame/issues/77): If aa_getpeercon() fails then ubuntu-frame-* client snaps don't work with default configuration [13:01] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** AlanGriffiths added enhancement and removed question from [issue #77](https://github.com/MirServer/ubuntu-frame/issues/77): If aa_getpeercon() fails then ubuntu-frame-* client snaps don't work with default configuration [13:03] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** AlanGriffiths edited [issue #77](https://github.com/MirServer/ubuntu-frame/issues/77): If aa_getpeercon() fails then ubuntu-frame-* client snaps don't work with default configuration [13:16] alan_g I'm actually eyeing libva-wayland, as this error happens at a stage where normally libva backends are probed [13:17] And that would also explain why Kodi is the first time we're seeing this [13:18] That sounds very plausible [13:27] https://bugs.launchpad.net/ubuntu/+source/libva/+bug/1961484 [13:30] And that has a PPA to try... [13:41] ...and adding ppa:wsnipex/vaapi to the snap fixes things [14:39] Saviq mir-kiosk-kodi fix available: edge/pr33 [14:42] :ack:ed [14:42] So re: mesa-core20, we should do a call for testing referencing this issue I think [14:43] Agreed [14:43] As for updating it… I'd imagine we would only get security updates from now on, on which we would get notified by the store? [14:44] Alternatively I could tweak the snaps workflow in GH to monitor [14:44] I think mesa gets hwe updates too [14:44] Right, that's what hit us this time, wasn't it [14:46] Agreed. (And that the update broke libva in archive) [14:51] I could work out a mir-kiosk-kodi test in the lab triggered on mesa-core20 [14:54] That would be good. I'll write a CfT once the rebuilds are done (and aim to promote Monday week) [15:10] I just realised that I'm assuming you're OK with pushing the kodi update to stable this aftermoon [15:14] Totally, yes, have tested [20:54] A while ago I talked with RAOF (he/they) about the possibility of automating symbol generation (both symbols.map and debian/*.symbols) from code annotations. At the time we considered using libclang, and it seemed rather impractical. Recently, I realized we were already doing a similar thing with doxygen for miral, and I've been prototyping a more complete version of that. Hope to have a prototype up soon. [23:09] -GitHub[m]:#mir-server- **[MirServer/mir]** wmww drafted [pull request #2517](https://github.com/MirServer/mir/pull/2517): Auto generate symbols map [23:09] -GitHub[m]:#mir-server- [23:09] -GitHub[m]:#mir-server- > WIP attempt to auto-generate symbols.map and debian/*.symbols files based on doxygen data. Only file it tries to generate so far is miral/symbols.map, and that isn't complete enough to work yet. [23:11] -GitHub[m]:#mir-server- **[MirServer/mir]** wmww drafted [pull request #2518](https://github.com/MirServer/mir/pull/2518): Add tools/scan_symbols.py script [23:11] -GitHub[m]:#mir-server- [23:11] -GitHub[m]:#mir-server- > Given the path to a .so file, this script will compare the symbols in the library with the symbols in the debian symbols file and show the symbols only present in one or the other. Not perfect, but makes manually editing symbols easier. [23:11] -GitHub[m]:#mir-server- **[MirServer/mir]** wmww marked [pull request #2518](https://github.com/MirServer/mir/pull/2518): Add tools/scan_symbols.py script as ready for review