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
carbonfiber has joined #wayland
rodrgz has quit [Quit: WeeChat 3.7.1]
Ampera has quit [Ping timeout: 480 seconds]
inverted has quit []
inverted has joined #wayland
Ampera has joined #wayland
inverted has quit []
inverted has joined #wayland
columbarius has joined #wayland
mackerelian has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
mntirc has quit [Ping timeout: 480 seconds]
mntirc has joined #wayland
fullstop has quit [Read error: Connection reset by peer]
fullstop has joined #wayland
that_guy has quit [Remote host closed the connection]
that_guy has quit [Remote host closed the connection]
that_guy has joined #wayland
smallville7123 has joined #wayland
mxz has quit [Quit: cya]
mxz has joined #wayland
columbarius has quit [Read error: No route to host]
columbarius has joined #wayland
bookworm_ has quit []
bookworm has joined #wayland
hardening has joined #wayland
jgrulich has joined #wayland
Company has quit [Quit: Leaving]
Leopold_ has quit [Remote host closed the connection]
dcz_ has joined #wayland
jgrulich has quit [Remote host closed the connection]
kts has joined #wayland
jgrulich has joined #wayland
kts has quit []
kts has joined #wayland
danvet has joined #wayland
rasterman has joined #wayland
tzimmermann has joined #wayland
manuel_ has joined #wayland
pochu has joined #wayland
MajorBiscuit has joined #wayland
mvlad has joined #wayland
d_ed has joined #wayland
eroux has quit [Remote host closed the connection]
bilelmoussaoui has joined #wayland
rasterman has quit [Read error: Connection reset by peer]
rasterman has joined #wayland
pochu has quit [Quit: Lost terminal]
kts has quit [Quit: Leaving]
pochu has joined #wayland
bilelmoussaoui_ has joined #wayland
bilelmoussaoui has quit [Ping timeout: 480 seconds]
gschwind has joined #wayland
bilelmoussaoui_ has quit []
devilhorns has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
kts has joined #wayland
<jadahl>
gschwind: so figured out the problem, and it was a problem in freerdp: you sent a bogus 'serial' to the wl_pointer.set_cursor request (it must match wl_pointer.enter). what happens is you wl_surface.attach/commit which updates the cursor sprite, but the following set_cursor is ignored by compositors so it has no effect. the reason it might have worked on some compositors is they bothered with dealing with
<jadahl>
moving the cursor given the offset, but at the same time, if (I think) they implemented it correctly, the cursor would "shift" each time it changes without leaving the wlfreerdp surface.
devilhorns has quit [Remote host closed the connection]
devilhorns has joined #wayland
devilhorns has quit []
devilhorns has joined #wayland
manuel_ has joined #wayland
<zamundaaa[m]>
emersion: apart from maybe updating the Mesa impl to the new naming, is there anything left to do with the tearing protocol to merge it?
<yshui`>
can a misbehaving compositor crash user applications?
<jadahl>
yshui`: sure it can, clients aren't uncrashable, it just needs to misbehave in a way where the client is unlucky enough to crash
<yshui`>
I am thinking of scenarios. a client should be able to catch protocol errors i think? but the compositor is considered trusted, right? so clients are probably not doing much validation.
<jadahl>
yshui`: right, and tbf, compositors should be fixed if they misbehave, and clients shouldn't have to have work arounds
<yshui`>
yeah that makes sense.
Company has joined #wayland
pochu has quit [Quit: leaving]
<i509VCB>
yes the client can catch protocol errors. Some client libraries also handle the scenario of invalid messages (I know wayland-rs does this), but the dispatch implementations can panic still
<gschwind>
jadahl, I did noticed this issue you seen, but in my trial fixing the serial did not solved the issue, but maybe I did not tested both change together
<jadahl>
gschwind: fixed the alpha thing thanks to your fix-003 branch, that mutter missing repaint the opaque buffer into a transparent one suitable for kms
<gschwind>
jadahl, in my own client, I have the bug, and as far as I know my code is correct, i.e. no attache offset and the proper serial :)
<jadahl>
gschwind: if you can, find the branch from your mutter bug, it's hopefully enough
<gschwind>
jadahl, I use gentoo with : x11-wm/mutter-42.5
<gschwind>
jadahl, I will try another version
<gschwind>
jadahl, did you tryed with scale 200% ^^ ? just in case
<jadahl>
gschwind: yea, scale problem was lodpi cursor on hidpi screen
<gschwind>
jadahl, sadly it seems that I cannot instal unstable mutter eassyly :/
<jadahl>
gschwind: would a .patch suitable for 42.5 help?
<gschwind>
jadahl, what do you mean ? with gentoo it's should by not that difficult to try a patch over 42.5
<gschwind>
jadahl, if you want the I test a .patch over 42.5 I think I can
<gschwind>
jadahl, ok for now I do not have the time to build and test, I will just try to apply the patch and test it latter
<gschwind>
jadahl, the patch seems to apply thus I will try it later :)
<gschwind>
jadahl, I keep you in touch
ybogdano has joined #wayland
manuel_ has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
d_ed has quit [Ping timeout: 480 seconds]
___nick___ has joined #wayland
Major_Biscuit has quit []
junaid has joined #wayland
jmdaemon has joined #wayland
caveman has joined #wayland
Leopold has quit [Remote host closed the connection]
d_ed has joined #wayland
___nick___ has quit []
tzimmermann has quit [Quit: Leaving]
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
zebrag has joined #wayland
zebrag has quit [Remote host closed the connection]
d_ed has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
manuel_ has joined #wayland
rasterman has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
junaid has quit [Remote host closed the connection]
gschwind has quit [Quit: Leaving]
manuel_ has quit [Ping timeout: 480 seconds]
gschwind has joined #wayland
<gschwind>
jadahl, I did test your patch and it's actually scale the cursor proprelly with my test client, but if I use WL_SHM_FORMAT_XRGB8888 format, mutter still use the alpha channel.
<gschwind>
if my testing code is correctly writen
<gschwind>
without the patch it correctly ignore alpha
gschwind has quit []
rasterman has quit [Quit: Gettin' stinky!]
bluebugs has joined #wayland
saumon has quit [Ping timeout: 480 seconds]
ybogdano has quit [Ping timeout: 480 seconds]
<emersion>
swick: color-repr is already on wl_surface atm