From 4a7416b7692a30387e930ad860cc47a27299d641 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Wed, 29 Apr 2026 13:14:54 -0400 Subject: [PATCH] Add --disable-gpu flag to Playwright browser launch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stampli dashboard hangs in the Playwright-managed Chromium due to the GPU process (SwiftShader software renderer) pegging CPU at ~135%. Disabling GPU acceleration works around the issue but does not fully resolve the hang — further investigation needed (see issue). --- stampli_core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stampli_core.py b/stampli_core.py index 76d39a0..961a568 100644 --- a/stampli_core.py +++ b/stampli_core.py @@ -87,6 +87,7 @@ def launch_browser(pw): user_data_dir=str(BROWSER_DATA_DIR), headless=False, viewport={"width": 1400, "height": 900}, + args=["--disable-gpu"], )