Closed reloadedd closed 1 month ago
Can't see any related issues on the egui
(GUI framework) or glutin
(windowing/OpenGL). It has to be either of those doing something strange, or more likely some issue in Plasma 6
Will see if anyone else using egui
has also faced this, though again I'm more inclined to blame the update.
I can confirm I have the exact same error as @reloadedd
RUST_BACKTRACE=full ./legion-kb-rgb
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message: called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 8 frames hidden ⋮
9: core::panicking::panic::h195fc2a96298d4c3
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127
10: glutin::api::egl::surface::<impl glutin::api::egl::display::Display>::create_window_surface::h4a80eb44243c2108
at <unknown source file>:<unknown line>
11: <glutin::display::Display as glutin::display::GlDisplay>::create_window_surface::h51b39e0cf10ded44
at <unknown source file>:<unknown line>
12: eframe::native::run::glow_integration::GlutinWindowContext::on_resume::hd90ec52472d8eb8f
at <unknown source file>:<unknown line>
13: <eframe::native::run::glow_integration::GlowWinitApp as eframe::native::run::WinitApp>::on_event::hcb2f791d4eec11e8
at <unknown source file>:<unknown line>
14: eframe::native::run::run_and_return::{{closure}}::h6ab3318b82b39d43
at <unknown source file>:<unknown line>
15: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return::h4b0bb354c270042f
at <unknown source file>:<unknown line>
16: eframe::native::run::with_event_loop::h21057128cff3356f
at <unknown source file>:<unknown line>
17: eframe::native::run::glow_integration::run_glow::h574154da0301e6e3
at <unknown source file>:<unknown line>
18: eframe::run_native::hfc568a146bd065e6
at <unknown source file>:<unknown line>
19: legion_kb_rgb::main::h4f2cd5353315b61e
at <unknown source file>:<unknown line>
20: std::sys_common::backtrace::__rust_begin_short_backtrace::h8d19eac5420f060e
at <unknown source file>:<unknown line>
21: std::rt::lang_start::{{closure}}::h2e5a4ce76a5e010d
at <unknown source file>:<unknown line>
22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd95060ecd5e1ca24
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284
23: std::panicking::try::do_call::h6e8cf51db32a6e4b
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
24: std::panicking::try::h3a52eefe24fe3c29
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
25: std::panic::catch_unwind::h24c28c23c02c3841
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
26: std::rt::lang_start_internal::{{closure}}::h705d3c9cbc06ef47
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
27: std::panicking::try::do_call::ha21f52ba13158470
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
28: std::panicking::try::h5581346bf6aeb1f8
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
29: std::panic::catch_unwind::h7919645a6b72e25b
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
30: std::rt::lang_start_internal::h12de51168669836e
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
31: std::rt::lang_start::h2209dd1f8ebf3985
at <unknown source file>:<unknown line>
32: __libc_start_main<unknown>
at <unknown source file>:<unknown line>
33: _start<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
warning: queue 0x612ccf9dae50 destroyed while proxies still attached:
xdg_wm_base@28 still attached
wl_output@15 still attached
zwp_text_input_manager_v3@14 still attached
xdg_activation_v1@13 still attached
wl_subcompositor@12 still attached
zwp_relative_pointer_manager_v1@11 still attached
zwp_pointer_constraints_v1@10 still attached
wl_seat@9 still attached
wl_shm@8 still attached
wp_fractional_scale_manager_v1@7 still attached
wp_viewporter@6 still attached
zxdg_decoration_manager_v1@5 still attached
wl_compositor@4 still attached
wl_registry@2 still attached
Can you test https://github.com/4JX/L5P-Keyboard-RGB/actions/runs/8667435685 and see if that changes anything? It should have the latest update of all the libraries I'm using (GUI included, which may be the issue)
PS: In the case that it does work, can you also test if you can close the window while keeping the program running?
Hi, I am using nobara 39 and I tried to run this application and it say this:
➜ Desktop ./legion-kb-rgb
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message: called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
warning: queue 0x5617f86527a0 destroyed while proxies still attached:
xdg_wm_base@28 still attached
wl_output@15 still attached
zwp_text_input_manager_v3@14 still attached
xdg_activation_v1@13 still attached
wl_subcompositor@12 still attached
zwp_relative_pointer_manager_v1@11 still attached
zwp_pointer_constraints_v1@10 still attached
wl_seat@9 still attached
wl_shm@8 still attached
wp_fractional_scale_manager_v1@7 still attached
wp_viewporter@6 still attached
zxdg_decoration_manager_v1@5 still attached
wl_compositor@4 still attached
wl_registry@2 still attached
can you pleases help m. Thanks in advance
EDIT: I ran it again like this:
➜ Desktop RUST_BACKTRACE=full ./legion-kb-rgb
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message: called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 8 frames hidden ⋮
9: core::panicking::panic::h195fc2a96298d4c3
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127
10: glutin::api::egl::surface::<impl glutin::api::egl::display::Display>::create_window_surface::h4a80eb44243c2108
at <unknown source file>:<unknown line>
11: <glutin::display::Display as glutin::display::GlDisplay>::create_window_surface::h51b39e0cf10ded44
at <unknown source file>:<unknown line>
12: eframe::native::run::glow_integration::GlutinWindowContext::on_resume::hd90ec52472d8eb8f
at <unknown source file>:<unknown line>
13: <eframe::native::run::glow_integration::GlowWinitApp as eframe::native::run::WinitApp>::on_event::hcb2f791d4eec11e8
at <unknown source file>:<unknown line>
14: eframe::native::run::run_and_return::{{closure}}::h6ab3318b82b39d43
at <unknown source file>:<unknown line>
15: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return::h4b0bb354c270042f
at <unknown source file>:<unknown line>
16: eframe::native::run::with_event_loop::h21057128cff3356f
at <unknown source file>:<unknown line>
17: eframe::native::run::glow_integration::run_glow::h574154da0301e6e3
at <unknown source file>:<unknown line>
18: eframe::run_native::hfc568a146bd065e6
at <unknown source file>:<unknown line>
19: legion_kb_rgb::main::h4f2cd5353315b61e
at <unknown source file>:<unknown line>
20: std::sys_common::backtrace::__rust_begin_short_backtrace::h8d19eac5420f060e
at <unknown source file>:<unknown line>
21: std::rt::lang_start::{{closure}}::h2e5a4ce76a5e010d
at <unknown source file>:<unknown line>
22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd95060ecd5e1ca24
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284
23: std::panicking::try::do_call::h6e8cf51db32a6e4b
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
24: std::panicking::try::h3a52eefe24fe3c29
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
25: std::panic::catch_unwind::h24c28c23c02c3841
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
26: std::rt::lang_start_internal::{{closure}}::h705d3c9cbc06ef47
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
27: std::panicking::try::do_call::ha21f52ba13158470
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
28: std::panicking::try::h5581346bf6aeb1f8
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
29: std::panic::catch_unwind::h7919645a6b72e25b
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
30: std::rt::lang_start_internal::h12de51168669836e
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
31: std::rt::lang_start::h2209dd1f8ebf3985
at <unknown source file>:<unknown line>
32: __libc_start_call_main<unknown>
at <unknown source file>:<unknown line>
33: __libc_start_main_alias_2<unknown>
at <unknown source file>:<unknown line>
34: _start<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
warning: queue 0x5579a62ffc30 destroyed while proxies still attached:
xdg_wm_base@28 still attached
wl_output@15 still attached
zwp_text_input_manager_v3@14 still attached
xdg_activation_v1@13 still attached
wl_subcompositor@12 still attached
zwp_relative_pointer_manager_v1@11 still attached
zwp_pointer_constraints_v1@10 still attached
wl_seat@9 still attached
wl_shm@8 still attached
wp_fractional_scale_manager_v1@7 still attached
wp_viewporter@6 still attached
zxdg_decoration_manager_v1@5 still attached
wl_compositor@4 still attached
wl_registry@2 still attached
@Mustafa-Alwalss As per my comment above, can you try https://github.com/4JX/L5P-Keyboard-RGB/actions/runs/8667435685
Having the same issue here on Hyprland, on the Legion 5 Pro 16ARX8. Can't open gui with the same error, but also (this might be related) trying to set the AmbientLight, Fade or Ripple effect from the terminal also crashes, and just sets the keyboard rgb to off.
RUST_BACKTRACE=full doas legion-kb-rgb set --effect Fade
doas (rabaimor@legion) password:
Authorization required, but no authorization protocol specified
The application panicked (crashed).
Message: Could not connect to a X display
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/device_query-1.1.3/src/device_state/linux/mod.rs:38
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value: Any { .. }
Location: app/src/effects/mod.rs:151
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Closing as "works on my machine" (although I don't like to do this) due to a lack of feedback from affected users. Feel free to comment if this is still relevant to you.
Hi,
I've used the package for some time, maybe a year, and today I upgraded to KDE Plasma 6 and saw that the program doesn't run anymore. I tried downloading the latest release, however the issue is the same. I'm on Arch Linux, KDE Plasma 6.0.1. Below is the error: