Commit 8a41202
committed
fix(linux): prevent AppImage crashes by disabling DMABUF
This addresses a critical crash (EGL_BAD_PARAMETER) observed on Fedora
and other modern Linux distributions when running the AppImage.
The crash is caused by a version mismatch between the AppImage's bundled
libraries and the host system's newer graphics drivers when attempting
hardware acceleration (DMABUF).
Changes:
- Detects if running as an AppImage via the APPIMAGE env var.
- Sets WEBKIT_DISABLE_DMABUF_RENDERER=1 only for AppImage execution,
forcing compatibility mode while preserving full GPU acceleration for
native (.deb/.rpm) builds.
- Reordered logger initialization to ensuring startup logs are captured.
- Removed duplicate auri_plugin_shell initialization.1 parent 20d83bd commit 8a41202
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
81 | | - | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
0 commit comments