ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Narrat has quit []
garnacho has quit [Remote host closed the connection]
RAOF has quit [Read error: Connection reset by peer]
RAOF has joined #wayland
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
garnacho has joined #wayland
Company has joined #wayland
yura has joined #wayland
<yura> hello
<yura> Is there anyone alive?
yura has quit []
klausvalka has quit [Remote host closed the connection]
Brainium_ has joined #wayland
Brainium_ has quit []
garnacho has quit [Ping timeout: 480 seconds]
Brainium has quit [Ping timeout: 480 seconds]
silverpower has quit [Ping timeout: 480 seconds]
silverpower has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
mxz has quit [Ping timeout: 480 seconds]
cvmn has quit [Remote host closed the connection]
caveman has joined #wayland
systwi has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
glennk has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
kts has joined #wayland
kts has quit [Quit: Leaving]
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
mxz has joined #wayland
kts has joined #wayland
mclasen has joined #wayland
bindu_ has quit [Remote host closed the connection]
bindu has joined #wayland
leon-anavi has joined #wayland
sima has joined #wayland
sima has quit [Remote host closed the connection]
sima has joined #wayland
kts has quit [Quit: Leaving]
rolf has quit []
kts has joined #wayland
tzimmermann has joined #wayland
kts has quit [Quit: Leaving]
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
mblenc has quit [Ping timeout: 480 seconds]
mblenc has joined #wayland
mart has joined #wayland
mvlad has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland
<ifreund> that was me that tried the the 1 px squares of different colors + viewporter hack
<ifreund> it made some nice looking gradients but yeah, kinda made useless in practice due to the undefined and inconsistent filtering
<pq> emersion, zamundaaa[m], FWIW, I wrote https://gitlab.freedesktop.org/wayland/weston/-/blob/main/clients/scaler.c?ref_type=heads to verify the viewporter behavior on splitting source pixels. It contains comments and help text explaining the expectations.
<pq> but since filtering is implementation specific, it only applies to Weston
garnacho has joined #wayland
<pq> One of the two intentions of wp_viewport is source cropping. Indeed, if the source rectangle was taken in the most strict sense of "no accessing pixels outside of it", it would cause glitches when the source rectangle smoothly slides over the buffer.
<pq> I think there is also the question: is the top-left corner of a buffer at position 0,0 pixels or -0.5,-0.5 pixels? I.e., is the center of a pixel at x.0, y.0 or x.5, y.5? I don't remember the answer.
<pq> given that src_x,src_y cannot be negative, I guess the pixele middle is at x.5, y.5.
rasterman has joined #wayland
* mclasen wonders how alpha multipliers interact with cursor shapes
<pq> What's the question?
<mclasen> cursor shape lets you specify surface content compositor-side
<mclasen> alpha modifier lets you tell the compositor to tweak buffer contents
<pq> ok, so you wonder if alpha multiplier should be ignored or applied. Or maybe an error?
<mclasen> I just wondered because as usual alpha modifier spec pretends that you can apply this to an arbitrary wl_surface
<pq> we certainly can
<pq> should we, that's the question
<mclasen> all these protocols interact in unknown ways and create dozens of cornercases. such fun
<pq> at least we can look at those corner cases and decide the best resolution for the combination
<mclasen> I was disappointed the other day that mutter doesn't let me use a viewporter on a cursor
<mclasen> the protocol pretends that should be a-ok to do
<pq> Thanks to protocol being more descriptive than prescriptive. Prescriptive parts tend to cause the most problems, it seems.
<mclasen> if you want to be interoperable...
<pq> it certainly is ok to do
<pq> also sub-surfaces on cursor surfaces are ok
<pq> or did that get amended, I forget
<pq> you can also use a dmabuf, wl_shm buffer, or a single-pixel buffer on a cursor surface
<pq> you will be able to set a color profile on a cursor
<pq> etc.
<mclasen> I can, but whether it works depends on how my compositor decided to apply common sense
<pq> yes, that goes with all software
<davidre> mclasen How would you apply alpha-multiplier to cursor-shape
<emersion> cursor-shape has no surface
<davidre> You do not have a surface handle with cursor-shape
<pq> ooh, that's good
<davidre> the viewpointer issue, sounds like a mutter issue if it's actually allowed
<davidre> Although I have no other idea if other compositors handle it properly
<mclasen> ah, right. I had the wrong mental model of how cursor shape operates
<MrCooper> mclasen: it's just a mutter bug which needs to be fixed
<pq> There are no restrictions whatsoever on what kind of wl_surface a wp_viewport can be applied to.
<pq> mclasen, btw. what roles/hats do you wear nowadays? I've been under the impression you had some significant role at Red Hat and/or GNOME? Or GTK?
<mclasen> I manage some people and I write some code. Not sure if either of those are very significant
<pq> ok, thanks
fmuellner has joined #wayland
manuel_ has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #wayland
<Company> pq: mclasen and me are the 2 main GTK developers atm who (try to) keep track of everything going on - though certain parts of the code have their own experts, like jadahl knows a bunch about the Wayland backend and garnacho knows about input
<Company> that's more or less the relevant people for GTK / Wayland interactions I think
kts has joined #wayland
manuel_ has joined #wayland
<garnacho> we talked in the past about splitting gtk/mutter in terms of governance, perhaps next meeting might be a good first
<pq> Company, cool, thanks
<Company> technically that might make sense because the POV of the toolkits/apps is often different than the one of compositors
<Company> but practically I don't know if anyone wants to do that job
<kennylevinsen> it of course doesn't make extra staff appear out of thin air, but yeah it makes sense
<Company> like, I try to stay out of the whole protocol mess, because the issue tracker discussions require way too much time
<Company> and I'd probably get annoyed at the level of bikeshedding
mclasen has quit [Quit: mclasen]
iomari891 has joined #wayland
mclasen has joined #wayland
kts has quit [Quit: Leaving]
kts has joined #wayland
mort_28 is now known as mort_
iomari891 has quit [Ping timeout: 480 seconds]
kts has quit [Remote host closed the connection]
kts has joined #wayland
Brainium has joined #wayland
mblenc has quit [Ping timeout: 480 seconds]
Guest4684 has quit [Remote host closed the connection]
mblenc has joined #wayland
mblenc1 has joined #wayland
mblenc has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
cool110 is now known as Guest4770
Guest4770 has quit [Remote host closed the connection]
cool110_ has joined #wayland
cool110_ is now known as Guest4771
Guest4771 has quit [Remote host closed the connection]
<zzag> davidre: mclasen: fwiw kwin allows using a viewporter on a cursor surface
<mclasen> excellent
cool110- has joined #wayland
mblenc1 has quit [Ping timeout: 480 seconds]
<pq> weston does too btw - not that I've tried, but the architecture is completely oblivious whether something a cursor surface or not.
<pq> *something is
<ifreund> pretty sure wlroots does as well
kts has quit [Ping timeout: 480 seconds]
lsd|2 has joined #wayland
mblenc has joined #wayland
mblenc1 has joined #wayland
mblenc has quit [Read error: Connection reset by peer]
mblenc has joined #wayland
kts has joined #wayland
mblenc1 has quit [Ping timeout: 480 seconds]
<wlb> wayland Merge request !379 opened by Sebastian Wick (swick) protocol: define content updates and their internal queue https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/379
leecommamichael has joined #wayland
<leecommamichael> Hello, I was curious about the wayland.xml used to generate the client-protocol. Why? Is this done to make the protocol more language-agnostic? When should I re-generate the protocol? Should this be done on the user's machine if possible?
<leecommamichael> (This is with respect to writing a client)
fmuellner has quit [Remote host closed the connection]
rv1sr has joined #wayland
fmuellner has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
<kennylevinsen> leecommamichael: yes, the protocol specification is meant to be human readable and to generate implementations
cool110- has quit [Remote host closed the connection]
<kennylevinsen> libwayland has its own code generator (wayland-scanner), but equivalent ones exist for other languages and libraries
<kennylevinsen> think of Wayland like HTTP, with many implementations of servers and clients all speaking a common language defined in a spec.
<kennylevinsen> When writing a client in C for example, you usually get the core protocol through libwayland itself, while you might have a meson rule to generate other chosen protocols at compile-time
cool110 has joined #wayland
cool110 is now known as Guest4778
<leecommamichael> kennylevinsen: Right, I was just following wayland-book.com, and it didn't mention what considerations to make for breaking versions. Like, I can try to keep my libwayland-dev ahead of a user's, and re-generate my headers frequently. I read something about the protocol being fairly backwards compatible.
<kennylevinsen> The protocol is versioned, and so a newer client can speak to an older server and vice-versa, as long as both respect the negotiated version number
<wlb> weston Issue #899 opened by Marius Vlad (mvlad) X11/Wayland backends should disconnect heads for frontends to clean-up https://gitlab.freedesktop.org/wayland/weston/-/issues/899 [Nested X11 backend], [Nested Wayland backend]
<leecommamichael> So all servers support all previous versions of the protocol.
<leecommamichael> a difficult task, glad I'm not the one doing it.
<kennylevinsen> yes, as the advertised version is a maximum
<leecommamichael> Excellent. Thank you!
<kennylevinsen> it's made a lot easier maintenance wise by the protocols being written with this in mind
<kennylevinsen> so new versions tend to mainly add new requests and events, rather than massively redefine existing ones
privacy has joined #wayland
silverpower has quit [Ping timeout: 480 seconds]
silverpower has joined #wayland
iomari891 has joined #wayland
manuel_ has quit [Ping timeout: 480 seconds]
mblenc1 has joined #wayland
<wlb> weston Merge request !1483 opened by Derek Foreman (derekf) Fix up primary plane use after free https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1483 [Core compositor], [libweston API]
mblenc has quit [Read error: Connection reset by peer]
mblenc has joined #wayland
kts has quit [Ping timeout: 480 seconds]
mblenc1 has quit [Ping timeout: 480 seconds]
mart has quit [Quit: Konversation terminated!]
rolf has joined #wayland
tzimmermann has quit [Quit: Leaving]
<wlb> wayland-protocols Merge request !273 closed (presentation-time: Clarify what a content update is)
Fxzxmic has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
garnacho has quit [Quit: garnacho]
nurupo_ has quit []
nurupo has joined #wayland
Fxzxmic has quit [Read error: Connection reset by peer]
Company has quit [Quit: Leaving]
Fxzxmic has joined #wayland
garnacho has joined #wayland
garnacho has quit []
garnacho has joined #wayland
garnacho has quit [Quit: garnacho]
systwi_ has joined #wayland
Fxzxmic has quit [Read error: Connection reset by peer]
JPEW_ has joined #wayland
feaneron_ has joined #wayland
seanpaul has joined #wayland
Fxzxmic has joined #wayland
i509vcb_ has joined #wayland
Ariadne_ has joined #wayland
d10n_ has joined #wayland
codingkoopa3218 has joined #wayland
cnsvc- has joined #wayland
jlco_ has joined #wayland
aswar002_ has joined #wayland
garnacho has joined #wayland
garnacho has quit []
roussinm1 has joined #wayland
Ps1-Jack has joined #wayland
ebassi_ has joined #wayland
garnacho has joined #wayland
tent4051 has joined #wayland
systwi has quit [resistance.oftc.net larich.oftc.net]
roussinm has quit [resistance.oftc.net larich.oftc.net]
Lyude has quit [resistance.oftc.net larich.oftc.net]
feaneron has quit [resistance.oftc.net larich.oftc.net]
tent405 has quit [resistance.oftc.net larich.oftc.net]
i509vcb has quit [resistance.oftc.net larich.oftc.net]
Psi-Jack has quit [resistance.oftc.net larich.oftc.net]
jlco has quit [resistance.oftc.net larich.oftc.net]
kelnos has quit [resistance.oftc.net larich.oftc.net]
jkl has quit [resistance.oftc.net larich.oftc.net]
overholts has quit [resistance.oftc.net larich.oftc.net]
d10n has quit [resistance.oftc.net larich.oftc.net]
bnason has quit [resistance.oftc.net larich.oftc.net]
checkfoc_us has quit [resistance.oftc.net larich.oftc.net]
Momentum has quit [resistance.oftc.net larich.oftc.net]
Ariadne has quit [resistance.oftc.net larich.oftc.net]
JPEW has quit [resistance.oftc.net larich.oftc.net]
cnsvc has quit [resistance.oftc.net larich.oftc.net]
the_sea_peoples has quit [resistance.oftc.net larich.oftc.net]
aswar002 has quit [resistance.oftc.net larich.oftc.net]
mcf has quit [resistance.oftc.net larich.oftc.net]
seanpaul_ has quit [resistance.oftc.net larich.oftc.net]
codingkoopa321 has quit [resistance.oftc.net larich.oftc.net]
ebassi has quit [resistance.oftc.net larich.oftc.net]
feaneron_ is now known as feaneron
JPEW_ is now known as JPEW
kelnos has joined #wayland
the_sea_peoples has joined #wayland
bnason has joined #wayland
checkfoc_us has joined #wayland
overholts has joined #wayland
Momentum has joined #wayland
jkl has joined #wayland
mcf has joined #wayland
Lyude has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
garnacho has quit []
garnacho has joined #wayland
Ojus1_ has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
garnacho has quit [Quit: garnacho]
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
garnacho has joined #wayland
garnacho has quit []
garnacho has joined #wayland
klausvalka has joined #wayland
mart has joined #wayland
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
Ariadne_ is now known as Ariadne
Fxzxmic has quit [Read error: Connection reset by peer]
roussinm1 has quit []
roussinm has joined #wayland
roussinm has quit []
roussinm has joined #wayland
Fxzxmic has joined #wayland
Fxzxmic has quit [Read error: Connection reset by peer]
Fxzxmic has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
Ojus1_ has quit [Remote host closed the connection]
Fxzxmic has quit [Remote host closed the connection]
Fxzxmic has joined #wayland
Ojus1_ has joined #wayland
Fxzxmic has quit [Remote host closed the connection]
Sid127 has joined #wayland
<Sid127> hmm what's going on with the xdg-toplevel-icon protocol? would be cool to see it merged soon :3
navi has joined #wayland
leon-anavi has quit [Quit: Leaving]
mvlad has quit [Remote host closed the connection]
lkn0 has joined #wayland
sima has quit [Ping timeout: 480 seconds]
mart has quit [Quit: Konversation terminated!]
Ojus1_ has quit [Remote host closed the connection]
ity has joined #wayland
mclasen has joined #wayland
sima has joined #wayland
privacy has quit [Ping timeout: 480 seconds]
rv1sr has quit []
glennk has quit [Ping timeout: 480 seconds]
privacy has joined #wayland
klausvalka has quit [Remote host closed the connection]
nerdopolis has joined #wayland
privacy has quit [Quit: Leaving]
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
lkn0 has quit [Quit: Leaving]
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
navi has quit [Quit: WeeChat 4.2.1]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
mblenc has quit [Read error: Connection reset by peer]
mblenc has joined #wayland
mblenc has quit [Read error: Connection reset by peer]
Brainium has quit [Remote host closed the connection]