4JX / L5P-Keyboard-RGB

Cross platform software to control the RGB/lighting of the 4 zone keyboard included in the 2020, 2021, 2022 and 2023 lineup of the Lenovo Legion laptops. Works on Windows and Linux.
GNU General Public License v3.0
308 stars 39 forks source link

Won't run on Archcraft Linux #66

Closed shadjo1 closed 1 year ago

shadjo1 commented 2 years ago

Problem Every time I try to run this as a non-root userI get the following error:

floating point exception (core dumped)

I have added the needed udev rule and reloaded the rules, so I'm not sure why it won't launch. However, it does work when I run it as root. Although that gives me this error:

pango_font_description_set_absolute_size: assertion 'desc != NULL' failed

Notes I checked to see if pango was installed, and version 1.50.7.1 is present

I didn't build from source, instead I used the zip archive

I'm not sure what to do at this point besides trying to build from source and seeing if that works. Any other suggestions?

4JX commented 2 years ago

Does the CLI interface work?

shadjo1 commented 2 years ago

Not completely, the CLI gives me this error if ran as a non-root user:

The application panicked (crashed). Message: called Result::unwrap() on an Err value: HidError(HidApiError { message: "hid_error is not implemented yet" }) Location: src/cli.rs:74

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.

If I run as root no errors occur and it works just fine, but only if it is a "stock" effect.

EDIT: I had a typo in the udev rule, after fixing it the CLI at least works as a non-root user. However, the same GUI errors occur and only "stock" effects work.

4JX commented 2 years ago

This is really weird, can you try compiling it from source?

shadjo1 commented 2 years ago

I tried that before and got the same result. But that was before I fixed the udev typo. When I get the chance I'll test it out and give an update.

4JX commented 1 year ago

Closed due to inactivity