[PR #474] fix(linux): disable WebKit DMA-BUF renderer to prevent Wayland crash #3323

Open
opened 2026-07-15 02:02:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/474
Author: @Charlisim
Created: 6/16/2026
Status: 🔄 Open

Base: mainHead: fix/wayland-webkit-dmabuf-crash


📝 Commits (2)

  • f5d5d82 fix(linux): disable WebKit DMA-BUF renderer to prevent Wayland protocol error
  • 5bbaaaa fix(linux): disable Nvidia explicit sync on Wayland to prevent WebKit crash

📊 Changes

1 file changed (+12 additions, -0 deletions)

View changed files

📝 crates-tauri/yaak-app-client/src/main.rs (+12 -0)

📄 Description

Summary

On Nvidia GPUs running Wayland, WebKit2GTK's DMA-BUF renderer triggers a protocol error (71) due to an explicit sync conflict between WebKit's ANGLE implementation and Nvidia's egl-wayland library. This sets `__NV_DISABLE_EXPLICIT_SYNC=1` only when Nvidia drivers are active and a Wayland display is present, avoiding the crash without disabling hardware acceleration.

Submission

  • This PR is a bug fix or small-scope improvement.
  • If this PR is not a bug fix or small-scope improvement, I linked an approved feedback item below.
  • I have read and followed CONTRIBUTING.md.
  • I tested this change locally.
  • I added or updated tests when reasonable.

Approved feedback item (required if not a bug fix or small-scope improvement):

WebKit upstream bug: https://bugs.webkit.org/show_bug.cgi?id=280210


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/474 **Author:** [@Charlisim](https://github.com/Charlisim) **Created:** 6/16/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/wayland-webkit-dmabuf-crash` --- ### 📝 Commits (2) - [`f5d5d82`](https://github.com/mountain-loop/yaak/commit/f5d5d82084c2fc900cde4a4a91b0eb85d1e60f0b) fix(linux): disable WebKit DMA-BUF renderer to prevent Wayland protocol error - [`5bbaaaa`](https://github.com/mountain-loop/yaak/commit/5bbaaaa2c1d9b74e87621373701088d3739ee4b4) fix(linux): disable Nvidia explicit sync on Wayland to prevent WebKit crash ### 📊 Changes **1 file changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates-tauri/yaak-app-client/src/main.rs` (+12 -0) </details> ### 📄 Description ## Summary On Nvidia GPUs running Wayland, WebKit2GTK's DMA-BUF renderer triggers a protocol error (71) due to an explicit sync conflict between WebKit's ANGLE implementation and Nvidia's egl-wayland library. This sets \`__NV_DISABLE_EXPLICIT_SYNC=1\` only when Nvidia drivers are active and a Wayland display is present, avoiding the crash without disabling hardware acceleration. ## Submission - [x] This PR is a bug fix or small-scope improvement. - [ ] If this PR is not a bug fix or small-scope improvement, I linked an approved feedback item below. - [x] I have read and followed [`CONTRIBUTING.md`](CONTRIBUTING.md). - [x] I tested this change locally. - [ ] I added or updated tests when reasonable. Approved feedback item (required if not a bug fix or small-scope improvement): <!-- https://yaak.app/feedback/... --> ## Related WebKit upstream bug: https://bugs.webkit.org/show_bug.cgi?id=280210 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 02:02:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#3323