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]
agx has joined #wayland
akallabeth[m] has joined #wayland
ambasta[m] has joined #wayland
ammen99[m] has joined #wayland
anomalous_creator[m] has joined #wayland
anonymousanomoly[m] has joined #wayland
arichardson[m] has joined #wayland
azizLIGHT has joined #wayland
basemale has joined #wayland
bdaase[m] has joined #wayland
botiapa[m] has joined #wayland
Naruto[m] has joined #wayland
c_89[m] has joined #wayland
cmeissl[m] has joined #wayland
Coelacanthus[envsnet][m] has joined #wayland
Coelacanthus[m]1 has joined #wayland
colinmarc has joined #wayland
Eighth_Doctor has joined #wayland
cousinofthor[m] has joined #wayland
daissi has joined #wayland
danburd[m] has joined #wayland
dani-g5x[m] has joined #wayland
davidre has joined #wayland
Nico has joined #wayland
deknos82[m] has joined #wayland
Diamonditshe[m] has joined #wayland
DrNick has joined #wayland
doras has joined #wayland
doraskayo has joined #wayland
drakulix[m] has joined #wayland
elinor has joined #wayland
emilio[m] has joined #wayland
ErikReider[m] has joined #wayland
FbioPacheco[m] has joined #wayland
ForeverNoob[m] has joined #wayland
[old]freshgumbubbles[m] has joined #wayland
furyishere[m] has joined #wayland
general_j[m] has joined #wayland
ForeverNoob[m] is now known as Guest6752
na[m] has joined #wayland
gnustomp[m] has joined #wayland
Guest6572 has joined #wayland
hariselldon[m] has joined #wayland
Harvey[m] has joined #wayland
hch12907 has joined #wayland
heeen[m] has joined #wayland
heftig has joined #wayland
hex[m]1 has joined #wayland
shawn[m]1 has joined #wayland
idkrn[m] has joined #wayland
sgdr has quit [Quit: sgdr]
zebrag[m] has joined #wayland
Dami_Lu has quit [Remote host closed the connection]
j-james[m] has joined #wayland
japchae[m] has joined #wayland
JosExpsito[m]1 has joined #wayland
Kelseyjgilbert[m] has joined #wayland
junglerobba[m] has joined #wayland
joantolo[m] has joined #wayland
JosExpsito[m] has joined #wayland
jryans has joined #wayland
karmavil[m] has joined #wayland
madhavpcm has joined #wayland
kenrendell[m] has joined #wayland
krathul[m] has joined #wayland
luks2[m] has joined #wayland
mboudr35[m] has joined #wayland
Mershl[m] has joined #wayland
modelockedcat has joined #wayland
mrkzboo[m] has joined #wayland
nazarewk[m] has joined #wayland
neobrain[m] has joined #wayland
nep_nep has joined #wayland
nickdiego[m] has joined #wayland
niecoinny[m] has joined #wayland
nielsdg has joined #wayland
ongy[m] has joined #wayland
orowith2os[m] has joined #wayland
teh1[m] has joined #wayland
pac85[m] has joined #wayland
Poly[m] has joined #wayland
KingoftheElves[m] has joined #wayland
psydroid[m] has joined #wayland
q234rty has joined #wayland
q234rty[m][m] has joined #wayland
rails[m] has joined #wayland
rajveermalviya[m] has joined #wayland
RobertAyrapetyan[m] has joined #wayland
robertmader[m] has joined #wayland
RomanGilg[m] has joined #wayland
rubo_[m] has joined #wayland
Russ[m] has joined #wayland
Shimmy[m] has joined #wayland
sergi has joined #wayland
Sumera[m] has joined #wayland
swick[m] has joined #wayland
sythemeta847[m] has joined #wayland
tayloralgo1[m] has joined #wayland
teaper[m] has joined #wayland
Nova[m] has joined #wayland
lyasm[m] has joined #wayland
underpantsgnome[m] has joined #wayland
ttancos[m] has joined #wayland
tzx[m] has joined #wayland
Z[m] has joined #wayland
unix-supremacist[m] has joined #wayland
Vanfanel has joined #wayland
varlad[m] has joined #wayland
vchernin[m] has joined #wayland
MatrixTravelerbot[m] has joined #wayland
vulpes2[m] has joined #wayland
wildwestrom[m] has joined #wayland
windowsxp[m] has joined #wayland
xerpi[m] has joined #wayland
YHNdnzj[moz] has joined #wayland
yshui` has joined #wayland
zaibon[m] has joined #wayland
zamundaaa[m] has joined #wayland
zhxt[m] has joined #wayland
zzxyb[m] has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
IMTheNachoMan has joined #wayland
glennk has joined #wayland
Dami_Lu has joined #wayland
mxz_ has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz__ has quit [Ping timeout: 480 seconds]
kts has joined #wayland
mxz_ is now known as mxz
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
danshick has quit [Read error: Connection reset by peer]
danshick has joined #wayland
that_guy has quit [Quit: I'M OUT]
that_guy has joined #wayland
kts has quit [Ping timeout: 480 seconds]
mxz_ has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
crazybyte has quit [Read error: Connection reset by peer]
crazybyte has joined #wayland
Company has quit [Quit: Leaving]
GuFuckYourself has joined #wayland
tzimmermann has joined #wayland
privacy has joined #wayland
tlwoerner_ has quit [Remote host closed the connection]
tlwoerner_ has joined #wayland
kts has joined #wayland
rv1sr has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
sima has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest6779
Guest6693 has quit [Ping timeout: 480 seconds]
cool110_ has joined #wayland
cool110_ is now known as Guest6782
Guest6779 has quit [Ping timeout: 480 seconds]
garnacho has joined #wayland
glennk has joined #wayland
mart has joined #wayland
rasterman has joined #wayland
lbia_ has joined #wayland
lbia has quit [Ping timeout: 480 seconds]
lbia has joined #wayland
lbia_ has quit [Ping timeout: 480 seconds]
paulk has quit [Remote host closed the connection]
paulk has joined #wayland
privacy has quit [Quit: Leaving]
leon-anavi has joined #wayland
GuFuckYourself has quit [Quit: Connection closed for inactivity]
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
Guest6782 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6795
GuFuckYourself has joined #wayland
riteo has quit [Ping timeout: 480 seconds]
<pq> KarenTheDorf, queueing a request is an operation that cannot fail (no API to fail), so when you try to queue a request, and the internal send buffer has no room left, and the flush into the socket also fails, libwayland-client runs out of options and marks the whole connection as failed. A recent fix was to enlarge the internal buffer.
<KarenTheDorf> Yeah, I saw that recent change in the source. It also doesn't treat EAGAIN as fatal any more, at least in some places.
<KarenTheDorf> But my local libwayland-client doesn't have that fix, so it's just a case of waiting for ubuntu to update.
<pq> right
<pq> It's like this, because we thought that asking clients to check the success of every single request queueing/sending function call would be too much to ask, and they might not even be able to postpone what they are doing in order to poll the socket for writable.
<pq> In practise, it is very rare to hit the overflow though, because much of the Wayland interactions include waiting for the server to say something, so that gives time for the socket to drain.
<KarenTheDorf> I've had it twice, I wish I knew what caused it. I'm *think* it's my touchpad bouncing a little and causing the pointer to enter/leave the surface lots and lots of times in a very brief period.
<pq> hence it went unfixed for so long
<pq> KarenTheDorf, did you say the disconnection is because the client is sending too much?
<pq> Do you do "heavy" work in enter/leave event handlers, rather than just internally queueing a re-draw of the window?
<KarenTheDorf> Grepping through the source for the error message I got points me to wl_closure_send failing, so I am assuming so.
<KarenTheDorf> As I said, this has happened twice, and I'm just guessing at the cause. Because of course it doesn't happen when I have a debugger attached :D
<pq> wl_closure_send is used by both sides
<pq> a more common overflow is having a 1000 Hz mouse making the compositor flood the socket, I think
<pq> while the client has a little stall
<KarenTheDorf> So the output is "Error sending request: Resource temporarily unavailable" followed by an unhandled exception from my code because wl_display_get_error returned non-zero.
<pq> "sending request" is client-side indeed
<pq> maybe something caused the compositor to stall, or maybe the client could perhaps do something differently to avoid sending so much
<KarenTheDorf> I could poll the wayland fd for writeability I suppose.
<KarenTheDorf> But that only lets me avoid explicit flushes. If it's an implicit flush because the buffer filled that could be anywhere.
<pq> that is a good idea, whenevere wl_display_flush() returns EAGAIN.
<pq> yes, the implicit flushes are a problem
<pq> maybe check what are you doing so much that you don't return to your main event loop to try explicit flushing and polling
<pq> naturally is flush returns EAGAIN, one should avoid sending more requests until it succeeds again
<pq> *if
lbia_ has joined #wayland
MrCooper has quit [Remote host closed the connection]
lbia has quit [Ping timeout: 480 seconds]
MrCooper has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
neniagh has quit [Read error: Connection reset by peer]
neniagh has joined #wayland
KarenTheDorf has quit [Remote host closed the connection]
KarenTheDorf has joined #wayland
<pq> swick[m], if anyone posts MRs, feel free to land them in color-and-hdr by your judgment.
GuFuckYourself has quit [Quit: Connection closed for inactivity]
neniagh has quit []
f_ has joined #wayland
kts has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
Guest6795 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6807
lbia_ has quit [Ping timeout: 480 seconds]
sgdr has joined #wayland
Company has joined #wayland
lbia has joined #wayland
lbia_ has joined #wayland
lbia has quit [Ping timeout: 480 seconds]
lbia has joined #wayland
lbia_ has quit [Ping timeout: 480 seconds]
karolherbst_ has joined #wayland
karolherbst has quit [Ping timeout: 480 seconds]
bim9262_ has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
bim9262_ is now known as bim9262
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
kts has joined #wayland
iomari891 has joined #wayland
madhavpcm has quit []
iomari891 has quit [Remote host closed the connection]
iomari891 has joined #wayland
riteo has joined #wayland
MatrixTravelerbot[m] has quit []
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
mart has quit [Remote host closed the connection]
eroc1990 is now known as Guest6817
eroc1990 has joined #wayland
tzimmermann has quit [Quit: Leaving]
Guest6817 has quit [Read error: Connection reset by peer]
funderscore has joined #wayland
privacy has joined #wayland
anomalous_creator[m] has quit [Quit: Client limit exceeded: 20000]
zzxyb[m] has quit []
hch12907 has quit []
jryans has quit [Quit: Client limit exceeded: 20000]
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
funderscore is now known as f_
aaron465 has quit [Quit: Client limit exceeded: 20000]
coldfeet has joined #wayland
sythemeta847[m] has quit []
Brainium has quit [Quit: Konversation terminated!]
tlwoerner_ has quit [Ping timeout: 480 seconds]
agx has quit []
general_j[m] has quit []
leon-anavi has quit [Remote host closed the connection]
azizLIGHT has quit []
nickdiego[m] has quit [Quit: Client limit exceeded: 20000]
underpantsgnome[m] has quit []
rasterman has quit [Quit: Gettin' stinky!]
kts has quit [Ping timeout: 480 seconds]
pac85[m] has quit []
iomari891 has quit [Ping timeout: 480 seconds]
tlwoerner has joined #wayland
nielsdg has quit []
tlwoerner_ has joined #wayland
tlwoerner_ has quit [Read error: Connection reset by peer]
tlwoerner_ has joined #wayland
tlwoerner has quit [Ping timeout: 480 seconds]
checkfoc_us has quit []
iomari891 has joined #wayland
checkfoc_us has joined #wayland
mart has joined #wayland
fmuellner has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
mart has quit [Remote host closed the connection]
tombl_ has joined #wayland
Brainium has joined #wayland
tombl has quit [Ping timeout: 480 seconds]
tombl_ is now known as tombl
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
sergi has quit []
Guru_DE has joined #wayland
rasterman has joined #wayland
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland
DodoGTA has quit []
DodoGTA has joined #wayland
daissi has quit []
garnacho has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
cool110 is now known as Guest6832
Guest6807 has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
kasper93 has joined #wayland
iomari891 has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
garnacho has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
IWillKillMySelf has quit [Quit: Connection closed for inactivity]
iomari891 has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest6842
Orko[m] is now known as OrkooffMay20th[m]
sima has quit [Ping timeout: 480 seconds]
Guest6832 has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
iomari891 has quit [Ping timeout: 480 seconds]
idkrn[m] has quit [Quit: Client limit exceeded: 20000]
coldfeet has quit [Quit: Lost terminal]
iomari891 has joined #wayland
rv1sr has quit []
iomari891 has quit [Ping timeout: 480 seconds]
sgdr has quit [Quit: sgdr]
iomari891 has joined #wayland
Guest6842 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6846
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
tayloralgo1[m] has quit []
Brainium has joined #wayland
karolherbst_ is now known as karolherbst
q234rty has quit [Quit: Client limit exceeded: 20000]
RomanGilg[m] has quit [Quit: Client limit exceeded: 20000]
mclasen has joined #wayland
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari892 has quit [Ping timeout: 480 seconds]
dd99 has joined #wayland
<dd99> hello... first time here
<vyivel> hi
egg_cream has joined #wayland
<wlb> weston Merge request !1518 opened by Leandro Ribeiro (leandrohrb) A few enhancements to the toytoolkit event loop https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1518 [Clients]
fmuellner has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
orowith2os[m] has quit []
egg_cream has quit [Remote host closed the connection]
KDDLB has joined #wayland