08:03 MrCooper: zamundaaa: https://zamundaaa.github.io/wayland/2024/04/05/explicit-sync.html misrepresents my blog post it references, it's nothing to do with "effectively explicit sync through a backdoor"
08:10 vyivel: yeah i was confused by this too
08:16 YaLTeR[m]: same
08:53 pq: emersion, I replied in gitlab about the output transform clarification.
08:54 emersion: ty!
08:58 pq: playing with a pen, paper and scissors should help understand :-)
08:59 pq: cut a sheet of paper, label it as "buffer" and draw something totally asymmetric on it
09:00 pq: take another sheet of paper, (cut out the inside,) mark the normal up and right orientation, and label it as the monitor
10:12 zamundaaa[m]: MrCooper: as I see it, it's getting an acquire fence and using it as if the client had explicit sync support
10:12 zamundaaa[m]: What would you describe it as instead?
10:19 MrCooper: implicit sync in the protocol works the same regardless
10:20 MrCooper: I didn't mention anything about explicit/implicit sync in my post because it's orthogonal
10:20 MrCooper: the same issue is possible with explicit sync if the compositor is stupid
10:26 zamundaaa[m]: Sure. I'm not saying your blog post is about explicit sync through a backdoor, only that it uses the kernel mechanism for explicit sync interop
10:27 zamundaaa[m]: I can reword it to be more clear about that
10:27 MrCooper: I'd appreciate that
10:38 zamundaaa[m]: is it better now?
10:44 MrCooper: yes, thanks
12:01 wlb: wayland-protocols Issue #189 opened by Nelson Benítez León (nbenitez) Enhance DND protocol to be able to send scroll events to surface under https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/189
12:08 wlb: wayland-protocols Issue #190 opened by Alex Folland (lexlexlex) Allow scroll whell during drag-and-drop dragging https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/190
12:12 wlb: wayland-protocols Issue #190 closed \o/ (Allow scroll whell during drag-and-drop dragging https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/190)
13:58 wlb: weston Merge request !1490 opened by Marius Vlad (mvlad) Deprecate weston_layer_entry_insert/weston_layer_entry_remove in favor of weston_view_move_to_layer() https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1490 [Core compositor]
14:45 wlb: weston Merge request !1491 opened by Pekka Paalanen (pq) Improve test ICC profiles, switch default rendering intent https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1491 [color-lcms plugin], [Colour management], [Testing]
17:33 wlb: weston Merge request !1492 opened by Derek Foreman (derekf) libweston-desktop: Store weston_surface in grabs https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1492 [libweston-desktop]
18:38 Company: zamundaaa: have you ever considered a global or per-app setting in KDE to force apps to integer scale factors even though the desktop is using fractional scaling?
18:41 zamundaaa[m]: no, not really. People have been asking for per-app scaling settings, but only for X11 apps so far
18:42 zamundaaa[m]: I have considered faking a higher resolution to apps though, like the super resolution feature on Windows
18:42 zamundaaa[m]: What would you want such a setting for?
18:44 Company: I was looking at scaling settings and just wondered
18:44 Company: there might be apps that can't properly deal with fractional scales - ie a common problem is seams - and you can trade those vs slight vlurriness
18:45 Company: and yeah, another option to avoid that might be some form of supersampling
18:47 Company: if I understand things correctly, Qt 6 and GTK 4 do render at fractional scales, but Mac OS does not
18:47 Company: and it might be that users (or developers?) might want to switch between the 2 modes
18:54 zamundaaa[m]: It wouldn't be difficult to implement per se, you can just filter out the global
18:55 kennylevinsen: hmm? pretty sure macOS has fractional scales through its 5 very abstract "size" settings (a scale that goes from "larger text" to "more space")...
18:55 zamundaaa[m]: MacOS only does integer scaling
18:56 zamundaaa[m]: What you're talking about might be a global text size setting or something like that?
18:57 Company: kennylevinsen: afaik MacOS renders apps at integer scales and then downscales them to the selected fractional scale
18:57 kennylevinsen: No it's the whole UI, the control replaced their resolution controls when they added hiDPI support
18:58 Company: so whatever Qt5/GTK3 does
18:58 kennylevinsen: And the increments are certainly non-integer, but it may be that the apps render at 2x and are downscaled
18:59 Company: I think you can also select "low resolution" and then it upscales or so
19:00 Company: https://i.imgur.com/Rq6I80u.png is an example screenie of the extended list
19:02 Company: Apple seems to pick resolutions that end up with integer sizes - which is why it lists pixel sizes instead of scale factors
19:02 Company: I checked the list and they're all multiples of 16:9
19:03 kennylevinsen: This is the UI I'm referring to: https://www.eizoglobal.com/support/compatibility/dpi_scaling_settings_mac_os_x/image01.jpg
19:04 Company: that's the old UI for that I think?
19:05 Company: still doesn't list scale factors though
19:05 kennylevinsen: This is the older control panel yeah, just pulled a random screenshot. But whether it shows scale or resolution has traditionally depended on the monitor - external third party monitors got the resolution drop-down, internal panels and I think apple screens got the scale options
19:07 Company: they still don't show the scale factor though I think?
19:07 kennylevinsen: No they won't tell you what it is, just vague names for it...
19:09 wlb: weston/main: Derek Foreman * gl-renderer: apply output transform before readback in repaint https://gitlab.freedesktop.org/wayland/weston/commit/527bc8aeb313 libweston/renderer-gl/gl-renderer.c
19:09 wlb: weston Merge request !1485 merged \o/ (gl-renderer: apply output transform before readback in repaint https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1485)
19:10 Company: "1920x1080, 2560x1440, 3008x1692, 3360x1890 and 3840x2160" are the scales for those 5 options, so that's 2/1, 3/2, 60/47 and 8/7 (what is up with the last 2?)
19:11 kennylevinsen: That's some cursed fractions... :)
19:11 kennylevinsen: https://developer.apple.com/documentation/appkit/nsscreen/1388385-backingscalefactor?language=objc
19:12 Company: whatever you do with fractional scaling, it's all cursed - either you get seams on well-aligned boxes or blurry text
19:12 kennylevinsen: Ah: https://developer.apple.com/documentation/appkit/nswindow/1419459-backingscalefactor
19:13 kennylevinsen: Apple documents that one as, despite being a float, always being 1.0 or 2.0
19:13 Company: huh
19:13 kennylevinsen: But says "don't use it, use our coordinate space converters instead"
19:13 Company: I would have expected it can be 3.0 or even 4.0
19:14 kennylevinsen: Their "retina" panels aren't *that* high resolution, 3x would be pretty darn big...
19:15 Company: I was thinking if you set the resolution to 1280x720 in that dropdown
19:15 Company: it seems suitable to make apps render at 3x then
19:16 wlb: weston Merge request !1493 opened by Derek Foreman (derekf) Backport some gl-renderer fixes https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1493
19:16 kennylevinsen: True, there isn't a reason you couldn't do it
19:17 kennylevinsen: But it's also not a normally exposed setting on their laptops so maybe it's not a "supported" use case.
19:18 Company: technically, that means all their text is slightly blurry though
19:18 Company: probably doesn't matter because their monitors are high enough dpi
19:19 kennylevinsen: Either way, zamundaaa seems right that the apps render integer, and it just gets scaled to the selected fraction like we used to in Wayland... land
19:21 kennylevinsen: To be fair, if you pick 3x scaling on these monitors you are probably doing out of visual accessibility needs and won't detect a slight clarity issue...
19:23 kennylevinsen: Hmm. Although, if 2.0 is their normal hidpi for their "middle" setting, a 50% "more text" boost is already 3.0 scaling. You have a point.
19:23 kennylevinsen: *bigger text
19:24 Company: the laptop I have is a 14" with 4k resolution - I usually drive that at 200% but I have been using 250% accidentally for a while
19:25 Company: and I'm not that blind
19:25 kennylevinsen: Yeah I was thinking of 1.0 being the starting point, in which case 3x over base scale is very big. 50% over base scale isn't that much.
19:25 kennylevinsen: Error on my part
19:25 kchibisov: Company: apple emboldens all the fonts and doesn't do subpixel.
19:25 kchibisov: so it's ok.
19:26 kchibisov: Like because fonts are _thick_ enough, it's really hard to notice.
19:26 kennylevinsen: No subpixel antialiasing is one of the few apple decisions I fully support
19:27 kchibisov: I hate font embolden thing.
19:27 kchibisov: it just breaks all the metrics, etc.
19:28 YaLTeR[m]: also breaks websites for everyone else
19:28 kchibisov: They also tend to change the setting to disable this mess.
19:28 kchibisov: yeah, if you pick light font, it's like regular on apple stuff.
19:28 kchibisov: But with broken glyph shapes.
19:29 Company: YaLTeR[m]: fonts breaking everything is something that everyone should enjoy forever, so no pity from my side there
19:30 Company: I also love that Apple's fix for crappy looking fonts is "buy better monitor"
19:31 Company: the most rich people thing ever
19:48 mclasen: its nice if you can assume working hw
21:32 emersion: pq, daniels, jadahl: how does that release schedule sound? https://paste.sr.ht/blob/2a9d393b1755b227d577756f9480575474bb9d03
21:40 daniels: emersion: with the caveat that I only started reading email yesterday and am still nowhere done, sgtm
21:40 daniels: (is there anything I should be looking at as a priority?)