feat: add persistent Force X11 setting for Wayland crash workaround
Add a toggle in Settings > Appearance to force X11 (XWayland) backend on Wayland sessions. Persisted in graphics_settings.db, env var QBZ_FORCE_X11=1|0 overrides for crash recovery. Also fixes the display server log to report effective GDK backend instead of session type.
This commit is contained in:
1 parent
d3d719c609
commit
0f31dcd310
9 files changed
+83
-8
No files matched your search
@@ -663,6 +663,8 @@
|
||||
},
|
||||
"hardwareAcceleration": "Hardware acceleration (GPU)",
|
||||
"hardwareAccelerationDesc": "Enable GPU-accelerated rendering. Disabled by default for maximum compatibility. If QBZ crashes on startup after enabling, run: QBZ_HARDWARE_ACCEL=0 qbz",
|
||||
"forceX11": "Force X11 backend (Wayland)",
|
||||
"forceX11Desc": "Use X11 (XWayland) instead of native Wayland. Helps with crashes on some NVIDIA/Wayland setups. Requires restart. Override: QBZ_FORCE_X11=0 qbz",
|
||||
"tray": {
|
||||
"title": "System Tray",
|
||||
"enableTray": "Enable tray icon",
|
||||
|
||||
Reference in new issue
Block a user