devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Doesn't work under Wayland

Open t0msk opened this issue 1 year ago • 4 comments

I use Arch Linux, GNOME + Wayland, I installed DevPod using flathub, when I launch it I get this error:

flatpak run sh.loft.devpod
Gdk-Message: 20:56:49.355: Error 71 (Protocol error) dispatching to Wayland display.

If I try to remove Wayland socket using Flatseal and keep only x11 I get:

flatpak run sh.loft.devpod
Gtk-Message: 20:56:32.217: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:56:32.218: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:56:32.440: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:56:32.441: Failed to load module "canberra-gtk-module"
Failed to create GBM buffer of size 1200x800: Invalid argument

It launches but window is blank and I dont see anything like this:

Image

t0msk avatar Aug 03 '25 19:08 t0msk

Hi there!

I experienced this issue in Debian 13 and Arch with some applications (especially AppImages). This is a known issue reported in Tauri. In fact I had this issue in X.Org too.

A workaround is to set one of these environment variables to 1:

  • WEBKIT_DISABLE_DMABUF_RENDERER
  • WEBKIT_DISABLE_COMPOSITING_MODR
  • WEBKIT_DISABLE_COMPOSITING_MODE

If you have a NVIDIA dedicated GPU, __NV_PRIME_RENDER_OFFLOAD=1 will be the best option and you will not have to deal with WebKit issues.

I hope that this will help you.

See ya!

f8th-io avatar Sep 10 '25 12:09 f8th-io

I just experienced this issue and first found the aforementioned issue https://github.com/tauri-apps/tauri/issues/10702 in the Tauri repository.

WEBKIT_DISABLE_DMABUF_RENDERER=1 dev-pod-desktop works. WEBKIT_DISABLE_COMPOSITING_MODR=1 dev-pod-desktop crashes. WEBKIT_DISABLE_COMPOSITING_MODE=1 dev-pod-desktop works. __NV_PRIME_RENDER_OFFLOAD=1 dev-pod-desktop crashes.

bannert1337 avatar Oct 10 '25 11:10 bannert1337

This issue is stale because it has been open for 60 days with no activity. It will be closed in 30 days on inactivity.

github-actions[bot] avatar Jul 13 '26 02:07 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Aug 13 '26 02:08 github-actions[bot]