Skip to content

fix: disable explicit sync on NVIDIA Wayland - #7222

Open
Peaks2000 wants to merge 2 commits into
modrinth:mainfrom
Peaks2000:fix/linux-nvidia-wayland
Open

fix: disable explicit sync on NVIDIA Wayland#7222
Peaks2000 wants to merge 2 commits into
modrinth:mainfrom
Peaks2000:fix/linux-nvidia-wayland

Conversation

@Peaks2000

Copy link
Copy Markdown

Summary:\n- Set __NV_DISABLE_EXPLICIT_SYNC=1 automatically on Linux when running on Wayland with NVIDIA loaded.\n- Added early startup hook for Linux in apps/app/src/main.rs and added apps/app/src/linux.rs.\n- Added unit tests for decision logic to keep behavior safe.\n\nWhy:\n- NVIDIA + Wayland + WebKit render path can trigger crashes in some environments.\n- This mirrors a known stable workaround while preserving explicit user overrides when the variable is already set.\n\nValidation:\n- Unit tests pass for the new decision path.

@github-actions

Copy link
Copy Markdown
Contributor

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@shunoni

shunoni commented Aug 19, 2026

Copy link
Copy Markdown

Looks cool you can merge if it’s stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants