ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
cool110 has quit [Remote host closed the connection]
cool110 has joined #wayland
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
<d_ed[m]> >hmm, is mpv's resize behavior not technically a protocol error?
<d_ed[m]> ifreund: ^
danvet has joined #wayland
Company has quit [Quit: Leaving]
fmuellner has joined #wayland
dcz has joined #wayland
tzimmermann has joined #wayland
mvlad has joined #wayland
rasterman has joined #wayland
Fxzxmic has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
kts has joined #wayland
Fxzxmic has quit [Remote host closed the connection]
pochu has joined #wayland
Fxzxmic has joined #wayland
kts has quit [Quit: Konversation terminated!]
<pq> JoshuaAshton, that's kind of the whole problem: scRGB *cannot* be used without more information, either explicit or assumed. As a protocol designer I cannot assume, so I require explicit, and leave the guessing for the apps.
<JEEB> yea so the content color volume should be known by the app. for example if I'm trying to pass Display P3 wide gamut SDR as scRGB, then I should be able to flag that and then the compositor can decide how to show that content
<ifreund> d_ed[m]: thanks for the link
devilhorns has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
invertedoftc096 has quit []
<emersion> daniels, feel free to merge !309 if you like it
<daniels> emersion: cool, ta
<wlb> wayland/main: Joshua Ashton * event-loop: Handle EINTR and EAGAIN in wl_event_loop_dispatch https://gitlab.freedesktop.org/wayland/wayland/commit/3bac2e5fb8ee src/event-loop.c
<wlb> wayland Merge request !309 merged \o/ (event-loop: Handle EINTR and EAGAIN in wl_event_loop_dispatch https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/309)
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #wayland
Moprius has joined #wayland
ahartmetz has joined #wayland
<wlb> weston Merge request !1230 opened by Daniel Stone (daniels) Draft: wet_process: Fully split wet_process and wl_client https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1230
Fxzx_mic has joined #wayland
<pq> swick[m], emersion, as we are talking about the H.273 enums, and putting those in XML, one more aspect comes to mind: headers generated from XML are hard to use in library public API. Would you need to define an identical enum anyway just to expose public API?
<pq> do you have such libraries?
<emersion> pq, btw the kernel patch is exactly the same situation: defines for values in the specs
Fxzxmic has quit [Ping timeout: 480 seconds]
<pq> emersion, but it's not generated, and the names are unambiguous.
<emersion> not sure what difference that makes…
<emersion> the generated header issue is annoying to handle
<emersion> historically wlroots just expects compositors to run the generator and include the file before wlr headers
<emersion> which is … not nice
<emersion> if we had widely available headers with the defines, it would be easier
<pq> Most H.273 enum values list several standards. Which one to use for the name is somewhat arbitrary. It could be confusing for someone implementing the-other-spec, why is it using seemingly wrong value.
Fxzxmic has joined #wayland
<pq> If I need to invent my own enum in libweston, I can use it for both internals and public API, and I can choose the naming most appropriate for Weston.
<pq> of course, it doesn't hurt if XML defined another enum I just don't use
Fxzx_mic has quit [Ping timeout: 480 seconds]
<pq> so I suppose the arguments of "generated headers are annoying" and "which name to pick" are moot, then?
<pq> in that case, we can certainly have those enums in XML
<pq> ...with the caveat that also values outside of the enum are allowed, which means the argument is not actually an enum
<pq> which I think language bindings people don't like?
<pq> maybe language bindings would just ignore that XML enum too
dcz has quit [Ping timeout: 480 seconds]
dcz has joined #wayland
<pq> as long as we rely on H.273 for the value definitions, I don't really care
Fxzxmic has quit [Read error: Connection reset by peer]
Fxzxmic has joined #wayland
nerdopolis has joined #wayland
dcz_ has joined #wayland
dcz has quit [Read error: Connection reset by peer]
invertedoftc096 has joined #wayland
dcz has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
<swick[m]> honestly, I really dislike having potentially non-exhausting enums... but if people really want it then I won't stop it
<swick[m]> we can add those enums at any point in the future though so maybe try without them first?
<emersion> wayland enums are non-exhaustive, and we can't change that'
Fxzxmic has quit [Quit: Konversation exit!]
<wlb> weston Merge request !1231 opened by Simon Ser (emersion) clients/scaler: check viewporter availability https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1231 [Clients]
<swick[m]> usually if you send values which are not covered by an enum that results in a protocol error. having both the enum and the CICP spec to choose values from is just adding complexity.
<emersion> "usually", it's totally manual
<emersion> and there are cases where it's not an error
<emersion> e.g. wl_shm formats
<kchibisov> Given that you can add enums to wl_shm without bumping any version you have non-exhaustive enums handling in every library around wayland protocol.
<emersion> the issue with not having the enum is that then users need to hardcode constants
<wlb> weston Merge request !1229 merged \o/ (Integrate libdisplay-info (optional at first) https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1229)
<emersion> noice
<swick[m]> \o/
<swick[m]> the other issue was naming all the crap
<swick[m]> so if someone makes something that's not horrible... sure. I don't want to do that though.
<emersion> ci failing, i don't think it's my fault…
<mvlad> emersion, nope, it's some networking stuff.
Moprius has quit [Remote host closed the connection]
Moprius has joined #wayland
rv1sr has joined #wayland
Moprius has quit []
<wlb> weston/main: Simon Ser * clients/scaler: check viewporter availability https://gitlab.freedesktop.org/wayland/weston/commit/fe495344882a clients/scaler.c
<wlb> weston Merge request !1231 merged \o/ (clients/scaler: check viewporter availability https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1231)
Company has joined #wayland
devilhorns has quit [Quit: Leaving]
<daniels> emersion: I hear you wrt including extension enums in compositor headers - having the same pain now Weston does tablets
<emersion> yeah ;_;
<emersion> there's an old wlr thread listing all of the options and none are good
<daniels> w-p generating headers … ?
<daniels> like, installed alongside XML - at least just for the enumerated definitions and not the marshalling?
CME has quit []
fmuellner has joined #wayland
tzimmermann has quit [Quit: Leaving]
kts has joined #wayland
fmuellner_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #wayland
kts has quit [Quit: Konversation terminated!]
iomari891 has quit [Ping timeout: 480 seconds]
rasterman has joined #wayland
<emersion> pq: when color-repr is not used, what are good defaults?
<emersion> midpoint or cosited? REC.601 or REC.709? full or limited range?
floof58 is now known as Guest321
floof58 has joined #wayland
Guest321 has quit [Ping timeout: 480 seconds]
gspbirel5684008498790919236617 has joined #wayland
gspbirel5684008498790919236617 is now known as gspbirel56
fmuellner_ has quit [Ping timeout: 480 seconds]
CME has joined #wayland
mvlad has quit [Remote host closed the connection]
junaid has joined #wayland
CME has quit []
CME has joined #wayland
<swick[m]> defo full range for rgb and limited range for ycc. siting has almost no effect and rec.601 is probably fine
rv1sr has quit []
Brainium has joined #wayland
junaid has quit [Remote host closed the connection]
<wlb> wayland Issue #377 opened by shrekni (shrekni5) Some games (specially source and tf2c) dont run under wayland https://gitlab.freedesktop.org/wayland/wayland/-/issues/377
Brainium has quit [Quit: Konversation terminated!]
<LaserEyess> 🤔
dcz has quit [Ping timeout: 480 seconds]
Szadek has joined #wayland
nerdopolis has quit [Remote host closed the connection]
nerdopolis has joined #wayland
dcz has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
i509vcb has joined #wayland
floof58 has quit [Read error: Connection reset by peer]
floof58 has joined #wayland
floof58 is now known as Guest349
floof58 has joined #wayland
Guest349 has quit [Ping timeout: 480 seconds]
bodiccea has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
alatiera2 has joined #wayland
alatiera has quit [Ping timeout: 480 seconds]
alatiera2 is now known as alatiera
bodiccea has joined #wayland