feat(flatpak): work around nvidia driver compatibility by setting WEBKIT_DISABLE_DMABUF_RENDERER=1 (#742)

On
  GPU: NVIDIA GeForce RTX 4060 Ti
  Driver Version: 580.95.05, CUDA Version: 13.0
on Ubuntu 22.04 one sees
  $ flatpak run org.eigenwallet.app
  Gtk-Message: 12:51:00.306: Failed to load module "canberra-gtk-module"
  Gtk-Message: 12:51:00.306: Failed to load module "canberra-gtk-module"
  Gtk-Message: 12:51:00.551: Failed to load module "canberra-gtk-module"
  Gtk-Message: 12:51:00.552: Failed to load module "canberra-gtk-module"
  Failed to create GBM buffer of size 800x700: Invalid argument
  2025-11-01T09:51:00.990998736Z INFO swap::common::tracing_util: swap/src/common/tracing_util.rs:225: Initialized tracing. General logs will be written to swap-all.log, and verbose logs to tracing*.log level_filter=debug logs_dir=/home/user/.var/app/org.eigenwallet.app/data/xmr-btc-swap/cli/mainnet/logs
and the window opens, but never populates

This is the most-commonly-mentioned workaround

Closes: #665
This commit is contained in:
наб 2025-11-24 12:33:59 +01:00 committed by GitHub
parent 4a07bad80d
commit e8b45e9c48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 3 deletions

View file

@ -233,7 +233,8 @@ jq --arg deb_path "$DEB_FILE" --arg PWD "$PWD" '
"type": "file",
"path": $deb_path
} |
.modules[0].sources[1].path = $PWD + "/" + .modules[0].sources[1].path
.modules[0].sources[1].path = $PWD + "/" + .modules[0].sources[1].path |
.modules[0].sources[2].path = $PWD + "/" + .modules[0].sources[2].path
' "$MANIFEST_FILE" > "$TEMP_MANIFEST"
MANIFEST_FILE="$TEMP_MANIFEST"