ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
Seirdy has quit []
Seirdy has joined #wayland
Seirdy has quit [Ping timeout: 480 seconds]
Seirdy has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
Seirdy has quit [Ping timeout: 480 seconds]
Seirdy has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
c7s has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
Seirdy has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
Seirdy has joined #wayland
hardening has joined #wayland
gusnan has quit [Ping timeout: 480 seconds]
boistordu_old has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
boistordu_ex has quit [Ping timeout: 480 seconds]
gusnan has joined #wayland
meain[m] has joined #wayland
dcz has joined #wayland
yenaras has joined #wayland
yenaras has quit []
zebrag has quit [Quit: Konversation terminated!]
enilflah has joined #wayland
enilflah_ has quit []
dcz_ has joined #wayland
dcz has quit [Ping timeout: 480 seconds]
ecloud has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
ecloud has joined #wayland
spstarr has joined #wayland
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #wayland
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #wayland
<jadahl> ifreund: ah, I see :) I guess I saw one of the ways to interpret and incorrectly assumed the other was wrong or something
jgrulich has joined #wayland
hardening has joined #wayland
pnowack has joined #wayland
danvet has joined #wayland
mvlad has joined #wayland
adia has quit [Quit: Ping timeout (120 seconds)]
adia has joined #wayland
rgallaispou has joined #wayland
rgallaispou has quit []
rgallaispou has joined #wayland
aetnaeus has quit [Read error: No route to host]
dcz_ has joined #wayland
soreau has quit [Remote host closed the connection]
soreau has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
rgallaispou has quit [Read error: Connection reset by peer]
flacks has quit [Ping timeout: 480 seconds]
<wlb> weston Merge request !763 merged \o/ (tests: Fix use after free on exit https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/763)
<wlb> weston/main: Derek Foreman * tests: Fix use after free on exit https://gitlab.freedesktop.org/wayland/weston/commit/3759ad153870 tests/weston-test.c
flacks has joined #wayland
MajorBiscuit has joined #wayland
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
pnowack has quit [Remote host closed the connection]
pnowack has joined #wayland
rasterman has joined #wayland
<wlb> wayland Issue #274 opened by () Add 'float' wire data type? https://gitlab.freedesktop.org/wayland/wayland/-/issues/274 [Scanner], [IPC library]
sstiller has joined #wayland
radu242 has joined #wayland
rgallaispou has joined #wayland
rgallaispou has quit []
<wlb> weston Merge request !756 merged \o/ (clients/window: Fix animated cursors https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/756)
<wlb> weston/main: Derek Foreman * clients/window: Fix animated cursors https://gitlab.freedesktop.org/wayland/weston/commit/f079f43658d9 clients/window.c
rgallaispou has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
flacks has quit [Quit: Quitter]
flacks has joined #wayland
rgallaispou has quit []
<wlb> weston Issue #581 opened by () Deprecate and remove the fbdev backend https://gitlab.freedesktop.org/wayland/weston/-/issues/581
<pq> now where was the last time that removing fbdev-backend was suggested...
<emersion> in the linked issue
<pq> that was kinda not really maybe... before that I mean
<emersion> i don't remember honestly
<pq> maybe it was on the mailing list
<wlb> weston Issue #481 closed \o/ (fbdev frame buffer format not supported https://gitlab.freedesktop.org/wayland/weston/-/issues/481)
<pq> yup, January 2019 - three years ago :-o
Lucretia has quit [Read error: Connection reset by peer]
Lucretia has joined #wayland
<daniels> tbf it hasn't been causing any problems, but yeah, I'd be super happy to jettison it
waot has joined #wayland
<pq> we could close a couple more issue reports :-)
mstoeckl_ has left #wayland [#wayland]
mstoeckl has joined #wayland
fmuellner has joined #wayland
<wlb> weston Merge request !764 opened by () build: warn when enabling wl_shell support https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/764
<emersion> ^ wrong title
radu242 has joined #wayland
devilhorns has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
radu242 has joined #wayland
caveman has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
boistordu_old has quit []
CaptainSifff has joined #wayland
CaptainSifff has left #wayland [#wayland]
sstiller has quit [Quit: Leaving]
radu242 has joined #wayland
radu242 has quit [Ping timeout: 480 seconds]
boistordu has joined #wayland
caveman has quit [Ping timeout: 480 seconds]
yenaras has joined #wayland
Nulo has joined #wayland
ecloud has quit [Ping timeout: 480 seconds]
Nulo has left #wayland [#wayland]
ecloud has joined #wayland
spstarr has quit [Remote host closed the connection]
c7s has joined #wayland
spstarr has joined #wayland
d42 has quit [Ping timeout: 480 seconds]
d42 has joined #wayland
maxzor_ has joined #wayland
waot has quit [Ping timeout: 480 seconds]
devilhorns has quit []
waot has joined #wayland
devilhorns has joined #wayland
AndroUser2 has joined #wayland
pac85 has quit [Read error: No route to host]
AndroUser2 has quit [Read error: Connection reset by peer]
AndroUser2 has joined #wayland
d42 has quit [Ping timeout: 480 seconds]
<wlb> weston Merge request !765 opened by () drm: Fix hang on zoom https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/765
<ManMower> kinda wondering if anyone would be really sad if we removed zoom in a future release
<ManMower> I mean, it's visually neat, and I guess showcases how cool our input system is with funky transforms (see also window rotation), but it feels like a pop-up magnifier or something might be better for a11y, and the zoom stuff is pretty pervasive and not very well tested
<daniels> yeah fr
<daniels> I mostly just hate how it's a bolt-on path to the rest of the transform system
<daniels> if (zoom) { /* hasn't been tested for a couple of years */ } else { /* something already mindbendingly complex */ }
<ManMower> right :/
<daniels> I'm definitely in favour of junking zoom, exposay, half of the desktop-shell transition effects, maybe workspaces too
<ManMower> I'm updating my long dormant transform patch series, and keep banging into that zoom vs everything else split
<ManMower> I guess we've "always" said weston wasn't really intended to be anyone's full featured desktop. but I guess simplifying all that code is going to bother people that didn't listen... :/
<daniels> poor linkmauve
<daniels> I'm not convinced that having those features is a bad thing per se, it's just that their current realisations are really really bad, and desktop-shell in particular is unknowable/unmaintainable as a result
<daniels> like you say with zoom, I'd much much rather implement that as a proper magnifier, which would be a post-render effect
<daniels> rather than just literally zooming the entire screen, hitting every single corner-case branch of the ugly tree on the way down
<ManMower> I'll file an issue for removing zoom and see if anyone shouts me down...
<emersion> i'd be in favor of removing these features as well
<daniels> ManMower: further proof that Wayland makes it literally impossible to do videoconferencing
<ManMower> HAH
d42 has joined #wayland
<wlb> weston Issue #582 opened by () Remove desktop zoom https://gitlab.freedesktop.org/wayland/weston/-/issues/582
radu242 has joined #wayland
<ManMower> should I make an umbrella "let's remove hard to maintain stuff from weston" issue?
jgrulich has quit [Ping timeout: 480 seconds]
devilhorns has quit []
<daniels> I think it's definitely worth having one for burning desktop-shell to the ground
<daniels> ivi-shell can go at this point imo
<daniels> previous discussion about deleting clients
<daniels> if there's an easy-to-use pipewire thing, I'd be super in favour of yeeting wcap into the sun
<ManMower> oh, yeah
<daniels> honestly the non-PW remoting plugin could probably go too ...
devilhorns has joined #wayland
* ManMower looks up and notices fbdev came up
<ManMower> oh that one has a ticket, nice
<daniels> there's an argument for binning EGL_WL_bind_wayland_display and matching what wlroots does (hand-roll your own wl_drm server implementation and only support dmabuf), but it's really causing us ~no problems to keep around
<daniels> already got an issue for binning off weston-launch iirc?
<ManMower> yeah, there's an MR for that
<daniels> omg I forgot we still have ZUC
<ManMower> and wl_shell
<ManMower> ... zuc
<daniels> that's only a couple of trivial tests
radu242 has quit [Ping timeout: 480 seconds]
<emersion> what is ZUC?
<ManMower> binning EGL_WL_bind_wayland_display would actually be a nice simplification in the gl-renderer, wouldn't it? I guess not that many lines shaved off, but I interacted with bits recently that would just disappear.
<emersion> yeah, if we can keep EGL_WL_bind_wayland_display for weston, probably better for now. we had to bin it in wlroots because of our new architecture
<ManMower> interesting
<daniels> emersion: ZUC millions of voices suddenly crying out in terror.
<daniels> *is
<ManMower> ZUC is our roll-your-own-test-framework-because-nobody-else-makes-a-test-framework-right?
<emersion> ahah
<daniels> 'hey guys I'm going to write my own test framework from scratch it's going to be amazing' 'please write some actual tests, those are useful, writing a test framework then immediately disappearing is not' 'gotcha, I'll definitely do that' [several months later] 'hey so why do we have a test framework which only has two trivial tests ported to it'
<ManMower> I feel like we should keep it, and just use an existing framework to write some tests to test ZUC...
* ManMower quietly walks away
<Sachiel> are there test frameworks designed to test test frameworks specifically? If not, we might need to come up with a new one for that
<ManMower> :D
* jadahl remembers excitement about ZUC
yenaras has quit []
<daniels> yeah?
<daniels> I must've been dead that week
fmuellner_ has joined #wayland
fmuellner has quit [Remote host closed the connection]
MajorBiscuit has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
captainc1ris has joined #wayland
MajorBiscuit has joined #wayland
radu242 has joined #wayland
wahfato has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
radu242 has quit [Ping timeout: 480 seconds]
<bl4ckb0ne> 7zip haha
<bl4ckb0ne> wrong buf
d42 has quit [Ping timeout: 480 seconds]
luc4 has joined #wayland
<wlb> wayland-protocols Issue #76 opened by () [Feature request] Implement a "restricted-action" API via polkit https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/76
Nei has joined #wayland
<Nei> hi, how can I run a command when my display config changes?
<emersion> depends on the compositor you're using
<Nei> gnome...
<emersion> ask in a GNOME channel
<emersion> probably something something dbus something
<emersion> but i don't know the details
<Nei> thanks for the redirection
mahkoh has joined #wayland
waot has quit [Ping timeout: 480 seconds]
<mahkoh> hi. what is the meaning of the coordinates in wl_surface::attach if the surface is an xdg_surface or a wl_subsurface? A wl_subsurface can already be positioned via wl_subsurface::set_position. an xdg_surface should not be movable by the client as I understand it and it can have different coordinates attached via xdg_surface::set_geometry. How are the set_buffer coordinates supposed to interact with the coordinates s
<mahkoh> For a cursor the behavior is clear
<mahkoh> are there any applications that make use of these coordinates in wl_surface::attach outside of cursors?
<emersion> drag icons
<emersion> but for other stuff, if the surface role doesn't tell, it should be a no-op
<emersion> hm
<emersion> iirc can be used for client-side resizing of xdg-shell surfaces
<emersion> i haven't seen compositors really implement this behaviour though
<mahkoh> makes sense. thanks.
wahfato has joined #wayland
radu242 has joined #wayland
Narrat has joined #wayland
<jadahl> Nei: that'd be #gnome-shell on irc.gnome.org
radu242 has quit [Ping timeout: 480 seconds]
radu242 has joined #wayland
radu242 has quit [Quit: Ping timeout (120 seconds)]
radu242 has joined #wayland
<wlb> weston Merge request !766 opened by () Draft: Unify solid-colour surface handling in shells [weston_buffer epic part 1] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/766 [Desktop shell], [kiosk-shell], [Fullscreen-shell]
<wlb> weston Merge request !767 opened by () Make weston_buffer useful [weston_buffer epic part 2] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/767 [Core compositor], [GL renderer], [Pixman renderer], [DRM/KMS backend]
<wlb> weston Merge request !768 opened by () gl-renderer: Split buffer state from surface state [weston_buffer epic part 3] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/768 [GL renderer]
d42 has joined #wayland
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #wayland
* daniels closes his editor
<daniels> review time tomorrow I guess
<kennylevinsen> daniels: re: killing weston-launch, did you remember what happened to openembedded libseat? Can't find anything.
<daniels> kennylevinsen: I haven’t heard anything since I pinged about it
<kennylevinsen> fair enough
Seirdy has quit []
zebrag has joined #wayland
Seirdy has joined #wayland
waot has joined #wayland
devilhorns has quit []
waot has quit []
captainc1ris has quit []
fmuellner_ has quit [Ping timeout: 480 seconds]
luc4 has quit []
luc4 has joined #wayland
jmabr has quit [Quit: Leaving]
gw has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
Narrat has quit []
rasterman has quit [Read error: No route to host]
fmuellner has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
mooff has quit [Remote host closed the connection]
mooff has joined #wayland
mvlad has quit [Quit: Leaving]
hardening has quit [Ping timeout: 480 seconds]
caveman has joined #wayland
<gw> I work on webrender in firefox, and I've been discussing https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2198#note_1357919 with robertmader[m] today.
<gw> I have some questions over how things would work in such a scenario with video surfaces. You'll have to forgive me, neither color management nor compositor internals are things I know much about, so bear with me here.
<gw> Let's use a concrete example - we have a web page that has some background content, then a video surface spliced in the middle, and then some overlapping translucent surfaces (imagine hovering a mouse over a video, and web controls fade in and overlay).
<gw> For simplicity, assume these are all LDR surfaces. Right now, we could create 3 wayland surfaces, have the blending done by the compositor, and _hopefully_ the video surface might get direct scanout, as I understand things (at least on frames where the web video controls don't overlap the video / aren't visible) - not that this is implemented, but that seems like the ideal, in terms of power consumption.
<gw> How would such a scenario work with the changes referenced above, in such a way that the video can still be supplied as a separate surface and be composited optimally when feasible?
mahkoh has quit [Quit: Page closed]
<daniels> gw: hopefully you have a long-lived IRC connection, because the relevant people are now asleep!
maxzor_ has quit [Remote host closed the connection]
maxzor_ has joined #wayland
<daniels> gw: anyway, some compositors (insert Weston plug here) will do direct scanout in that situation, at least as far as the hardware allows
<emersion> as long as firefox uses wl_subsurface, yeah
<gw> daniels: I do, connected via a persistent quassel core, so should be ok!
<daniels> gw: \o/
<gw> daniels: emersion: yes, we do currently use wl_subsurface. However, as I understand it, the proposal in the link above is that wayland wouldn't support doing this non-linear blending any more (could also be mis-understanding)
<daniels> but yeah, combining HDR and SDR within the same scene is difficult, especially if blending is required
<daniels> tbh I think we'd have to measure the performance characteristics of each approach on individual hardware to see where the damage is
maxzor_ has quit [Remote host closed the connection]
<gw> And so, if wayland no longer supports the non-linear blending of subsurfaces, even when all content is LDR
<emersion> right, the KMS API for this doesn't exist yet
<daniels> gw: the suggestion is that it wouldn't do so at least in the presence of HDR
maxzor_ has joined #wayland
<gw> And what about if all the surfaces were LDR, would wayland in the proposal above still support blending in that case?
<emersion> it depends on the compositor impl, but in general if color management is not supported by the compositor or disabled it should still work
<gw> ok, that would cover my main concern, I _think_, if that's still supported
<emersion> note, no compositor other than weston supports this atm
<emersion> but it's def on the roadmap for at least wlroots and mutter
<gw> Yea, it's more about having a plan for what we need to do in firefox if the way we're currently using things was no longer supported
<jadahl> then there is the question on whether compositors will start doing linear blending in sdr mode, which isn't very clear yet
<emersion> we already do linear blending with our vulkan renderer
<gw> If that blending was supported for LDR surfaces when not using HDR mode enabled, and we were expected to manage blending / compositing HDR video + LDR overlays ourselves, that sounds quite reasonable.
<jadahl> emersion: doing that is what might be problematic for the transparent video overlay subsurface things
<gw> right
<emersion> it might be better to not composite the HDR video + LDR overlays in the client… depending on future KMS exts and hw capabilities
<gw> Yea
<gw> It feels like if we do it ourselves internally, we're removing information from the compositor that it may be able to take advantage of in future depending on platform / hardware support?
<emersion> yes
<gw> And, further to that:
<emersion> jadahl: yeah, as it stands it won't be consistent with KMS blending
<gw> I have a concern, possibly unfounded, that if we supply a HDR surface to wayland when no overlays are present, then try to switch seamlessly and composite it ourselves on mouseover when web content is present, then it won't actually look very seamless :)
<emersion> in gamescope we had to hack around the kernel to convince it to blend in linear space :S
<gw> (to take advantage of scanout of HDR when no overlays are present, that is)
<jadahl> emersion: also turning that feature on/off in firefox will make it look different without kms overlays too
<emersion> gw: pq is currently working on color management exts, and AFAIK one of the goals is to provide enough guarantees that this won't happen
<emersion> but without the color management ext, yeah there's no guarantee how the compositor blending will happen…
<gw> emersion: ok, that'd be good to know if it's something being considered as an expected use case
<gw> (to go from compositing internally with an overlay, and then switching to a scanout / wayland subsurface when there isn't an overlay seamlessly, that is)
<gw> emersion: Thanks, I'll have a read through
<emersion> the description contains useful info
fmuellner has quit []
<emersion> the MR description, that is
fmuellner has joined #wayland
fmuellner has quit []
evon has quit []
evon has joined #wayland
evon has quit []
evon has joined #wayland
fmuellner has joined #wayland
luc4 has quit []
caveman has quit [Ping timeout: 480 seconds]