Skip to content

Effects relying on laptop hardware crash #162

@4JX

Description

@4JX

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.

Originally posted by @rabaimorp in #152 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions