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
slim has quit [Quit: slim]
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
slim has joined #wayland
slattann has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
c7s has quit [Ping timeout: 480 seconds]
perr has joined #wayland
perr has quit [Remote host closed the connection]
slattann has quit []
Company has quit [Quit: Leaving]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #wayland
dcz_ has joined #wayland
slattann has joined #wayland
slattann has quit []
slattann has joined #wayland
slattann has quit []
slattann has joined #wayland
tzimmermann has joined #wayland
txtsd has joined #wayland
slattann has quit [Read error: Connection reset by peer]
txtsd has quit [Ping timeout: 480 seconds]
txtsd has joined #wayland
<wlb> wayland Merge request !243 merged \o/ (cursor: some more cleanup https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/243)
Azem has joined #wayland
dcz has joined #wayland
hardening has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
danvet has joined #wayland
jgrulich has joined #wayland
tsujp has quit [Read error: Connection reset by peer]
tsujp has joined #wayland
jekstrand has quit [Ping timeout: 480 seconds]
jekstrand has joined #wayland
dcz has quit [Remote host closed the connection]
dcz has joined #wayland
<wlb> weston/main: Derek Foreman * libweston-desktop/xwayland: Use correct geometry https://gitlab.freedesktop.org/wayland/weston/commit/cc924e8131d4 libweston-desktop/xwayland.c
<wlb> weston Merge request !892 merged \o/ (libweston-desktop/xwayland: Use correct geometry https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/892)
<mriesch> just wondering what weston's default behavior is (desktop-shell): if i hotplug a hdmi cable, should the output be activated by default?
<daniels> mriesch: yeah
<wlb> weston/main: Derek Foreman * drm: Remove destroy listener from list when fired https://gitlab.freedesktop.org/wayland/weston/commit/c0cafde80fec libweston/backend-drm/fb.c
<mriesch> i have a setup in which the output is activated when the hdmi cable is plugged in, but when after hotplug, the hdmi output is repeatedly enabled and then disabled (no heads left) after a while
<wlb> weston Merge request !888 merged \o/ (drm: Remove destroy listener from list when fired https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/888)
<daniels> mriesch: uh
<mriesch> daniels: so that's a bug, not a feature, right?
mbalmer has joined #wayland
<daniels> that sounds quite broken; could you please file a bug with the output from running with --logger-scopes=log,drm-backend ?
<mriesch> (i should add that after hotplug, the output is activated but the screen remains black. if i restart weston, everything is back to normal)
<mriesch> daniels: will do!
<daniels> thanks :)
<mriesch> daniels: however, most likely it is due to the pretty new rk3568 vop2 drm driver. so i might have a chat with Sascha first
<wlb> weston Merge request !837 merged \o/ (backend-drm: Refactor backend for Multi-GPU support https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/837)
<daniels> mriesch: ahhh yeah, that might be worth looking at
<mriesch> daniels: quick glance at the logfiles of both cases (fresh start vs. hotplug) tells me that Layer 0 has View 0 after a fresh start but [no views] after hotplug
pym__ has joined #wayland
<mriesch> what do layers and views mean (roughly) in weston context?
<daniels> mriesch: a view is an instantiation of a surface to be displayed; views are grouped into layers
<daniels> which shell are you using?
<mriesch> desktop-shell
<daniels> hrm
<daniels> maybe that's broken recently then, but it certainly should be sprawling iirc
<zubzub> What are the minimum required steps to get wayland-drm working, working as in, get eglimages from a client? I currently have an egldisplay, created from a gbm device. I use this egl display to call eglBindWaylandDisplayWL (so no context creation or make current at that point). This egldisplay seems to work fine as I can pass it on to gstreamer who happily uses it to do it's gl thangs. However when I
<zubzub> launch ie weston-simple-egl, it fails on eglInitialize.
<zubzub> are there any implicit steps I need to do, or is there perhaps some protocol calls that I'm screwing up?
<mriesch> daniels: ok, so there are two views, the desktop shell fade surface and the background. the former is only visible after a fresh start -> makes sense, right?
<pq> zubzub, hmm, I wonder... did Mesa stop supporting wl_drm client-side? That means your compositor needs to implement zwp_linux_dmabuf_v1 extension. That would be a good idea anyway.
<zubzub> D:
<pq> seems a bit unlikely to me for Mesa to do that, but I dunno
<zubzub> I was hoping to make the simple implementation work first before taking a shot at zwp_linux_dmabuf_v1
<pq> zubzub, btw. which DRM device node are you using on the compositor side for this?
<daniels> mriesch: you should have a background for the output
<pq> daniels, mriesch, btw. weston-desktop-shell has some unholy logic to avoid creating redundant backgrounds when outputs are mirrored. Maybe that might be tripping up?
<daniels> pq: it might be!
<daniels> as for Mesa requiring zwp_linux_dmabuf_v1 - we did briefly make that a requirement and axe support for wl_drm, but we had to back that out
<pq> although, that should trip up also on fresh start, too...
<pq> daniels, did wl_drm support require the compositor to be DRM master?
<emersion> no
<pq> I mean the whole auth cookie thing
<emersion> wlroots has a minimal wl_drm impl if you want to look at it
<mriesch> just out of curiousity, there are six layers. what exactly defines this number?
<daniels> zubzub: does WAYLAND_DEBUG=client show the wl_drm global advertised? does the client try to bind to it?
<emersion> pq, you can send a render node
<mriesch> shell? drm driver?
<pq> emersion, we are talking about the Mesa server-side implementtion of wl_drm specifically.
<daniels> mriesch: it's defined by the shell
<emersion> pq, that still doesn't require DRM master :)
<daniels> mriesch: they're just a window-management primitive, so you can e.g. reshuffle your toplevel windows around without having to worry about the panel staying on top
<mriesch> ah ok
<pq> emersion, ok, good. One less idea of what could be wrong. :-p
<emersion> i've fixed it so that glBindWaylandDisplay() works on non-GBM EGL
<emersion> eglBindWaylandDisplay*
<emersion> or w/e it's called
<pq> could zubzub have old Mesa where it's not fixed?
<daniels> emersion: eglBindWaylandDisplayWL
<emersion> ah, yes, the famous WL vendor :P
<zubzub> looks like it sees drm global and tries to bind to it
<daniels> zubzub: right, so time to find out why :)
<daniels> emersion: haha
<pq> uhhh... why are those globals having so strange "name"s in that Wayland trace?
<pq> like 4294901761
<zubzub> I'm not ruling out I'm screwing something up in my protoocl proxy :p
<daniels> pq: 0xffff0001
<pq> yeah but why
<daniels> zubzub: are you somehow managing to sign-extend from i16 to u32?
<pq> heh
<daniels> or rather, I guess that would be u16 sign-extended into i32, then reintrepreted as u32
<pq> zubzub, just to check, both the server and client run on the same machine, right?
<daniels> I don't know. I've not even quite had 4 hours' sleep, so even things which should make sense don't :P
<zubzub> I don't think I am managing that?
<zubzub> ok but for now I will take a working trace from weston
<pq> weston implements linux_dmabuf, so... maybe you need to hack that out to be comparable
<zubzub> and compare the differences with my protocol trace and check where things go wrong/are different
<zubzub> but as long as it still also supports wayland-drm and I start the weston-simple-egl client I should be fine no?
<pq> no
<pq> Mesa will take linux_dmabuf path when it can
<pq> so leave wayland-drm (msotly) unused
<pq> *mostly
<zubzub> :')
<pq> I think in Weston you would hack out the call to linux_dmabuf_setup().
<pq> That should be all you need to do to disable linux_dmabuf and see how wayland-drm works.
<zubzub> and here I was hoping the hard part was figuring out how to give gstreamer an eglimage buffer to encode :p
<pq> who knows, maybe Mesa's support for wayland-drm client-side accidentally broke :-)
<zubzub> ok I will do some further digging and see where I end up
<pq> so, check that first, since I don't think anyone else has tested that in ages - everyone implements linux_dmabuf AFAIK
<zubzub> maybe I will just implement linux_dmabuf 🤷
<pq> :-)
<pq> it's still worth checking! If you find out that Mesa has been long broken, then people can finally rip that code out for good. :-D
<zubzub> nah 99% it's probably just me screwing up somewhere
<zubzub> alright thanks for the help, at least I know my setup routine should be ok
<pq> yeah, nothing raised an eye-brow there so far
mvlad has joined #wayland
rgallaispou has joined #wayland
<zubzub> 09:55 < daniels> pq: 0xffff0001
<zubzub> I remember again
<zubzub> 0xffff0001 are global created by the browser compositor
<zubzub> 0x00000001 are globals created by a proxy/local library (ie shm & drm)
<pq> aha, ok then :-)
<zubzub> namespaced globals :p
<wlb> weston/main: Michael Olbrich * compositor: set transform.opaque for surfaces without alpha channel https://gitlab.freedesktop.org/wayland/weston/commit/e2426960d479 libweston/compositor.c
<wlb> weston/main: Michael Olbrich * compositor: improve opacity handling for scaled surfaces https://gitlab.freedesktop.org/wayland/weston/commit/81912dc2a69f libweston/compositor.c
<wlb> weston Merge request !644 merged \o/ (compositor: improved opacity handling https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/644)
wvanhauwaert has joined #wayland
maxzor has joined #wayland
<wlb> weston Merge request !893 opened by () linux-dmabuf: Send format events for protocol version 3 https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/893
rasterman has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
pym__ has quit []
mclasen_ has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
saumon has joined #wayland
<wlb> weston Issue #623 closed \o/ (Weston 10.0 New Shader leads to performance drop https://gitlab.freedesktop.org/wayland/weston/-/issues/623)
<wlb> weston Merge request !889 merged \o/ (gl-renderer: fix performance regression in frag https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/889)
<wlb> weston/main: Pekka Paalanen * gl-renderer: fix performance regression in frag https://gitlab.freedesktop.org/wayland/weston/commit/6234cb98d1b2 libweston/renderer-gl/fragment.glsl
flacks has quit [Quit: Quitter]
flacks has joined #wayland
<wlb> weston Merge request !872 merged \o/ (tests: generate cLUT profiles https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/872)
slattann has joined #wayland
Satan has quit [Ping timeout: 480 seconds]
<wlb> weston Merge request !894 opened by () gl-renderer: simplify fragment shader main() https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/894 [GL renderer]
Satan has joined #wayland
rv1sr has joined #wayland
<zubzub> 10:01 < pq> so, check that first, since I don't think anyone else has tested that in ages - everyone implements linux_dmabuf AFAIK
<zubzub> shouldn't zwp_linux_dmabuf_v1 become stable then?
<pq> it already is, and it cannot :-p
<pq> hmm, maybe it could under the latests stabilization process
<emersion> there would still be "z" in the anme which is unfortunate
<emersion> also there is a list of breaking changes we want to make -- mostly cleanup, nothing major
<zubzub> I was under the impression it was still unstable because of the z
<emersion> name*
<zubzub> good to know it's actually stable!
maxzor has quit [Ping timeout: 480 seconds]
<pq> well, it's in the unstable category, because moving into the stable category would mean removing that 'z', which means everyone would need to implement both old and new name /o\
<pq> and it's too widely used already (has been for years) to do that just for the sake of the one 'z'
<emersion> yeah
<pq> so, currently we live with it
<emersion> "unstable" doesn't actually mean that breaking changes are allowed
<emersion> ^ very common misconception :S we should've picked a better name
<emersion> in any case, the new naming scheme shouldn't have this issue anymore
<zubzub> ah i see
<emersion> i think README has all of the explanations
<ifreund> It'd be nice to make some distinction between "unstable" protocols that everyone implements and broken stuff like input method v1
<ifreund> though maybe that's best solved through that compositor support matrix website we'd all love to see happen
<emersion> can't wait :P
<emersion> this kind of stuff has way too much bikeshedding potential sadly
<zubzub> I like this site: https://wayland.app/protocols/
cvmn has joined #wayland
fmuellner has joined #wayland
<davidre> run wayland-info for every compositor for every version of said compositors to generate the table :D
dcz_ has joined #wayland
dcz has quit [Ping timeout: 480 seconds]
<jadahl> can just move it to stable, explain why the z is still there, remove the disclimer, and be done with it. those breaking changes won't happen anyway I'm going to assume
<emersion> it depends
mbalmer_ has joined #wayland
<emersion> but yeah we could do that indeed
mbalmer has quit [Ping timeout: 480 seconds]
cvmn has quit [Ping timeout: 480 seconds]
c7s has joined #wayland
mbalmer_ has quit []
<wlb> weston/main: Marius Vlad * gl-renderer: Ensure gl_buffer_state is present for direct-display https://gitlab.freedesktop.org/wayland/weston/commit/7ceda8cbba22 libweston/renderer-gl/gl-renderer.c
<wlb> weston Merge request !890 merged \o/ (gl-renderer: Ensure gl_buffer_state is present for direct-display https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/890)
Satan has quit [Quit: Bad stuff happened]
mbalmer has joined #wayland
mbalmer has quit [Remote host closed the connection]
ppascher has quit [Ping timeout: 480 seconds]
wvanhauwaert has quit [Ping timeout: 480 seconds]
<wlb> wayland-protocols Merge request !152 opened by () build: stop using deprecated Meson functions https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/152
c7s has quit [Quit: c7s]
jgrulich has quit [Ping timeout: 480 seconds]
ybogdano has quit [Read error: Connection reset by peer]
ybogdano has joined #wayland
rgallaispou has left #wayland [#wayland]
c7s has joined #wayland
pnowack has joined #wayland
pnowack has quit []
eroux has quit [Read error: Connection reset by peer]
eroux has joined #wayland
sychill has quit []
eroux has quit []
sychill has joined #wayland
<wlb> weston Issue #625 opened by () Display / surface freeze https://gitlab.freedesktop.org/wayland/weston/-/issues/625
zebrag has joined #wayland
txtsd has quit [Ping timeout: 480 seconds]
fmuellner_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
<wlb> weston Merge request !869 merged \o/ (weston 10.0.1 bug-fixing release https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/869)
<wlb> weston Merge request !895 opened by () gl-renderer: fix performance regression in frag (10.0.1) https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/895
mbalmer has joined #wayland
slattann has quit [Quit: Leaving.]
Telvana has quit []
Telvana has joined #wayland
maxzor has joined #wayland
Telvana has quit []
dcz_ has quit [Remote host closed the connection]
dcz_ has joined #wayland
<macc24> is there any mechanism to reload config without restarting
<macc24> ?
<ManMower> there isn't
maxzor has quit []
tzimmermann has quit [Quit: Leaving]
fmuellner has joined #wayland
jmdaemon has joined #wayland
fmuellner_ has quit [Ping timeout: 480 seconds]
fmuellner has quit []
fmuellner has joined #wayland
fmuellner_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
mvlad has quit [Quit: Leaving]
fmuellner_ has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
mbalmer has quit []
MajorBiscuit has quit [Quit: WeeChat 3.5]
xantoz has joined #wayland
rpigott has quit [Read error: Connection reset by peer]
rpigott has joined #wayland
AJ_Z0 has quit [Quit: I have to return some videotapes]
AJ_Z0 has joined #wayland
fmuellner has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
Moprius has quit [Remote host closed the connection]
Seirdy has quit []
rasterman has quit [Quit: Gettin' stinky!]
hardening has quit [Ping timeout: 480 seconds]
Azem has quit [Ping timeout: 480 seconds]
rv1sr has quit []
jet has joined #wayland
jet has quit []
fmuellner has quit [Ping timeout: 480 seconds]