/srv/irclogs.ubuntu.com/2022/09/08/#mir-server.txt

RAOF*Urgh*. If anyone else is hitting a `==113918==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.` error while trying to use `wlcs.asan` on an ASan-instrumented Mir, *one* of the ways this error message gets generated is if ASan tries to load multiple times. Which can happen if, say, your `wlcs.asan` links against `libasan.so.6` because it was built with gcc-11 and your00:21
RAOF`miral_wlcs_integration.so` links against `libasan.so.8` because *it* was built with gcc-12 😠00:21
RAOF🎉 Guess which fool locked himself out of his office again 🎉02:45
RAOF🤦‍♀️ [The #1 cutting edge debugging tip](https://jml.io/2014/07/cutting-edge-debugging.html) strikes again!05:11
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq closed [issue #2598](https://github.com/MirServer/mir/issues/2598): Can't interact with window after move until the cursor is moved06:49
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2625](https://github.com/MirServer/mir/issues/2625): Prevent moving windows under shell components... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/0f146c499245b7a06322b8ff90c361c402ae0a01)06:59
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq closed [issue #467](https://github.com/MirServer/mir/issues/467): Remote desktop support07:08
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added bug to [issue #2625](https://github.com/MirServer/mir/issues/2625): Prevent moving windows under shell components07:09
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2626](https://github.com/MirServer/mir/issues/2626): Implement Modifier+Drag window move gesture07:10
-GitHub[m]:#mir-server- 07:10
-GitHub[m]:#mir-server- > While #2625 is debatable ("I _want_ to move my window under the panel!"), we're missing a common pattern where you can Modifier+Drag windows to recover them from most corners of the world.07:10
-GitHub[m]:#mir-server- enhancement07:10
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement to [issue #2626](https://github.com/MirServer/mir/issues/2626): Implement Modifier+Drag window move gesture07:10
Saviqalan_g my Firefox window just flashed a couple minutes ago11:30
SaviqI'll try runing it under WAYLAND_DEBUG=1 and stop it as soon as I can after noticing a flash, maybe that could give a clue?11:31
alan_g[m]A shame. Yes, it might. (But equally, might not)11:32
-GitHub[m]:#mir-server- **[MirServer/mir]** AlanGriffiths opened [pull request #2627](https://github.com/MirServer/mir/pull/2627): [MinimalWindowManager] Move pointer-drag implementation from examples12:00
-GitHub[m]:#mir-server- 12:00
-GitHub[m]:#mir-server- > Fixes: #262612:00
Saviqalan_g I think I caught a flash:12:10
Saviqhttps://paste.ubuntu.com/p/sdnycjB3GC/12:11
SaviqI pasted more, but I think it must've happened after around line 1000 - there's quite a lot of buffer handling there12:12
alan_g[m]Nothing "leaping out" as unusual. I assume the Miriway logs have nothing odd around that time?13:19
alan_g[m]Or, maybe... around that point a buffer of a different sort is created:13:22
alan_g[m][1089876,711]  -> zwp_linux_buffer_params_v1@92.create_immed(new id wl_buffer@106, 1920, 1163, 875713089, 0) (my hack only "fixes" shm buffers13:22
alan_g[m]Oops! My shell just crashed. (Using the latest version of my "sledgehammer")13:31
alan_g[m](Lates local: Not the one that's pushed)13:31
alan_g[m]I think I just ran out of RAM (the core claims a SEGFAULT, but there really doesn't look like anything wrong)13:55
SaviqAnother one: https://paste.ubuntu.com/p/sCV7mzMywp/14:06
SaviqThere's less "after" now, I managed to catch it within a couple seconds14:06
alan_g[m]Also Firefox?14:07
SaviqYes14:07
alan_g[m]You've seen it with other apps before, but (so far) only FF with this hack?14:10
SaviqI can't say that I saw it with other apps14:10
SaviqMore likely than not, it was Firefox - as that's maybe 90% of my focus (especially on the older HW, using webapps rather than the Electron apps)14:11
alan_g[m]Firefox has history. As a result I've hacked my profile many times and may have options set that affect this.14:14
Saviqhttps://paste.ubuntu.com/p/k7SPt3vCXv/ and another one, also 2-3s from the tail14:16
SaviqMaybe you can spot a pattern14:16
alan_g[m]Do you have 'user_pref("gfx.webrender.all", true);' in your user.js?14:16
SaviqNo, false14:16
alan_g[m]That used to be needed to fix something. (Maybe getting FF to repaint outside "damage" areas, which it is supposed to do alway)14:18
alan_g[m]If that fixes your problem, it would be a useful clue14:20
SaviqWill turn on14:21
SaviqThere is damage handling in the wayland log around where I think the flashes happen indeed14:22
alan_g[m]Damage handling is supposed to be an optimization hint. So it should be happening. What FF had wrong in the past was that buffers should be complete regardless so that compositors could ignore the hint if/when they needed to.14:26
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement to [issue #2628](https://github.com/MirServer/mir/issues/2628): Add edge-maximize behaviour14:27
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2628](https://github.com/MirServer/mir/issues/2628): Add edge-maximize behaviour14:27
-GitHub[m]:#mir-server- 14:27
-GitHub[m]:#mir-server- > Now that #2584 is fixed, my favourite "drag a maximized window between displays" behaviour is missing. It may be DE-specific, so it probably needs to be configurable to some extent.14:27
-GitHub[m]:#mir-server- enhancement14:27
Saviq<alan_g[m]> "Damage handling is supposed to..." <- ACK, I just meant that there is evidence of damage reporting around where I see the issue, so it may be a valid clue14:36
SaviqNB: Peggy (the cyclone) just landed here. Wouldn't be surprised if I lose power / connectivity14:37
Saviq> Will turn on14:38
SaviqJust saw a flash despite `gfx.webrender.all == true`14:38
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq added enhancement to [issue #2629](https://github.com/MirServer/mir/issues/2629): Alt+Tab should (optionally?) reorder apps it's switching between15:13
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2629](https://github.com/MirServer/mir/issues/2629): Alt+Tab should (optionally?) reorder apps it's switching between... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/9ddca686e2cc9df4cd50e49437fe7ed113568a60)15:13
SaviqGood night o/16:02

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