ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
Levans has joined #wayland
Consolatis_ has joined #wayland
Consolatis is now known as Guest1226
Consolatis_ is now known as Consolatis
cb5r[m] has joined #wayland
Guest1226 has quit [Ping timeout: 480 seconds]
i509VCB has joined #wayland
ammen99[m] has joined #wayland
ybogdano has quit [Ping timeout: 480 seconds]
zaibon[m] has joined #wayland
arichardson[m] has joined #wayland
davidre has joined #wayland
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #wayland
emilio[m] has joined #wayland
hch12907 has joined #wayland
genpaku has quit [Remote host closed the connection]
<markbolhuis>
Hi all, The spec for xdg_toplevel.configure specifies the following: "If the width or height arguments are zero, it means the client should decide its own window dimension." Does that mean this: if (width == 0) {}; if (height == 0) {}; or does it mean this: if (width == 0 || height == 0) {}; The singular "dimension" wording to me indicates the former.
jgrulich has joined #wayland
shadowninja55[m] has joined #wayland
danvet has joined #wayland
ahmadraniri[m] has joined #wayland
ashketchum[m] has joined #wayland
jmariondev[m] has joined #wayland
d_ed[m] has joined #wayland
ozwald1[m]1 has joined #wayland
drakulix[m] has joined #wayland
rv1sr has joined #wayland
<pq>
ifreund, sorry. I was only explaining what sense there is behind the current behavior. This was not in any way intended as a reply to any change proposal.
hardening has joined #wayland
<pq>
emersion, what do you mean by client having a "read end" separate from "write end"? A socket is not two pipes, there is just one client end, right?
<emersion>
pq, the socket is full-duplex, the read and write ends of the connection can be closed independently by either party (client or server)
<emersion>
see SHUT_RD/SHUT_WR in shutdown(3)
<pq>
aha, that's an API I was not aware of.
rasterman has joined #wayland
<emersion>
so, it's possible to have the client → server direction closed, but the server → client can still transmit data
<emersion>
this state is often times referred to as "half-closed"
<pq>
any reason why anyone would want to do that with Wayland?
<emersion>
no, and the POLLHUP check prevents that mostly
<emersion>
POLLHUP will fire when either direction is closed AFAIU
<pq>
ok, good
<emersion>
OTOH, checking for EOF would allow half-closed
<emersion>
(checking for EOF in the read direction)
<pq>
I suppose that's unix socket behaviour, and e.g. TCP or UDP sockets would have more use for half-closed?
<pq>
just curious, how would you poll for EOF?
<pq>
periodically attempt to read/recv?
<emersion>
iirc HTTP without keepalive can do half-closed, the client sends the request and its body then closes its end, and the server continues to send the response afterwards
<emersion>
HTTP/1 i mean
<emersion>
pq, EOF should cause POLLIN
<emersion>
then you read and get ret==0
<pq>
alright
<emersion>
that's what ifreund's patch does
<pq>
I haven't looked at any patches, or if I did, I've forgotten.
mbalmer has joined #wayland
cool110_ has joined #wayland
cool110_ has quit [Remote host closed the connection]
cool110_ has joined #wayland
cool110 has quit [Ping timeout: 480 seconds]
eroux has quit [Remote host closed the connection]
CME has quit []
MrCooper has quit [Read error: Connection reset by peer]
MrCooper has joined #wayland
eroux has joined #wayland
pac85 has joined #wayland
benbrown_ has quit []
benbrown has joined #wayland
OMGOMG has joined #wayland
<ifreund>
pq: your explanation was what I needed to understand that even though my patch elimnated the specific race I was seeing, a wl_display.sync is still needed in general for correctness
DonRichie has quit []
<ifreund>
so it's better to just keep the status quo poll code and destroy the client on POLLHUP
DonRichie has joined #wayland
<ifreund>
and document that clients must use wl_display.sync if they want to ensure the server recieves and processes a request before exiting
fahien has joined #wayland
eroux has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
eroux has joined #wayland
<pq>
ifreund, alright. Also in more general sense, that's exactly what wl_display.sync is for, even if the client is not about to exit.
<ifreund>
Yes I understand that, though I was previously thinking of it more as way to impose ordering guarantees (e.g. ensure that wl_registry sends all the initial globals before I do X)
<pq>
exactly, X could also be "quit" :-)
pac85 has quit [Read error: Connection reset by peer]
pac85 has joined #wayland
<ifreund>
yep, though I used to think of X as only another wayland request
bl4ckb0ne_ has left #wayland [#wayland]
bl4ckb0ne has joined #wayland
bittin has quit [Remote host closed the connection]
pq has quit [Quit: brb]
bittin has joined #wayland
eroux has quit [Read error: No route to host]
pq has joined #wayland
eroux has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
devilhorns has joined #wayland
pac85 has quit [Read error: Connection reset by peer]
eroux has quit [Read error: Connection reset by peer]
eroux has joined #wayland
eroux has quit [Ping timeout: 480 seconds]
eroux has joined #wayland
DonRichie has quit []
DonRichie has joined #wayland
devilhorns has quit [Remote host closed the connection]
devilhorns has joined #wayland
fahien has quit [Ping timeout: 480 seconds]
nerdopolis_ has joined #wayland
<emersion>
leandrohrb11: btw would you have interested in working on dmabuf-feedback for the vulkan wl wsi again?
<emersion>
i can allocate some time for reviews if so
<emersion>
it just fell out of my radar completely somehow
rv1sr has quit []
fahien has joined #wayland
jgrulich has quit [Remote host closed the connection]
rv1sr has joined #wayland
<FLHerne>
My laptop's trackpad works perfectly in X11 but not at all under Wayland (in KDE Plasma), how should I debug this?
<FLHerne>
It's shown in `libinput list-devices`
<emersion>
do events show up in libinput debug-events?
<emersion>
if so, open a KDE bug
fahien has quit [Quit: fahien]
fahien has joined #wayland
<FLHerne>
yes, seems so
<FLHerne>
*facepalm*
<FLHerne>
in System Settings there's a checkbox 'Device enabled', which wasn't checked
<FLHerne>
sorry
<FLHerne>
I don't remember opening those settings at all previously though
<emersion>
ahah
nerdopolis_ has quit [Ping timeout: 480 seconds]
fahien has quit [Quit: fahien]
devilhorns has quit [Remote host closed the connection]
devilhorns has joined #wayland
jmdaemon has quit [Quit: WeeChat 3.6]
ppascher has joined #wayland
pac85 has joined #wayland
devilhorns has quit [Ping timeout: 480 seconds]
devilhorns has joined #wayland
zebrag has joined #wayland
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
pac85 has quit [Remote host closed the connection]
pac85 has joined #wayland
<bl4ckb0ne>
zamundaaa: ping about drmlease on xwayland
<bl4ckb0ne>
getting the output listed as disconnected but with modes, is that what's expected?
<bl4ckb0ne>
also what were you using during dev, monado or another small tool to check if it worked
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
pac85 has quit [Ping timeout: 480 seconds]
AndroUser2 has joined #wayland
ybogdano has joined #wayland
<vyivel>
bl4ckb0ne: ping on tablet tool button test
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
systwi_ has quit [Ping timeout: 480 seconds]
Company has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
<zamundaaa[m]>
bl4ckb0ne: yeah that is expected. Disconnected = disabled in xrandr, isn't it?
<zamundaaa[m]>
I used Monado and SteamVR for testing
AndroUser2 has joined #wayland
<bl4ckb0ne>
its disconnected but there, and gets connected when i use it
<bl4ckb0ne>
so my issue must lie elsewhere
<bl4ckb0ne>
thanks
<bl4ckb0ne>
im having issues with monado but i think its related to sway or i havent configured something properly
Ampera has quit [Quit: Like a fart in an elevator, my transgressions are soon forgotten]
AndroUser2 has quit [Remote host closed the connection]
Ampera has joined #wayland
AndroUser2 has joined #wayland
Ampera has quit []
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
Ampera has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
Moprius has joined #wayland
mbalmer has quit []
Moprius has quit [Read error: Connection reset by peer]
AndroUser2 has quit [Remote host closed the connection]
Moprius has joined #wayland
soreau has quit [Read error: Connection reset by peer]
soreau has joined #wayland
Moprius has quit [Read error: Connection reset by peer]
Moprius has joined #wayland
Moprius has quit [Quit: bye]
devilhorns has quit []
ybogdano has quit [Ping timeout: 480 seconds]
ybogdano has joined #wayland
CME has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
rasterman has joined #wayland
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
Seirdy has quit []
markbolhuis has quit [Quit: markbolhuis]
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #wayland
lanodan_ has quit []
lanodan has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
bodiccea has joined #wayland
bodiccea_ has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
gusnan has quit [Ping timeout: 480 seconds]
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
markbolhuis has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
JoshuaAshton has quit [Quit: Gone froggin!]
AndroUser2 has joined #wayland
mvlad has quit [Remote host closed the connection]
rgallaispou1 has joined #wayland
rgallaispou has quit [Ping timeout: 480 seconds]
dcz has quit [Ping timeout: 480 seconds]
AndroUser2 has quit [Remote host closed the connection]
gusnan has joined #wayland
gusnan_ has joined #wayland
gusnan_ has quit []
AndroUser2 has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
gusnan has quit [Quit: leaving]
gusnan has joined #wayland
that_guy has quit [Remote host closed the connection]
that_guy has joined #wayland
nerdopolis has joined #wayland
markbolhuis has quit [Quit: markbolhuis]
markbolhuis has joined #wayland
zebrag has quit [Ping timeout: 480 seconds]
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #wayland
zebrag has joined #wayland
AndroUser2 has quit [Remote host closed the connection]
markbolhuis has quit [Quit: markbolhuis]
markbolhuis has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
nerdopolis has quit [Ping timeout: 480 seconds]
AndroUser2 has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
markbolhuis has quit [Quit: markbolhuis]
AndroUser2 has quit [Remote host closed the connection]