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
xst99 has quit [Read error: Connection reset by peer]
xst99 has joined #wayland
xantoz has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]
leon-p_ has quit []
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
c7s has quit [Ping timeout: 480 seconds]
zebrag has quit [Quit: Konversation terminated!]
boistordu_ex has quit [Ping timeout: 480 seconds]
chenshijhie has joined #wayland
chenshijhie has quit [Read error: Connection reset by peer]
chenshijhie has joined #wayland
txtsd has joined #wayland
ppascher has quit [Ping timeout: 480 seconds]
danvet has joined #wayland
ppascher has joined #wayland
Doraemon has joined #wayland
NeoCron has quit [Ping timeout: 480 seconds]
Lyude has quit [Quit: WeeChat 3.2]
jgrulich has joined #wayland
hardening has joined #wayland
rpigott has quit [Remote host closed the connection]
rpigott has joined #wayland
novakane has joined #wayland
Lyude has joined #wayland
pnowack has joined #wayland
chenshijhie has quit []
txtsd has quit [Ping timeout: 480 seconds]
rgallaispou has joined #wayland
rasterman has joined #wayland
kibomo has joined #wayland
<kibomo>
hey looking at making some gtk4 applications for a wlroots based compositor and was interested if i could do away with dbus. does wayland have ipc options for me? i saw that sway does not require dbus :)
<emersion>
wayland is for compositor <-> clients IPC
<emersion>
wayland doesn't require dbus'
<emersion>
can you elaborate what you're trying to do?
<kibomo>
i want to make gtk4 applications that dont' require dbus aswell as run that on a system with wlroots compositor without dbus installed
<SardemFF7>
GTK doesn’t require D-Bus by itself
<kibomo>
basicly no dbus, or systemd installed on system. and build gtk applications for native wayland
<SardemFF7>
(GLib has its own D-Bus protocol implementation anyway)
<emersion>
you should be able to just use gtk4 then
<kibomo>
oh so just glib should be fine?
<SardemFF7>
ATK uses D-Bus but I think it’s safe to use without, it just won’t do anything
<emersion>
glib is a gtk dependency…
<SardemFF7>
sure but AFAIU it’s not a problem here
<SardemFF7>
kibomo: can you elaborate a lot more on your “that doesn’t require D-Bus” requirement?
<SardemFF7>
what do you mean exactly by that?
<emersion>
yeah it's not a problem, just a confusing question to ask
<emersion>
"i want to use HTML without JS -- oh so i can just use HTTP then?"
<emersion>
in any case, tl;dr is just use gtk4 and you'll be fine
<SardemFF7>
if you want a system without libdbus.so.* nor dbus-daemon, you’ll be fine with virtually any toolkit I’m aware of AFAICT :-)
<jadahl>
anything based on GApplication (thus many gtk applications) might either not work, or behave badly, without any D-Bus daemon, but I haven't tried
<kibomo>
mm maybe dbus is fine
<kibomo>
its ok im still confused about what dbus is apparently multiple implementations and what not, you have system wide dbus and normally a session for a de
<SardemFF7>
D-Bus is a protocol, that requires 2 parts to work: a broker, and programs, usually, programs can be divided in two groups: those that provide a service, and those that use services (but they can do both too)
<kibomo>
doesn't wayland have an ipc protocol?
<SardemFF7>
GApplications are providing the service « <me> »
<jadahl>
wayland *is* an IPC protocol
<jadahl>
but so is a unix PIPE, if one tries hard enough
<jadahl>
kibomo: some services expose themself on the system bus, some on the session bus. it depends on what they do. for example networking is a system wide thing, so NetworkManager exposes itself on the system bus. notifications is a per user thing, so the notification daemon exposes itself on the session bus
<emersion>
kibomo: wayland is an IPC for communication between the compositor and its clients only. dbus is a more general IPC mechanism for arbitrary program-to-program communication
<leandrohrb>
yay!!!!! that's awesome news, thank you all for the great job and all the help :)
fmuellner has quit [Ping timeout: 480 seconds]
cvmn has quit [Remote host closed the connection]
<daniels>
leandrohrb: thank you for all your work - I'm so glad we made it in the end :)
leon-p has joined #wayland
<emersion>
leandrohrb: seconded, many thanks!
<daniels>
guess I'll have to retire now
<daniels>
emersion: btw, does wlr have any kind of logging similar to Weston's debug scopes? wondering if there's any way we can compare effectiveness on our backend implementations
<emersion>
unfortunately it does not
<emersion>
it's something we want to add at some point
<emersion>
ah, also wlr will cache dmabuf imports
<emersion>
but it doesn't have the poison stuff you've added to your MR (good idea btw!)
<daniels>
it would be better if it didn't leak refs, but that's neither here nor there :P
<emersion>
did someone hear something about leaked refs?
<daniels>
franchment I've been trying not to hear it whilst on holiday this week
brettgilio has quit [Ping timeout: 480 seconds]
cvmn has joined #wayland
caveman has quit [Ping timeout: 480 seconds]
caveman has joined #wayland
cvmn has quit [Ping timeout: 480 seconds]
novakane has quit [Quit: WeeChat 3.3]
fmuellner has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
<emersion>
hm and now i see that we're having a bug where we still repeatedly import client buffers…
<daniels>
ManMower: ^ is this your doing
<emersion>
i mean in wlroots ^^
<daniels>
I know, bad joke :)
<emersion>
phew :P
<Plagman>
emersion: in which path?
<Plagman>
i haven't seen extraneous imports on our end
<Plagman>
afaik bas' patchset removed the last set
<emersion>
it's in our DRM backend
<Plagman>
ah ok
<emersion>
so yeah gamescope shouldn't be impacted