Repository navigation
fix(desktop): Linux window draws on nouveau too, start check waits for the first frame (#10) - #13
Draft
aniruddhaadak80 wants to merge 2 commits into
Draft
aniruddhaadak80 wants to merge 2 commits into
aniruddhaadak80 wants to merge 2 commits into
Conversation
…r the first frame (#10) - nouveau-only systems start in software graphics mode (LIBGL_ALWAYS_SOFTWARE, Skia CPU), the reporter's GT 730 stayed empty with DMA-BUF and GPU compositing off - the page tells the shell when its first frame is on screen (of_boot_ok); the watchdog waits for that instead of the page load and moves up one mode at a time: standard, safe, software - at the last mode it offers the same tools in the web browser instead of an empty window - OPENFILE_GPU=1 no longer restarts in a loop; user WEBKIT_*/LIBGL_* values still win on relaunch - graphics logic moved to linux_gpu.rs with unit tests; CI runs them, requires the first-frame line and checks software mode draws on every Linux target - troubleshooting and changelog updated
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…e on Fedora Wayland
This branch has not been deployed
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.
Follow-up for #10. The reporter's machine (GeForce GT 730, nouveau driver, Fedora 44 GNOME Wayland) still showed an empty window on 1.2.0 with both
WEBKIT_DISABLE_DMABUF_RENDERER=1andWEBKIT_DISABLE_COMPOSITING_MODE=1, so the fix on main (0d3c530) is not enough for nouveau.What changes
LIBGL_ALWAYS_SOFTWARE=1andWEBKIT_SKIA_ENABLE_CPU_RENDERING=1on top of the safe-mode variables. Hybrid laptops (Intel or AMD beside nouveau) keep hardware drawing.of_boot_ok, sent from the inline script inindex.htmlafter two animation frames) instead of the page load event, because a page can load and still draw nothing.OPENFILE_GPU=1and a stuck window the old watchdog restarted forever, because the new process keptOPENFILE_GPU=1.main.rstolinux_gpu.rswith unit tests (level parsing, old marker files, nouveau detection from sysfs, plans, variables).Tests
rustc --test -D warnings).OpenFile: first frame drawn, and also start in software mode (OPENFILE_SAFE_GPU=2) with a non-blank window.fallback-check.mjschecks the page sendsof_boot_okexactly once inside the app, and nothing on the web.Docs: troubleshooting (both copies) and changelog.