ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
rv1sr has quit [Ping timeout: 480 seconds]
aknot has quit [Ping timeout: 480 seconds]
aknot has joined #wayland
soreau has quit [Ping timeout: 480 seconds]
aknot has quit []
kenny has quit [Quit: WeeChat 4.1.2]
aknot has joined #wayland
kenny has joined #wayland
Company has quit [Quit: Leaving]
soreau has joined #wayland
aknot has quit []
aknot has joined #wayland
aswar002_ has quit []
aswar002 has joined #wayland
aknot has quit []
aknot has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
privacy has quit [Quit: Leaving]
glennk has quit [Ping timeout: 480 seconds]
Dami_Lu has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
aknot_ has joined #wayland
Leopold___ has joined #wayland
Leopold_ has quit [Ping timeout: 480 seconds]
aknot_ has quit [Ping timeout: 480 seconds]
aknot has quit [Ping timeout: 480 seconds]
lbia has quit [Quit: lbia]
suntory has joined #wayland
suntory_ has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
zvarde1988303206779191685 has quit [Quit: Ping timeout (120 seconds)]
zvarde1988303206779191685 has joined #wayland
privacy has joined #wayland
sima has joined #wayland
sevz17 has quit [Quit: Client quit]
roussinm has quit []
leon-anavi has joined #wayland
kts has joined #wayland
rgallaispou has quit [Quit: Leaving.]
Dami_Lu has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
i509vcb has quit [Quit: Connection closed for inactivity]
mtretter has joined #wayland
kts has quit [Quit: Konversation terminated!]
Dami_Lu has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
garnacho has joined #wayland
glennk has joined #wayland
mvlad has joined #wayland
rv1sr has joined #wayland
caveman has quit [Quit: caveman]
lbia has joined #wayland
Company has joined #wayland
privacy has quit [Quit: Leaving]
glennk has quit [Ping timeout: 480 seconds]
fossdd has quit [Read error: Connection reset by peer]
fossdd has joined #wayland
Dami_Lu has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
leon has joined #wayland
Dami_Lu has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
leon has quit []
leon-anavi has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
<JoshuaAshton> What is the "proper" way to recieve the xserver's idea of cursor position when writing an X11 Window Manager? Ideally I'd get feedback in the event loop. We've always been doing XQueryPointer whenever we go to vblank, but that sucks because it's a blocking call. I can't rely on MotionNotify because grabbing, I can't rely on XInput2 because grabbing... Maybe I should bite the bullet and try out libei -- my issue there is that this also
<JoshuaAshton> needs to work nested, and fwir libei x dbus does not play nicely with nested compositors there.
<JoshuaAshton> I also tried doing a grab window type thing but that also just broke things and fell apart. :/
<JoshuaAshton> (This is for Gamescope's X11 window manager fwiw, which is why I am asking in #wayland :P)
kts has joined #wayland
lsd|2 has joined #wayland
lsd|2 has quit []
lsd|2 has joined #wayland
alatiera has joined #wayland
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland
Moprius has joined #wayland
Moprius has quit [Quit: bye]
glennk has joined #wayland
Brainium has joined #wayland
fmuellner has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
rgallaispou has joined #wayland
kts has quit [Quit: Leaving]
neniagh has quit []
neniagh has joined #wayland
nerdopolis has joined #wayland
kts has joined #wayland
kts_ has joined #wayland
kts has quit [Ping timeout: 480 seconds]
caveman has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
roussinm has joined #wayland
bodiccea has quit [Quit: Leaving]
Brainium has quit [Quit: Konversation terminated!]
Leopold___ has quit [Remote host closed the connection]
kts_ has quit []
<roussinm> Following the issue from yesterday with the drm driver not using LINEAR as default. After backporting the patch to our kernel, now I was getting `failed to create gbm surface`... It fails to add the modifier to the plane here: https://gitlab.freedesktop.org/wayland/weston/-/blob/10.0.2/libweston/backend-drm/kms.c?ref_type=tags#L477, I commented the line out and rendering seems to
<roussinm> work perfectly. mod-formats == 0 is linear I think? If so, 0 should be a valid value?
bodiccea has joined #wayland
<daniels> roussinm: mod->formats is a bitmask of the supported format _indices_
<daniels> so if format 0 is supported, mod->formats will contain (1 << 0) i.e. 1
<daniels> that sounds like you don't have a format_mod_supported() hook which returns TRUE for the desired format + DRM_FORMAT_MOD_LINEAR
glennk has quit [Ping timeout: 480 seconds]
<roussinm> daniels: ohhh _indices_, so format_mod_supported is missing somewhere... ok thanks!
<daniels> np :)
AnuthaDev has joined #wayland
<roussinm> daniels: found the missing format_mod_supported, and now I'm getting mod->formats: 0xfff, interesting. Don't know on what it maps on, but at least now it renders.
<daniels> roussinm: the mod blob has a list of formats (index -> DRM_FORMAT_*), then a list of modifiers (bitmask -> format index), so 0xfff means that there are 11 formats which all support LINEAR
<daniels> if you want to see what's going on, drm_info is a really good tool
<wlb> wayland-protocols Issue #171 closed \o/ (Brainstorming: Optimizing for hardware planes https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/171)
kts has joined #wayland
<JoshuaAshton> Is it wrong that I am looking at the XEyes source code... Seems like it waits for XInput2 RawMotion then calls XQueryPointer, which I guess that works
<JoshuaAshton> Sucks that I can't just get regular XI_Motion and read the root_x etc from it
<JoshuaAshton> x11 makes me upset
<JoshuaAshton> :(
glennk has joined #wayland
<zzag> pq: emersion: can you please confirm that if a surface has WL_OUTPUT_TRANSFORM_90 transform, then the compositor has to rotate buffer damage **counter**clockwise?
kts has quit [Quit: Leaving]
<emersion> t has to compensate for the output
<emersion> so opposte
<emersion> opposite
kts has joined #wayland
kts has quit [Remote host closed the connection]
kts has joined #wayland
<zzag> hmm, now I'm even more confused.. there are effectively 4 transforms
<zzag> 2. output buffer -> compositor global space
<zzag> 3. wl_buffer -> wl_surface
<zzag> 1. compositor global space -> output buffer
<zzag> 4. wl_surface -> wl_buffer
<zzag> where should the compositor rotate clockwise and counterclockwise?
<ManMower> istr this being helpful when I went down these rabbit holes in the past: https://www.gfxstrand.net/faith/projects/wayland/transforms/
Guest11082 has quit [Remote host closed the connection]
<ManMower> not really sure how to answer the "where should..." question, because I think that varies based on compositor design. maybe you want to convert surface damage (whether it's in surface or buffer coordinates) into global coordinates at the moment a commit/transaction is applied (pending state becomes current state)
Leopold has joined #wayland
<zamundaaa[m]> The protocol says... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/OZWIbnZktdcpADWVRYjgjYOO>)
<zzag> It makes sense for case 1 and 4
<zzag> or is it vice versa?
* zzag is confused..
<zamundaaa[m]> the described transform is output buffer -> global coordinate space
<zamundaaa[m]> *surface buffer, not output
<zzag> so cases 2 and 3?
<zamundaaa[m]> 3 is used to construct 2, so yes
<zzag> but then, shouldn't it be "apply to a buffer to compensate for the rotation"?
qyliss has quit [Quit: bye]
<zamundaaa[m]> oh, with "output buffer" you mean the buffer used for compositing, right?
<zzag> yes
<zamundaaa[m]> The transform describes 1 and 3 then
qyliss has joined #wayland
<zamundaaa[m]> <zamundaaa[m]> "the described transform is..." <- that was wrong, it describes surface -> output buffer
cool110 has joined #wayland
cool110 is now known as Guest11192
kts has quit [Quit: Leaving]
sevz has joined #wayland
junaid has joined #wayland
bodiccea has quit [Remote host closed the connection]
Moprius has joined #wayland
lsd|2 has joined #wayland
bnason has quit [Ping timeout: 480 seconds]
Guest11192 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest11201
bnason has joined #wayland
mgram has joined #wayland
Brainium has joined #wayland
bodiccea has joined #wayland
kenny has quit [Quit: WeeChat 4.1.2]
Moprius has quit [Quit: bye]
Moprius has joined #wayland
caveman has quit [Remote host closed the connection]
Moprius has quit []
Brainium has quit [Read error: Connection reset by peer]
Moprius has joined #wayland
junaid has quit [Remote host closed the connection]
<emersion> > @emersion (desperate for a break from Django)
caveman has joined #wayland
<emersion> oh yeah sub-surface hard questions is exaaaactly what i need daniels :D
<daniels> I was so desperate that I ended up getting into the mechanics of fucking subsurfaces
<daniels> hahaha
caveman has quit [Remote host closed the connection]
<daniels> I'm missing a Christmas party in order to do a PostgreSQL upgrade :\
caveman has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
aknot has joined #wayland
AnuthaDev has quit []
<ManMower> sub surfaces are the best
aknot_ has joined #wayland
aknot_ has quit [Ping timeout: 480 seconds]
aknot has quit [Ping timeout: 480 seconds]
privacy has joined #wayland
junaid has joined #wayland
mclasen has joined #wayland
Guest11201 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest11211
Guest11211 has quit [Ping timeout: 480 seconds]
cool110_ has joined #wayland
cool110_ is now known as Guest11214
cns has joined #wayland
Brainium has joined #wayland
i509vcb has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
LaserEyess has quit [Quit: fugg]
LaserEyess has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
cns has left #wayland [#wayland]
mclasen has joined #wayland
rv1sr has quit []
nerdopolis has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
mclasen has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland
sima has quit [Ping timeout: 480 seconds]
mclasen has quit []
mclasen has joined #wayland
kenny has joined #wayland
rasterman has joined #wayland
mvlad has quit [Remote host closed the connection]
Company has quit [Quit: Leaving]
glennk has quit [Ping timeout: 480 seconds]