ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Brainium has quit [Quit: Konversation terminated!]
<wlb> wayland Merge request !412 opened by Demi Marie Obenour (DemiMarie) Fix various miscellaneous undefined behaviors https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/412
soreau has quit [Ping timeout: 480 seconds]
soreau has joined #wayland
guru__ has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
guru_ has quit [Ping timeout: 480 seconds]
karolherbst_ is now known as karolherbst
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #wayland
karenthedorf has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
systwi has quit [Ping timeout: 480 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #wayland
systwi has joined #wayland
bnason2 has joined #wayland
bnason2 has quit []
Company has quit [Ping timeout: 480 seconds]
bnason2 has joined #wayland
Company has joined #wayland
abeltramo589523 has quit [Quit: The Lounge - https://thelounge.chat]
abeltramo589523 has joined #wayland
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
mxz__ has joined #wayland
mxz_ has quit [Ping timeout: 480 seconds]
mxz has quit [Ping timeout: 480 seconds]
tkna has quit [Remote host closed the connection]
tkna has joined #wayland
mxz has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
abeltramo589523 has quit [Ping timeout: 480 seconds]
privacy has quit [Quit: Leaving]
glennk has joined #wayland
crazybyte has quit [Quit: Bye]
crazybyte has joined #wayland
Company has quit [Quit: Leaving]
rv1sr has joined #wayland
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
coldfeet has joined #wayland
slim has joined #wayland
<outfoxxed[m]> should xdg_positioner::set_offset's offset be flipped
<outfoxxed[m]> i would assume yes but kwin and mutter dont do that
kode54 has joined #wayland
<vyivel> outfoxxed[m]: no
<outfoxxed[m]> but it should be considered in the constraint that causes the flip?
<vyivel> …actually let me check again
KDDLB has joined #wayland
<vyivel> "The offset position of the surface is the one used for constraint testing", yes
<outfoxxed[m]> but if constrained the offset shouldn't be considered in the constraint?
<vyivel> uhh okay i'm not sure anymore
<outfoxxed[m]> its not really specified but mutter kwin and wayfire dont apply it to flip
<outfoxxed[m]> wayfire seems to account for it in slide
<vyivel> okay afaiu the offset indeed isn't flipped
<vyivel> to apply flipping, anchor/gravity are inverted, then the new geometry is computed, and then offset is applied to it
<outfoxxed[m]> do you know what the offset is actually for? like what uses it
<outfoxxed[m]> vyivel: so offset is *NOT* used when calculating if the surface should flip or not?
<vyivel> offset is used to compute the resulting geometry, and if that geometry is constrained, constraint adjustments are applied
<outfoxxed[m]> including or excluding flip adjustment
<vyivel> including
<outfoxxed[m]> alright
<vyivel> (i'm mostly reasoning here based on wlroots code, which i believe to be correct but who knows)
<outfoxxed[m]> do you have an idea of anything that uses it
<outfoxxed[m]> to test what looks right
<vyivel> offset? idk
<vyivel> grep for it in gtk/qt maybe
<outfoxxed[m]> qt does not
<outfoxxed[m]> can check gtk
<outfoxxed[m]> nothing in the gnome gitlab for gtk either
<vyivel> gdk/wayland/gdkpopup-wayland.c:818
<outfoxxed[m]> thanks
vyivel has quit [Remote host closed the connection]
vyivel has joined #wayland
kingwill101 has joined #wayland
<outfoxxed[m]> it looks like gtk doesn't use it in combination with flip
coldfeet has quit [Remote host closed the connection]
<kingwill101> Hi, i've been working on implementing a client library in dart. I've gotten to the point of wanting to figure using egl. problem is because i'm not wrapping libwayland-client there is no way i can just bind the egl.* calls. i'm wondering if there's documentation of fetching the relevant objects using the c api? Since i'd already have the ids used to create the relevant protocol objects.
<kennylevinsen> kingwill101: the tricky bit is that mesa needs to use the same display connection to have access to any objects, and mesa expects it as a struct wl_display (libwayland-client). Objects can’t be transferred to a different display.
<kennylevinsen> You can still do something without WSI by avoiding EGL and instead using GBM + GL + Wayland directly
coldfeet has joined #wayland
<kennylevinsen> But otherwise you’d need either a patch to mesa to allow using a foreign wayland impl, or a protocol to allow mesa to borrow the objects it needs from a different display without owning the resources.
<kingwill101> Are there any resources on GBM ? Also i was wondering if it's possible to just create wl_proxy versions of the objects and pass them to c
<kennylevinsen> kingwill101: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/egl/drivers/dri2/platform_wayland.c?ref_type=heads#L2227 <- this is the egl implementation you’ll need to satisfy, might be good to study what you’re fighting
<kennylevinsen> For GBM + GL, looking at wlroots’ render and allocator code might be useful
<kingwill101> Thanks much, a bit above my head so gonna have to do some reading
nerdopolis has joined #wayland
coldfeet has quit [Remote host closed the connection]
Company has joined #wayland
sima has joined #wayland
<daniels> yeah, you are going to have to wrap libwayland-client, sorry
<daniels> either that or have your Dart implementation export a compatible C API that Mesa can use
<daniels> they need to share an in-order message queue
Brainium has joined #wayland
Moprius has joined #wayland
Moprius has quit [Quit: bye]
nerdopolis has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
feaneron has joined #wayland
nerdopolis has joined #wayland
DragoonAethis has left #wayland [hej-hej!]
feaneron has quit [Quit: feaneron]
sima has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
kts has joined #wayland
r00tobo[BNC] has joined #wayland
r00tobo has quit [Read error: Connection reset by peer]
Calandracas_ has joined #wayland
nerdopolis has joined #wayland
Calandracas has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
<kingwill101> daniels: mmh, to do that i figure i need to be able to tell the c api to use the same wayland objects that were previously created in dart? I'm not sure though if there's an api that does that. Initially i thought maybe to create serialized versions of the dart objects converted to wl_proxy but i'm not so sure
nerdopolis has quit [Ping timeout: 480 seconds]
<kennylevinsen> That won’t share a display connection. Either you need to pretend to be libwayland and expose a libwayland-style C interface that mesa can use without needing to be taught new trick, or you need to use libwayland from dart for the wire portion. Alternatively you need to change mesa, or avoid WSI entirely as mentioned earlier.
<kennylevinsen> You need a single fd with an in-order message queue used by both mesa and your dart code.
checkfoc_us has quit []
checkfoc_us has joined #wayland
kingwill101 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
nerdopolis has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
f_ has quit [Ping timeout: 480 seconds]
flom84 has joined #wayland
f_ has joined #wayland
coldfeet has joined #wayland
flom84 has quit [Ping timeout: 480 seconds]
ericonr has joined #wayland
tarTLSeau has joined #wayland
<tarTLSeau> does https://wayland.freedesktop.org/toolkits.html not miss GNUstep?
<vyivel> fairly sure that page can be removed
bluetail has joined #wayland
<bluetail> Hello. Are there any problematic side-effects within the scope of Wayland implementations? Assume: KDE does its own stuff, it will only work within KDE. Is this possible given that one develops something for >Wayland< that it cannot run on anything except the target desktop environment?
zvarde198830320677919168587 has joined #wayland
mohit81582263 has quit [Quit: mohit81582263]
mohit81582263 has joined #wayland
<Company> bluetail: Wayland itself is just the messaging layer - what messages are sent is entirely up to the communicating parties
<Company> so yes, there can be messages that only KDE apps implement support for
<bluetail> is it a likely outcome that some commercial software will only run on KDE, and nowhere else?
<bluetail> In future
tristianc670482 has quit [Read error: No route to host]
kts has quit [Ping timeout: 480 seconds]
<Company> I would think that neither the commercial software, nor KDE, nor anyone else has an interest in achieving that
<Company> and it's not like you can't just implement those messages elsewhere, if you want to
<dottedmag> Haven't we seen some weird things like Zoom abusing KDE-specific extensions for screensharing, and also doing compositor sniffing to disable it everywhere else?
<Company> sniffing works independent of supported features though
<daniels> vyivel: I’d ack that MR
<daniels> dottedmag: Zoom just uses PipeWire afaik
<daniels> well, the portal
tristianc670482 has joined #wayland
<bluetail> Company I've been thinking about Valve - if they choose one platform, could it happen that they implement sort of a Digital Rights Management service, in order to protect against illegitimate copies of software/games? And what about Netflix? Wouldn't they have interest in "protecting" ad absurdum?
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
<bluetail> * to only work on e.g KDE
<bluetail> Would other implementations of the wayland protocol get the chance to catch up?
<vyivel> yes, given that kde is foss
<vyivel> alternatively they can simply decide to ignore drm
<vyivel> (i also don't see how can they do anything about "illegitimate copies of software/games"…)
<bluetail> Well, on Windows some company install rootkits - which aren't even legal in many locations to start with
<bluetail> some companies*
<Company> vyivel: the game studios with Microsoft are trying to bring up a signed system, as anti-cheat protection
<Company> so this is DRM pushed by gamers
<vyivel> gamers really leaving no reasons to respect them huh
flom84 has joined #wayland
<bluetail> at the same time Rockstar Games allegedly published a cracked nodvd version of one of their games onto valve services
<bluetail> Had signature of Razor1911 according to news articles
<bluetail> I doubt Gamers want DRM
<bluetail> I mean... unless they believe in that it will eradicate cheaters, but d-uh
<bluetail> We already got DMA cheats...
ity has quit [Remote host closed the connection]
<bluetail> whats next, reading out memory in real time? It already exists... But not commercially I think
ity has joined #wayland
<zamundaaa[m]> dottedmag: it did abuse a Gnome screenshot API for screen casting, yes. The newer pipewire thing is still guarded behind xdg current desktop being set to Gnome too...
flom84 has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
Moprius has quit [Quit: bye]
sima has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
coldfeet has quit [Remote host closed the connection]
coldfeet has joined #wayland
privacy has joined #wayland
coldfeet has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
iconoclasthero has joined #wayland
iconoclasthero has quit []
karenthedorf has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
iconoclasthero has joined #wayland
iconoclasthero has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
iconoclasthero has joined #wayland
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
kelnos has quit [Remote host closed the connection]
kelnos has joined #wayland
kode54 has joined #wayland
KDDLB has joined #wayland
nerdopolis has joined #wayland
tanty has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
iconoclasthero has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lsd|2 has joined #wayland
<Company> bluetail: the cheaters do sell hardware mods these days and people are using them
<Company> there's recommendations for what motherboards work best for this stuff
rv1sr has quit []
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has joined #wayland
kode54 has joined #wayland
garnacho has joined #wayland
<wlb> wayland Merge request !408 closed (Post better errors for invalid message sizes)
nocoffei has joined #wayland
<nocoffei> goooooooood evening, party people! I have just spent the last ~4 hours hunting down a pretty ugly (and old) bug in Xorgs XKB module, and I believe I'm at the final boss.
<nocoffei> ofourdan whot: Lyude sent me. Do either of you have experience with the xkbcomp compiler? The bug has originated from there.
glennk has quit [Ping timeout: 480 seconds]
garnacho has quit [Read error: No route to host]
garnacho has joined #wayland
<nocoffei> (note: I care because this causes an irritating divergence in keyboard handling with Wayland-native versus Xwayland apps)
garnacho has quit [Ping timeout: 480 seconds]
<kennylevinsen> that sounds like libxkbcommon-land
<nocoffei> it is specifically xkbcomp, which is not in libxkbcommon, but if there's someplace else I should be to ask about that, please point me in that direction