rio: Error when running on linux

I just cloned the repository, and ran cargo build --release and ./target/release/rio.

Here’s the error I got:

xkbcommon: ERROR: couldn't find a Compose file for locale "UTF-8" (mapped to "UTF-8")
thread 'main' panicked at 'Error in Surface::configure: Validation Error

Caused by:
    Parent device is lost
', /home/kavin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.16.1/src/backend/direct.rs:734:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: queue 0x56164ca13890 destroyed while proxies still attached:
  wl_buffer@42 still attached
  wl_buffer@41 still attached
  wl_buffer@40 still attached
  wl_buffer@38 still attached
  wl_buffer@39 still attached
  wl_subsurface@33 still attached
  wl_surface@32 still attached
  wl_subsurface@31 still attached
  wl_surface@30 still attached
  wl_subsurface@29 still attached
  wl_surface@28 still attached
  wl_subsurface@27 still attached
  wl_surface@26 still attached
  wl_subsurface@25 still attached
  wl_surface@24 still attached
  xdg_wm_base@22 still attached
  xdg_activation_v1@14 still attached
  zwp_text_input_manager_v3@13 still attached
  zwp_pointer_constraints_v1@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  wl_seat@10 still attached
  wp_fractional_scale_manager_v1@9 still attached
  wp_viewporter@8 still attached
  wl_subcompositor@7 still attached
  wl_output@6 still attached
  wl_shm@5 still attached
  wl_compositor@4 still attached
  wl_registry@2 still attached

I’m using Wayland on Gnome 44.1 using a Radeon GPU. The same error happens on the aur package.

I’m quite excited to try this project!

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

That’s great!

@FireMasterK latest main has changes in the way theme are configured (compared to old versions) I believe might be that, check in https://raphamorim.io/rio/docs/

Thanks for the update 👌

Great, could try same command with WAYLAND_DISPLAY=wayland-1? looks same issue as here https://github.com/gfx-rs/wgpu/issues/2519