ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
karolherbst has quit [Ping timeout: 480 seconds]
karolherbst has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
andymandias has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Remote host closed the connection]
andymandias has joined #wayland
naveenk2 has joined #wayland
<tokyo4j> ls
<tokyo4j> sorry nvm
alarumbe has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
naveenk2 has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
naveenk2 has joined #wayland
sima has joined #wayland
naveenk2 has quit [Ping timeout: 480 seconds]
dcz_ has joined #wayland
garnacho has joined #wayland
JakeSays1 has joined #wayland
JakeSays has quit [Ping timeout: 480 seconds]
naveenk2 has joined #wayland
JakeSays has joined #wayland
naveenk2 has quit [Ping timeout: 480 seconds]
JakeSays1 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
JakeSays has quit [Ping timeout: 480 seconds]
JakeSays has joined #wayland
kts has quit [Ping timeout: 480 seconds]
<wlb> weston Issue #1023 opened by Kamil Ochał (kamil.ochal) Weston do not assign applications to two displays https://gitlab.freedesktop.org/wayland/weston/-/issues/1023
leon-anavi has joined #wayland
kts has joined #wayland
mripard has joined #wayland
dnkl has quit [Remote host closed the connection]
dnkl has joined #wayland
mripard has quit [Quit: WeeChat 4.6.1]
fmuellner has joined #wayland
<zzxyb[m]> Why does weston's cursor not flip on virtgpu?
<zzxyb[m]> There is a problem with wlroots
<emersion> EGLSurface vs FBO shenanigans
<emersion> i believe this is a virtgpu bug
kts has quit [Ping timeout: 480 seconds]
<zzxyb[m]> emersion: https://gitlab.freedesktop.org/zzxyb/wlroots/-/commit/66d8b4a83e54a33c6686cad91b22adfbb94f0531 I tried modifying (not reasonable of course), but it solved the problem
<zzxyb[m]> I want to know how weston handles it
<zzxyb[m]> <emersion> "i believe this is a virtgpu bug" <- Yes, many compositor have workarounds.
rasterman has joined #wayland
feaneron has joined #wayland
<pq> zzxyb[m], maybe it's related to Weston using a KMS cursor plane for *any* wl_surface and not just for cursors, so Weston does not set the KMS properties that promise "I'm using this only as a cursor".
<pq> but I cannot see how that would affect y-flip
<pq> DRM FB is a DRM FB, the orientation is always the same
<pq> so maybe virtgpu or its host side do something differently based on "is it guaranteed to be a cursor image?"
<pq> is virtgpu a rendering driver, or is a KMS driver as well?
<pq> this would be about the KMS driver
<pq> in virtualized systems it seems to be popular for the host side to "commandeer" the cursor plane and move it around by pointer motion itself instead of roundtripping into the guest window server which may cause lag.
<kennylevinsen> I guess the cursor props in question would be HOTSPOT_X and HOTSPOT_Y. Would be easy to test what happens if wlroots didn't set those.
<pq> that works fine as long as the cursor plane is not used for something else than cursor - which Weston will do
<kennylevinsen> to see if that's the differentiator
<emersion> iirc the bug existed before hotspot props
<MrCooper> kennylevinsen: more likely not setting DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT, not setting the hotspot coordinates just leaves them at (0, 0)
<kennylevinsen> ah yeah
<MrCooper> though I guess not setting the former would just hide the cursor plane when it's relevant
<kennylevinsen> zzxyb[m]: I think your hack patch just leaves the known plane formats for the cursor plane empty for drivers that do not support modifiers, such that all fb imports fail and the cursor ends up composited instead
<kennylevinsen> which would "work"
kts has joined #wayland
<kennylevinsen> I imagine the virtio-gpu kms driver offloads all composition to qemu on the host, which might offload it to e.g. spice/virt-manager/whatever clients, so I guess the issue could also be client-side there
rasterman has quit [Remote host closed the connection]
rasterman has joined #wayland
Sid127 has quit [Quit: ZNC - https://znc.in]
JakeSays1 has joined #wayland
<wlb> weston Merge request !1709 merged \o/ (tests: Add dmabuf test https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1709)
JakeSays has quit [Ping timeout: 480 seconds]
alarumbe has joined #wayland
coldfeet has joined #wayland
Sid127 has joined #wayland
kts has quit [Ping timeout: 480 seconds]
Sid127 has quit [Quit: ZNC - https://znc.in]
Sid127 has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
karenw has joined #wayland
kts has joined #wayland
<wlb> weston Merge request !1747 opened by Pekka Paalanen (pq) tests: return status from each test definition https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1747 [Testing]
dcz_ has quit [Quit: Konversation terminated!]
Moprius has joined #wayland
kts has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
coldfeet has quit [Remote host closed the connection]
<wlb> weston/main: Pekka Paalanen * tests: return status from each test definition https://gitlab.freedesktop.org/wayland/weston/commit/e57eb5b15df0 doc/sphinx/toc/test-suite.rst tests/alpha-blending-test.c tests/assert-test.c tests/bad-buffer-test.c tests/buffer-transforms-test.c tests/client-buffer-test.c tests/color-icc-output-test.c tests/color-lcms-optimizer-test.c tests/color-management-parametri
<wlb> weston Merge request !1747 merged \o/ (tests: return status from each test definition https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1747)
mvlad has joined #wayland
karenw has quit [Remote host closed the connection]
coldfeet has joined #wayland
karenw has joined #wayland
<wlb> weston Merge request !1748 opened by Robert Mader (rmader) tests: client-buffer: Return RESULT_SKIP where appropriate https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1748
ramblurr has quit [Remote host closed the connection]
feaneron has joined #wayland
ramblurr has joined #wayland
lanodan has quit [Ping timeout: 480 seconds]
lanodan has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
kts has joined #wayland
fatal has quit [Ping timeout: 480 seconds]
fatal has joined #wayland
linkmauve has joined #wayland
<orowith2os[m]> I just hacked up a draft for an xdg-decoration v2, and that should hopefully help a bit for getting some more stuff moving later on
<wlb> wayland-protocols Merge request !403 opened by Dallas Strouse (orowith2os) Draft: unstable: xdg-decoration-v2 https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/403
<orowith2os[m]> YaLTeR, would you want to chime in a bit on that?
<orowith2os[m]> I think I left a gap somewhere, so the compositor can't tell a window to just "not draw anything, trust me bro"
<orowith2os[m]> which I'll have to resolve later, but I think niri would want that, right?
<YaLTeR[m]> [@orowith2os:fedora.im](https://matrix.to/#/@orowith2os:fedora.im) haven't had a chance to take a look yet, but just to state one of my main concerns: if the resulting protocol isn't implemented by gtk 4 (and gtk 4 has some understandable opposition to xdg-deco v1), then it won't be very useful. I believe my main wants (signaling corner radius and asking to square corners) shouldn't be as controversial (notably, it is not about removing CSD,
<YaLTeR[m]> in fact I want to keep it)
<YaLTeR[m]> What you could call SSD in niri coexists just fine with CSD
qyliss has quit [Quit: bye]
qyliss has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
leon-anavi has quit [Quit: Leaving]
kts has quit [Quit: Konversation terminated!]
qyliss has quit [Quit: bye]
<orowith2os[m]> YaLTeR: mmm, okay, I'll fix that then. I noticed some stuff that conflicts with what I would expect from an xdg-decoration v2 too.
<orowith2os[m]> with me updating it to be more like a wm_capabilities thing, the whole "client must obey compositor" thing doesn't really apply anymore
<orowith2os[m]> it's more like, "the client must not set any decorations that the compositor does not support"
qyliss has joined #wayland
<orowith2os[m]> and a configure event is more a "this is what the WM prefers"
<YaLTeR[m]> that's not really what i need in niri tbh. well maybe removing csd shadows but it's not a big deal
<YaLTeR[m]> so probably want to tag someone else about that
<orowith2os[m]> I have no_decorations, window_controls, and drop_shadow right now
<orowith2os[m]> that should do the job
<orowith2os[m]> I should probably add an event to say "the compositor prefers this mode", so that they don't rely on the configure event for that
qyliss has quit [Quit: bye]
qyliss has joined #wayland
<wlb> weston/main: Pekka Paalanen * build: install linalg-3.h https://gitlab.freedesktop.org/wayland/weston/commit/e837179f1450 include/libweston/meson.build
<wlb> weston/main: Pekka Paalanen * libweston: add C++ braces to linalg headers https://gitlab.freedesktop.org/wayland/weston/commit/eadc3d32ce53 include/libweston/ linalg-3.h linalg-4.h linalg-types.h linalg.h
<wlb> weston/main: Pekka Paalanen * libweston: move stuff into colorimetry.h https://gitlab.freedesktop.org/wayland/weston/commit/42059ce2581b include/libweston/ colorimetry.h libweston.h meson.build
<wlb> weston Merge request !1746 merged \o/ (Head er banging: linalg and colorimetry.h https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1746)
glennk has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
coldfeet has quit [Quit: Lost terminal]
dcz_ has joined #wayland
dcz_ has quit [Read error: Connection reset by peer]
Drakulix_ has joined #wayland
Drakulix has quit [Ping timeout: 480 seconds]
Drakulix_ is now known as Drakulix
ybogdano has quit [Remote host closed the connection]