ZephyrusBling icon indicating copy to clipboard operation
ZephyrusBling copied to clipboard

Zephyrusbling on Arch Linux does not work

Open mszewczyk-ipwt opened this issue 5 years ago • 15 comments

Hello, The solution for change AniMe Matrix animations in Arch Linux (AUR) does not work. I tried installing this package, and did the following. In the Gnome I ran terminator, in the first terminal tab I launched zephyrusblingd.

$ zephyrusblingd

In the next tab I tried the following:

$ zephyrusbling --text "Hello world" --duration 5 --fx translate:0,20,0:3,-25,0
Bling /org/meumeu/blings/1 created

And nothing happened, I only have the generic ROG icon animation. Have I missed something?

P.S. Yes, I have asusd service running and I am using linux-zen-g14 kernel version 5.9.9.

mszewczyk-ipwt avatar Nov 27 '20 14:11 mszewczyk-ipwt

I can't seem to be able to reproduce this bug. Would you mind checking if asusctl anime leds -b 255 turns on all leds as intended?

Baldomo avatar Dec 03 '20 17:12 Baldomo

Unfortunately nothing happens. What I can do is to turn on and off the anime with asusctl anime --on and asusctl anime --off. The bios is updated to the newest version. Any other "more to the core" tests I can do?

 ► uname -a
Linux archlinux 5.9.9-zen1-1-zen-g14 #1 ZEN SMP PREEMPT Sun, 22 Nov 2020 00:12:49 +0000 x86_64 GNU/Linux

mszewczyk-ipwt avatar Dec 03 '20 18:12 mszewczyk-ipwt

I am not familiar with the zen kernel for the g14 as I use the linux-g14 kernel and everything works nominally. Do you have any dkms modules installed which contain asus in their names, such as asus-rog-nb-wmi-dkms-git? You'll also want to install acpi_call.

Baldomo avatar Dec 03 '20 18:12 Baldomo

The list of packages with "asus":

 ► pacman -Q | grep asus
asus-nb-ctrl-git 2.1.0.r4.gb496139-1
asus-rog-nb-wmi-dkms-git 0.3.0.r1.gd57f785-1
hid-asus-rog-dkms-git 0.6.0.r0.gc7af421-1

and acpi_call:

 ► pacman -Q | grep acpi
acpi_call 1.2.1-7

As far as I am aware I cannot use linux-g14 from AUR, because it freezes whole computer when I connect usb-c docking station. But I did not try to use the linux-g14 kernel.

mszewczyk-ipwt avatar Dec 03 '20 18:12 mszewczyk-ipwt

I believe the custom kernels we are using contain the necessary drivers already, there should be no need for asus-rog-nb-wmi-dkms-git or hid-asus-rog-dkms-git. They can be a source of bugs afaik. Could you also try starting zephyrusblingd as intended with systemctl --user start zephyrusblingd and retry everything? Although if asusctl can't even turn on all the leds at once I really don't know how to solve this.

PS you can try linux-g14 from the g14 repo by asus-linux.org

Baldomo avatar Dec 03 '20 18:12 Baldomo

I just checked with the dkms modules uninstalled. asus-nb-ctrl works as it should, but still anime in the same status.

mszewczyk-ipwt avatar Dec 03 '20 18:12 mszewczyk-ipwt

Nope, still no result

 ► zephyrusbling --text "Hello world" --duration 5 --fx translate:0,20,0:3,-25,0
Bling /org/meumeu/blings/1 created
 ► uname -a
Linux archlinux 5.9.4-arch1-1-g14 #1 SMP PREEMPT Mon, 16 Nov 2020 08:57:52 +0000 x86_64 GNU/Linux

mszewczyk-ipwt avatar Dec 03 '20 18:12 mszewczyk-ipwt

@Baldomo what model do you have?

mszewczyk-ipwt avatar Dec 03 '20 23:12 mszewczyk-ipwt

I have a GA401IV. I tried replicating whatever you have not working but I just can't on my machine. Honestly I'm at a loss here, sorry.

Baldomo avatar Dec 03 '20 23:12 Baldomo

I encountered an issue (only happened once) where the animation I set in armory crate in windows would carry over to linux and be stuck on the anime matrix. However, rebooting fixed it, and zephyrusbling works as expected now. Perhaps you can go into windows and turn off the anime matrix animation and try again @mszewczyk-ipwt.

haonanq666 avatar Dec 14 '20 04:12 haonanq666

Actually, another user on somewhere (I think it was on the asus-nb-ctrl discord server) solved any problems they had with the anime display by just using armory crate for the first time instead of directly trying asusctl or zephyrusbling. I have no idea why it work but it seems armory crate is needed at least once for this exact reason, maybe it initializes some drivers in Windows or whatever.

Baldomo avatar Dec 15 '20 08:12 Baldomo

Is there any way to turn it on using only linux? Because, when I got this laptop, first thing was to get rid of windows and install Arch.

mszewczyk-ipwt avatar Dec 15 '20 11:12 mszewczyk-ipwt

@mszewczyk-ipwt you should try asking on the asus-nb-ctrl Discord server

Baldomo avatar Dec 16 '20 23:12 Baldomo

+1 to @Baldomo.

I had a similar issue and was able to solve it by booting Windows and running Armoury Crate.

bobobo1618 avatar Jan 04 '21 17:01 bobobo1618

For me unfortunately booting to windows hasn't helped. I'm on GA401QM

finalclass avatar May 08 '21 21:05 finalclass