From c49a0c0374347db058118f81929523273e1fb833 Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Thu, 2 Jul 2026 17:10:28 +0200 Subject: [PATCH] Set disable-gpu-process-crash-limit flag for CEF One of our top OBS crashers is CEF crashing the process if the GPU process crashes too much. Until we can figure out why the GPU is crashing so much for some users, avoid crashing OBS entirely and just have broken browser sources instead. --- browser-app.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser-app.cpp b/browser-app.cpp index 5d2c4dc76..0e4b8f68c 100644 --- a/browser-app.cpp +++ b/browser-app.cpp @@ -97,6 +97,9 @@ void BrowserApp::OnBeforeCommandLineProcessing(const CefString &, CefRefPtrAppendSwitchWithValue("ozone-platform", wayland ? "wayland" : "x11"); #endif + + // If the GPU crashes too much, don't crash OBS as well - better to just have broken sources + command_line->AppendSwitch("disable-gpu-process-crash-limit"); } std::vector exposedFunctions = {"getControlLevel", "getCurrentScene", "getStatus",