Off-Topic > Off-Topic - Tiny Core Lounge

wayland compositors and mesa

(1/2) > >>

GNUser:
I'm trying to understand the relationship between wayland compositors and mesa. Not to solve a problem, just to understand.

In TCL17 x86_64 repo, I see that weston.tcz, sway.tcz, and labwc.tcz all have libEGL, libGLESv2, and mesa in their dependency tree.

On the other hand, woodland.tcz does not have libGLESv2, libEGL, or mesa in its dependency tree.

Based on this - https://wayland.freedesktop.org/docs/html/ch03.html - it seems all wayland compositors need EGL/GLES2?

Is woodland.tcz.dep missing one or more dependencies? Or maybe it's only the compositors that use hardware (vs. software) rendering for better performance that need EGL/GLES2/mesa?

GNUser:
My theory is that the more minimalistic compositors don't need/want maximum performance, therefore they don't need hooks directly into graphics hardware, therefore they don't need EGL/GLES2/mesa. Is this correct? If I'm wrong, please do me a favor and correct me :)

Juanito:
I seem to recall weston has a pixman option that doesn’t use gpu acceleration, but the last time I tried it libEGL didn’t need libgallium and now it does.

Does labwc build without mesa gpu acceleration?

GNUser:

--- Quote from: Juanito on March 12, 2026, 05:31:02 PM ---Does labwc build without mesa gpu acceleration?

--- End quote ---
I'm not sure. I will try to find out.

GNUser:
Hi Juanito. I discovered, from a labwc developer, that labwc does not depend on egl / gles / mesa / llvm at all.
https://github.com/labwc/labwc/issues/3449#issuecomment-4054474465

I did some experiments and can confirm that. It's full-fat wlroots that has these dependencies.

In TCL17 x86_64 repo, can you please move these dependencies out of labwc.tcz.dep and into wlroots-0.19.tcz.dep?

--- Code: ---libGLESv2.tcz
libEGL.tcz
--- End code ---

In other words, corrected labwc.tcz.dep should look like this:

--- Code: ---Xorg-fonts.tcz
libinput.tcz
dbus.tcz
wlroots-0.19.tcz
graphics-KERNEL.tcz
librsvg.tcz
--- End code ---

and corrected wlroots-0.19.tcz.dep should look like this:

--- Code: ---liblcms2.tcz
libdisplay-info.tcz
wayland-protocols.tcz
seatd.tcz
libvulkan.tcz
libGLESv2.tcz
libEGL.tcz
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version