06:08YaLTeR[m]: Are there actually any good uses for desync subsurfaces?
07:29ifreund: firefox's main surface /s
07:39daniels: media playback, anyone using subsurfaces to do decoration, embeds such as webviews, etc
07:49YaLTeR[m]: daniels: don't you have to use sync mode when resizing the window then? E.g. OBS uses a desync subsurface for its stream preview, and it's super glitchy when resizing the window
07:49YaLTeR[m]: And if you have to move to sync for this, then why not just keep it in sync mode? Just signal the main surface to do a commit when necessary
07:50YaLTeR[m]: ifreund: firefox main surface also likes to glitch out during resizes a little bit
07:55daniels: YaLTeR[m]: you do have to move it to sync for resize yes, but then you don’t have to wake up the containing host for every single frame in the steady state
08:01YaLTeR[m]: Hm. Doesn't sound like that big a deal to me considering the event loop already woke up anyway, and it's just a wl_surface.commit call
08:04YaLTeR[m]: Though I'm not sure if this would help much with the logic the window has to do to synchronize resizes
08:05YaLTeR[m]: or make glitchy subsurface resize code any harder to write
08:32daniels: well, some clients implementing sync badly is a separate question from whether or not desync has any value
08:32daniels: but yeah, if you have a video playing inside a web view inside your native UI, that's minimum three steps you have to go through to get your content up
09:38Dany: Hi, how can i get my display id with wayland?
09:40kchibisov: YaLTeR[m]: if you redraw just e.g. titlebar?
09:40kchibisov: e.g. just text in titlebar, etc. alacritty does desync for example in such case.
09:40Dany: I just want to start an graphical application
09:40YaLTeR[m]: i just thought that having sync only would make it easier to write correct resizing code, but on a second thought not really
09:41kchibisov: yeah, but if you don't resize you'd waste resources.
09:41kchibisov: but yeah, the logic is usually, if we resize => sync, if we draw text in titlebar => desync.
09:42Dany: It tried loginctl show-session :/
09:46ifreund: YaLTeR[m]: yes, Firefox doing everything in a desync subsurface sucks, hence the /s
09:50pq: YaLTeR[m], there is also some expectation that the desync sub-surface is driven from another thread.
09:54pq: Dany, it's the environment variable WAYLAND_DISPLAY which is set up by the compositor or the DE.
12:53marex: mvlad: Hi, I am looking at the mirror-of in weston 14 , is it capable of mirroring output from /dev/dri/cardX to /dev/dri/cardY as well , or do both outputs have to be on the same /dev/dri/cardN ?
12:55mvlad: marex, neither. It only works for mirroring a DRM native output to a remote type of output (outputs created by VNC/RDP/PipeWire backend). Mirroring DRM native outputs to other DRM native outputs is something that I'd like to tackle soon.
12:57mvlad: fwiw, if hw supports it, you might want to look into cloning (though in practice that's pretty uncommon)
12:57marex: mvlad: oh
12:57pq: cloning won't work across cards
12:58marex: pq: that much I did figure out, yes, that is what prompted my question about the mirror-of
13:01marex: mvlad: pq: thank you both
16:45wlb: weston/main: Derek Foreman * 7 commits https://gitlab.freedesktop.org/wayland/weston/compare/af9589912171afbb4473df95171e4ff27b128fb5...c706e1f8c83a1b4d24084ff8d63560aa99d0bc5f
16:45wlb: weston Merge request !1522 merged \o/ (libweston: Add frame rate support https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1522)
18:51wlb: weston/main: Pekka Paalanen * build: make libdisplay-info mandatory https://gitlab.freedesktop.org/wayland/weston/commit/76e659f45edd libweston/backend-drm/meson.build meson.build
18:51wlb: weston/main: Robert Mader * gitlab-ci: Rebuild image with libdisplay-info to 0.2.0 https://gitlab.freedesktop.org/wayland/weston/commit/9f21128d78b6 .gitlab-ci.yml .gitlab-ci/build-deps.sh
18:51wlb: weston/main: Robert Mader * meson: require libdisplay-info >= 0.2.0 https://gitlab.freedesktop.org/wayland/weston/commit/82c5b386d860 libweston/backend-drm/modes.c meson.build
18:51wlb: weston Merge request !1700 merged \o/ (build: make libdisplay-info 0.2.0 mandatory https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1700)