Skip to content

add WEBKIT_DISABLE_DMABUF_RENDERER for wayland#193

Merged
Abdenasser merged 1 commit intoAbdenasser:mainfrom
oleksandr-zhyhalo:fix-wayland-178
Jan 7, 2026
Merged

add WEBKIT_DISABLE_DMABUF_RENDERER for wayland#193
Abdenasser merged 1 commit intoAbdenasser:mainfrom
oleksandr-zhyhalo:fix-wayland-178

Conversation

@oleksandr-zhyhalo
Copy link
Contributor

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

  • 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:

  1. Run npm run tauri dev on a Wayland system without any environment variables
  2. Application starts successfully without the "Error 71 (Protocol error)" message
  3. Verified the fix only applies on Wayland (checks XDG_SESSION_TYPE)
  4. 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.

Related Issues

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings

@oleksandr-zhyhalo
Copy link
Contributor Author

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)

@Abdenasser
Copy link
Owner

Abdenasser commented Jan 5, 2026

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!

@oleksandr-zhyhalo
Copy link
Contributor Author

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!

Signed.

@Abdenasser Abdenasser merged commit dc22a9f into Abdenasser:main Jan 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App fails to start

2 participants