MarkPad 2.6.11 AppImage does not start on Linux.
🐞 Bug Report
Describe the bug
MarkPad 2.6.11 AppImage does not start on Linux. The application immediately exits with an EGL error and no GUI window appears. The issue happens consistently on my system.
To Reproduce
Steps to reproduce the behavior:
- Download
Markpad_2.6.11_amd64.AppImage - Make it executable:
chmod +x Markpad_2.6.11_amd64.AppImage - Run the AppImage:
./Markpad_2.6.11_amd64.AppImage - See error in terminal and app exits immediately
Expected behavior
The application should launch normally and open the MarkPad editor window.
Screenshots
Not applicable (application fails to launch before any UI appears).
Device
- OS: CachyOS (Arch Linux based)
- Desktop: GNOME
- Session: Wayland (also tested on X11)
- GPU: Intel Arc Graphics (Mesa driver)
- App Version: v2.6.11 (Markpad_2.6.11_amd64.AppImage)
Additional context
The application fails with:
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
When extracting the AppImage and running the binary directly, an additional error appears:
Unable to spawn child process:
././/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitNetworkProcess
(No such file or directory)
This suggests that WebKitGTK subprocess paths inside the AppImage are broken or incorrectly packaged.
I also tested multiple workarounds without success:
--disable-gpu--no-sandboxGDK_BACKEND=x11LIBGL_ALWAYS_SOFTWARE=1WEBKIT_DISABLE_COMPOSITING_MODE=1WEBKIT_DISABLE_DMABUF_RENDERER=1
System graphics stack is working correctly (Mesa Intel Arc), and other GTK/WebKit applications run normally.
any success with 2.7.0?
@heyobscion — 2.7.0 will not have helped, and now we know why rather than guessing.
@LargeModGames tracked it down in #463 (merged): the release job pinned libwebkit2gtk-4.1-0=2.44.0-2, so the AppImage bundled WebKitGTK 2.44.0, and that version fails EGL initialisation against a modern Mesa — Could not create default EGL display: EGL_BAD_PARAMETER, no window, process exits. The usual WEBKIT_DISABLE_DMABUF_RENDERER=1 / WEBKIT_DISABLE_COMPOSITING_MODE=1 workarounds do not help because the abort comes from the bundled library itself. He verified it by rebuilding with the pin removed and running the repackaged AppImage on real hardware.
Worth knowing which artifact this affects: only the AppImage. The .deb declares Depends: libwebkit2gtk-4.1-0, so it links whatever WebKitGTK your system has rather than carrying one — .deb and .rpm were never exposed to this. If you want a working build before the next release, either of those should run today.
@alecdotdev — the fix is a CI change, so it only takes effect the next time the release job runs; there is no way for anyone to confirm it from the current assets. I think that argues for a 2.7.1 fairly soon rather than waiting. The reasoning, for whatever it is worth:
- The AppImage does not start at all on affected systems. That is different in kind from the other four things sitting unreleased on
master(#462, #464, #465, #468), which all improve an application that already runs. - 2.7.0 shipped today, so the number of people meeting this is going up rather than down.
- The change itself is six lines in
build.ymland touches no application code, so the risk to the other platforms is close to nil.
One caveat if you do cut it: since the fix lives in the build, the resulting AppImage is the first artifact that can be tested. Worth having @LargeModGames or @heyobscion confirm the published file starts before it is announced, rather than assuming the rebuild carried the intended version.
Not urgent from my side and I have nothing queued behind it — your call entirely.
@heyobscion — the cause of this was found and fixed by @LargeModGames in #463, and I want to be straight about where it stands: the fix is merged but it has not reached a download yet.
build.yml was pinning the WebKitGTK packages to =2.44.0-2, so the AppImage bundled a WebKitGTK built against a Mesa that no longer matches what it runs on — which is the EGL failure you saw. #463 unpins them:
- libwebkit2gtk-4.1-0=2.44.0-2 \
+ libwebkit2gtk-4.1-0 \
The reason it is not downloadable yet is that #463 changed the release workflow, and that workflow only runs when a release is cut. Nothing rebuilds the AppImage in between, so v2.7.0 on the releases page still contains the old pin. It becomes real in 2.7.1.
@alecdotdev — this is in #496 as the reason I would not let 2.7.1 wait. An app that does not start at all is a worse failure than the antivirus false-positive in #466, and this has been open since 2.6.11.
I have deliberately not closed this. Once 2.7.1 is out it is worth a build to confirm on your own machine rather than taking my word from reading a diff.
building 2.7.1 now
I tested the published Markpad_2.7.1_amd64.AppImage on real hardware (Arch, Intel, Mesa 26.1.6), since the fix could only be confirmed from the built artifact. Reporting before anyone assumes it from the diff.
2.7.1 still does not start usably. The window now opens but stays blank white, and the WebKit WebProcess aborts with the same error as before:
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
Note the symptom shifted from 2.6.11 ("no window, process exits") to "window appears, blank, WebProcess aborts". Same EGL abort, different shape, so please do not read a visible window as success.
#463 did land and is correct. The published AppImage bundles WebKitGTK 2.52.3, confirmed by dlopening the bundled library and reading webkit_get_*_version, not the old 2.44.0. So the version pin is fixed. The remaining failure has a second, independent cause.
The remaining cause: the AppImage also bundles libwayland-client.so.0 from the ubuntu-24.04 runner, which shadows the host's newer copy and breaks host libEGL. Removing only that one bundled library makes the full UI render. I filed it with full evidence and single-library isolation as #498.
For anyone who needs a working build today: the .deb and .rpm still work, since they depend on the host WebKit.
On why my #463 check did not catch this: I verified by rebuilding on Arch, so linuxdeploy bundled Arch's libwayland-client (matching the host) and could not reproduce the mismatch. The ubuntu-24.04 release build bundles the older one. I will follow up with the packaging fix on #498.