/srv/irclogs.ubuntu.com/2022/10/13/#mir-server.txt

SaviqG'morn07:34
alan_g[m]Saviq we do want to cherry-pick #2697 into release/2.10?10:41
SaviqYeah was planning to, along with anything else coming in. But I think the biggest question is https://github.com/MirServer/mir/pull/2645 - do we want to wait for that, or do we push with the release as is?10:42
alan_g[m]That optimisation can go in another release when it works10:44
alan_g[m]If you think it really urgent I could take a look at fixing it up, but I don't think it is needed10:45
SaviqOK, I also pulled https://github.com/MirServer/mir/pull/2689 in10:49
SaviqWhat about https://github.com/MirServer/mir/pull/2688 ?10:49
alan_g[m]It is unlikely to cause problems, and might fix some. I'd leave it, but wouldn't object10:50
SaviqThere's no clear issue associated with it, so I'd leave it be10:50
alan_g[m]deal10:51
SaviqWell, I can confirm that using the same setup I use for Miriway, Frame only displays the wallpaper on one screen:... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/aee4d70448478761e90e02c51b67845afb77e330>)11:25
SaviqSo I will go and dig11:25
SaviqBut not something x11 platform specific, at least11:25
SaviqBut can't reproduce when nesting it on Miriway through Xwayland đŸ¤¦11:32
SaviqAnd now got it under Miriway, too. It must be a timing issue, does the internal background listen to displays coming and going?12:43
Saviqalan_g I can, however, reproduce your input problems on my second laptop13:09
alan_g[m]I don't know whether to be pleased or displeased13:09
SaviqWonder if this is relevant `[  415.844212] rfkill: input handler enabled`13:12
SaviqIt is printed whether it works or not, so unlikely13:14
alan_g[m]<Saviq> "And now got it under Miriway..." <- Here's another (probably timing related) issue: https://github.com/MirServer/mir/issues/198113:17
Saviq<alan_g[m]> "I don't know whether to be..." <- Adding this to the profile helps, after a bit of playing in the dark:... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/bc150602c75861a7c5faf7d30e95e6cc25f053a2>)13:25
SaviqBut I don't get any more detail from apparmor about which it actually uses13:25
alan_g[m]So it is AppAmor13:27
SaviqActually just one asterisk is fine13:27
SaviqAnd really `/sys/dev/char/* r,` is enough13:28
alan_g[m]So, that is just wierd13:29
Saviq+many13:30
SaviqThe only device it actually opens here is drm, but it suggests libinput gets lost if it can't enumerate or something13:31
alan_g[m]So, why is this 22.10+hardware specific?!13:40
SaviqMay be some newer driver for Gen 12th hardware. But why wouldn't AppArmor report it.13:42
alan_g[m]Anyway, I guess we need to PR a change to the Wayland slot.13:44
SaviqI doubt that will get accepted, though, `/sys/dev/char/*` is a bit broad…14:54
alan_g[m]True, but it is a curated slot14:55
alan_g[m]Well, actually not I suppose14:56
SaviqI'll ask on the forum, maybe they'll help dig deeper14:59
Saviqhttps://forum.snapcraft.io/t/keyboard-mouse-input-not-working-on-22-10-and-missing-apparmor-info/3215715:29
alan_g[m]Is it also worth mentioning that input is supported by the `wayland` slot? (For Frame we also have the `hardware-observe` plug to reduce log spam)15:36
SaviqDone.15:39
SaviqAh. So we only respect the `output_id` of a fullscreen window. But we spoof it to be maximized to respect exclusive zones.15:55
SaviqSpoof it in Frame, I mean15:56
SaviqThings seem to work for swaybg because the output_id gets carried through in WindowInfo15:57
alan_g[m]Now that you describe it, that does sound familiar15:58
Saviqhttps://github.com/MirServer/ubuntu-frame/blob/058551a72bf5abedc87946d6f54f0fd202e7e799/src/frame_window_manager.cpp#L93-L9515:59
SaviqBut https://github.com/MirServer/mir/blob/fbc60bee416149e164a25b23c8c5114339aecd07/src/miral/basic_window_manager.cpp#L1307-L131116:00
SaviqOk, more tomorrow. o/16:12

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