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.