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
rv1sr has quit []
hardening has quit [Ping timeout: 480 seconds]
Dami-star has quit [Ping timeout: 480 seconds]
Dami_Lu has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
manuel1985 has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
Brainium_ has quit []
julio7359 has quit []
Company has quit [Quit: Leaving]
julio7359 has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
ahartmetz has quit [Quit: Konversation terminated!]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #wayland
genpaku has quit [Remote host closed the connection]
genpaku has joined #wayland
doppo has quit [Remote host closed the connection]
doppo has joined #wayland
genpaku has quit [Read error: Connection reset by peer]
doppo has quit [Read error: Connection reset by peer]
genpaku_ has joined #wayland
doppo has joined #wayland
genpaku_ is now known as genpaku
ppascher has joined #wayland
<hays> what is the relationship between libEGL.so and wayland-egl.so ?
<hays> its freaking weird--mali has a blob specifically for "wayland-gbm" but even with gbm only you get EGL and GLES support. so if wayland-egl.so is broken.. like what's that shared library for exactly.. very confused
molinari has joined #wayland
tlwoerner_ has quit []
tlwoerner has joined #wayland
molinari has quit [Ping timeout: 480 seconds]
kts has joined #wayland
dcz has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
Net147 has quit [singleton.oftc.net coherence.oftc.net]
ishanjain has quit [singleton.oftc.net coherence.oftc.net]
Net147 has joined #wayland
ishanjain has joined #wayland
Guest2668 has joined #wayland
Guest2668 has quit []
Net147 has quit [singleton.oftc.net coherence.oftc.net]
ishanjain has quit [singleton.oftc.net coherence.oftc.net]
Net147 has joined #wayland
ishanjain has joined #wayland
kts has quit [Quit: Leaving]
kts has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
rasterman has joined #wayland
molinari has joined #wayland
ahartmetz has joined #wayland
junaid has joined #wayland
hardening has joined #wayland
<pq> hays, IIRC, libwayland-egl.so is just a little API extension to libEGL which is the actual implementation of anything significant required for the EGL Wayland platform. I don't think libwayland-egl.so implements anything, it just forwards to the EGL stack. So swapping out libwayland-egl.so doesn't change anything.
<pq> hays, of course, this is the upstream version of libwayland-egl.so I'm talking about. I have no idea if the Mali vendor version does something totally different.
<pq> but if it does, then swapping that one lib would just break things more
<pq> hays, I do know, that the EGL Wayland platform simply cannot work without a good libwayland-egl.so.
junaid has quit [Remote host closed the connection]
<pq> hays, know nothing about any proprietary EGL implementation, but originally EGL was meant to be built for a single platform at a time. So you'd have different binaries for X11, another set for Wayland, yet another set for running without a window system (e.g. fbdev or GBM). Obviously that doesn't really work out, so nowadays the same Mesa EGL binaries support multiple platforms, but who knows about Mali.
<pq> *I know
<pq> vanfanel, the problem with the surface flag is that how do you know to unset the flag in every case where it's needed?
manuel1985 has joined #wayland
<pq> vanfanel, a weston_surface may theoretically have multiple weston_views, and it's up to shell which ones of those should be allowed to trigger pointer confinement and when.
<pq> vanfanel, another thing I don't know about is how pointer confinement works with multiple seats. Theoretically each seat with a pointer could confine independently of each other. So having a weston_seat maintain a notion of the weston_view that can get confinement seems like a good option.
<pq> We can probably exclude the possibility that multiple views would be eligible for confiment at the same time on the same seat.
d42 has quit [Read error: Connection reset by peer]
d42 has joined #wayland
<hays> pq: thanks. that is exactly the situation with Mali. There are 4 libraries. one for "gbm" one for each for X11 or wayland +gbm, then one with all three, which reportedly is broken.
<hays> I was reading last night, and I think maybe what the mali vendor is doing is they have modified wayland with a patch to allow you to configure it NOT to produce that shared library with the intent they provide it themselves.
<hays> I had been manually deleting the wayland-produced .so via makefile scripting, so maybe I should try to "disable" it instead.. not sure it will make a difference
<hays> Thanks for the info. I know its a bit out of scope for this channel
kts has quit [Quit: Leaving]
Brainium has joined #wayland
Leopold has quit [Remote host closed the connection]
danvet has joined #wayland
Leopold_ has joined #wayland
Vanfanel has joined #wayland
<Vanfanel> pq: After the last ideas you gave me (using a surface pointer in the weston_seat, using serialization...), since they won't work using multiple seats, wouldn't be good idea to use a flag in the weston_surface instead as I initially said? Something like "bool allow_pointer_confinement", that would be set when the surface is both active and fullscreen.
<Vanfanel> Also, can someboy *please* explain me what a weston_surface and a weston_view are exactly? Looking at the code, it's not clear
<Vanfanel> And how a weston_view and a weston_surface relate to each other, too, please
Szadek has quit [Quit: WeeChat 3.8]
<SardemFF7> Vanfanel: it’s not the full explaination but a weston_surface is the weston structure that represents the wl_surface Wayland object, I think 1:1
<SardemFF7> (weston_desktop_surface represents xdg_surface/xdg_toplevel/xdg_popup and the shell_surface is the shell-specific part of xdg_toplevel)
<SardemFF7> a weston_view is an internal implementation detail of Weston, you can see it a “a mapping of a weston_surface somewhere in the Weston scenegraph”
<SardemFF7> usually there is 1 “main” weston_view for a weston_surface, the “window” you interact with
<SardemFF7> but for some features, like a window picker, you can have another weston_view so it can be scaled down, and not interactive (so you cannot e.g. type text in a window directly from the picker)
<SardemFF7> or you can duplicate the same window twice and both being interactive (it could be an implementation detail of a shell having multiple workspaces)
<DodoGTA> Why do Wayland apps that freeze for too long crash with "error in client communication"?
<daniels> DodoGTA: if they’re still receiving e.g. mouse input events from the compositor, they’ll likely get killed when the socket buffer fills up because they’re not reading events
thevar1able has quit [Remote host closed the connection]
thevar1able has joined #wayland
cvmn has joined #wayland
caveman has quit [Ping timeout: 480 seconds]
<DodoGTA> daniels: So how can I prevent this? Run blocking code in a separate thread?
<emersion> depends what your blocking code does
<emersion> if it's a blocking read(), for instance, it can be integrated in your event loop instead
Brainium has quit [Quit: Konversation terminated!]
ahartmetz has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
___nick___ has joined #wayland
luc4 has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
cnsvc has quit [Quit: %bye%]
cnsvc has joined #wayland
___nick___ has joined #wayland
<daniels> SardemFF7: more timeouts to eventd.org
<emersion> i can host the bot if you'd prefer
sav10 has joined #wayland
sav10 has quit [Remote host closed the connection]
<SardemFF7> oh, found something, it hits 1024 fds, somehow the connection is not properly closed (local haproxy->webhook handler connection)
<SardemFF7> emersion: if you’re asking me, I’d love to fix the issue and continue to host it, but if others feel like it’d be better I don’t mind :-)
<wlb> wayland.freedesktop.org Merge request !51 opened by Michel Dänzer (daenzer) Spell Xwayland consistently https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/51
<wlb> wayland.freedesktop.org/main: Michel Dänzer * Spell Xwayland consistently https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/commit/ebcb953236ca building.html faq.html xserver.html
<wlb> wayland.freedesktop.org Merge request !51 merged \o/ (Spell Xwayland consistently https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/merge_requests/51)
<wlb> wayland Merge request !290 opened by Jeremy Huddleston Sequoia (jeremyhu) Misc portability improvements to help bring wayland to darwin https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/290
<emersion> sure, just making sure you're not annoyed by it
<SardemFF7> not in the least, I’ll even add an auto-restart as a workaround for now, should mitigate the issue
Brainium has quit [Quit: Konversation terminated!]
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
<hays> emersion: seems like mali blob is supposed to work with wayland version of .so https://patchwork.ozlabs.org/project/buildroot/patch/20220924210221.1490924-1-thomas.petazzoni@bootlin.com/
Szadek has joined #wayland
sav10 has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
<Vanfanel> SardemFF7: So, in another words, a weston_surface represents the internal abstract resources of a "canvas" (a place to draw images into), and a weston_view is a surface representation (because I understand a surface can be represented in different ways). Am I right? Just trying to confirm I understand your explanation
fmuellner has joined #wayland
<jadahl> Vanfanel: weston_surface represents the logical representation of a wl_surface, i.e. a buffer + state about how to present it from clients. weston_view is a (possibly one of many) scene graph view of a weston_surface that describes how and where on the screen it should be shown
<jadahl> there is no "canvas" where weston can draw anything to anything, it's only ready and complete buffers that are provided by clients
<jadahl> or, well, there is one canvas, and that is the screen estate it composits to, i.e. what ends up on your monitor
<Vanfanel> jadahl: ok, I understand now. So a wl_surface can have multiple wl_view(s), and only one of them has been clicked on a given moment, right?
Brainium has joined #wayland
<jadahl> Vanfanel: more or less yes
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
molinari has quit [Ping timeout: 480 seconds]
MooMoo has joined #wayland
<MooMoo> I'm not sure if the wayland (or the wlroots) protocols allow for this. With say for example pcmanfm/pcmanfm-qt it's trivial to take over the desktop and allow stuff like icons or whatever. I think what pcmanfm/pcmanfm-qt does is put a large window or something over the root window. How would that be possible under wayland? Because according to the github, pcmanfm-qt works fine under wayland.
MooMoo has quit [Quit: Page closed]
Leopold__ has joined #wayland
Leopold_ has quit [Ping timeout: 480 seconds]
luc4 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
julio7359 has joined #wayland
kts has quit [Quit: Leaving]
Brainium has quit [Quit: Konversation terminated!]
junaid has joined #wayland
the_sea_peoples has joined #wayland
Leopold__ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
sav10 has quit [Remote host closed the connection]
rv1sr has quit []
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]
sav10 has joined #wayland
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
<Vanfanel> jadahl: ok, thanks! Looking at maybe_enable_pointer_constraint() in libweston/input.c, it seems to select a view from a surface. Can a surface have more than one fullscreen view? Is there a way to know if a view is fullscreen?
<jadahl> Vanfanel: in theory you have two views fullscreen on separate monitors
<jadahl> in practice, unlikely...
junaid has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
luc4 has joined #wayland
floof58 is now known as Guest2726
floof58 has joined #wayland
Guest2726 has quit [Ping timeout: 480 seconds]
sav10 has quit []
alarumbe has quit [Ping timeout: 480 seconds]
alarumbe has joined #wayland
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland