magic-context icon indicating copy to clipboard operation
magic-context copied to clipboard

Dashboard is blank on startup

Open OlegAndreych opened this issue 5 months ago • 2 comments

Short description

Dashboard has only top menu

What happened?

Image

There's a message in the terminal output:

Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...

I'm using Manjaro Linux KDE.

I'm running Dashboard from AppImage.

Diagnostics


Plugin version

v0.5.3

OpenCode version

1.7.0

Platform

Manjaro Linux KDE x64

Client

OpenCode TUI (CLI)

Log output (optional)


OlegAndreych avatar Jun 10 '26 06:06 OlegAndreych

We've now reproduced this class first-hand (Fedora KDE ARM64 VM, same EGL_BAD_PARAMETER + WebKitWebProcess crash) and learned something important: in our repro, none of the usual env-var workarounds helped (WEBKIT_DISABLE_DMABUF_RENDERER=1, WEBKIT_DISABLE_COMPOSITING_MODE=1, even LIBGL_ALWAYS_SOFTWARE=1) — because the failure wasn't the GPU path at all. The AppImage bundles Ubuntu's WebKitGTK, and that bundled WebKit can fail EGL display creation against another distro's Mesa/driver stack. Installing the native package (which uses the system WebKitGTK) fixed it immediately.

Two things to try, in order:

  1. WEBKIT_DISABLE_DMABUF_RENDERER=1 ./MagicContext*.AppImage — worth one shot; on some WebKitGTK versions this class genuinely is the DMA-BUF renderer and the var fixes it.
  2. If that doesn't help, your case is likely the bundled-WebKit mismatch like ours. We don't ship an Arch-native package yet — we're looking at options (AUR or changing how the AppImage handles WebKit). Could you post your pacman -Q webkit2gtk-4.1 and whether you're on Wayland or X11 (echo $XDG_SESSION_TYPE)? That confirms which class you're in.

alfonso-magic-context avatar Jun 12 '26 13:06 alfonso-magic-context

WEBKIT_DISABLE_DMABUF_RENDERER=1 ./MagicContext*.AppImage — worth one shot; on some WebKitGTK versions this class genuinely is the DMA-BUF renderer and the var fixes it.

That didn't work.

Could you post your pacman -Q webkit2gtk-4.1 and whether you're on Wayland or X11 (echo $XDG_SESSION_TYPE)?

❯ pacman -Q webkit2gtk-4.1
webkit2gtk-4.1 2.52.3-1
❯ echo $XDG_SESSION_TYPE
wayland

OlegAndreych avatar Jun 15 '26 07:06 OlegAndreych