EGL_BAD_PARAMETER white screen error - cc-switch
Quick fix
Install the native .deb or AUR package instead, or run the AppImage with LD_PRELOAD pointing at the system library, to resolve the ABI conflict.
Symptom
Section titled “Symptom”Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...The problem comes from the WebKitGTK, GTK, or GLib libraries bundled in the AppImage conflicting at the ABI level with the host system's newer display server protocol (Wayland/X11), graphics driver, or system libraries. When WebKitGTK tries to create a default display through the host's Mesa/EGL libraries, mismatched parameters or environment make the initialisation fail, hanging the render process, whiting out the interface, and throwing this error. On newer distributions such as Ubuntu 26.04 it is also accompanied by GIO module load failures, because the bundled older GLib is incompatible with the host GVFS modules.
Install the native package (recommended): uninstall the AppImage and install the .deb package or AUR (cc-switch-bin). A native package calls the host system's WebKitGTK and GLib directly, avoiding the ABI conflict entirely.
Preload the system library with LD_PRELOAD: if you must use the AppImage, preload the host Wayland client library in a terminal to work around the conflict, for example LD_PRELOAD=/usr/lib/libwayland-client.so ./CC-Switch-v3.17.0-Linux-x86_64.AppImage.
Use the CLI build: if the GUI problem cannot be resolved on your distribution, use the headless command-line build cc-switch-cli.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 6 real issues
- #487在openSUSE系统上启动显示白屏
- #2943[Bug] Linux on X11/i3 shows blank window and aborts with EGL_BAD_PARAMETER on Intel UHD 620
- #2950WSL2更新后出现白屏
- #5609[Bug] Linux Wayland 环境下启动崩溃抛出 EGL_BAD_PARAMETER 错误
- #5659[Bug] v3.18.0 Linux X11 白屏 — NVIDIA + WebKitGTK 2.50.4,v3.17.0 正常
- #5912AppImage blank window on Ubuntu 26.04 (GLib/GIO ABI mismatch with host GVFS)
- Why do I still see undefined symbol: g_task_set_static_name on newer systems such as Ubuntu 26.04?
- Because the AppImage bundles older GLib/GIO libraries that are ABI-incompatible with the host system's newer GVFS modules. Switching to the .deb package resolves it.
- The interface feels sluggish after starting with LD_PRELOAD. What now?
- Preloading system libraries can cost performance. Install the native build through AUR (cc-switch-bin) or the .deb package for the smoothest result.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.