Expose graphics fallback status to UI with warning
Backend: - Add static atomics to track graphics startup state - Add set_startup_graphics_state() called from main.rs - Add get_graphics_startup_status command for frontend Frontend (SettingsView): - Query graphics startup status on mount - Show prominent red warning in Composition section when using fallback graphics settings - Display recovery command (qbz --reset-graphics) i18n: Add fallbackWarning/fallbackDesc to all 4 locales This helps users understand when graphics settings failed to load and may be causing performance degradation.
This commit is contained in:
1 parent
0d5c50a23a
commit
1959000fd0
8 files changed
+127
No files matched your search
@@ -673,6 +673,8 @@
|
||||
"helpText": "These settings control how QBZ renders the UI. Incorrect settings may cause crashes or poor performance. All options require a restart to take effect.",
|
||||
"recoveryNote": "If QBZ crashes after changing these settings, launch from terminal with:",
|
||||
"recoveryCmd": "QBZ_HARDWARE_ACCEL=0 qbz",
|
||||
"fallbackWarning": "Graphics settings failed to load",
|
||||
"fallbackDesc": "Using safe defaults. This may cause degraded performance. To reset:",
|
||||
"forceX11": "Force X11 backend (Wayland)",
|
||||
"forceX11Desc": "Use XWayland instead of native Wayland. Recommended for NVIDIA GPUs that crash on Wayland.",
|
||||
"gdkScale": "Display scale (XWayland)",
|
||||
|
||||
Reference in new issue
Block a user