ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #wayland
nysach has joined #wayland
mclasen has joined #wayland
nysach has quit [Remote host closed the connection]
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #wayland
nerdopolis has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
guru_ has quit [Ping timeout: 480 seconds]
fmssf716 has joined #wayland
fmssf716 has left #wayland [#wayland]
<outfoxxed[m]> is there a single compositor that supports xdg_positioner::set_reactive
nerdopolis has quit [Ping timeout: 480 seconds]
zumbi has quit [Read error: Connection reset by peer]
nerdopolis has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
kode54 has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
privacy has quit [Remote host closed the connection]
privacy has joined #wayland
mxz__ has joined #wayland
<vyivel> outfoxxed[m]: mutter
<vyivel> ...i think
<outfoxxed[m]> any others that will run without having to install gnome?
<outfoxxed[m]> mutter didn't seem to work when I tried
<outfoxxed[m]> wanted a dbus service
mxz has quit [Ping timeout: 480 seconds]
mxz_ has quit [Ping timeout: 480 seconds]
mxz__ is now known as mxz
kts has joined #wayland
vyivel has left #wayland [#wayland]
vyivel has joined #wayland
kts has quit [Ping timeout: 480 seconds]
d10n has joined #wayland
d10n has quit [Quit: why all the #hashtags]
privacy has quit [Remote host closed the connection]
glennk has joined #wayland
privacy has joined #wayland
d10n has joined #wayland
mxz_ has joined #wayland
rv1sr has joined #wayland
sima has joined #wayland
calcul0n_ has quit [Quit: WeeChat 3.8]
calcul0n has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
rgallaispou has joined #wayland
crazybyte has joined #wayland
KDDLB has joined #wayland
mvlad has joined #wayland
MrCooper has joined #wayland
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #wayland
privacy has quit [Quit: Leaving]
gfxstrand has quit [Ping timeout: 480 seconds]
ofourdan has quit [Ping timeout: 480 seconds]
leon-anavi has joined #wayland
rgallaispou has quit [Read error: Connection reset by peer]
ofourdan has joined #wayland
rgallaispou has joined #wayland
rasterman has joined #wayland
___nick___ has joined #wayland
rgallaispou has quit [Read error: Connection reset by peer]
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
JakeSays has joined #wayland
JakeSays1 has quit [Ping timeout: 480 seconds]
___nick___ has joined #wayland
<wlb> weston/main: Derek Foreman * rdp: Align nsc_compose_message content https://gitlab.freedesktop.org/wayland/weston/commit/302a1b143fbc libweston/backend-rdp/rdp.c
<wlb> weston Merge request !1573 merged \o/ (rdp: Align nsc_compose_message content https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1573)
<wlb> weston Merge request !1579 merged \o/ (C++ header file build fixes https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1579)
<wlb> weston/main: Ray Smith * helpers: don't override C++11's built-in static_assert https://gitlab.freedesktop.org/wayland/weston/commit/7b1520c4d922 shared/helpers.h
<wlb> weston/main: Ray Smith * backend-drm: rename "virtual" to work with C++ compilers https://gitlab.freedesktop.org/wayland/weston/commit/ee5b6bcc302f libweston/backend-drm/ drm-internal.h drm-virtual.c drm.c kms.c modes.c state-propose.c
<jadahl> outfoxxed[m]: weston has reposition support too
<jadahl> outfoxxed[m]: if you're just going to test reposition support, you can run mutter --nested without anything special e.g. logind dbus service
<wlb> weston/main: Loïc Molinari * rdp: Fix invalid free and memory leak on error https://gitlab.freedesktop.org/wayland/weston/commit/db66a64aabdb libweston/backend-rdp/rdp.c
<wlb> weston Merge request !1578 merged \o/ (rdp: Fix invalid free and memory leak on error https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1578)
lsd|2 has joined #wayland
<outfoxxed[m]> mutter seems to work, weston not at all
<outfoxxed[m]> what should the behavior of popups of popups be when positioned with regards to flip?
<outfoxxed[m]> should the whole popup tree flip to the opposite direction or just the popup that hit an edge
<wlb> weston Issue #928 closed \o/ (Broken wireframes when flushing SHM damages https://gitlab.freedesktop.org/wayland/weston/-/issues/928)
<wlb> weston/main: Loïc Molinari * gl-renderer: Prepare for reset to default pixel storage states https://gitlab.freedesktop.org/wayland/weston/commit/4fab505b9646 libweston/renderer-gl/gl-renderer.c
<wlb> weston/main: Loïc Molinari * gl-renderer: Assume default GL_PACK_REVERSE_ROW_ORDER_ANGLE state https://gitlab.freedesktop.org/wayland/weston/commit/1a0e450da540 libweston/renderer-gl/gl-renderer.c
<wlb> weston/main: Loïc Molinari * gl-renderer: Assume default GL_PACK_ALIGNMENT state https://gitlab.freedesktop.org/wayland/weston/commit/84d83f5bf8c2 libweston/renderer-gl/gl-renderer.c
<wlb> weston/main: Loïc Molinari * gl-renderer: Assume default GL_UNPACK_* states https://gitlab.freedesktop.org/wayland/weston/commit/95c3f9687016 libweston/renderer-gl/ gl-renderer.c gl-shader-config-color-transformation.c
<wlb> weston Merge request !1580 merged \o/ (Assume default GL pixel store states https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1580)
ofourdan has quit [Ping timeout: 480 seconds]
<outfoxxed[m]> it seems like flipping every child would work better for context menus and such but no compositor seems to do that
<outfoxxed[m]> since theres not a way for a popup to tell if its been flipped how are nested context menus supposed to reverse direction?
<kennylevinsen> The constraints are applied to the specific popup, they do not propagate to parents
<outfoxxed[m]> is there supposed to be a way to reverse trees of children?
<kennylevinsen> What would the use-case be? Having the whole tree move when a child is opened does not sound like a good idea...?
<outfoxxed[m]> ah wait nevermind, was thinking popups on other platforms did something they don't
JakeSays1 has joined #wayland
<outfoxxed[m]> thought the direction of the popup tree would reverse when it hit the screen edge instead of just overlapping again
ofourdan has joined #wayland
<kennylevinsen> ah I get what you mean now, but definitely not
JakeSays has quit [Ping timeout: 480 seconds]
<outfoxxed[m]> seems odd that they just pile up in a corner
<outfoxxed[m]> granted bouncing all around the screen isn't amazing either but its better than that
<kennylevinsen> I disagree - if they changed their growing direction each time they hit a screen edge, the end-user would have a harder time assuming where a next popup would appear
<outfoxxed[m]> but is that worse than having a bunch of them stacked on top of eachother in a corner
<outfoxxed[m]> though hopefully nobody has enough nested menus for this to actually be a problem
<kennylevinsen> You would also stack on top if you had a nested setup that zig-zagged across the entire screen
<outfoxxed[m]> you'd have to go all the way around the screen before that happens though
<kennylevinsen> And I think it's easier for users to reason about "Grows to the right like always unless there's no room" is easier than "grows to the right unless an odd number of ancestors hit constraints"/"unless the last ancestor that hit a screen edge hit the right one"
<kennylevinsen> You don't have to go all the way around - have the first constraint be on the third popup level and you're overlapping with the first popup
<kennylevinsen> *first hit constraint
<outfoxxed[m]> yeah I guess its just preference
<kennylevinsen> deep nested popups flipping around is going to be bad UX anyway, so I prefer at least keeping it simple :)
<jadahl> iirc gtk will flip the direction of the constraints rule when the direction change
<jadahl> so it'll bump between the screen edges
Company has joined #wayland
<jadahl> or maybe not, or maybe that was gtk3
mripard has quit [Remote host closed the connection]
<jadahl> seeems to be only gtk3 menus that switch direction at the screen edges
ShapeShifter499 has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 480 seconds]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
riteo has joined #wayland
Company has quit [Read error: Connection reset by peer]
latex has quit [Quit: WeeChat 4.2.1]
kts has joined #wayland
paulk has quit [Read error: Connection reset by peer]
paulk has joined #wayland
Company has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
mripard has joined #wayland
kts has quit [Ping timeout: 480 seconds]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
latex has joined #wayland
Company has quit [Read error: Connection reset by peer]
nerdopolis has joined #wayland
<wlb> weston Merge request !1584 opened by Michael Tretter (m.tretter) backend-pipewire: add fence to synchronize on finish of render https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1584
navirc has joined #wayland
navirc has quit []
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
mclasen has joined #wayland
riteo has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
navi_ has joined #wayland
Company has joined #wayland
riteo has joined #wayland
Brainium has joined #wayland
navi_ is now known as navi
gfxstrand has joined #wayland
garnacho has joined #wayland
Ps1-Jack has joined #wayland
Psi-Jack is now known as Guest1150
Ps1-Jack is now known as Psi-Jack
Guest1150 has quit [Ping timeout: 480 seconds]
leon-anavi has quit [Remote host closed the connection]
leon-anavi has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
ShapeShifter499 has quit [Quit: Leaving]
Ps1-Jack has joined #wayland
Psi-Jack has quit [Read error: Connection reset by peer]
Ps1-Jack is now known as Psi-Jack
melonai5 has quit []
leon-anavi has quit [Remote host closed the connection]
<JoshuaAshton> swick[m]: Did you have any opinion on my MR to add scRGB support? We'd need this to support Proton/Wine apps without set_luminances https://gitlab.freedesktop.org/swick/wayland-protocols/-/merge_requests/78
<JoshuaAshton> It's worth noting that this is also a VkColorSpace and gl_colorspace that is very commonly used, and developers will expect it to exist.
kts_ has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
<Company> JoshuaAshton: btw, do you know what format/colorspace macOS composites in?
<Company> I tried figuring that out after I learned that Windows uses scrgb after reading about in your MR
<Company> but couldn't find any info about it
feaneron has joined #wayland
<JoshuaAshton> I have no idea, I imagine it's just some FP16 format. What the primaries are and values represent in terms of luminance are in that format doesn't really matter as it's just an implementation detail. It all ends up as HDR10 anyway =P
<JoshuaAshton> In terms of applications, for UI stuff, it's their own EDR format, where 1.0 = max sdr brightness and above that is the hdr headroom
rasterman has quit [Quit: Gettin' stinky!]
<Company> it was mostly about what colorspace I want to make GTK composite so that the mac compositor doesn't have to transform it again
<Company> and Apple was big on dci-p3 in the past, but I do not know if they built hardware explicitly targeting it
feaneron has quit [Quit: feaneron]
<Company> and all the hardware I own wants BT2020
<Company> (or srgb of course)
<JoshuaAshton> it's always going to need some transformation, you're talking about potentially saving two fmas and a dot product at the composition time, that probably won't be saved anyway cause the compositor is just going to pass some matrix in =)
<JoshuaAshton> or potentially not even that if it uses a LUT
<JoshuaAshton> we use a 3D LUT for all our color xforms on Deck, so everything is the same cost regardless of what you do
<Company> you're thinking full-screen or compositor, I'm thinking application
<Company> that wants to make life as easy as possible for the compositor
<Company> so that it can ideally glBlitFramebuffer() from my buffer to the target
<JoshuaAshton> There is like no case where you can do that with actual color management going on
feaneron has joined #wayland
<JoshuaAshton> and definitely no case where it is consistent across different displays/output modes/etc
<Company> yeah, but I can change what my app does on different displays/outputs modes
<zamundaaa[m]> Company: does the MacOS API not have something similar to the Wayland preferred image description?
<Company> I'm just trying to make the compositor happy, because happy compositors like my apps
<Company> zamundaaa[m]: I don't know enough about macOS to know where to even look for it - and the people I asked didn't know
<Company> the windows people I know found the one paragraph on MSDN where it's explained - I wouldn't have found that one either
<Company> windows uses fp16 scrgb-linear, which makes a lot of sense
<Company> because for backwards compat, you can treat srgb apps with GL_SRGB
<Company> without any extra work to do in shaders while compositing
<zamundaaa[m]> It doesn't really make any difference
<Company> depends on what you run it on I suppose
<zamundaaa[m]> No, the fp16 framebuffer is the performance bottleneck, a single matrix multiplication doesn't hurt when you need to apply an EOTF in a shader anyways
Brainium has quit [Quit: Konversation terminated!]
coucouf1 has joined #wayland
<Company> do you need to though?
<Company> with GL_SRGB you don't have an eotf
<Company> that only works for opaque content, but most of the content of an app is opaque
<Company> or do you mean on the other end, when going from compositing to kms?
* Company always confuses eotf and oetf and eotf^-1 and ootf and I've even seen eetf mentioned
<zamundaaa[m]> Company: you do have an eotf with GL_SRGB, it's just applied in hardware. IIRC on older hw it's limited to 8 bits per color, and that's where running a shader matters
<wlb> weston Issue #785 closed \o/ (Send wl_surface::enter right after xdg_surface creation https://gitlab.freedesktop.org/wayland/weston/-/issues/785)
<Company> zamundaaa[m]: yeah, but 8bits per color is exactly what you are gonna get with backwards compat code
<Company> and afaik it's implemented as a table lookup, a float[256] - one for linear, one for srgb
<Company> and I've tested it with linear compositing in GTK, and it's almost zero performance difference if I read/write via GL_SRGB or not
<zamundaaa[m]> Right, I read that outside of exclusive fullscreen, win32 was also limited to 8 bits per channel for the longest time. So that does make some amount of sense
<Company> I might remember it somewhat wrong, it might have been measurable, but I decided it's fast enough to allow switching to linear compositing
<Company> my low end target is rpi4 hardware
<Company> my goal of how things are going to work is that we switch to linear compositing in GTK, and depending on the compositor, we either hand it GL_SRGB U8 buffers for backwards compatibility, so they see the same they see before
<Company> or we render to FP16 linear scrgb
<coucouf1> Dear waylanders, we have freezes with wayland 1.23 + Plasma 5 in Debian
<Company> and then the compositor gets to do its own linear stuff on top of it
<coucouf1> is it something you’ve heard of already ?
<Company> both of those methods have very low performance impact in the general case
<coucouf1> triggered in the Plasma 5 wayland session when starting Xwayland according to the stack traces
<Company> my intel laptop is memory bound in the right benchmarks so I can make it drop to half the performance by switching from u8 to fp16
<Company> but I need to do fullscreen 4k on it to see the effects
<Company> my Radeon doesn't much care about me using u8 vs fp16
<Company> though they also don't care much about me doing eotfs/oetfs
<Company> the one thing they care about is shadow buffers, and are very clear I should avoid them like the plague
<dottedmag> coucouf1: the original signal was lost when Xwayland caught it, so Xwayland log is also needed to understand what went wrong
<Company> so my goal is to make compositors take the data I produce in a way that doesn't need conversion via shadow buffer
<coucouf1> ok, it breaks the VM where I tested badly enough that I cannot VT switch after that
<coucouf1> will get that and add it to the bug report
nerdopolis has joined #wayland
Company has quit [Read error: Connection reset by peer]
<wlb> weston Merge request !1585 opened by Marius Vlad (mvlad) gitlab-ci: Use virtme-ng for running our tests https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1585 [CI]
melonai5 has joined #wayland
kts_ has quit []
feaneron has quit [Quit: feaneron]
kts has joined #wayland
feaneron has joined #wayland
kts has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
Company has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
<kchibisov> Can a string on the wire has multiple NUL bytes in it including the terminating one? Just reading wire spec it seems like it can.
sima has quit [Ping timeout: 480 seconds]
iconoclasthero has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
agd5f_ has quit []
agd5f has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
Brainium has joined #wayland
rv1sr has quit []
mclasen has joined #wayland
Company has quit [Remote host closed the connection]
Company has joined #wayland
mvlad has quit [Remote host closed the connection]
lsd|2 has joined #wayland
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
garnacho has joined #wayland
<wlb> weston Merge request !1586 opened by Leo Li (leoli) backend-drm: Use plane's zpos_min to check for underlay ability https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1586
mclasen has quit [Read error: Connection reset by peer]
mclasen_ has joined #wayland
nerdopolis has joined #wayland
bjorkint0sh has joined #wayland
bjorkintosh has quit [Ping timeout: 480 seconds]
<coucouf1> dottedmag: here’s a diff of logs for ok (wayland libs 1.22) vs crash (1.23)
<coucouf1> the crashing run says:
<coucouf1> wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
glennk has quit [Ping timeout: 480 seconds]
mclasen_ has quit [Read error: Connection reset by peer]
mclasen has joined #wayland
Company has quit [Ping timeout: 480 seconds]
Company has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
riteo has quit [Remote host closed the connection]
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
nerdopolis has joined #wayland