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
xexaxo has joined #wayland
zebrag has joined #wayland
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
leon-p has quit []
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #wayland
Lucretia has quit []
Lucretia has joined #wayland
edrex[m] has joined #wayland
dreda has quit [Ping timeout: 480 seconds]
vivekk has joined #wayland
vivek has quit [Ping timeout: 480 seconds]
boistordu has quit [Remote host closed the connection]
Arnavion has quit [Quit: Arnavion]
zebrag has quit [Quit: Konversation terminated!]
Arnavion has joined #wayland
xexaxo_ has joined #wayland
xexaxo has quit [Ping timeout: 480 seconds]
dreda has joined #wayland
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
rasterman has joined #wayland
dcz_ has joined #wayland
hendursa1 has joined #wayland
hendursaga has quit [Ping timeout: 480 seconds]
vivekk has quit [Ping timeout: 480 seconds]
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #wayland
Net147 has quit [Quit: Quit]
Net147 has joined #wayland
danvet has joined #wayland
xexaxo has joined #wayland
st3r4g has joined #wayland
xexaxo_ has quit [Ping timeout: 480 seconds]
flacks has quit [Quit: Quitter]
flacks has joined #wayland
hardening has joined #wayland
leon-p has joined #wayland
xexaxo has quit [Ping timeout: 480 seconds]
<dottedmag> What's the semantics of "good frame" in wl_surface::frame "Request a notification when it is a good time to start drawing a new frame"? Should the compositor send the event as early as possible after flip, or as late as possible? How does compositor know how much time a client needs to draw its frame?
<dottedmag> *"good time"
<kennylevinsen> Compositor defined
<kennylevinsen> After flip, delayed from flip, entirely disconnected, throttled, all are options
<dottedmag> Interesting, thanks.
dcz_ has quit [Ping timeout: 480 seconds]
<kennylevinsen> If you write general GUI applications you're supposed to not care and just use it, while very sensitive stuff use presentation feedback
<dottedmag> Hah. I wonder what "nanoseconds till next refresh" in wp_presentation_feedback::present means on VRR displays. 0?
<dottedmag> Oh, nevermind, it's in the next sentence: "If the output does not have a constant refresh rate, explicit video mode switches excluded, then the refresh argument must be zero"
<wlb> wayland Issue #86 closed \o/ (Race with destroying of wayland object https://gitlab.freedesktop.org/wayland/wayland/-/issues/86)
<wlb> wayland/main: Derek Foreman * client: Refactor wl_proxy_destroy critical section https://gitlab.freedesktop.org/wayland/wayland/commit/942f1d88431d src/wayland-client.c
<wlb> wayland/main: Derek Foreman * client: Add new proxy marshalling functions with flags https://gitlab.freedesktop.org/wayland/wayland/commit/23e4a7060080 src/ wayland-client-core.h wayland-client.c
<wlb> wayland/main: Derek Foreman * scanner: Use the new atomic marshal/destroy function https://gitlab.freedesktop.org/wayland/wayland/commit/0e0274af0c9f src/scanner.c tests/data/example-client.h tests/data/small-client-core.h tests/data/small-client.h
<wlb> wayland Merge request !162 merged \o/ (Fix race condition when destroying proxies https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/162)
mupuf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mupuf has joined #wayland
xexaxo has joined #wayland
st3r4g_ has joined #wayland
st3r4g has quit [Ping timeout: 480 seconds]
leon-p has quit []
Casablanca has joined #wayland
hendursa1 has quit []
hendursaga has joined #wayland
Erandir has quit [Ping timeout: 480 seconds]
zebrag has joined #wayland
vv221 has joined #wayland
Erandir has joined #wayland
<vv221> Currently running a X server, I’m once again wondering if switching to Wayland could be a good idea. But my current custom-made environment is defined by a ~/.xinitrc file, and I could not find the alternative for that on Wayland side.
<vv221> I guess it would depend on my compositor of choice?
<soreau> you can write a wrapper script to set environment before executing a wayland compositor
Casablanca has quit [Remote host closed the connection]
Casablanca has joined #wayland
nerdopolis has joined #wayland
<vv221> soreau, this is only about environment variables, not running applications?
<vv221> My .xinitrc is not only used to set up some env variables, it includes running some desktop applets, a keybord shortcuts daemon, etc.
<soreau> vv221: right, usually the compositor is responsible for triggering app startup
<vv221> It might be clearer with the actual file as an example: https://paste.debian.net/plain/1206891
Casablanca has quit [Read error: Connection reset by peer]
<vv221> OK, so it would be split into two parts, one for setting the environment, called *before* the compositor, and the application autostars would be handled by the compositor itself?
<vv221> *the applications autostart
leon-p has joined #wayland
nerdopolis_ has joined #wayland
nerdopolis has quit [Read error: Connection reset by peer]
st3r4g_ has quit []
st3r4g has joined #wayland
brain has joined #wayland
<soreau> vv221: yes
<soreau> the difference is that in X, where you can specify the display number when starting it, wayland compositors using libwayland get WAYLAND_DISPLAY picked for them, so there's no way of knowing up front
<LaserEyess> another viable option, though slightly more complicated, is to use systemd user services if your distro supports systemd
<LaserEyess> both gnome and KDE have targets where you can do WantedBy=graphical-session.target (or whatever equivalent) and they'll start
<LaserEyess> environment is not managed that way though, you'd need to handle that yourself
<vv221> I kind of like the systemd approach, if it can work despite not using a graphical session manager.
<vv221> (the current way to start my desktop environment is with startx)
<LaserEyess> well, startx does not exist on wayland, as explained above
<vv221> I know, that’s why I’m asking for pointer on how to emulate its behaviour with Wayland ;)
<LaserEyess> I know GNOME, and maybe KDE, have some hooks to pass some env stuff to systemd when it starts the user service manager
<LaserEyess> and yes the systemd approach can work without a login manager
<LaserEyess> you need to use a wrapper script to do something like `systmed --user start graphical-session.target`
<vv221> OK, I think I get it.
<vv221> It might actually be smarter for me to start by replacing my startx + xinitrc with systemd user services, then only after that I would try to replace X-specific services with new Wayland ones.
<vv221> So I don’t get messing up with two migrations at once.
vivek has joined #wayland
flokli has quit [Ping timeout: 480 seconds]
flokli has joined #wayland
st3r4g has quit [Quit: おやすみ]
tzimmermann has quit [Quit: Leaving]
radu242 has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
leon-p has quit []
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]