-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update options docs to clarify linux webview gpu defaults #4162
base: master
Are you sure you want to change the base?
Conversation
WalkthroughThe pull request updates the documentation in the configuration file for version v2.10. Specifically, the Linux option for Changes
Possibly related PRs
Suggested reviewers
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
website/versioned_docs/version-v2.10/reference/options.mdx (1)
1067-1071
: Enhanced Default Values Documentation for GPU Policy
The updated section now explicitly documents that while Windows and macOS useWebviewGpuPolicyAlways
, Linux defaults toWebviewGpuPolicyNever
. This clarification is beneficial for users comparing Linux behavior against other OSes. To further improve clarity, consider adding a brief note explaining the rationale—such as performance issues encountered with hardware acceleration in Linux environments—for users who might wish to override this default.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
website/versioned_docs/version-v2.10/reference/options.mdx
(2 hunks)
🔇 Additional comments (1)
website/versioned_docs/version-v2.10/reference/options.mdx (1)
127-131
: Linux GPU Policy Default Update
The Linux options now setWebviewGpuPolicy
tolinux.WebviewGpuPolicyNever
. This change clearly indicates that GPU hardware acceleration is disabled by default on Linux. Given the performance concerns raised with Pixi.js, this update mitigates confusion by aligning the documentation with the actual defaults used in Linux builds.
Thanks 🙏 Please could you add an entry to the changelog located at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
website/src/pages/changelog.mdx (1)
19-19
: Clarify the Updated Default Value in the Changelog EntryThe changelog entry clearly indicates that the documentation for
WebviewGpuPolicy
on Linux was updated in [#4162]. For extra clarity, consider including the specific default value (i.e.,WebviewGpuPolicyNever
) directly in the entry. This extra detail can help users immediately understand that Linux builds now disable GPU acceleration by default, which is central to the PR's objective.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
website/src/pages/changelog.mdx
(1 hunks)website/versioned_docs/version-v2.10/reference/options.mdx
(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- website/versioned_docs/version-v2.10/reference/options.mdx
|
Done. I thought that was only for code changes - my bad! I also added a bit more context to the documentation changes. Thank you! |
Description
I noticed a significant performance degradation when working with Pixi.js on my wails app vs the browser. Community members on Discord helped me figure out that hardware acceleration is disabled by default for linux builts - this is documented in code but not reflected on the docs.
wails-performance.mp4
Please let me know if I need to include more details.
Fixes # (issue)
N/A
Type of change
Please select the option that is relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.If you checked Linux, please specify the distro and version.
Test Configuration
Please paste the output of
wails doctor
. If you are unable to run this command, please describe your environment in as much detail as possible.N/A: Docs Change
Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
WebviewGpuPolicy
for Linux, referencing pull request Update options docs to clarify linux webview gpu defaults #4162.