Repository navigation
Conversation
Describe CPU painting for both tiles and accelerated ImageBuffers, retain the explicit GPU override, and remove the separate software OpenGL advice. Use the current release's AppImage filename in the override example. Assisted-by: OpenAI Codex
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.
Skia GPU painting retains substantial GPU-buffer allocations in the Linux dashboard. Default
WEBKIT_SKIA_ENABLE_CPU_RENDERINGto1before Tauri starts, preserving any explicit value. This moves Skia tiles and accelerated ImageBuffers such as filters to CPU painting while leaving GPU compositing and asynchronous scrolling available. Compositing and DMA-BUF rendering are not disabled.The README documents the GPU-rendering override and hardware/version-dependent tradeoffs. It does not recommend forcing software OpenGL.
Validation
pnpm install --frozen-lockfile,pnpm test: 34 passed, including the ten Linux startup cases. Node 22.16.0, pnpm 9.15.9, rustc 1.85.1. The fixture compiles and executes the actual entry point with a stub library; using unchanged current-main startup code instead fails the eight cases requiring the CPU default while preserving the two explicit-override cases.pnpm build: passed.git diff --check: passed. No new full native Tauri build is claimed.1(B). This isolates the rendering choice in the current release; these are not measurements of a rebuilt PR binary. The startup fixture separately verifies that this PR selects B.Three fresh launches per arm on each machine, in the fixed order A B B A A B; all twelve recorded runs retained. The table shows medians across three per-run results, with the run range in parentheses. GPU-buffer totals and PSS are MiB; CPU values are CPU-seconds over the measured scroll phase.
Median GPU-buffer totals fall 45% on Intel and 54% on AMD in these fixtures. Intel has 24 MiB of cross-client shared-buffer accounting in both modes; AMD reports none. PSS varies separately and is not added to GPU-buffer totals or represented as total physical-memory savings. No energy or battery-life improvement is claimed.
All twelve runs have 18 ms p99
requestAnimationFrameintervals, no interval above 50 ms, stable application/WebKit process IDs, and full-page warmup coverage. The six top-of-page PNG snapshots are byte-identical within each machine. These checks support the rendering choice in this scene; animation-callback pacing is not physical presentation timing or an input-latency measurement.Reproduction protocol and limits
Codex.Switcher_0.2.22_amd64.AppImage, SHA-256bb37a37bd02e25e393fbfa09660d39071c0c3e449a6d38833098e6a2767cc16b, matching the GitHub release digest on both machines. Extracted and launched through its unchangedAppRun.8086:46b3, i915, kernel7.3.4-x64v3-xanmod1; AMD PCI1002:15bf, amdgpu, kernel7.3.3-x64v3-xanmod1. WebKit DRM engine counters advance in both rendering modes.drm-total-*regions once per PCI device/client ID, deduplicating repeated file descriptors. Shared buffers can still appear in multiple clients. They are driver-accounting totals, not unique physical GPU-memory ownership. Process PSS is reported separately. Desktop/test-compositor resources are excluded.