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
@@ -663,6 +663,8 @@
|
||||
"helpText": "Diese Einstellungen steuern, wie QBZ die Benutzeroberflaeche rendert. Falsche Einstellungen koennen zu Abstuerzen oder schlechter Leistung fuehren. Alle Optionen erfordern einen Neustart.",
|
||||
"recoveryNote": "Falls QBZ nach dem Aendern dieser Einstellungen abstuerzt, starte vom Terminal mit:",
|
||||
"recoveryCmd": "QBZ_HARDWARE_ACCEL=0 qbz",
|
||||
"fallbackWarning": "Grafikeinstellungen konnten nicht geladen werden",
|
||||
"fallbackDesc": "Sichere Standardwerte werden verwendet. Dies kann zu verringerter Leistung fuehren. Zum Zuruecksetzen:",
|
||||
"forceX11": "X11-Backend erzwingen (Wayland)",
|
||||
"forceX11Desc": "XWayland statt nativem Wayland verwenden. Empfohlen fuer NVIDIA-GPUs mit Wayland-Abstuerzen.",
|
||||
"gdkScale": "Anzeigeskalierung (XWayland)",
|
||||
|
||||
@@ -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)",
|
||||
|
||||
@@ -673,6 +673,8 @@
|
||||
"helpText": "Estos ajustes controlan como QBZ renderiza la interfaz. Una configuracion incorrecta puede causar crashes o bajo rendimiento. Todas las opciones requieren reiniciar.",
|
||||
"recoveryNote": "Si QBZ crashea despues de cambiar estos ajustes, ejecuta desde terminal:",
|
||||
"recoveryCmd": "QBZ_HARDWARE_ACCEL=0 qbz",
|
||||
"fallbackWarning": "Los ajustes graficos no se pudieron cargar",
|
||||
"fallbackDesc": "Usando valores predeterminados seguros. Esto puede causar rendimiento degradado. Para resetear:",
|
||||
"forceX11": "Forzar X11 (Wayland)",
|
||||
"forceX11Desc": "Usar XWayland en lugar de Wayland nativo. Recomendado para GPUs NVIDIA con crashes en Wayland.",
|
||||
"gdkScale": "Escala de pantalla (XWayland)",
|
||||
|
||||
@@ -663,6 +663,8 @@
|
||||
"helpText": "Ces parametres controlent comment QBZ rend l'interface. Des parametres incorrects peuvent causer des crashes ou une mauvaise performance. Toutes les options necessitent un redemarrage.",
|
||||
"recoveryNote": "Si QBZ plante apres avoir modifie ces parametres, lancez depuis le terminal avec :",
|
||||
"recoveryCmd": "QBZ_HARDWARE_ACCEL=0 qbz",
|
||||
"fallbackWarning": "Les parametres graphiques n'ont pas pu etre charges",
|
||||
"fallbackDesc": "Utilisation des valeurs par defaut securisees. Cela peut causer une performance degradee. Pour reinitialiser :",
|
||||
"forceX11": "Forcer le backend X11 (Wayland)",
|
||||
"forceX11Desc": "Utiliser XWayland au lieu du Wayland natif. Recommande pour les GPU NVIDIA avec des crashes sous Wayland.",
|
||||
"gdkScale": "Echelle d'affichage (XWayland)",
|
||||
|
||||
Reference in new issue
Block a user