Repository navigation
Linux: draw the window where there is no GPU - #164
Merged
Merged
Conversation
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>
This was referenced Dec 2, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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()setsWEBKIT_DISABLE_DMABUF_RENDERER=1before 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.ymlcompiles it on this PR. The screenshot check runs only on av*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