Skip to content

Linux: draw the window where there is no GPU - #164

Merged
Alessandro-Schmidt merged 1 commit into
developfrom
fix/linux-blank-window
Dec 2, 2026
Merged

Alessandro-Schmidt merged 1 commit into
developfrom
fix/linux-blank-window

Conversation

@Alessandro-Schmidt

Copy link
Copy Markdown
Owner

The AppImage catalog's retest of v0.8.1 (AppImage/appimage.github.io#12979) got past glibc: the app starts. But it showed a solid black window with no text. WebKitGTK's DMA-BUF renderer draws nothing where there is no GPU, such as in virtual machines, in the catalog's test and with some drivers.

  • src-tauri/src/lib.rs: on Linux, run() sets WEBKIT_DISABLE_DMABUF_RENDERER=1 before the window opens, unless the user has already set it. This is the usual fix for Tauri apps.
  • release.yml: the Linux launch check used to pass as long as the app kept running. Now it also takes a screenshot under Xvfb, which has no GPU either, and fails if the screen is one flat colour. The next tag then shows whether the fix works before the catalog tests it.

The catalog's other note, that Yeraz starts dark, is only a warning. Vanta stays the default (owner's decision).

Not verified here: there is no Rust or Linux on this machine. desktop.yml compiles it on this PR. The screenshot check runs only on a v* tag, so the v0.8.2 release is the real test.

No visual change in the app, so no screenshots.

Claude Code on behalf of @Alessandro-Schmidt

The AppImage catalog's retest of v0.8.1 started Yeraz but saw a solid black
window: WebKitGTK's DMA-BUF renderer draws nothing without a GPU (virtual
machines, some drivers). run() turns it off on Linux unless the user has set
WEBKIT_DISABLE_DMABUF_RENDERER. release.yml's Linux launch check now also
screenshots the window under Xvfb (no GPU either) and fails on one flat colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Alessandro-Schmidt
Alessandro-Schmidt merged commit b0fce99 into develop Dec 2, 2026
6 checks passed
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.

1 participant