You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have on a Bluefin (Fedora Silverblue derivative) aurora-dx-nvidia:stable Linux host running on a Lenovo Legion 5 Pro 16ACH6H laptop (Nvidia mobile GeForce RTX 3070) with KDE Plasma 6.1.2 on Wayland.
I create a Wolfi container from the following distrobox.ini:
The project builds OK, but trying to run it results in an error saying xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb; "XKBNotFound":
📦[trs@rust bevy_quickstart]$ RUST_BACKTRACE=1 WINIT_UNIX_BACKEND=wayland cargo run --release
Finished `release` profile [optimized] target(s) in 0.17s
Running `target/release/bevy_quickstart`
warning: some trace filter directives would enable traces that are disabled statically
note: `info` would enable the INFO level for all targets
note: the static max level is `warn`
help: to enable INFO logging, remove the `max_level_warn` feature from the `tracing` crate
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
thread 'main' panicked at /home/trs/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.4/src/platform_impl/linux/wayland/seat/keyboard/mod.rs:300:41:
called `Result::unwrap()` on an `Err` value: XKBNotFound
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: winit::platform_impl::linux::wayland::seat::<impl smithay_client_toolkit::seat::SeatHandler for winit::platform_impl::linux::wayland::state::WinitState>::new_capability
4: <smithay_client_toolkit::seat::SeatState as wayland_client::event_queue::Dispatch<wayland_client::protocol::wl_seat::WlSeat,smithay_client_toolkit::seat::SeatData,D>>::event
5: wayland_client::event_queue::queue_callback
6: wayland_client::event_queue::EventQueue<State>::dispatching_impl
7: wayland_client::event_queue::EventQueue<State>::blocking_dispatch
8: wayland_client::event_queue::EventQueue<State>::roundtrip
9: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::new
10: winit::platform_impl::linux::EventLoop<T>::new_wayland_any_thread
11: winit::platform_impl::linux::EventLoop<T>::new
12: <bevy_winit::WinitPlugin<T> as bevy_app::plugin::Plugin>::build
13: std::panicking::try
14: bevy_app::app::App::add_boxed_plugin
15: bevy_app::plugin_group::PluginGroupBuilder::finish
16: bevy_app::app::App::add_plugins
17: <bevy_quickstart::AppPlugin as bevy_app::plugin::Plugin>::build
18: std::panicking::try
19: bevy_app::app::App::add_boxed_plugin
20: bevy_quickstart::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
I'm able to get past this issue if I copy the missing directory from the host into the container:
distrobox-host-exec tar -C /usr/share/X11 -cf- xkb | sudo tar -C /usr/share/X11/ -xvf -
(I then run into a problem with ALSA not finding a sound card, and with WaylandSurface failed: ERROR_OUT_OF_HOST_MEMORY, but I haven't tried to work through that quite yet.)
So my question after all this is, why is /usr/share/X11/xkb not populated, and what packages do I need to add to get them? I tried adding the following, but it didn't help:
I found a similar report at neovide/neovide#2293 but it appears to have just been a missing dependency on libxkbcommon. I've tried adding that package in Wolfi and it doesn't seem to help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I have on a Bluefin (Fedora Silverblue derivative)
aurora-dx-nvidia:stable
Linux host running on a Lenovo Legion 5 Pro 16ACH6H laptop (Nvidia mobile GeForce RTX 3070) with KDE Plasma 6.1.2 on Wayland.I create a Wolfi container from the following
distrobox.ini
:and the command
distrobox assemble create -n rust && distrobox enter rust
.Once in the container, I want to work on a Rust project using the Bevy game engine. To start, I get the basic template from the bevy project:
The project builds OK, but trying to run it results in an error saying
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb; "XKBNotFound"
:I'm able to get past this issue if I copy the missing directory from the host into the container:
distrobox-host-exec tar -C /usr/share/X11 -cf- xkb | sudo tar -C /usr/share/X11/ -xvf -
(I then run into a problem with ALSA not finding a sound card, and with
WaylandSurface failed: ERROR_OUT_OF_HOST_MEMORY
, but I haven't tried to work through that quite yet.)So my question after all this is, why is
/usr/share/X11/xkb
not populated, and what packages do I need to add to get them? I tried adding the following, but it didn't help:I found a similar report at neovide/neovide#2293 but it appears to have just been a missing dependency on
libxkbcommon
. I've tried adding that package in Wolfi and it doesn't seem to help.Thanks for any help!
Tim
Beta Was this translation helpful? Give feedback.
All reactions