ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
feaneron has joined #wayland
mcf has quit [Ping timeout: 480 seconds]
navi has quit [Ping timeout: 480 seconds]
kelnos has quit [Ping timeout: 480 seconds]
mcf has joined #wayland
navi has joined #wayland
kelnos has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
gnarchie has quit []
gnarchie has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
CME has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
<ezzieyguywuf> when the window is being dragged, is there a way for me to know how much it has moved?
Brainium has quit [Quit: Konversation terminated!]
<danieldg> I don't think so; if it's dragged by the SSD it might not even know. Output enter/leave events will give some information, if available
Plasm0duck has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit [Quit: Leaving]
kasper93_ has quit [Remote host closed the connection]
Plasm0duck has quit []
Plasm0duck has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
Plasm0duck has quit []
Plasm0duck has joined #wayland
kts has joined #wayland
Plasm0duck has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
glennk has joined #wayland
sima has joined #wayland
azerov has quit [Quit: Gateway shutdown]
kchibisov has quit [Remote host closed the connection]
abcdw has quit [Remote host closed the connection]
atiltedtree has quit [Remote host closed the connection]
mebious has quit [Remote host closed the connection]
maeisbad has quit [Remote host closed the connection]
rosefromthedead has quit [Remote host closed the connection]
moses has quit [Remote host closed the connection]
ogromny has quit [Remote host closed the connection]
nucfreq has quit [Remote host closed the connection]
sleepydog has quit [Write error: connection closed]
cpli has quit [Remote host closed the connection]
tommybomb has quit [Remote host closed the connection]
dubiousness has quit [Remote host closed the connection]
guacamolie has quit [Remote host closed the connection]
dorkbutt has quit [Remote host closed the connection]
Guest8749 has quit [Remote host closed the connection]
mainiomano has quit [Remote host closed the connection]
geemili has quit [Remote host closed the connection]
leon-p has quit [Remote host closed the connection]
hummer12007 has quit [Remote host closed the connection]
c7s has quit [Remote host closed the connection]
novakane has quit [Remote host closed the connection]
fabiancodes has quit [Remote host closed the connection]
jonesv has quit [Remote host closed the connection]
pitust has quit [Remote host closed the connection]
kennylevinsen has quit [Remote host closed the connection]
kindablue has quit [Remote host closed the connection]
ifreund has quit [Remote host closed the connection]
elibrokeit_ has quit [Remote host closed the connection]
okt has quit [Remote host closed the connection]
lph has quit [Remote host closed the connection]
shymega[i] has quit [Remote host closed the connection]
dnkl has quit [Remote host closed the connection]
tsujp has quit [Remote host closed the connection]
staceee has quit [Remote host closed the connection]
rpigott has quit [Remote host closed the connection]
Guest8750 has quit [Remote host closed the connection]
abcdw has joined #wayland
sleepydog has joined #wayland
maeisbad has joined #wayland
geemili has joined #wayland
OctopusET has joined #wayland
OctopusET is now known as Guest9364
c7s has joined #wayland
jonesv has joined #wayland
staceee has joined #wayland
tommybomb has joined #wayland
raghavgururajan has joined #wayland
raghavgururajan is now known as Guest9365
ogromny has joined #wayland
elibrokeit_ has joined #wayland
atiltedtree has joined #wayland
guacamolie has joined #wayland
fabiancodes has joined #wayland
dorkbutt has joined #wayland
shymega[i] has joined #wayland
ifreund has joined #wayland
tsujp has joined #wayland
nucfreq has joined #wayland
okt has joined #wayland
novakane has joined #wayland
moses has joined #wayland
dubiousness has joined #wayland
rpigott has joined #wayland
rosefromthedead has joined #wayland
hummer12007 has joined #wayland
mebious has joined #wayland
pitust has joined #wayland
leon-p has joined #wayland
kennylevinsen has joined #wayland
lph has joined #wayland
kindablue has joined #wayland
mainiomano has joined #wayland
dnkl has joined #wayland
kchibisov has joined #wayland
cpli has joined #wayland
MrCooper_ is now known as MrCooper
<MrCooper> DemiMarie: "Mutter is the only major desktop compositor that doesn’t support xdg-decoration" is unfair to weston ;)
<MrCooper> ifreund: actually, Xwayland uses only frame events for frame timing so far
<MrCooper> colinmarc: one potential issue with delaying frame events like that is: if the client also tries to minimize latency by waiting for some time after receiving the frame event, there could be a bad feedback loop
garnacho has joined #wayland
leon-anavi has joined #wayland
<MrCooper> daniels: "[with Wayland] it is possible to achieve latency just as low as non-composited X11" is technically only true assuming the Wayland compositor allows tearing for its composited output? Is there any compositor which actually does that?
<YaLTeR[m]> [@_oftc_MrCooper:matrix.org](https://matrix.to/#/@_oftc_MrCooper:matrix.org) some compositors added a setting for this; I think generally everyone's waiting on kernel API fixes for async flips
<kchibisov> IIRC someone said(mahkoh) that you don't actually need async flips to achieve that, but rather scheduling good enough will also work.
<wlb> wayland-protocols Merge request !383 opened by Jonas Ådahl (jadahl) build: Bump version to 1.41 https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/383
kts has quit [Ping timeout: 480 seconds]
<kchibisov> And that jay has some sort of that scheduling, though, I never tested myself, nor I have a setup to actually measure latency.
<colinmarc> <MrCooper> "Colin Marc: one potential..." <- The frame callback sets the upper bound, no? If the client comes in under that it's their decision. I don't see how that would cause a feedback loop, as long as I'm counting the render time as frame callback -> buffer ready
<MrCooper> kchibisov: no amount of scheduling without tearing can match tearing
<MrCooper> in terms of latency
<kchibisov> it's true that tearing is _better on average_.
<colinmarc> <MrCooper> "ifreund: actually, Xwayland uses..." <- so fifo / commit-timing are only useful for sdl3 native games (or the equivalent) right now?
<YaLTeR[m]> Not much you can do when idling in a text editor and pressing a key at the start of a monitor vblank cycle. Tearing helps here
<YaLTeR[m]> And in games too if you run them unlimited fps
<MrCooper> colinmarc: that assumes the 'frame callback -> buffer ready' interval is as short as possible, which isn't true with such a client
<MrCooper> colinmarc: only Wayland-native clients use those protocols, yeah
<colinmarc> MrCooper: It seems like the worst feedback loop possible would be that I keep backing the frame callback back until I'm sending it as early as possible, at the start of the frame. which is the same as the present situation and if the client wants to try to come in later, leaves it in their hands
<MrCooper> YaLTeR[m]: isn't that setting just about supporting the tearing protocol, and there's only tearing when a fullscreen client uses the protocol?
<YaLTeR[m]> Depends on how the compositor implements it
<MrCooper> to be clear, I don't consider non-composited X or compositing with tearing acceptable in 2025, just trying to ensure apples are compared to apples
<wlb> wayland-protocols/main: Jonas Ådahl * build: Bump version to 1.41 https://gitlab.freedesktop.org/wayland/wayland-protocols/commit/71da8bd7f9fd meson.build
<wlb> wayland-protocols Merge request !383 merged \o/ (build: Bump version to 1.41 https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/383)
<MrCooper> colinmarc: if the compositor decides to send the frame event later than before, and the client also decides to wait longer after the same frame event, there's a high risk of the client missing the next refresh cycle
<colinmarc> right, but the algorithm would then send the frame event earlier and earlier
<colinmarc> and that converges on the beginning of the frame, which is exactly the same as the current situation
<colinmarc> then we have a smart client with as much time as it wants to try and be clever
<MrCooper> the result might be the timings fluctuating between maxima and minima, with frequent frame drops; that's the bad feedback loop
kts has joined #wayland
<kchibisov> if client tries to do _smart scheduling_ and doesn't account for delta in frame events, it's probably wrong.
<kchibisov> doing smart scheduling just with frame events is also not great, since you have presentation protocol for that.
<MrCooper> colinmarc: the client will also wait less after frame drops, so the compositor will see the 'frame callback -> buffer ready' interval go down and send frame events later again
<colinmarc> MrCooper: I see what you mean, but I feel like the design has to account for a bit of hysteresis (with padding) anyway
<colinmarc> and my plan is to use a fancy percentile approximation and base my scheduling on the p99 for render time, which should catch frame drops if they're frequent
<colinmarc> not sure if that's actually what hysteresis means but you get my meaning
mripard has joined #wayland
gnarchie has quit []
gnarchie has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
rasterman has joined #wayland
<wlb> wayland.freedesktop.org Merge request !95 opened by Jonas Ådahl (jadahl) releases: Add wayland-protocols 1.40 and 1.41 https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/95
kts has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
feaneron has joined #wayland
feaneron has quit []
Plasm0duck has joined #wayland
<wlb> wayland.freedesktop.org/main: Jonas Ådahl * releases: Add wayland-protocols 1.40 and 1.41 https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/9a3bf2bfb19c releases.html
<wlb> wayland.freedesktop.org/main: Jonas Ådahl * releases: Remove stray newline https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/f5fce8dcb687 releases.html
<wlb> wayland.freedesktop.org Merge request !95 merged \o/ (releases: Add wayland-protocols 1.40 and 1.41 https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/95)
<davidre> \o/
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
Plasm0duck has quit [Read error: Connection reset by peer]
Plasm0duck has joined #wayland
Moprius has joined #wayland
Orko[m] is now known as OrkoOoO[m]
ezzieyguywuf has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
feaneron has joined #wayland
vincejv has quit [Ping timeout: 480 seconds]
vincejv has joined #wayland
narodnik has quit [Quit: WeeChat 4.5.1]
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has joined #wayland
narodnik2 has quit [Ping timeout: 480 seconds]
<pq> kchibisov, re: non-composited X11; sure GPU acceleration worked. Either AIGLX or sending clip lists(?) to the client-side GLX so it knows to not paint over someone else's window. I think?
<kchibisov> pq: I made an assumption since if you share some common buffer it's either on gpu or cpu.
<kchibisov> I'm not sure you can transparently draw from gpu to cpu buffer and visa-versa, you need some copy in place.
<pq> it's on the gpu
<pq> X11 drawing commands are executed on the server, so the core drawing requests can target a gpu framebuffer "just" as well
<kchibisov> Yeah, I understand that if it's a server side drawing it'll work.
<kchibisov> I just assumed that there was some client side drawing.
<kchibisov> e.g. if I want to put some png on screen, I should likely upload it into texture of some sort.
<pq> I think there were X11 extensions for client-side direct access to the hw fb, but those may have indeed conflicted with GPU architecture.
Plasm0duck has quit [Quit: Konversation terminated!]
<pq> yes, you would
<kchibisov> yeah, so there should be a request to X11 to upload my data to some atlas and then I'd reference it from that atlas.
<pq> yes, there are, many I believe
<pq> Pixmap
<kchibisov> so it seems like it won't generally be more efficient than composing, since someone should compose anyway.
<pq> it can run on a fraction of the memory, though
<kchibisov> it's true that it would make sw rendered clients faster though, since they can opt in predefined model of doing so.
<kchibisov> instead of using OpenGL.
<MrCooper> kchibisov pq: DRI1 used global clip lists in shared memory (which allowed client-side presentation to work, but broke with compositing), DRI2 & DRI3 handle presentation in the server
<pq> ah yes, my memory didn't completely fail then :-)
<MrCooper> (presentation as in effectively copying contents from a back buffer to a window, which in some cases can be optimized by just flipping the buffers)
Plasm0duck has joined #wayland
nerdopolis has joined #wayland
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
narodnik has joined #wayland
<wlb> weston Merge request !1690 opened by Robert Mader (rmader) gitlab-ci: Bump wayland-protocols to 1.41 https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1690
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
feaneron has quit [Quit: feaneron]
eletrotupi has quit [Remote host closed the connection]
eletrotupi has joined #wayland
eletrotupi has quit [Remote host closed the connection]
eletrotupi has joined #wayland
eletrotupi has quit [Remote host closed the connection]
eletrotupi has joined #wayland
Plasm0duck has quit [Quit: Konversation terminated!]
eletrotupi has quit [Remote host closed the connection]
eletrotupi has joined #wayland
kts has joined #wayland
Plasm0duck has joined #wayland
feaneron has joined #wayland
fmuellner has joined #wayland
<wlb> weston Merge request !1676 merged \o/ (Improve read-back: Texture swizzles (3/4) https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1676)
Plasm0duck has quit [Quit: Konversation terminated!]
yrlf has quit [Ping timeout: 480 seconds]
Plasm0duck has joined #wayland
Plasm0duck has quit []
Decker has joined #wayland
<Decker> I was looking into supporting pen inputs; it looks like this would be done with libinput - but then how do I move the cursor to the right relative position too? Or is the best I can hope for is to draw a dot or something in a surface handling the input?
Plasm0duck has joined #wayland
yrlf has joined #wayland
kts has quit [Quit: Konversation terminated!]
ybogdano has quit [Remote host closed the connection]
kts has joined #wayland
ybogdano has joined #wayland
mripard_ has joined #wayland
mripard has quit [Ping timeout: 480 seconds]
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
tzimmermann has quit [Quit: Leaving]
kts has quit [Quit: Leaving]
leon-anavi has quit [Quit: Leaving]
<wlb> weston/main: Robert Mader * gitlab-ci: Bump wayland-protocols to 1.41 https://gitlab.freedesktop.org/wayland/weston/commit/de6f0b870a95 .gitlab-ci.yml .gitlab-ci/build-deps.sh
<wlb> weston Merge request !1690 merged \o/ (gitlab-ci: Bump wayland-protocols to 1.41 https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1690)
mripard has joined #wayland
mripard_ has quit [Ping timeout: 480 seconds]
crazybyte has quit [Ping timeout: 480 seconds]
coldfeet has joined #wayland
coldfeet has quit [Quit: Lost terminal]
Flat has quit [Ping timeout: 480 seconds]
Flat has joined #wayland
coldfeet has joined #wayland
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
narodnik2 has joined #wayland
ybogdano has quit [Quit: The Lounge - https://thelounge.chat]
ybogdano has joined #wayland
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: Lost terminal]
agd5f_ has joined #wayland
agd5f_ has quit []
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
nniro has quit [Ping timeout: 480 seconds]
agd5f_ has quit []
agd5f has joined #wayland
pavlushka has joined #wayland
ybogdano has quit [Quit: The Lounge - https://thelounge.chat]
ybogdano has joined #wayland
hugeblank has joined #wayland
<hugeblank> hey there, I'm trying to get a set of foot pedals to work in tandem with my keyboard (in sway) so I can have my mod key as one of the pedals. I was told there might be a way to merge the inputs using libinput but it's unclear to me how I would get that working. Does anyone have any insight into this?
rasterman has quit [Quit: Gettin' stinky!]
<selckin> xremap maybe
<hugeblank> I was hoping I wouldn't have to use an external tool to do what I wanted. Like theoretically it should be possible with some combination of sway/wlroots/xkb/libinput/evdev
<hugeblank> oh and xremap doesn't look like it'd do what I want. I already have the pedals bound to the right keys, it's using them in combination with my keyboard that doesn't work.
pavlushka has quit [Ping timeout: 480 seconds]
<hugeblank> For example leftmeta+1 switches focus to workspace 1. I would expect pressing the pedal + 1 on my keyboard to do that. It does not. Because the devices input events are handled separately for reasons unbeknownst to me.
nowrep has quit [Quit: WeeChat 4.3.4]
nowrep has joined #wayland
nerdopolis_ has joined #wayland
nerdopolis is now known as Guest9409
nerdopolis_ is now known as nerdopolis
Guest9409 has quit [Read error: Connection reset by peer]
<kchibisov> I'm pretty sure if keyboards have the same keymap sway should group them into one logical.
<hugeblank> kchibisov: how do I check that?
<kchibisov> just set the same settings for all of them.
<hugeblank> like, with xkb, or?
<kchibisov> or try setting nothing at all in sway for your keyboards.
<kchibisov> in sway config all keyboard settings must match for all keyboard iirc for them to be grouped.
<kchibisov> I've replied to you in #sway about it as well.
<hugeblank> ah! thanks, I'll move over there. I have some more questions.
lsd|2 has joined #wayland
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
lsd|2 has joined #wayland
mvlad has quit [Remote host closed the connection]
OtzmaYeh1 has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has joined #wayland
Moprius has joined #wayland
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
Calandracas_ has quit [Ping timeout: 480 seconds]
Calandracas has joined #wayland
Plasm0duck has quit [Quit: Konversation terminated!]
Plasm0duck has joined #wayland
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]