Skip to content
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

crashes when one of the monitors goes disabled #79

Closed
alembiq opened this issue Jun 29, 2024 · 7 comments
Closed

crashes when one of the monitors goes disabled #79

alembiq opened this issue Jun 29, 2024 · 7 comments

Comments

@alembiq
Copy link

alembiq commented Jun 29, 2024

Thank you for making paperd, to me it's the best wallpaper solution from eight, I've tried on wayland.

I'm running Hyprland and it's clamshell configuration to disable notebook screen when I close my notebook.

                bindswitch --reload --locked lid:on output eDP-1 disable
                bindswitch --reload --locked lid:off output eDP-1 enable

with this configuration of wpaperd:

[any]
path = "/home/charles/nextcloud/Pictures/wallpapers"
duration = "30s"
mode = "center"
sorting = "random"
[eDP-1]
path = "/home/charles/nextcloud/Pictures/wallpapers/52204128092_76bb16feb4_k.jpg"

closing the notebook (disabling eDP-1 monitor) causes wpaperd to die :(

RUST_BACKTRACE=1 wpaperd
Message:  Received event for dead output
Location: /build/wpaperd-1.0.1-vendor.tar.gz/smithay-client-toolkit/src/output.rs:425

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 6 frames hidden ⋮
   7: core::panicking::panic_display::hd8c516c36ffd47b9
      at <unknown source file>:<unknown line>
   8: core::option::expect_failed::hcf48fdb9c93a315f
      at <unknown source file>:<unknown line>
   9: <smithay_client_toolkit::output::OutputState as wayland_client::event_queue::Dispatch<wayland_client::protocol::wl_output::WlOutput,smithay_client_toolkit::output::OutputData,D>>::event::h8c24136669462fe7
      at <unknown source file>:<unknown line>
  10: wayland_client::event_queue::queue_callback::hcd7bec9a51f1b873
      at <unknown source file>:<unknown line>
  11: wayland_client::event_queue::EventQueue<State>::dispatching_impl::h8ea4cda2a66ff432
      at <unknown source file>:<unknown line>
  12: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::process_events::h3a942e07393342b7
      at <unknown source file>:<unknown line>
  13: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::hab8c0fdd334f74e9
      at <unknown source file>:<unknown line>
  14: calloop::loop_logic::EventLoop<Data>::dispatch::he645599faf9167d1
      at <unknown source file>:<unknown line>
  15: wpaperd::main::h4f030db9aa54e4f8
      at <unknown source file>:<unknown line>
  16: std::sys_common::backtrace::__rust_begin_short_backtrace::heb113d943399a168
      at <unknown source file>:<unknown line>
  17: std::rt::lang_start::{{closure}}::h40e1695541ca21c3
      at <unknown source file>:<unknown line>
  18: std::panicking::try::h9134436c64049e5f
      at <unknown source file>:<unknown line>
  19: std::rt::lang_start_internal::hf4417b67ea9bae52
      at <unknown source file>:<unknown line>
  20: main<unknown>
      at <unknown source file>:<unknown line>
  21: __libc_start_call_main<unknown>
      at <unknown source file>:<unknown line>
  22: __libc_start_main@@GLIBC_2.34<unknown>
      at <unknown source file>:<unknown line>
  23: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
@danyspin97
Copy link
Owner

danyspin97 commented Jun 30, 2024 via email

@alembiq
Copy link
Author

alembiq commented Jun 30, 2024

my pleasure :)
before i manage how to run master here is the log on current one wpaperd-wayland.log

@alembiq
Copy link
Author

alembiq commented Jul 12, 2024

build from

commit 097c9114a67ca9545558f4bba60cbcd14e65a545 (HEAD -> main, origin/main, origin/HEAD)
Author: Danilo Spinella <danilo.spinella@suse.com>
Date:   Thu Jul 4 11:25:02 2024 +0200

logs:
wpaperd-wayland.log

@danyspin97
Copy link
Owner

Thank you @alembiq ! I will create an issue upstream as soon as possible.

@alembiq
Copy link
Author

alembiq commented Sep 17, 2024

it seems that updating the smithay-client-toolkit to 0.19.2 should do the trick, see Smithay/client-toolkit#468

@danyspin97
Copy link
Owner

Thank you @alembiq, for opening an issue upstream. I have just updated the dependencies, now this bug should be fixed. Can you please confirm?

@alembiq
Copy link
Author

alembiq commented Oct 27, 2024

i've just updated my system, and I can open and close my notebook without any crashes!
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants