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
zebrag has joined #wayland
slattann has quit [Quit: Leaving.]
maxzor has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
maxzor has joined #wayland
zebrag has joined #wayland
maxzor has quit [Ping timeout: 480 seconds]
dundidit has quit [Remote host closed the connection]
cool110_ has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
Arnavion has quit [Quit: Arnavion]
Arnavion has joined #wayland
soreau has quit [Read error: Connection reset by peer]
soreau has joined #wayland
armadefuego has joined #wayland
armadefuego has left #wayland [#wayland]
cool110 has joined #wayland
slattann has joined #wayland
shankaru has joined #wayland
zebrag has quit [Quit: Konversation terminated!]
jgrulich has joined #wayland
mvlad has joined #wayland
hardening has joined #wayland
<wlb> weston/main: Sören Meier * libbacklight: Fix backlight never gets initialized https://gitlab.freedesktop.org/wayland/weston/commit/edef87469648 libweston/backend-drm/libbacklight.c
<wlb> weston Merge request !818 merged \o/ (libbacklight: Fix backlight never gets initialized https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/818)
<wlb> weston/main: Derek Foreman * xwayland: Simplify HAVE_XWAYLAND_LISTENFD usage https://gitlab.freedesktop.org/wayland/weston/commit/869cab49389c compositor/xwayland.c
<wlb> weston Merge request !821 merged \o/ (xwayland: Simplify HAVE_XWAYLAND_LISTENFD usage https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/821)
dcz_ has joined #wayland
___nick___ has joined #wayland
maxzor has joined #wayland
naveenk2 has joined #wayland
MajorBiscuit has joined #wayland
duxsco has joined #wayland
rgallaispou has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
<zzag> emersion: what protocol? sorry, I don't follow w-p development closely due to some personal issues
<zzag> for the record, we've been discussing fractional scaling in kwin too https://invent.kde.org/plasma/kwin/-/issues/86
<zzag> jadahl: yeah, I've been playing with similar idea in qt this winter
<zzag> it works but fonts may not align with pixel grid
<wlb> wayland-protocols/main: Kenny Levinsen * viewport: Remove mention of wl_surface.attach x/y https://gitlab.freedesktop.org/wayland/wayland-protocols/commit/2398378cf7a0 stable/viewporter/viewporter.xml
<wlb> wayland-protocols Issue #86 closed \o/ (wp_viewport: Odd description of wl_surface.attach x/y behavior. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/86)
<wlb> wayland-protocols Merge request !144 merged \o/ (viewport: Remove mention of wl_surface.attach x/y https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/144)
<zzag> in other words, things such as subpixel antialiasing is a no-no thing
ahartmetz has joined #wayland
* kennylevinsen thinks subpixel antialiasing is always a no-no thing, but that's a whole other discussion
<zzag> emersion: aha, so the approach to implement fractional scaling in the MR matches what I did in https://invent.kde.org/plasma/kwin/-/issues/86#note_419741 (I hardcoded the scale factor to get a poc asap though :D). the protocol allows to get the scale factor with fractional part, after that, use wp_viewporter
<emersion> yup
<zzag> kennylevinsen: well, it's still a thing with lo-dpi monitors unfortunately
<kennylevinsen> sway has pixel grid snapping - would be fun to see if Qt behavior is prettier with that
MajorBiscuit has joined #wayland
bittin has joined #wayland
<zzag> kennylevinsen: interesting.. does sway move the surface until it snaps to the pixel grid? or does it do something fancier? how does sway ensure that the linear or the nn filter doesn't mess up fonts?
<kennylevinsen> when rendering a texture to a particular output, coordinates are just rounded to nearest physical pixel. A main quirk right now is that the rounding ends up position-dependent, but that is solveable.
maxzor has quit [Ping timeout: 480 seconds]
manuel1985 has joined #wayland
mvlad has quit [Quit: Leaving]
mvlad has joined #wayland
<kennylevinsen> s/texture/surface/
lxsameer has joined #wayland
<kennylevinsen> as for scaling filters messing things up, I don't think we do anything in particular. Just like with how scale 1 works, we just rely on nothing happening when pixels in the surface buffer lines up perfectly.
d_ed has joined #wayland
manuel__ has joined #wayland
Major_Biscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
<zzag> yeah my main concern is that rounding coordinates may break one-to-one mapping and the min/mag filter will start messing fonts up
manuel1985 has quit [Ping timeout: 480 seconds]
rasterman has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
maxzor has joined #wayland
<d_ed> Apparently my replies haven't been getting through :/ Sorry for seeming like I've been ignoring you emersion!
<emersion> ah! a classic
<emersion> no worries :)
<kennylevinsen> something something sasl
<d_ed> It fails so silently
<kennylevinsen> yeah >:|
testg784578543 has joined #wayland
<kennylevinsen> I'm still using #mesonbuild as a canary for that :P
<d_ed> I'd rather have this viewport technique than nothing, and the fact that it works for SDL already is positive. Ultimately we need experiences from people changing the big toolkits and then looking for the edge cases where it fails rather than examples where it works.
<d_ed> Vlad and I have been working on things - we can complete our Qt implementation Vlad mentioned
<d_ed> I do think if we go down this path over time we'll go down the route of having both damage and damage_buffer in logical and device pixels respectively but for everything else
<emersion> (to be clear it's also on the matrix bridge -- OFTC correctly sends ERR_CANNOTSENDTOCHAN, matrix could handle it a lot better than silently dropping it)
testg784578543 has quit []
<pq> "but for everything else" what?
<d_ed> wl_surface.set_input_region, wl_surface.set_opaque_region, wl_subsurface.set_position, xdg_shell.window_geometry, xdg_positioner.set_anchor_rect
<pq> well, all widget layouting on a surface in an app should happen logical (surface-local) coordinates anyway
<pq> *happen on
notmart has joined #wayland
<dnkl> I assume a run-time scale change will result in both a configure() (resize) event, and a preferred_scale() event? It would be nice if they were synchronized in some way, so that the client doesn't have to submit two frames before getting the right combo of buffer size and viewport settings
<d_ed> With the current wayland approach which the viewport proposal doubles down on there shouldn't be a resize event as the logical geometry stays (roughly) the same
<jadahl> it's the hint that should be grouped with xdg_surface.configure. the surface state is atomic already
<jadahl> so either 'wl_surface.configure' (as discussed in the wl_surface.(buffer_)scale MR), or some wording allowing xdg_surface.configure docs to be responsible for grouping both wl_surface.(buffer_)scale and wp_fractional_scaling.fractional_scale or what it now was called
<kennylevinsen> (right now it's preferred_scale, but it's my intention to align the wording and naming with wl_surface.scale)
<dnkl> right, grouping xdg_surface.configure and wp_fractional_scaling.preferred_scale was what I had in mind
<dnkl> emersion: ah, thanks. Read through the fractional scaling MR, but didn't see anyting there...
slattann has quit [Read error: Connection reset by peer]
<d_ed> can I propose we set up a video call about all this. Text chats tend to run in circles when it comes to landing anything
<kennylevinsen> hmm, that's not a *terrible* idea...
<kennylevinsen> how would we go about doing that?
<d_ed> I can email a bunch of people with a doodle poll. We've done it once before to land xdg_activation and I think it worked well.
Major_Biscuit has quit []
<emersion> sure, i'll join
<d_ed> you weren't going to get a choice in this :)
<emersion> lol
MajorBiscuit has joined #wayland
<wlb> wayland.freedesktop.org Merge request !32 opened by () xserver: Adjust xserver/libepoxy build instructions https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/32
<wlb> wayland/main: Simon Ser * os: drop unnecessary memcpy in wl_os_mremap_maymove https://gitlab.freedesktop.org/wayland/wayland/commit/ff972f85b245 src/wayland-os.c
<wlb> wayland Merge request !221 merged \o/ (os: drop unnecessary memcpy in wl_os_mremap_maymove https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/221)
bittin has quit []
mbalmer has joined #wayland
manuel1985 has joined #wayland
manuel__ has quit [Ping timeout: 480 seconds]
manuel__ has joined #wayland
duxco has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
duxsco has quit [Ping timeout: 480 seconds]
duxco is now known as duxsco
flacks has quit [Quit: Quitter]
flacks has joined #wayland
devilhorns has joined #wayland
ecloud is now known as ecloud_quassel
maxzor has quit [Ping timeout: 480 seconds]
<pq> emersion, swick, I haven't yet read the latest comments, but do you think you can find a middle-ground on the libdisplay-info API design, or should I type up a third proposal?
MajorBiscuit has quit [Ping timeout: 480 seconds]
kchibisov has quit [Read error: Connection reset by peer]
kchibisov has joined #wayland
ecloud has joined #wayland
MajorBiscuit has joined #wayland
maxzor has joined #wayland
notmart has quit [Quit: notmart terminated!]
<wlb> wayland.freedesktop.org Merge request !32 merged \o/ (xserver: Adjust xserver/libepoxy build instructions https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/32)
<wlb> wayland.freedesktop.org/main: Marius Vlad * xserver: Adjust xserver/libepoxy build instructions https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/a7608d842fb4 xserver.html
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
<emersion> pq, i'm not sure. if you're not happy with either, maybe we need a third one.
___nick___ has joined #wayland
nerdopolis has joined #wayland
<swick> pq: well, I'm not really married to the design in my proposal but the one big thing I want in the low level API is to retain all information required to go from blob to IR, modify the IR, and then go to a blob again
<swick> I'm aware that it's a bit more than just being a library to get the information you want out of the EDID but if that's literally all you want all the existing compositor EDID parsing code is good enough
<pq> well, that's something to be discussed in gitlab
<swick> we're in this mess because other EDID parsing stuff just throws away all the information it parses after printing it and now what you want to do is retain just as much information which is required to answer some questions a compositor is interested in and throw away everything else
<pq> if I wanted such an IR, I might go with JSON - lots of ready-made tools to process JSON
<daniels> I'm not immediately sure there is a meaningful IR which lets you round-trip from blob to blob
<swick> then someone comes along and wants to do something which requires the information we just threw away and starts libdisplayinfo2
<swick> and I have a few tools in mind which would require that information
<swick> pq: sure, don't really care much about it, might be JSON, YAML or XML
<pq> we don't throw anything away, the cost of keeping the original blob is less than keeping any kind of IR representing it
<pq> swick, right, but using JSON as input to the high-level API implementation seems like a detour
<swick> daniels: well, they have a format; it's not arbitrary blobs (except that there might be data which we don't understand yet and just has to be kept around)
<swick> pq: I'm not saying we should use JSON there at all
<swick> and with IR I don't mean JSON or anything like it but the in memory interal representation of the parsed EDID
<pq> swick, but in that case the discussion of an IR is irrelevant - you add JSON output at any time
<pq> *can add
<swick> just that it should be possible to go from that interal representation to JSON for example and then from a modified JSON back to the IR
<swick> pq: this is not just about getting output in JSON but being able to have a complete roundtrip from a blob to JSON which can be modified back to a blob
<pq> I'm not sure such an IR is even useful... the original blob is tiny compared to any data structure it might be translated into. The low-level API might just read from the original blob.
<pq> lossless roundtrip, sure, but I don't see how that related to the low-level API that should be used for implementing the high-level API.
<swick> I don't want to have a function in the library which dumps a JSON representation and one which takes in a JSON representation but being able to use the low level API to build a tool which dumps the JSON and builds the IR from a JSON representation
<pq> why?
<pq> why use the low-level API specifically for that?
<pq> it might make more sense to start with the high-level API, and later see what falls out as a low-level API, when opinionated code is restricted into the high-level API implementation.
<swick> if we do that we'll be throwing away all the strucurual information because that's not required for the high level querying API
<pq> we can keep low-level API private until it fills all your goals as well, in addition to allowing implementing the high-level API.
<pq> err, yeah, you definitely would not use high-level API as a basis for serialization
<emersion> doing the high-level API first is backwards
<swick> and we know exactly what we want there
<swick> so no surprises really
<pq> The high-level API is the foremost goal. The only reason the low-level API ever came up was that people were concerned that the high-level API might have bad opinions.
<pq> The reason I want to go high-level API first, because I believe it is the fastest way to get libdisplay-info into use.
<pq> I personally have no use at all for the low-level API.
<pq> I worry that it will take considerably longer if the low-level API must be stable before libdisplay-info can be used at all.
<pq> I guess there would be no point in me trying to type up an API proposal, since our needs are so different.
<pq> I'll continue reviewing both of your API proposals, but I cannot decide which one to take.
<pq> swick, I have no fundamental opposition to your plans, just that I think it will take a lot more effort until anything is usable for me. Effort that I cannot help with.
<emersion> i'm perfectly fine with dropping my proposal fwiw
shankaru has quit [Quit: Leaving.]
zebrag has joined #wayland
radu242 has joined #wayland
radu242 has quit []
shankaru has joined #wayland
remanifest has quit [Ping timeout: 480 seconds]
shashank_s has joined #wayland
agd5f has quit [Remote host closed the connection]
pounce| has joined #wayland
<pq> I have some Weston color stuff to review before I can get back to libdisplay-info.
agd5f has joined #wayland
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #wayland
pounce has quit [Ping timeout: 480 seconds]
<wlb> wayland Issue #286 opened by () Document how to build with libwayland and scanner https://gitlab.freedesktop.org/wayland/wayland/-/issues/286 [Build system], [Documentation]
lxsameer1 has joined #wayland
lxsameer has quit [Ping timeout: 480 seconds]
shankaru has quit [Quit: Leaving.]
Nova[m]1 has left #wayland [#wayland]
rasterman has quit [Quit: Gettin' stinky!]
manuel__ has quit [Ping timeout: 480 seconds]
shankaru has joined #wayland
d_ed has quit [Ping timeout: 480 seconds]
lxsameer2 has joined #wayland
lxsameer1 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
bittin has joined #wayland
bittin has quit [Remote host closed the connection]
lxsameer2 has quit [Ping timeout: 480 seconds]
VarBhat[m] has joined #wayland
hergertme has joined #wayland
naveenk2 has quit [Ping timeout: 480 seconds]
luc4 has joined #wayland
VarBhat[m] is now known as varbhat
rasterman has joined #wayland
devilhorns has quit []
jgrulich has quit [Ping timeout: 480 seconds]
manuel__ has joined #wayland
cvmn has joined #wayland
danvet has joined #wayland
tzimmermann has joined #wayland
MajorBiscuit has joined #wayland
MajorBiscuit has quit []
MajorBiscuit has joined #wayland
jmdaemon has joined #wayland
txtsd has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
cvmn has quit [Ping timeout: 480 seconds]
Hypfer0 has joined #wayland
Hypfer is now known as Guest1713
Guest1713 has quit [Remote host closed the connection]
Hypfer0 is now known as Hypfer
shankaru has quit []
tzimmermann has quit [Quit: Leaving]
___nick___ has quit [Ping timeout: 480 seconds]
txtsd has quit [Ping timeout: 480 seconds]
lxsameer2 has joined #wayland
mvlad has quit [Remote host closed the connection]
maxzor has quit [Ping timeout: 480 seconds]
shashanks has joined #wayland
shashank_s has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
wolfshappen has quit []
wolfshappen has joined #wayland
maxzor has joined #wayland
duxsco has quit [Quit: duxsco]
d_ed has joined #wayland
lxsameer2 has quit [Ping timeout: 480 seconds]
astrae has quit [Remote host closed the connection]
jmabr has quit [Quit: Leaving]
d_ed has quit []
jmdaemon has quit [Remote host closed the connection]
jmdaemon has joined #wayland
shashank_sharma has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
shashanks has quit [Ping timeout: 480 seconds]
duxsco has joined #wayland
Seirdy_ has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
Seirdy_ has quit []
Seirdy_ has joined #wayland
Seirdy_ has quit []
Seirdy has quit [Ping timeout: 480 seconds]
Guest1718 has joined #wayland
luc4 has quit [Remote host closed the connection]
hardening has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
<wlb> wayland/main: Demi Marie Obenour * wl_shell is not mandatory https://gitlab.freedesktop.org/wayland/wayland/commit/1078ee4993cc protocol/wayland.xml
<wlb> wayland Merge request !182 merged \o/ (wl_shell is not mandatory https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/182)
Guest1718 has quit [Max SendQ exceeded]
duxsco has quit [Quit: duxsco]
Serus has quit [Ping timeout: 480 seconds]
Serus has joined #wayland
Serus has quit [Read error: Connection reset by peer]