-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't start onagre on sway/wayland #67
Comments
I have no idea why your DE is trying to launch onagre with X11 backend.
Let me know if any of the above works for you. I am waiting for pop-os maintainers to publish a library so I can finally make a stable release of onagre, when that's done there will hopefully be some official package for common linux distros. |
Thank you for the suggestions @oknozor . No success so far, unfortunately:
|
Hey @usagi-flow I recently made some updates and I'd like to confirm this is fixed before releasing v1. Would you mind trying to reinstall ( |
Hi, I am currently having this issue with onagre on Hyprland, here is my trace. I use NixOS, and can reproduce this both by installing from nixpkgs and with $ RUST_BACKTRACE=1 onagre
2024-02-01T22:31:22.743488Z INFO onagre: Starting onagre
thread 'main' panicked at /home/jens/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.7/src/platform_impl/linux/mod.rs:757:9:
Failed to initialize any backend! Wayland status: NoWaylandLib X11 status: LibraryOpenError(OpenError { kind: Library, detail: "opening library failed (libX11.so.6: cannot open shared object file: No such file or directory); opening library failed (libX11.so: cannot open shared object file: No such file or directory)" })
stack backtrace:
0: rust_begin_unwind
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2: iced_winit::application::run
3: onagre::app::run
4: onagre::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. I also don't understand why it is unable to use Wayland |
Can you paste the output of |
Here it is: 2024-02-05T18:28:23.066379Z INFO onagre: Starting onagre
thread 'main' panicked at /home/jens/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.7/src/platform_impl/linux/mod.rs:730:26:
Failed to initialize Wayland backend: NoWaylandLib
stack backtrace:
0: rust_begin_unwind
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
3: iced_winit::application::run
4: onagre::app::run
5: onagre::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace |
@JnsJensen are you sure vulkan is correctly installed on your system ? I don't know the specifics for NixOS. |
I am quite certain, however, I am also new to Nix. I have the following in my environment.systemPackages = with pkgs; [
vulkan-tools
...
libqalculate
hyprpaper
hyprland
]; Is there a way for me to 'check' that it is correctly installed? I don't have any other issues or programs exited with anything similar. |
Seems related to rust-windowing/winit#3244. |
Okay so, I had incorrectly assumed that Now I am however, unable to start it with my keybinding from Hyprland, which I have set in
|
This led me to attempt installing onagre through nixpkgs, which with Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-none.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
thread 'main' panicked at /build/cargo-vendor-dir/winit-0.26.1/src/platform_impl/linux/mod.rs:591:26:
Failed to initialize Wayland backend: NoWaylandLib
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: onagre::app::run
4: onagre::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. And after removing the package again, the cargo installation goes back to same not-working state as before. I am probably doing something wrong with nix, but I am perplexed |
You should not try to install Onagre from official repositories, it's not released yet and the current upstream is way ahead of the packaged version. |
Describe the bug
The application doesn't start:
Config
n.a.
To Reproduce
Expected behavior
Onagre starts.
Window manager (please complete the following information):
The text was updated successfully, but these errors were encountered: