Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to start the NymVPN client under EndeavourOS either results in black app window or crash using Wayland #2105

Open
snek opened this issue Feb 10, 2025 · 3 comments

Comments

@snek
Copy link

snek commented Feb 10, 2025

Describe the issue
Trying to start the NymVPN client under EndeavourOS either results in black app window or crash.

Expected behaviour
I expect the client interface to be shown

Stack Traces
Using wayland seeing this error:

Gdk-Message: 07:52:40.174: Error 71 (Protocol error) dispatching to Wayland display.

Forcing GDK backend results in no errors

Steps to Reproduce
Steps to reproduce the behaviour, if you're familiar with BDD syntax, please write it in this style:

  • Given I am running EndeavourOS using Wayland when I start the nymvpn client from the command line then the application window fails to be shown and the program quits immediately
  • Given I am running EndeavourOS using Wayland when I start the nymvpn client from the command line forcing GDM GDK_BACKEND=x11 nym-vpn-app then the application window shows but is empty/blank

Screenshots
Image

Which area of Nym were you using?

  • Application: NymVPN client
  • OS: EndeavourOS (Linux 6.12.10-arch1-1)
  • Version: nym-vpn-app 1.1.0
@snek snek marked this as a duplicate of nymtech/nym#5402 Feb 10, 2025
@doums
Copy link
Contributor

doums commented Feb 10, 2025

Hi @snek can you try running from the terminal using

WEBKIT_DISABLE_DMABUF_RENDERER=1 GDK_BACKEND=x11 nym-vpn-app

and let me know if it works?

Also can you share the logs you get (if any) when you launch it without any custom env variables, from the terminal?
The app should work on Wayland, out of the box.

@snek
Copy link
Author

snek commented Feb 15, 2025

Hi @doums adding WEBKIT_DISABLE_DMABUF_RENDERER=1 does indeed solve the problem.

Here are the logs when I just start the client without the env vars

2025-02-15T06:04:46.105937Z  INFO nym_vpn_app: app version: 1.3.0
2025-02-15T06:04:46.105946Z  INFO nym_vpn_app: Starting tauri app
2025-02-15T06:04:46.138654Z  INFO nym_vpn_app: app setup
2025-02-15T06:04:46.138661Z  INFO nym_vpn_app: Creating k/v embedded db
2025-02-15T06:04:46.138673Z  INFO new: nym_vpn_app::fs::path: app data dir: /home/snek/.local/share/nym-vpn-app
2025-02-15T06:04:46.138678Z  INFO new: nym_vpn_app::db: opening db at /home/snek/.local/share/nym-vpn-app/db
2025-02-15T06:04:46.160727Z  INFO new: nym_vpn_app::db: using existing db at /home/snek/.local/share/nym-vpn-app/db
2025-02-15T06:04:46.269517Z  WARN set_max_size: nym_vpn_app::window: failed to get current monitor details
2025-02-15T06:04:46.269531Z  INFO nym_vpn_app::fs::path: app config dir: /home/snek/.config/nym-vpn-app
2025-02-15T06:04:46.276372Z  INFO new: nym_vpn_app::grpc::client: using grpc IPC transport: /run/nym-vpn.sock
2025-02-15T06:04:46.277838Z  INFO nym_vpn_app: starting vpnd health spy
2025-02-15T06:04:46.277844Z  INFO nym_vpn_app: starting vpn tunnel spy
2025-02-15T06:04:46.278095Z  INFO tunnel_state: nym_vpn_app::grpc::client: tunnel state Disconnected
2025-02-15T06:04:46.285120Z  INFO watch:update_vpnd_info: nym_vpn_app::grpc::client: vpnd version: 1.3.1
2025-02-15T06:04:46.285129Z  INFO watch:update_vpnd_info: nym_vpn_app::grpc::client: network env: mainnet
2025-02-15T06:04:46.285132Z  INFO watch:update_vpnd_info: nym_vpn_app::grpc::client: updated user agent: UserAgent { application: "NymVPN", version: "1.3.0 (1.3.1)", platform: "linux; Rolling Release; x86_64", git_commit: "484788a (b6e8bafcc8505eee6fd9261bc0d62c086d291620)" }
2025-02-15T06:04:46.285142Z  INFO watch:get_vpnd_status: nym_vpn_app::grpc::client: daemon version compatibility check OK serving=Serving vpnd_info=Some(VpndInfo { version: "1.3.1", network: "mainnet" })
2025-02-15T06:04:46.285693Z  INFO update_vpnd_info: nym_vpn_app::grpc::client: vpnd version: 1.3.1
2025-02-15T06:04:46.285701Z  INFO update_vpnd_info: nym_vpn_app::grpc::client: network env: mainnet
2025-02-15T06:04:46.285706Z  INFO update_vpnd_info: nym_vpn_app::grpc::client: updated user agent: UserAgent { application: "NymVPN", version: "1.3.0 (1.3.1)", platform: "linux; Rolling Release; x86_64", git_commit: "484788a (b6e8bafcc8505eee6fd9261bc0d62c086d291620)" }
2025-02-15T06:04:46.506157Z  INFO js: nym_vpn_app::commands::log: starting UI
2025-02-15T06:04:46.521420Z  INFO daemon_status:check:get_vpnd_status: nym_vpn_app::grpc::client: daemon version compatibility check OK serving=Serving vpnd_info=Some(VpndInfo { version: "1.3.1", network: "mainnet" })
2025-02-15T06:04:46.521466Z  INFO get_tunnel_state:tunnel_state: nym_vpn_app::grpc::client: tunnel state Disconnected
2025-02-15T06:04:46.521889Z  INFO is_account_stored: nym_vpn_app::commands::account: account stored: false
2025-02-15T06:04:46.526543Z  INFO js: nym_vpn_app::commands::log: show main window
2025-02-15T06:04:46.534887Z  INFO js: nym_vpn_app::commands::log: no entry country saved, using default {"name":"Switzerland","code":"CH"}
2025-02-15T06:04:46.534911Z  INFO js: nym_vpn_app::commands::log: no exit country saved, using default {"name":"Switzerland","code":"CH"}
2025-02-15T06:04:46.534994Z  INFO js: nym_vpn_app::commands::log: network env changed mainnet, clearing cache
Gdk-Message: 07:04:46.593: Error 71 (Protocol error) dispatching to Wayland display.

I saw this error once afterwards as well

** (WebKitWebProcess:98462): ERROR **: 06:56:08.449: WebProcess didn't exit as expected after the UI process connection was closed

@snek
Copy link
Author

snek commented Feb 15, 2025

Seems it's all related to this bug

https://bugs.webkit.org/show_bug.cgi?id=261874

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

No branches or pull requests

2 participants