Skip to content

fix(whispering): disable webkit hardware acceleration under remote di…#2314

Open
Adityakk9031 wants to merge 1 commit into
EpicenterHQ:mainfrom
Adityakk9031:#2082
Open

fix(whispering): disable webkit hardware acceleration under remote di…#2314
Adityakk9031 wants to merge 1 commit into
EpicenterHQ:mainfrom
Adityakk9031:#2082

Conversation

@Adityakk9031

@Adityakk9031 Adityakk9031 commented Jul 3, 2026

Copy link
Copy Markdown

WebKitGTK crashes with SIGILL (Illegal Instruction) when the app is launched inside an XRDP or VNC session on Ubuntu 24.04. The crash happens because the compositing and DMABUF renderer paths attempt to execute hardware-accelerated GPU instructions; software rasterizers like llvmpipe JIT-compile code that exercises instruction set extensions the virtualized CPU does not support, and the process terminates before the webview initializes.

The fix sets WEBKIT_DISABLE_COMPOSITING_MODE and WEBKIT_DISABLE_DMABUF_RENDERER at process start on Linux when the environment signals a remote or virtual display: presence of XRDP_SESSION, VNCSESSION, a non-zero DISPLAY socket (:1, :10, etc.), or XDG_SESSION_CLASS=remote. Both variables are skipped when already set by the user, so anyone who wants to override the behavior still can.

Closes #2082.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Illegal instruction (core dumped)

1 participant