User: [email protected]
Usertags: powerpc ppc64
X-Debbugs-CC: [email protected]
Hi,
On Wed, 2026-09-02 at 17:13 +0700, Jeroen Diederen wrote:
> EGL is disabled by the Debian Mesa packaging on ppc64.
>
> Without EGL enabled, Mesa does not work correctly on ppc64.
> In particular, the resulting Mesa installation is not usable
> for normal EGL-based graphics applications.
>
> I have tested this on real ppc64 hardware (PowerPC 970/iMac G5).
> Adding the following to debian/rules fixes the problem:
>
> ```
> ifeq ($(DEB_HOST_ARCH), ppc64)
> confflags += -Degl=enabled
> endif
> ```
>
> With this change, Mesa 26.2.1 builds successfully and the resulting
> Mesa installation works correctly on ppc64.
>
> The attached patch, mesa-egl-ppc64.patch, adds this ppc64-specific
> configuration.
>
> Please enable EGL when building Mesa for ppc64.
I'm surprised that the flag -Degl=enabled would be needed given the
configure output already mentions that it is [1]:
EGL
Enabled : YES
Drivers : builtin:egl_dri2 builtin:egl_dri3
Platforms : x11 wayland surfaceless drm xcb
Also, I wonder why this wouldn't be needed for powerpc.
Adrian
> [1]
> https://buildd.debian.org/status/fetch.php?pkg=mesa&arch=ppc64&ver=26.1.6-1&stamp=1787561977&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913