ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
narodnik has quit [Ping timeout: 480 seconds]
zvarde1988303206779191685873 has joined #wayland
Drakulix has quit [Ping timeout: 480 seconds]
karenw has quit [Ping timeout: 480 seconds]
garnacho has joined #wayland
Drakulix has joined #wayland
AJC_Z0 has joined #wayland
AJ_Z0 has quit [Read error: Connection reset by peer]
AJC_Z0 is now known as AJ_Z0
yshui has quit [Read error: Connection reset by peer]
narodnik has joined #wayland
yshui has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
yshui has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
zvarde1988303206779191685873 has quit [Quit: Ping timeout (120 seconds)]
zvarde1988303206779191685873 has joined #wayland
zvarde1988303206779191685873 has quit [Quit: Ping timeout (120 seconds)]
zvarde1988303206779191685873 has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Brainium has quit []
Moprius has quit [Remote host closed the connection]
glennk has joined #wayland
zvarde19883032067791916858738 has joined #wayland
zvarde1988303206779191685873 has quit [Ping timeout: 480 seconds]
zvarde19883032067791916858738 is now known as zvarde1988303206779191685873
dcz_ has joined #wayland
zvarde19883032067791916858732 has joined #wayland
zvarde1988303206779191685873 has quit [Ping timeout: 480 seconds]
zvarde19883032067791916858732 is now known as zvarde1988303206779191685873
zvarde19883032067791916858738 has joined #wayland
yshui has joined #wayland
zvarde1988303206779191685873 has quit [Ping timeout: 480 seconds]
zvarde19883032067791916858738 is now known as zvarde1988303206779191685873
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
dcz_ has quit [Read error: Connection reset by peer]
dcz_ has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
bindu has quit [Remote host closed the connection]
Sid127 has joined #wayland
yshui has joined #wayland
ybogdano is now known as Guest21493
ybogdano has joined #wayland
tzimmermann has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
Guest21493 has quit [Ping timeout: 480 seconds]
sima has joined #wayland
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
saumon has quit [Quit: Leaving server]
yshui has joined #wayland
saumon has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
leon-anavi has joined #wayland
garnacho has joined #wayland
yshui has joined #wayland
yshui has quit [Read error: Connection reset by peer]
yshui has joined #wayland
rasterman has joined #wayland
yshui has quit [Read error: Connection reset by peer]
karenw has joined #wayland
yshui has joined #wayland
MrCooper has joined #wayland
yshui has quit [Read error: Connection reset by peer]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
bindu has joined #wayland
feaneron has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
fmuellner has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
yshui has quit [Read error: Connection reset by peer]
yshui has joined #wayland
bindu_ has joined #wayland
bindu has quit [Ping timeout: 480 seconds]
yshui has quit [Ping timeout: 480 seconds]
narodnik has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
fmuellner_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
riteo has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
<pq> leon-p, there is the pixman mailing list IIRC. I think IRC for Pixman used to be on Cairo's channel.
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
<crcl> i'm looking into the state of screensavers (the fancy moving picture kind) on wayland, and i found this https://sr.ht/~mstoeckl/wscreensaver/
<crcl> and i'm wondering: why is it necessary to port these screensavers to wlr-layer-shell? they run perfectly fine in xwayland. is there a technical reason why a wayland screen locker can't open an xwayland window, run a screensaver like this, and display it while the screen is locked?
<crcl> i'm hoping to make a proof-of-concept if it's possible. if this is the wrong place for "developing things for wayland" (as opposed to "developing an implementation of wayland") i'd like a hint for where i should go to ask for help
yshui has joined #wayland
<kennylevinsen> crcl: layer shell is not appropriate for screen locking - wscreensaver is old
<kennylevinsen> This is the appropriate protocol: https://wayland.app/protocols/ext-session-lock-v1
andyrtr has quit [Remote host closed the connection]
<kennylevinsen> The reason that this needs to be used is that screen *locking* is not at all the same as a simple screen saver. Screen locking has security implications, and must be done in a way where the display server *knows* that the session is locked and will enforce the locked state even if a fancy screensaver crashes
andyrtr has joined #wayland
Moprius has joined #wayland
<kennylevinsen> most x11 lockscreens are not safe in that regard, and will likely "fail open" - i.e., just let anyone get access if the lockscreen encounters an issue
<wlb> wayland.freedesktop.org Merge request !101 merged \o/ (ci: use latest Wayland tag across all branches https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/101)
<wlb> wayland.freedesktop.org/main: Simon Ser * ci: use latest Wayland tag across all branches https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/23a5115169c5 .gitlab-ci.yml
<crcl> i'm aware, that's why i'm hoping to be able to use an existing wayland screen locker and make it run screensavers on xwayland
<crcl> to my knowledge, xscreensaver (the x11 screen locker) runs the screensavers as separate programs, no problem if they crash. i'm hoping to have a similar situation in wayland
<pq> crcl, the wayland screen lock would prevent any X11 windows from being visible.
yshui_ has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
<kennylevinsen> crcl: xscreensaver itself crashes, you'll be let in. If an ext-session-lock client crashes, you're shown a dedicated lock failure screen (often just a red color). Fail-open vs. fail-safe.
<kennylevinsen> and when it runs as it should, I assume nothing stops an X11 client from showing itself above the screen saver (intentionally or not), while ext-session-lock guarantees that nothing but the lockscreen is visible until the session is explicitly unlocked
<pq> crcl, xscreensaver programs do run separately, but AFAIK they "lock" the screen by grabbing the input and trying to force their window on the top, hoping to hide anything that might be open. If the program crashes, the "locking" is gone. If another program opens another new X11 window, it might even get on top of the screen saver.
<crcl> i'm aware. i like this quality about ext-session-lock, and i hope to keep it. i don't intend to run xscreensaver "as-is" on wayland. i intend to make a proper ext-session-lock screen locker, that also runs screensavers
<kennylevinsen> It would be possible to create an ext-session-lock "adapter" that embeds a wayland or x11 display server to show anything, but you'd have to figure out how to safely communicate the intentional unlock
<pq> I guess a simple solution would be to hack the Wayland compositor to detect X11 screen saver windows via an X11 window property, and let them show on top.
bindu has joined #wayland
<kennylevinsen> that could also be an option yeah
<pq> you'd also hack out all the "locking" from xscreensaver and set the window property.
<pq> The problem is, any X11 app could set the same property and bypass the lock them.
<pq> *then
bindu_ has quit [Ping timeout: 480 seconds]
<crcl> kennylevinsen: that's very close to what i was imagining
<crcl> i'm wondering whether it's possible for my hypothetical ext-session-lock screen locker to communicate with xwayland, create a x11 window, pass the window id to the screensaver program, and finally embed this window in the surface that gets shown on the screen. then when the user presses a key the ext-session-lock screen locker takes over and checks whether the password is correct
<crcl> (excuse my lack of familiarity with the details of wayland protocols, i haven't developed anything for it yet)
<kennylevinsen> your screen locker would not communicate with an existing Xwayland instance. You would make it a display server itself, running its own Xwayland instance and compositing it onto the ext-session-lock surface, forwarding inputs
<kennylevinsen> Many display servers already support running as a regular (xdg_toplevel) wayland window, so it would be a matter of adapting it to ext_session_lock
<kennylevinsen> but the trick is to *safely* handle unlock - you somehow need the x11 screensaver to have a proper handshake where it says "unlock", instead of just closing its window/disappearing for example
<kennylevinsen> otherwise you still have the same security issue, just with more parts
yshui_ has quit [Ping timeout: 480 seconds]
<crcl> i don't see what you're trying to explain. the screensaver is expected to be a simple graphical program (e.g. galaxies, one of my favourites), and is absolutely not expected to do anything secure
<crcl> i just want a ext-session-lock screen locker to show such a program (xscreensaver happens to have a large repertoire of programs for x11, so i would need xwayland)
<kennylevinsen> A lockscreen is unlocked with user credentials
<crcl> yes
<kennylevinsen> A seession must only unlock correctly if it's 100% sure it received valid credentials, not simply because a screensaver terminated
<crcl> correct
<kennylevinsen> So do you want to implement your own unlocking mechanism entirely orthogonal to xscreensaver, or do you want to use some existing handling it might have?
<vyivel> i don't think they want the locking part at all?
<crcl> i don't want to use the locking features of xscreensaver at all. to put it simply: i want to glue galaxies to swaylock
<kennylevinsen> So your ext-session-lock "adapter" would have its own password prompt and checking and all that, and only use xscreensaver to show pretty bits?
<crcl> exactly!!
<kennylevinsen> that's easier than trying to make xscreensaver safe at least, but still a bit of work
dcz_ has quit [Read error: Connection reset by peer]
dcz_ has joined #wayland
yshui has joined #wayland
MrCooper has quit [Ping timeout: 480 seconds]
<crcl> ok, with this ambiguity out of the way, i'd like to revisit the "adapter" architecture. from my examining of xscreensaver texts, the interface of the pretty bits is simple: set XSCREENSAVER_WINDOW env to a x11 window id, run the program, and the program will draw to that window
<crcl> i don't think this requires running a whole separate instance of xwayland? or does something preclude the ability to read the x11 window contents, copy to the screen locker surface, and show it?
yshui has quit [Ping timeout: 480 seconds]
<pq> crcl, I think that could work.
yshui has joined #wayland
narodnik has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
yshui_ has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
flokli has quit [Quit: WeeChat 4.6.3]
flokli has joined #wayland
feaneron has joined #wayland
yshui_ has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
bitblt_ has joined #wayland
nerdopolis has joined #wayland
bitblt has quit [Ping timeout: 480 seconds]
bitblt_ is now known as bitblt
yshui has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
yshui_ has joined #wayland
yshui has quit [Ping timeout: 480 seconds]
dcz_ has quit [Remote host closed the connection]
dcz_ has joined #wayland
yshui_ has quit [Ping timeout: 480 seconds]
karenw has joined #wayland
iomari891 has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
karenw has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
yshui has joined #wayland
iomari891 has joined #wayland
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
narodnik has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit [Quit: Konversation terminated!]
dcz_ has quit [Remote host closed the connection]
dcz_ has joined #wayland
dcz_ has quit [Read error: Connection reset by peer]
dcz has joined #wayland
kts has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
Moprius has quit []
Moprius has joined #wayland
iomari892 has quit [Read error: Connection reset by peer]
Moprius has quit []
tzimmermann has quit [Quit: Leaving]
Moprius has joined #wayland
Moprius has quit []
Moprius has joined #wayland
Moprius has quit []
dcz has quit [Read error: Connection reset by peer]
dcz has joined #wayland
iomari891 has joined #wayland
leon-anavi has quit [Quit: Leaving]
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
iomari892 has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
kts has quit [Quit: Konversation terminated!]
kts has joined #wayland
dcz_ has joined #wayland
iomari891 has quit [Read error: Connection reset by peer]
dcz has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
dcz_ has quit [Read error: No route to host]
dcz_ has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
iomari892 has quit [Remote host closed the connection]
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
AJ_Z0 has quit [Ping timeout: 480 seconds]
glennk has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
karenw has joined #wayland
AJ_Z0 has joined #wayland
kts has quit [Quit: Leaving]
agd5f has quit [Remote host closed the connection]
iomari891 has joined #wayland
glennk has joined #wayland
dcz_ has quit [Quit: Konversation terminated!]
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
DodoGTA has quit [Read error: Connection reset by peer]
iomari892 has quit [Ping timeout: 480 seconds]
DodoGTA has joined #wayland
Moprius has joined #wayland
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
iomari891 has quit [Read error: Connection reset by peer]
iomari891 has joined #wayland
iomari892 has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
iomari892 has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
iomari893 has joined #wayland
iomari892 has quit [Read error: Connection reset by peer]
iomari891 has quit [Remote host closed the connection]
iomari892 has joined #wayland
iomari893 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
iomari892 has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
melnary has quit [Remote host closed the connection]
eluks has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
eluks has quit [Remote host closed the connection]
eluks has joined #wayland
melnary has joined #wayland