ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
cvmn has quit [Remote host closed the connection]
cvmn has joined #wayland
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
Leopold__ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
Brainium has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Leopold_ has quit [Remote host closed the connection]
Brainium has joined #wayland
Leopold_ has joined #wayland
Brainium has quit [Remote host closed the connection]
Brainium has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
ahartmetz has quit [Quit: Konversation terminated!]
eroc1990 has quit [Ping timeout: 480 seconds]
iomari892 has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
iomari891 has quit [Ping timeout: 480 seconds]
eroc1990 has joined #wayland
ciara has quit []
ciara has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
iomari892 has quit [Read error: Connection reset by peer]
iomari892 has joined #wayland
tzimmermann has joined #wayland
rv1sr has joined #wayland
iomari892 has quit [Ping timeout: 480 seconds]
dsrt^ has joined #wayland
rasterman has joined #wayland
pochu has joined #wayland
manuel_ has joined #wayland
iomari892 has joined #wayland
manuel__ has joined #wayland
manuel_ has quit [Ping timeout: 480 seconds]
crazybyte has quit [Quit: Ping timeout (120 seconds)]
crazybyte has joined #wayland
opotin65 has quit []
leandrohrb5 has quit [Quit: The Lounge - https://thelounge.chat]
leandrohrb56 is now known as leandrohrb5
leandrohrb56 has joined #wayland
leandrohrb56 has quit [Remote host closed the connection]
Nokurn has quit [Ping timeout: 480 seconds]
cmichael has joined #wayland
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #wayland
opotin65 has joined #wayland
<pq> swick[m], interesting, sounds like it's already implemented: https://github.com/colour-science/colour/issues/647
<JEEB> had that visualization of gamut demoed to me at the nhk r&d open days
<pq> cool
<pq> I went through colour refrence docs, and could not find it. No wonder, as the function names do not have "gamut" nor "rings" in them.
<JEEB> fun :)
tawonga4 has quit [Quit: WeeChat 3.8]
<wlb> weston Merge request !468 closed (ivi-shell: Set view mask solely based on source rectangle)
<qyliss> just want to check my understanding: calling wl_display_roundtrip() here guarantees that the compositor will have received the wl_surface.commit event, generated the xdg_surface.configure event in reply, and the client listeners will have run, before wl_surface_attach() is called on the next line, right?
<pq> yes
<qyliss> so if wl_surface_attach() is getting called early and I get an error that the xdg_surface isn't configured yet, that means my compositor is buggy, because it's replying to the wl_display.sync before it's configured the surface?
<pq> it's a toy example, where calling wl_display_roundtrip() in that specific context is fine.
<qyliss> (I'm very occasionally seeing a crash because the compositor receives wl_surface.attach before xdg_surface.ack_configure)
<qyliss> so my best guess is that this is a bug with the compositor, and it's doing things out of order, confusing the client
tawonga has joined #wayland
<pq> xdg_surface spec says: "...perform an initial commit without any buffer attached. The compositor will reply with an xdg_surface.configure event."
<pq> I guess that implies that a roundtrip should be enough.
<llyyr> what compositor is this?
<pq> I'd perhaps explicitly wait for the configure event though
<qyliss> cool, that's all the info I need to open a clear issue, thanks
<pq> is that proxy itself replying to wl_display.sync instead of forwarding that to the parent?
<qyliss> I think so
<qyliss> let me check
<pq> that would not work
<pq> it would break everything that ever relied on wl_display.sync
<qyliss> no, I don't think it is
<pq> good
<qyliss> I'm not very good at reading OCaml, but that looks like it's forwarding it
<pq> libwayland-server will automatically and immediately reply to any wl_display.sync, so a proxy cannot use that.
<emersion> yeah, it's better to not rely on roundtrip for getting the first configure…
<pq> oh, I thought you believed it must be enough to roundtrip as it's in your demo.
<wlb> weston/main: Leandro Ribeiro * backend-drm: fix possible leak of struct drm_output https://gitlab.freedesktop.org/wayland/weston/commit/f9ef4e64ea12 libweston/backend-drm/ drm-internal.h drm.c fb.c
<wlb> weston Issue #421 closed \o/ (Ensure drm_outputs get destroyed on shutdown https://gitlab.freedesktop.org/wayland/weston/-/issues/421)
<wlb> weston Merge request !641 merged \o/ (Fix possible leak of struct drm_output https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/641)
<JEEB> emersion: btw thanks for your drm DB, it lets me check before hand whether "HDR_OUTPUT_METADATA" is listed or not for a specific piece of hardware :)
<emersion> :)
<JEEB> I hope now with a 8550U intel I have a new enough intel to also check stuff on it, since it shows blob = <nil> there :)
<JEEB> (Intel UHD 620)
<emersion> that's expected, it'll only be set to non-nil if user-space has programmed it
<emersion> the presence of the prop indicates whether the driver supports it
<emersion> note, AMD patches have landed recently for HDR_OUTPUT_METADATA
jmdaemon has quit [Ping timeout: 480 seconds]
<pq> you mean AMD patches for Colorspace?
<emersion> oh, err, i mixed these up
<qyliss> emersion: oh, so is the compositor's behaviour here actually acceptable?
kts has joined #wayland
<wlb> wayland-protocols Issue #148 opened by Corentin Noël (tintou) xdg-shell: Allow a xdg_surface to never be rotated https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/148
<wlb> weston/main: Philipp Zabel * libweston: add weston_backend::shutdown callback https://gitlab.freedesktop.org/wayland/weston/commit/6d699c3f5419 libweston/ backend-drm/drm.c backend-rdp/rdp.c backend-vnc/vnc.c backend-wayland/wayland.c backend-x11/x11.c backend.h compositor.c
<wlb> weston/main: Philipp Zabel * backend-wayland: use to_wayland_backend https://gitlab.freedesktop.org/wayland/weston/commit/fcde7fae6623 libweston/backend-wayland/wayland.c
<wlb> weston/main: Philipp Zabel * libweston: move weston_compositor_shutdown call out of backends https://gitlab.freedesktop.org/wayland/weston/commit/90c11cf40e5c libweston/ backend-drm/drm.c backend-headless/headless.c backend-pipewire/pipewire.c backend-rdp/rdp.c backend-vnc/vnc.c backend-wayland/wayland.c backend-x11/x11.c compositor.c libweston-internal.h
<wlb> weston Merge request !1280 merged \o/ (libweston: move weston_compositor_shutdown call out of backends https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1280)
<wlb> weston Merge request !467 closed (ivi-shell: don't check for event_mask in update_prop)
i509vcb has quit [Quit: Connection closed for inactivity]
<qyliss> is it plausible that sway could be triggering the callback before sending configure?
<jadahl> qyliss: you cannot rely on a roundtrip to know you have received a configure event
<qyliss> okay, so hello-wayland shouldn't do that?
<emersion> sway sends configure immediately
jlco has joined #wayland
<jadahl> qyliss: no, that'd be a bug
<jadahl> qyliss: but my guess for the proxy thing is that it's something else. how does the proxy work btw? is there some libwayland-server.so server that proxies messages for a set of interfaces to the host?
<qyliss> my understanding is that apart from XWayland, it just relays everything
<jadahl> how does it relay things?
<qyliss> either by directly opening a unix connection to another compositor (not very useful, I assume mostly for testing), or via virtio-gpu, where the proxy runs in the guest, and crosvm on the host connects to the host compositor
<jadahl> qyliss: some light browsing it does seem to depend on libwayland in some way, and has a set of protocols it forwards. then a naive guess is that wl_display.sync() is implemented by libwayland-server.so, which means that it doesn't actually roundtrip all the way to the host compositor, which will break a bunch of assumptions
<qyliss> I don't think it does
<qyliss> I linked the code earlier where it appears to forward sync to the host
<jadahl> ah, then that's not it then I guess
<qyliss> I could be wrong, as I said, I'm not very good at reading OCaml
<qyliss> thank you :)
nerdopolis has joined #wayland
<JEEB> emersion: nice re: colorspace, that was a weird mismatch
fmuellner has joined #wayland
<pq> yeah :-D
<wlb> wayland Merge request !320 closed (Draft: tests: unbreak os_wrappers_dupfd_cloexec on FreeBSD)
eroc1990 has quit [Ping timeout: 480 seconds]
eroc1990 has joined #wayland
<wlb> wayland Merge request !325 merged \o/ (tests: manually wrap libc functions https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/325)
<wlb> wayland/main: Simon Ser * tests: manually wrap libc functions https://gitlab.freedesktop.org/wayland/wayland/commit/4ec379ebcc4d src/wayland-os.c tests/os-wrappers-test.c
ahartmetz has joined #wayland
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
dsrt^ has quit [Remote host closed the connection]
jlco has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jlco has joined #wayland
<vbt> Hello. wayland noob here. I am adding some feature to a panel based on layer shell. i wanted to reduce the width of panel to 1px. i was told to use wp_viewporter. panel is in gtk.
<vbt> what's the good method to do so?
jlco has quit []
jlco has joined #wayland
<wlb> weston Merge request !1284 merged \o/ (toy-toolkit: Fix rotations https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1284)
<wlb> weston/main: Derek Foreman * toy-toolkit: Fix rotations https://gitlab.freedesktop.org/wayland/weston/commit/f0196739ae42 clients/window.c
eroc1990 has joined #wayland
agd5f has joined #wayland
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #wayland
nerdopolis has quit [Remote host closed the connection]
rasterman has quit [Quit: Gettin' stinky!]
nerdopolis has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
jlco has quit [Remote host closed the connection]
jlco has joined #wayland
crazybyte has quit [Ping timeout: 480 seconds]
crazybyte has joined #wayland
Company has joined #wayland
pochu has quit [Quit: leaving]
tzimmermann has quit [Quit: Leaving]
<wlb> weston Merge request !1285 opened by Daniel Stone (daniels) Create and destroy subsurface views at source, many view/surface cleanups https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1285 [Core compositor], [Desktop shell], [libweston API]
jlco_ has joined #wayland
jlco has quit [Ping timeout: 480 seconds]
jlco_ has quit []
jlco has joined #wayland
kts has quit [Ping timeout: 480 seconds]
jlco has quit []
jlco has joined #wayland
leandrohrb55 has joined #wayland
leandrohrb55 is now known as leandrohrb
cmichael has quit [Quit: Leaving]
fmuellner has quit []
fmuellner has joined #wayland
Narrat has joined #wayland
kasper93 has quit [Remote host closed the connection]
bodiccea has quit [Remote host closed the connection]
bodiccea has joined #wayland
jmdaemon has joined #wayland
kasper93 has joined #wayland
i509vcb has joined #wayland
manuel__ has quit [Ping timeout: 480 seconds]
manuel1985 has joined #wayland
junaid has joined #wayland
jlco_ has joined #wayland
jlco has quit [Ping timeout: 480 seconds]
manuel1985 has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
jlco_ has quit []
jlco has joined #wayland
jlco_ has joined #wayland
jlco has quit [Ping timeout: 480 seconds]
iomari892 has quit [Ping timeout: 480 seconds]
jlco has joined #wayland
jlco_ has quit [Ping timeout: 480 seconds]
manuel1985 has joined #wayland
jlco has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
ertert has joined #wayland
ertert has left #wayland [#wayland]
kasper93 has quit [Remote host closed the connection]
pounce has quit [Remote host closed the connection]
pounce has joined #wayland
nerdopolis has quit []
nerdopolis has joined #wayland
jlco has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
jlco has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jlco has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
jlco has quit []
jlco has joined #wayland
jlco has quit []
jlco has joined #wayland
jlco has quit []
jlco has joined #wayland
<wlb> wayland/main: Alex Yang * debug: Replace "@<id>" with "#<id>" in logs https://gitlab.freedesktop.org/wayland/wayland/commit/6d3334657180 src/connection.c src/wayland-client.c src/wayland-server.c tests/queue-test.c
<wlb> wayland Merge request !319 merged \o/ (debug: Replace "@<id>" with "#<id>" https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/319)
alarumbe has quit [Ping timeout: 480 seconds]
rv1sr has quit []
nerdopolis has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
caveman has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
Narrat has quit []
jmdaemon has quit [Ping timeout: 480 seconds]
Nokurn has joined #wayland
bodiccea has quit [Remote host closed the connection]
grinja3 has quit [Remote host closed the connection]
bodiccea has joined #wayland
grinja3 has joined #wayland
grinja3 has quit [Remote host closed the connection]
jmdaemon has joined #wayland
<wlb> weston Merge request !1286 opened by Daniel Stone (daniels) tests: Add cross-thread breakpoints and paint-node test https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1286 [Testing]
alarumbe has joined #wayland