[00:35] Today: [00:35] - Event local positions take 2: https://github.com/MirServer/mir/pull/2948 [00:35] - Context switching back to CI & python [06:34] "Specifically: there's an..." <- Looking at compositor support there, it's not very wide ;D [06:34] AIUI fractional-scale is just hints, using viewporter under the hood anyway. Not sure how could clients do the trick without knowing the desired fractional scale ¯\_(ツ)_/¯ (Ref. [#2599](https://github.com/MirServer/mir/issues/2599)) [08:22] "Looking at compositor support..." <- > <@saviq:matrix.org> Looking at compositor support there, it's not very wide ;D [08:22] > [08:22] > AIUI fractional-scale is just hints, using viewporter under the hood anyway. Not sure how could clients do the trick without knowing the desired fractional scale ¯\_(ツ)_/¯ (Ref. [#2599](https://github.com/MirServer/mir/issues/2599)) [08:22] Actually, even *using* the fractional scale protocol it's not entirely clear how clients would do the trick. Unless you assume that any client using `wp_viewporter` is rendering at the "correct" size and shouldn't get scaled by the compositor. [08:23] (Although that makes the interaction with wl_surface.set_buffer_scale kinda weird?) [08:24] Anyway... [08:27] Today: [08:27] - Renamed `DumbDisplayProvider` / `DumbFB` / `DumbBuffer` -> 'CPUAccessible*`, where not technically required ("dumb buffers" are visible in the KMS API) [08:27] - Started fixing the probing issue on X11 by removing a `TODO` in the `DefaultDisplayBufferCompositorFactory` (so the `GLRenderingProvider` can to be selected on a per-output basis, which coincidentally gets us the necessary probing) [08:27] - Resolved an ongoing SRU discussion [08:27] * Today: [08:27] - Renamed `DumbDisplayProvider` / `DumbFB` / `DumbBuffer` -> `CPUAccessible\*\`, where not technically required ("dumb buffers" are visible in the KMS API) [08:27] - Started fixing the probing issue on X11 by removing a `TODO` in the `DefaultDisplayBufferCompositorFactory` (so the `GLRenderingProvider` can to be selected on a per-output basis, which coincidentally gets us the necessary probing) [08:27] - Resolved an ongoing SRU discussion [08:27] * Today: [08:27] - Renamed `DumbDisplayProvider` / `DumbFB` / `DumbBuffer` -> `CPUAccessible*`, where not technically required ("dumb buffers" are visible in the KMS API) [08:27] - Started fixing the probing issue on X11 by removing a `TODO` in the `DefaultDisplayBufferCompositorFactory` (so the `GLRenderingProvider` can to be selected on a per-output basis, which coincidentally gets us the necessary probing) [08:27] - Resolved an ongoing SRU discussion [08:28] Also, I see we have agenda items on the doc, so will show up to the next meeting (although I think we were due to show up Monday anyway?) [08:28] EOW 🎉 [08:29] RAOF: Yeah, retro / demo / planning time (reminder: I'm off, but as agreed didn't want to throw you a Friday night meet) [08:31] * Today:... (full message at ) [08:31] * Today:... (full message at ) [09:22] Gah. How do I portably get from a /sys/devices/… path to a /dev/dri/… one 👿 [09:25] I think there's a device symlink somewhere in the tree? [09:29] * Saviq sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/13be7126aaf1d37dc11d5cd852f6ca959896752b [09:30] `dev` has `:`, but that doesn't exist here :P [09:32] The dev file in that tree has major:minor? 'Cause you should be able to find the /dev/dri/card? from that. [09:33] Yeah, but dev doesn't exist in a PCI tree here ;) [09:33] So again, not portably… [09:34] There's this:... (full message at ) [09:34] But obviously not (easily) workable for Pi:... (full message at ) [09:35] But looks completely different on Pi:... (full message at ) [09:35] s/// [09:36] FWIW the device paths are:... (full message at ) [09:38] I'll need to speak to udev probably [09:40] Saviq: Except udev also isn't helpful 🤦‍♂️ [09:41] I'm not sure why you want to do this: might there be another way to solve the motivating problem? [09:41] On Pi, it does have DEVLINKS, which point at the by-paths path, but on i915, does not. [09:41] There is a drm API for enumerating devices, but that's probably not helpful? [09:43] alan_g[m]: Writing the checkbox tests, I get the `/sys` path per GPU, and wanted to run `drm_info` and `kmscube` per GPU. But those two take `/dev/dri` paths as arguments. [09:45] Anyway, I'll manage, will start from /dev/dri rather than the other way around [09:45] And can see now why it's a different tree - on i915 there can be multiple cards, in fact, as far as drm is concerned [09:46] As you were. [09:48] Saviq: Wat? [09:48] * Wat?! [09:49] Multiple cards per device in sysfs, or multiple devices in sysfs per /dev/dri/card? [09:49] Per sysfs [09:50] :blobcat_confused: [09:50] So there's a `…/drm/card0` here, and that's where the `dev` with `:` lives [09:51] Anyway. Udev's already done all that logic for me, and I can ask it for details by /dev/dri paths [15:58] Just a reminder that if miriway-unsnap gets too unwieldy my overengineered solution still exists https://github.com/wmww/snap-out [16:00] sophie-w: I know. I did try that, but it didn't work straight away (I forget why now) and fixing looked hard [16:06] shrug well, if you do run into any more issues feel free to report them. Other than the dependency issue I fixed a couple years ago I haven't seen any problems with it. [16:09] Like you said it was overengineered for what I needed (and didn't do what I wanted). Was quicker to write miriway-unsnap. (Feel free to propose an improvement) [16:30] 🕡️ Today: [16:30] - Looked into syncing JIRA ↔ GH, have something to apply in due time [16:30] - Got drm-info and kmscube working in a checkbox provider reliably across platforms (x86, Pi) [16:30] - Found a way to include X-requiring tools (`vdpauinfo`, `vkcube`…) in checkbox, will integrate those next [16:41] 👋 [16:42] Bye, have a good break! [16:46] Today:... (full message at )