Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Installing Artix on Asus gaming laptop series g1513QY (Read 1351 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Installing Artix on Asus gaming laptop series g1513QY

Hello Artix community! This is my first post, so just to be safe I want to apologize I want to apologize if this is not the correct forum section to post in, and also if I don't have the best grammar, English is not my first language.

So I've got an Asus g1513QY, that has AMD both for the CPU and GPU. I've seen that some guys have developed software to have all the extra functionalities that you would have on the default Windows installation, but because we can't have nice things in life they have systemD as as requirement. The software can be found if you look for asus linux, not sure if it would be ok to post a link to it here. But from what I see I could get the following replacements:
  • OpenRGB for the prettty keyboard lights
  • CoreCtrl for fan control
  • For battery charge limit I think there is tlp but I haven't used it really
  • Not sure on how to map the additional keys on the keyboard
Is doing such a thing actually "doable" or am I embarking on a fool's errand? Honestly I haven't had issues with systemD personally but I find the way it has been imposed very nasty and not unlike a certain big OS development company whose product ships by default on most computers, and that's not even mentioning how much of a bad idea is to cram so much stuff on PID 1.

I understand this is a very generic question compared to the much more specific ones in this subforum, so if it is not the place to make it please correct me on my mistake.

Thanks a lot in advance.

EDIT: Forgot to say, but if I manage to go through this I'd like to contribute a small tutorial to other users that have gaming laptops of their own. It would be the very least I could give back to the community.


Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #1
Hello and welcome.

I don't know your Asus laptop, but for my laptops I recently adopted cpupower and the "conservative" mode.
This is particularly effective on AMD CPUs and I haven't seen any performance degradation :
https://forum.artixlinux.org/index.php/topic,4507.msg29075.html#msg29075

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #2
  • Not sure on how to map the additional keys on the keyboard
I'm sure you're looking for:

https://wiki.archlinux.org/title/Xmodmap
https://wiki.archlinux.org/title/Keyboard_input
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #3
I had a look to find what you may be referring to (a link would have been OK)
Found ROG-Core which states it is obsolete but points at:

A dkms kernel module hid-asus-rog with a matching AUR package hid-asus-rog-dkms-git and no systemd dependency.

And

asusctl (matching AUR package). This does have a systemd dependency however I tested simply removing that dependancy and the package still built successfully. It's a split package containing asusctl and rog-control-center. Both would need to be installed (rog-control-center depends on asusctl)

Whether it will still work properly is another matter. I can't test that.

If you don't have the Arch repo's enabled you would need to build the package like I did, removing the systemd dependency.
If you do have the Arch repo's enabled https://wiki.artixlinux.org/Main/Repositories#Arch_repositories then the package artix-archlinux-support provides a 'dummy' systemd and you can just install the standard asusctl  from the AUR.
Then test if they work at all with without systemd.

It might simply be a case of overzealous inclusion of dependencies ? Maybe it will work but with reduced functionality. Maybe it won't work at all ?

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #4
Thanks a lot for your replies guys! It does seem that it's doable, and it's doable in more than one way.  My last question would be if it is possible to try installing packages on the live USB.  This way I could make sure all the hardware is running properly before changing the OS.  Do you know if this is possible? I never did it before, neither on Arch or any other Linux distro.  Again, thanks a lot!


Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #6
My last question would be if it is possible to try installing packages on the live USB.  This way I could make sure all the hardware is running properly before changing the OS.
I don't think that is your last question.  ;)

It is better to install artix on a second USB stick (32GB is imho minimum) because you can't really test your hardware without package building (AUR) and necessary reboots.
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #7
As well as using an external drive as suggested above if you can find space on your HDD to make a new partition you can test on that too, then resize partitions later or copy the contents over, it often takes a while to configure everything on a new machine and it would save redoing that later. There is nothing wrong with any method if it works and you are happy of course.

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #8
Hello again everybody! Just wanted to give you all an update. I managed to install the asusctl package, adapted to a systemd-less system, only had to add some scripts to inti.d. I'm still trying out the computer while gaming, sleeping mode and all the places I can think of (and that I have read abou) that could present problems, but I still haven't managed to break anything (touching wood here). I installed Artix on a pendrive as a user here suggested, at it has worked amazingly well.  I have to say that Artix has been a pleasant surprise. I'll update again this thread after some time to keep you guys informed if there is any interest on this topic.
For now then, the pretty led things that this computer has work well, I can set up custom fan curves for the GPU and CPU, can set any charge limit that I want and the system itself feels very comfy to use. I managed to implement custom keybindings too so now the keyboard works exactly the same as in the default Windows installation... so it might be time to make the definitive switch soon.
Finally, a huge thanks to all the users who replied and of course to the guys who have made Artix a reality.  I hope to be able to contribute to this community soon! :D

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #9
Could you provide details for the scripts in init.d. I have the same exact laptop and realized asusctl has systemd dependency. Thanks.

Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #10
Could you provide details for the scripts in init.d. I have the same exact laptop and realized asusctl has systemd dependency. Thanks.
There's a bit more detail of what they did here
https://forum.artixlinux.org/index.php/topic,4693.msg29994.html#msg29994

On the positive side it still builds if you just remove systemd from the PKGBUILD 'depends='

The asusctl package installs a systemd system and user service.
Which runs either /usr/bin/asusd or /usr/bin/asusd-user respectively. You would need to replicate that with whichever init you use with Artix. (Not all Artix inits support user services).
While you figure that out just running
Code: [Select]
sudo /usr/bin/asusd
in a terminal would probably work, but need repeating at least every log in. You may need to leave the terminal window open if asusd runs in the foreground ?

The link also mentions a supergfxd service but I guess that's from a different package ?


Re: Installing Artix on Asus gaming laptop series g1513QY

Reply #11
Ah ok that makes a lot more sense now. I use runit so i can probs just make 2 runit services. supergfxctl is for controlling graphics modes without rebooting for switching between iGPU, dGPU, etc.