@thealamenthe That's why I only support building in clean chroots[1] on Arch Linux, nothing outside this setup.
[1] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
Git Clone URL: | https://aur.archlinux.org/asusctl.git (read-only, click to copy) |
---|---|
Package Base: | asusctl |
Description: | App to control asusctl |
Upstream URL: | https://asus-linux.org |
Keywords: | anime asus matrix rog |
Licenses: | MPL-2.0 |
Submitter: | fabiscafe |
Maintainer: | fabiscafe |
Last Packager: | fabiscafe |
Votes: | 17 |
Popularity: | 0.76 |
First Submitted: | 2021-09-18 11:01 (UTC) |
Last Updated: | 2024-08-31 21:34 (UTC) |
@thealamenthe That's why I only support building in clean chroots[1] on Arch Linux, nothing outside this setup.
[1] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
installation of asusctl
using yay
fails with default rustup
from Extra repository.
...
==> Sources are ready.
==> Making package: asusctl 6.0.12-0.1 (Tue 17 Sep 2024 08:46:13 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
cargo build --release --features "rog-control-center/x11"
error: package `rowan v0.15.16` cannot be built because it requires rustc 1.77.0 or newer, while the currently active rustc version is 1.76.0
Either upgrade to rustc 1.77.0 or newer, or use
cargo update rowan@0.15.16 --precise ver
where `ver` is the latest version of `rowan` supporting rustc 1.76.0
make: *** [Makefile:135: build] Error 101
==> ERROR: A failure occurred in build().
Aborting...
-> error making: asusctl-exit status 4
-> Failed to install the following packages. Manual intervention is required:
asusctl - exit status 4
i had to perform rustup update
in order to get a new enough rustc
.
@evilred You have to ask upstream.
On 6.0.7 a new feature for X11 was added and it looks like it's enabled by default on the Makefile: https://gitlab.com/asus-linux/asusctl/-/blob/main/Makefile?ref_type=heads#L26
On the README: https://gitlab.com/asus-linux/asusctl#x11-support
Discussions: - https://gitlab.com/asus-linux/asusctl/-/merge_requests/186 - https://gitlab.com/asus-linux/asusctl/-/issues/490
@anonymix007 You need to add that yourself. This PKGBUILD will follow upstream as close as possible. I learned my lesson :P
But I might add a "wayland only" to the description
X11 support was removed since version 6.0.3. Developer doesn't care about the users, apparently. I found their actions to be quite thoughtless and inconsiderate.
@fabiscafe can you add the patch to fix it? It's available here: https://gitlab.com/asus-linux/asusctl/-/merge_requests/186 I highly doubt it'll be merged any time soon (or even ever).
cannot run after build:
asusctl (master)$ RUST_BACKTRACE=full rog-control-center
[WARN rog_control_center::notify] Did not find a dGPU on this system, dGPU status won't be avilable
[WARN rog_control_center::tray] supergfxd version = 5.2.1
thread 'main' panicked at /build/asusctl/src/asusctl/target/release/build/rog-control-center-7aeab502c6e151cc/out/main_window.rs:89584:49:
called `Result::unwrap()` on an `Err` value: Other("Error opening device: Resource temporarily unavailable")
stack backtrace:
Found aura device at /org/asuslinux/19b6_3_3, org.asuslinux.Aura
0: 0x5f2f785679cf - <unknown>
1: 0x5f2f77e26813 - <unknown>
2: 0x5f2f78531372 - <unknown>
3: 0x5f2f785695aa - <unknown>
4: 0x5f2f78568d17 - <unknown>
5: 0x5f2f78569e8d - <unknown>
6: 0x5f2f785698d4 - <unknown>
7: 0x5f2f78569829 - <unknown>
8: 0x5f2f78569816 - <unknown>
9: 0x5f2f77d91d45 - <unknown>
10: 0x5f2f77d92115 - <unknown>
11: 0x5f2f77dca2e3 - <unknown>
12: 0x5f2f77e91057 - <unknown>
13: 0x5f2f784fd924 - <unknown>
14: 0x5f2f77de153d - <unknown>
15: 0x5f2f77dd69b9 - <unknown>
16: 0x5f2f77dc8a73 - <unknown>
17: 0x5f2f77de2c06 - <unknown>
18: 0x79f8bc30ac88 - <unknown>
19: 0x79f8bc30ad4c - __libc_start_main
20: 0x5f2f77dc5c45 - <unknown>
21: 0x0 - <unknown>
Aborted (core dumped)
Pinned Comments
fabiscafe commented on 2023-06-13 21:53 (UTC) (edited on 2024-05-11 23:43 (UTC) by fabiscafe)
Official Setup Guide
https://asus-linux.org/guides/arch-guide/
Merge/Pull Requests / Bugreports
https://gitlab.archlinux.org/fabiscafe/asusctl_aur
Known Issues