Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,25 @@ Be kind and respectful to the members of the community. Take time to educate oth

**Linux** — install system dependencies:

***Ubuntu/Debian based***

```bash
sudo apt-get install -y \
libwebkit2gtk-4.1-dev libssl-dev \
libayatana-appindicator3-dev librsvg2-dev \
patchelf libasound2-dev
```
***Fedora/Redhat based***

```bash
sudo dnf install -y \
webkit2gtk4.1-devel \
openssl-devel \
libayatana-appindicator-gtk3-devel \
librsvg2-devel \
patchelf \
alsa-lib-devel
```

**macOS / Windows** — no extra system dependencies required.

Expand Down
9 changes: 9 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

fn main() {
// WebKitGTK's DMABUF renderer crashes on Wayland with NVIDIA drivers
// ("Error 71 (Protocol error) dispatching to Wayland display").
// Must run before GTK/WebKit init and before any threads are spawned.
// An explicit user value is respected (e.g. =0 to re-enable DMABUF).
#[cfg(target_os = "linux")]
if std::env::var_os("WEBKIT_DISABLE_DMABUF_RENDERER").is_none() {
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
}

pomotroid_lib::run()
}