Commit 28df469
fix: GDK_BACKEND=x11 in main() vor GTK-Init – EGL-Crash auf Wayland+AMD
Kernproblem: GDK wird in app_lib::run() initialisiert. Env-Vars die erst
in setup() gesetzt werden kommen für den eigenen Prozess zu spät – GDK
ignoriert GDK_BACKEND nach der Initialisierung.
Lösung: GDK_BACKEND=x11 in main() BEVOR app_lib::run() → GTK/GDK
initialisiert sich mit X11-Backend (GLX statt EGL) → eglGetDisplay wird
nicht aufgerufen → kein EGL_BAD_PARAMETER auf Mesa 26 + AMD.
KDE Plasma hat immer XWayland → X11-Backend funktioniert auf allen
Wayland-Systemen mit KDE.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 99b3468 commit 28df469
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
6 | 14 | | |
0 commit comments