ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
jtbx has quit [Remote host closed the connection]
Brainium has joined #wayland
privacy has quit [Remote host closed the connection]
fmuellner has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
nerdopolis has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
jtbx has joined #wayland
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest3537
Guest3526 has quit [Ping timeout: 480 seconds]
Guest3537 has quit [Remote host closed the connection]
cool110_ has joined #wayland
cool110_ is now known as Guest3538
caveman has joined #wayland
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
kts has joined #wayland
pbsds has joined #wayland
Guest3538 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest3544
Allak has joined #wayland
Allak has quit [autokilled: This host violated network policy and has been banned. Mail support@oftc.net if you think this is in error. (2023-10-16 03:36:12)]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #wayland
tzimmermann has joined #wayland
<wlb> weston Issue #823 closed \o/ (Weston crashes when starting Warcraft III in wine-wayland https://gitlab.freedesktop.org/wayland/weston/-/issues/823)
<wlb> weston/main: Derek Foreman * input: avoid crash by using surface directly https://gitlab.freedesktop.org/wayland/weston/commit/e622be7423c8 libweston/input.c
<wlb> weston Merge request !1372 merged \o/ (input: avoid crash by using surface directly https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1372)
kts has joined #wayland
<wlb> weston Issue #824 opened by Himanshu Bhavani (himanshu.d) [imx8mp]Weston-rdp screen share issue https://gitlab.freedesktop.org/wayland/weston/-/issues/824
kts has quit [Remote host closed the connection]
kts has joined #wayland
glennk has joined #wayland
kts has quit [Ping timeout: 480 seconds]
cmichael has joined #wayland
iomari891 has joined #wayland
cmichael has quit [Ping timeout: 480 seconds]
luna_ has joined #wayland
<WhyNotHugo> When my client owns the clipboard selection and another client wants to paste I get an fd. Is it safe to change that fd to non-blocking, or could this cause problems on the other side?
luna__ has joined #wayland
privacy has joined #wayland
luna_ has quit []
<ascent12> WhyNotHugo: It's fine to set it to nonblocking.
<ascent12> How something reads from a pipe doesn't affect the writing side (outside of not reading the data at all)
<Company> I'm wondering if there is any rules on what fd you can send
<WhyNotHugo> ascent12: thanks! I think I need to study more on the subject, but I'm not sure I have good material for this specific topic.
<Company> like, a file manager could send an fd to a regular file to dump an image paste straight into a file
<WhyNotHugo> Company: The protocol doesn't restrict this much, and I've seen different applications send blocking and non-blocking fds.
<WhyNotHugo> An fd that points to a regular file would mess up the selection owner, since writing to a file in non-blocking mode is still blocking :(
<WhyNotHugo> So if a file manager does this and you paste a huge file into a network mount, then the selection owner will freeze for a while
<Company> to be clear: I'm not aware of anyone doing it
<WhyNotHugo> Doing so is asking for things to break.
<ascent12> The compositor is the one opening the pipe. The spec mentions it, but I don't think it's truly a hard requirement
<Company> but this is Linux, so somebody somewhere...
<ascent12> But also, the compositor isn't going to do random dumb stuff to mess with clients for no reason
<Company> ascent12: the compositor doesn't open the pipe, the app doing the request does
<ascent12> Actually yeah, I think I'm misremembering that
<ascent12> Not the part of the spec I'm the most familiar with
<WhyNotHugo> Yeah, the receiving client opens the fd, see wl_data_offer::receive
<Company> I wrote that code for GTK4
<WhyNotHugo> The spec just says: The transfer happens through the passed file descriptor (typically created with the pipe system call).
<Company> but I didn't think too much about it, I had to make an abstraction for X11 work
<Company> I've argued a bunch with Nautilus devs (also about that file dropping thing), and the conclusion was that it's not worth it with the extra amount of pain you could get from trying it
daz has quit [Ping timeout: 480 seconds]
<WhyNotHugo> Company: So Nautilus uses a pipe?
<Company> every GTK4 app uses a pipe
<WhyNotHugo> Good to know. Thanks for your work on that!
<Company> GTK4 has a framework that optimizes in-app copies, so the fd usage only happens at the end of that, and because of that nobody can influence how data is transferred
<Company> plus, only wayland uses fds, X11 uses window properties and Windows uses COM or shm, so that wouldn't be portable
rasterman has joined #wayland
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #wayland
Company has quit [Quit: Leaving]
glennk has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #wayland
luna__ has quit [Read error: Connection reset by peer]
glennk has quit [Ping timeout: 480 seconds]
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ecloud has joined #wayland
fmuellner has joined #wayland
<pq> Riolku, in protocol designs where you would need a unique token in order to know which event matches which request it is a common design pattern to create a new object instead to deliver the event. The protocol object ID then acts as the unique token, and the protocol library takes care of allocating, tracking and freeing it correctly.
<pq> Riolku, it also makes it easy if you decide to not want the event after all, the protocol library takes care to ignore the event for you.
neniagh_ has joined #wayland
neniagh has quit [Read error: No route to host]
DodoGTA has quit [Quit: DodoGTA]
glennk has joined #wayland
DodoGTA has joined #wayland
<pq> vyivel, updating protocol READMEs would be nice even if they might be often forgotten. Though when someone explicitly cc's eeryone mentioned, if someone does not want to be on that list anymore, they'd notice to remove themselves.
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
carlos_ has joined #wayland
kts has quit []
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #wayland
kts has joined #wayland
nerdopolis has joined #wayland
mvlad has joined #wayland
d42 has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
rv1sr has joined #wayland
privacy has quit [Remote host closed the connection]
<wlb> weston/main: Derek Foreman * headless: Enable use as a secondary backend https://gitlab.freedesktop.org/wayland/weston/commit/e3a509236b36 libweston/backend-headless/headless.c
<wlb> weston Merge request !1364 merged \o/ (headless: Enable use as a secondary backend https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1364)
luna has joined #wayland
kts has quit [Quit: Leaving]
luna has left #wayland [#wayland]
tristianc6704 has joined #wayland
abeltramo58952 has quit [Ping timeout: 480 seconds]
abeltramo58952 has joined #wayland
Moprius has quit [Quit: bye]
leon-anavi has joined #wayland
abeltramo58952 has quit [Ping timeout: 480 seconds]
nnm has quit [Remote host closed the connection]
nnm has joined #wayland
abeltramo58952 has joined #wayland
Coelacanthus[m] has quit []
JayBeeFOSS has joined #wayland
JayBeeFOSS has left #wayland [#wayland]
leon-anavi has quit []
MrCooper has joined #wayland
tzimmermann has quit [Quit: Leaving]
slim has joined #wayland
abeltramo58952 has quit [Ping timeout: 480 seconds]
___nick___ has joined #wayland
<wlb> weston Merge request !1019 merged \o/ (ivi-shell: activate desktop surface https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1019)
<wlb> weston/main: Tomohito Esaki * ivi-shell: activate desktop surface https://gitlab.freedesktop.org/wayland/weston/commit/0e082315d75a ivi-shell/ ivi-layout-export.h ivi-layout-private.h ivi-layout-shell.h ivi-layout.c ivi-shell.c ivi-shell.h
<wlb> weston/main: Tomohito Esaki * ivi-shell-user-interface: change timing to create the launcher surface https://gitlab.freedesktop.org/wayland/weston/commit/608e1ee86d3d clients/ivi-shell-user-interface.c
<wlb> weston/main: Tomohito Esaki * hmi-controller: activate and deactivate sruface https://gitlab.freedesktop.org/wayland/weston/commit/7dbb166de6fb ivi-shell/hmi-controller.c
<wlb> weston/main: Tomohito Esaki * ivi-shell: Properly handle seat hotplugging https://gitlab.freedesktop.org/wayland/weston/commit/ec3e2d2d3600 ivi-shell/ ivi-shell.c ivi-shell.h
MrCooper has quit [Ping timeout: 480 seconds]
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
mohit8158 has quit []
mohit8158 has joined #wayland
cobralt^ has quit [Ping timeout: 480 seconds]
cobralt^ has joined #wayland
<wlb> weston Merge request !1373 opened by Marius Vlad (mvlad) build: bump to version 12.0.91 for the alpha release https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1373
<wlb> weston/main: Marius Vlad * build: bump to version 12.0.91 for the alpha release https://gitlab.freedesktop.org/wayland/weston/commit/5d7412c1bd0c meson.build
<wlb> weston Merge request !1373 merged \o/ (build: bump to version 12.0.91 for the alpha release https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1373)
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland
i509vcb has quit [Quit: Connection closed for inactivity]
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
Company has joined #wayland
qaqland is now known as Guest3624
qaqland has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
Guest3624 has quit [Ping timeout: 480 seconds]
robert_mader has joined #wayland
robert_mader has quit [Quit: Leaving.]
i509vcb has joined #wayland
<wlb> wayland-protocols Merge request !256 opened by Derek Foreman (derekf) commit-queue-v1: Add new protocol https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/256
AnuthaDev has joined #wayland
<wlb> wayland.freedesktop.org Merge request !64 opened by Marius Vlad (mvlad) releases: add weston 12.0.91 release https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/64
<wlb> wayland.freedesktop.org/main: Marius Vlad * releases: add weston 12.0.91 release https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/d6d192fad152 releases/weston-12.0.91.tar.xz releases/weston-12.0.91.tar.xz.sig releases.html
<wlb> wayland.freedesktop.org Merge request !64 merged \o/ (releases: add weston 12.0.91 release https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/64)
___nick___ has quit [Ping timeout: 480 seconds]
<wlb> wayland.freedesktop.org Merge request !65 opened by Marius Vlad (mvlad) releases.html: Fix release announcement link https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/65
<wlb> wayland.freedesktop.org Merge request !65 merged \o/ (releases.html: Fix release announcement link https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/65)
<wlb> wayland.freedesktop.org/main: Marius Vlad * releases.html: Fix release announcement link https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/e4073b505682 releases.html
mvlad has quit [Remote host closed the connection]
opotin65 has quit []
AnuthaDev has quit []
RAOF_ has quit [Remote host closed the connection]
RAOF has joined #wayland
nagisa_ has joined #wayland
rv1sr has quit []
nagisa_ has quit []
<emersion> pq: hm if i want to blend in linear space, i need to un-do the alpha premult before srgb decoding and then re-do it before blending?
<emersion> kwin does that, weston seems (?) to do that, sway doesn't
<emersion> s/sway/wlroots/
<emersion> (cc mstoeckl)
<Company> or you need to do srgb decoding in premultiplied space
<Company> no idea how hard that is though, I never tried to do the math
nerdopolis has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Guest3544 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest3646
Guest3646 has quit [Remote host closed the connection]
cool110_ has joined #wayland
cool110_ is now known as Guest3647
nerdopolis has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
<DemiMarie> I now know why (to the best of my knowledge) nobody has written a rootless Wayland compositor before: it is really hard.
<danieldg> how do you define rootless?
<bookworm> other than the obvious?
<DemiMarie> In the sense of rootful vs rootless Xwayland
<DemiMarie> There is probably a better term that I am not aware of
<bookworm> setuid essentially
<DemiMarie> no
<danieldg> I'm not familiar enough with X to know how that would matter when translated to wayland compositors
<DemiMarie> By “rootless,” I mean a nested compositor where each Wayland toplevel and popup becomes a window in the outer compositor (which might be using a different rendering protocol)
<danieldg> oh, for nested servers; I didn't get that part
<danieldg> waypipe seems to kinda do that, though likely not as you want
<DemiMarie> Now imagine a nested compositor with a backend that is effectively a subset of X11
<ids1024> Come to think of it, it is a bit suboptimal that "rootless XWayland" and "rootless X" use "rootless" to mean different things.
<DemiMarie> It isn’t possible to implement a conformant rootless Wayland compositor with an X11 backend
<danieldg> I wouldn't think it would be much harder than writing an X11 client that throws pixels at the device plus a wayland server that grabs them
<DemiMarie> Other way around
<ids1024> I guess the RDP backend of Weston (as used for Wayland support in WSL2) is a bit like that.
<DemiMarie> no, actually you got it right
<DemiMarie> @_oftc_danieldg:matrix.org: the hard parts are handling window resizes and Xwayland
<DemiMarie> The real backend protocol is not X11, but rather something Qubes OS-specific; it is, however, based on X11.
<danieldg> sure, you'd have tearing issues and maybe non-working presentaiton feedback
<DemiMarie> Also both the X11 WM and the Wayland client think their idea of the surface size is authoritative.
<danieldg> sure; you'll have a bad frame during resize but wayland servers can tell the client to change size too
<DemiMarie> yeah, now I just need to figure out how to express that with wlroots
<danieldg> 'send a reconfigure' I guess. sway does something when you do 'swaymsg resize ...'
<Company> I would expect most compositors need to do that when the output changes
<danieldg> sure, but that produces a lot more changes than just a server-initiated resize op
co1umbarius has joined #wayland
columbarius has quit [Read error: Connection reset by peer]
<DemiMarie> yeah
<DemiMarie> It isn’t impossible, just tedious