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

-GitHub[m]:#mir-server- **[MirServer/mir]** RAOF closed [pull request #2451](https://github.com/MirServer/mir/pull/2451): [autopkgtest] Add file missing from initial autopkgtest commit.05:25
RAOFHm. I'm *pretty* sure this `std::vector` shouldn't have a `capacity` of `-43`.07:16
RAOFHm. Why are you using the `DumbDisplayProvider`, code?07:26
SaviqGood morning o/08:21
alan_g[m]Saviq: do you think the same hack we used for mir-test-tools on Nvidia would work for Frame?(Re: https://forum.snapcraft.io/t/nvidia-drivers-in-a-mir-ubuntu-frame-snap/30364)08:36
Saviqalan_g[m]: On Classic it would08:37
SaviqIt does require kms to be enabled on the kernel cmdline, that's it really.08:40
SaviqWhether we want to open that can of worms with Frame I'm not sure08:40
SaviqYou did make an experimental branch including the eglstream platform, right? Just it didn't look for glvnd bits in the right places?08:41
Saviqs/right/snap/08:41
alan_g[m]Saviq: I did, updating that draft08:42
SaviqI suppose we could make a `beta/nvidia` channel08:43
SaviqWith a YMMV caveat08:44
alan_g[m]Saviq: We could just try it. To prove the theory. (But I don't have any output connection to my Nvidia card for Mir to use before hybrid support lands)08:47
SaviqI can do the lab dance08:56
ogravideos or it didn't happen °08:58
alan_g[m]It's uploaded (amd64) as `edge/pr43` (https://github.com/MirServer/ubuntu-frame/pull/43)08:59
Saviqalan_g where was your trick to avoid trailing colons?10:45
SaviqAh `${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}`10:46
alan_g[m]Not my trick, just a :+ bash substitution10:46
alan_g[m]Oh! That was missing in the mir-test-tools hack?10:48
SaviqNot that, but yeah, commit incoming10:48
Saviqalan_g https://github.com/MirServer/ubuntu-frame/pull/43/commits/09f6cc275bb11c98ff3e06d86885014bf4c15dd210:52
alan_g[m]`libnvidia-egl-wayland1`?10:54
Saviqhttps://packages.ubuntu.com/focal/libnvidia-egl-wayland110:57
alan_g[m]I'm just surprised we need it here (and not in mir-test-tools). Shouldn't the nvidia stack come from the host?10:59
SaviqWe do need it in mir-test-tools10:59
SaviqAnd we have it there11:00
SaviqBut apparently as a dependency, not an explicit stage11:00
SaviqHmm mir-platform-graphics-eglstream-kms* pulls it in, why wasn't it there…11:01
alan_g[m]Ah. it is a dependency of mir-platform-graphics-eglstream11:01
alan_g[m]Sorry! We're down the rabbit hole. (I really didn't mean to make this a distraction for us both.)11:02
SaviqRight, but it wasn't there in `edge/pr43` for some reason11:09
alan_g[m]Odd. When I build it locally it is there.11:18
alan_g[m]Also when I download (on amd64)11:25
alan_g[m]unsquashfs -d try-me ubuntu-frame_2494.snap... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/d54a3b1bb82214c3b8abfc201edb14f3b62ce7ad)11:27
SaviqYes, but not the JSON… https://packages.ubuntu.com/focal/amd64/libnvidia-egl-wayland1/filelist11:32
SaviqBut now I can't find it in any of the ubuntu-frame snaps I built o.O11:32
alan_g[m]You're looking at the wrong thing:11:33
alan_g[m]platform:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/d884f7fdb298064da22ef3f35c61c6928c689132)11:33
alan_g[m]Note the prime doesn't select it11:33
SaviqYup. So that's what's missing, rather than the stage11:35
alan_g[m]Yup11:36
SaviqFixed11:36
alan_g[m]Not quite - you need to point __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS at it too11:38
alan_g[m]Oh, you did11:39
SaviqExcept I didn't `export` that one. Just did.11:57
SaviqThe others were in the environment already, so didn't need exporting…11:58
alan_g[m]You should have just added it to the snapcraft.yaml12:00
SaviqCould've, yes. OTOH the others could get that same treatment.12:02
SaviqThough you have those conditional on the snapd dir12:04
SaviqOK done, that's more appropriate since that's coming with the snap rather than from snapd12:11
SaviqYeah Kodi drops to llvmpipe, would need more digging16:30
SaviqNested mir-test-tools on Nvidia isn't working either:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/d3a38167ea0e7baf70d414580b3040b3807309cd)16:39
Saviqwl_display@1: error 1: invalid arguments for wl_eglstream_display@6.create_stream16:39
SaviqMir fatal error: Critical error in Wayland platform: /build/mir-7O9ED4/mir-2.8.0+dev210-g8baffa9609/src/platforms/wayland/display.cpp(275): Throw in function void mir::graphics::wayland::Display::run()16:39
* Saviq sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/3ebbf5e68377c09d6be09d00d9af5cf35f0aa1a316:40
alan_g[m]OK, at least we know there's a world of pain on that road16:40
Saviq:this:16:40
alan_g[m]Time to make notes for the next traveller and get back to what you were doing before I distracted you16:46
-GitHub[m]:#mir-server- **[MirServer/mir]** Saviq opened [issue #2462](https://github.com/MirServer/mir/issues/2462): Snapped, nested on Nvidia/eglstream doesn't work... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/f74c1a83355123637d2a0ec66cb822ccccbdb7d8)16:55
SaviqGood night o/17:11
-GitHub[m]:#mir-server- **[MirServer/mir]** graysonguarino pushed something to [pull request #2299](https://github.com/MirServer/mir/pull/2299): Filter 2 distinct bogus touch event scenarios18:47
-GitHub[m]:#mir-server- **[MirServer/wlcs]** vberger opened [issue #234](https://github.com/MirServer/wlcs/issues/234): WLCS will happily bind a global version higher than the one defined in the wayland.xml it was compiled for... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/72eaea2bd003eccd3a83c5272ec244c91efde293)19:27
-GitHub[m]:#mir-server- **[MirServer/mir]** graysonguarino closed [issue #2346](https://github.com/MirServer/mir/issues/2346): Support idle inhibit protocol20:46
-GitHub[m]:#mir-server- **[MirServer/wlcs]** wmww opened [pull request #235](https://github.com/MirServer/wlcs/pull/235): Do not bind to interface versions newer than supported21:40
-GitHub[m]:#mir-server- 21:40
-GitHub[m]:#mir-server- > Fixes #23421:40
-GitHub[m]:#mir-server- **[MirServer/mir]** wmww closed [issue #2312](https://github.com/MirServer/mir/issues/2312): Memroy leak on X11 platform window resize21:48

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