From 98c08d51c4a0f02429fc9e938eb723237123ec4f Mon Sep 17 00:00:00 2001 From: jianf <2198972886@qq.com> Date: Mon, 17 Aug 2026 23:02:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20re-enable=20hardware=20acceleration?= =?UTF-8?q?=20=E2=80=94=20remove=20blanket=20disableHardwareAcceleration()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/gui/main.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/gui/main.js b/cmd/gui/main.js index 6b025a3..42b161f 100644 --- a/cmd/gui/main.js +++ b/cmd/gui/main.js @@ -649,12 +649,6 @@ ipcMain.handle("shell:openPath", (_, p) => { // window control from renderer uses preload -> ipcMain above // ---------- bootstrap ---------- -// Defensive GPU handling: Electron's Chromium GPU process is a frequent -// source of hard crashes (SIGSEGV) on Linux, especially on hybrid-GPU and -// Wayland setups. The GUI host is an LLM management shell — a software -// renderer is perfectly fine. Must run before app.whenReady. -app.disableHardwareAcceleration(); - const gotLock = app.requestSingleInstanceLock(); if (gotLock) { app.on("second-instance", () => {