Meumeu / ZephyrusBling

A utility to display images on the LEDs on the back of the Zephyrus G14 laptop
69 stars 9 forks source link

Zephyrusbling on Arch Linux does not work #6

Open mszewczyk-ipwt opened 3 years ago

mszewczyk-ipwt commented 3 years ago

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.

Baldomo commented 3 years ago

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?

mszewczyk-ipwt commented 3 years ago

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
Baldomo commented 3 years ago

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.

mszewczyk-ipwt commented 3 years ago

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.

Baldomo commented 3 years ago

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

mszewczyk-ipwt commented 3 years ago

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

mszewczyk-ipwt commented 3 years ago

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 commented 3 years ago

@Baldomo what model do you have?

Baldomo commented 3 years ago

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.

haonanq666 commented 3 years ago

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.

Baldomo commented 3 years ago

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.

mszewczyk-ipwt commented 3 years ago

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.

Baldomo commented 3 years ago

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

bobobo1618 commented 3 years ago

+1 to @Baldomo.

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

finalclass commented 3 years ago

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