You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR fixes the Wayland protocol error that causes the application to crash on Linux systems running Wayland display server, particularly with NVIDIA proprietary drivers.
Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Tested on the following configuration:
OS: Arch Linux (kernel 6.17.9-arch1-1)
Display Server: Wayland
Desktop Environment: Hyprland
GPU: NVIDIA with proprietary drivers
Test Steps:
Run npm run tauri dev on a Wayland system without any environment variables
Application starts successfully without the "Error 71 (Protocol error)" message
Verified the fix only applies on Wayland (checks XDG_SESSION_TYPE)
Verified the fix does not affect X11 systems
Root Cause
The issue is caused by WebKitGTK's DMA-BUF renderer being incompatible with Wayland on NVIDIA proprietary drivers when using transparent windows. This is a known upstream issue tracked in WebKit Bug #262607.
Hey, I tried to install neohtop but faced the same issue described in #178.
The app now starts without crashing on Wayland.
For related issues and alternative solutions, you might see tauri-apps/tauri#9394 (comment)
Hey, I tried to install neohtop but faced the same issue described in #178. The app now starts without crashing on Wayland. For related issues and alternative solutions, you might see tauri-apps/tauri#9394 (comment)
looks good, thank you @oleksandr-zhyhalo .. would be great if your commits have verified signatures!
Hey, I tried to install neohtop but faced the same issue described in #178. The app now starts without crashing on Wayland. For related issues and alternative solutions, you might see tauri-apps/tauri#9394 (comment)
looks good, thank you @oleksandr-zhyhalo .. would be great if your commits have verified signatures!
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
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.
Description
This PR fixes the Wayland protocol error that causes the application to crash on Linux systems running Wayland display server, particularly with NVIDIA proprietary drivers.
Fixes #178
Type of change
How Has This Been Tested?
Tested on the following configuration:
Test Steps:
npm run tauri devon a Wayland system without any environment variablesXDG_SESSION_TYPE)Root Cause
The issue is caused by WebKitGTK's DMA-BUF renderer being incompatible with Wayland on NVIDIA proprietary drivers when using transparent windows. This is a known upstream issue tracked in WebKit Bug #262607.
Related Issues
Checklist: