ASUS ROG GA401I

This page contains instructions and tips for configuring Arch Linux on the ASUS Zephyrus G14 and ASUS ROG Studio Pro 14 (GA401I).

Kernel patch

Since kernel 5.11, support for the devices running Ryzen 4000 CPUs is available without patches.

Devices utilizing Ryzen 5000 series CPUs, on the other hand, currently require kernel patches for some functionality.

A kernel with these patches is available as linux-g14AUR.

ASUSCtl

ASUSCtl is a utility for Linux to control many aspects of various ASUS laptops, but can also be used with non-asus laptops with reduced features. It reimplements some Armoury Crate functionality, such as fan modes and the AniMe-Matrix display. It is available in the AUR: asusctlAUR.

This package provides two programs, asusctl and asusd, that can be used to view and modify some hardware settings, such as:

  • the current power profile (fan speed and boost mode)
  • the graphics card (Nvidia dGPU or AMD iGPU) to use
  • the battery charge limit
  • the LED mode for the keyboard backlight and AniMe Matrix (available only on some models)

Switching to the dedicated Nvidia GPU

The dedicated GPU offers better performance than the integrated one at the cost of higher power consumption. The current graphics mode can be checked using:

# asusctl graphics -g

Available modes are nvidia, hybrid, compute and integrated. Switch to the dedicated graphics card with:

# asusctl graphics -m nvidia

Then reboot to take the change into effect.

DBus notifications

Notifications provide feedback when a setting is changed using asusctl and are especially useful when a setting has been bound to a custom keyboard shortcut. They are provided by the asus-notify.service user unit which needs to be started/enabled.

Battery charge limit

Setting a limit to the battery charge can be useful to preserve its longevity when the laptop is used as a static workstation for long period of times. Set your prefered limit (in percent, from 20 to 100) using:

# asusctl -c 60

60% is usually considered a stable charge state for lithium-based batteries.

Power profile

The power profile controls three settings: CPU scaling (only on Intel CPUs), Boost mode and fans speed. By default, three profiles are provided: , and . Custom profiles can be defined.

The easiest way to use this feature is to bind the Fn-F5 key to this command, which will switch to the next available profile: . This will imitate the way the original Asus service works on Windows. Notifications should be enabled in order to know which profile is selected each time the shortcut is pressed. A specific profile can be manually selected using:

# asusctl profile -P Quiet

High battery usage/low runtime on battery

The G14 can be tweaked to have far better battery live and performance on windows . A few optimizations can be taken to reach a similar battery live on Arch (you can monitor your current power usage using powertop - note that only the reported battery discharge seems to be fully accurate).

Nvidia driver optimization

When using the official Nvidia driver, the power usage can be reduced by putting the following line in /etc/modprobe.d/nvidia.conf:

options nvidia "NVreg_DynamicPowerManagement=0x02"

This has also shown to reduce fan noise and overall heat.

Disabling turbo boost

While not necessarily saving power, some user prefer to disable turbo boost for smoother power delivery and less heat. To temporarily disable boost, execute the following:

# echo 0 > /sys/devices/system/cpu/cpufreq/boost

Or use the power profiles from asusctl to handle this automatically, as explained above.

General Tips

To maximize the battery life, follow the general tips at power management.

Troubleshooting

Using external display through the USB-C port

While the dedicated HDMI port works out of the box, the display output through the USB-C port does not appear to be connected to the integrated graphics controller. Using an external display through this port requires to switch to the dedicated Nvidia graphics card. See the asusctl section above for more details.

Volume adjustment

When using built-in speakers, volume adjustment will not work for PulseAudio. Download this patch and apply it:

# patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i /path/to/patch

Then restart the user unit.

Pacman hook

To apply the patch automatically after a upgrade, you can use a pacman hook:

gollark: i.e. the physical processes involved in the brain do not actually work the same if you swap all the atoms for... identical atoms.
gollark: Anyway, if you actually *did* end up breaking consciousness if you swapped out half the atoms in your brain at once, and this was externally verifiable because the conscious thing complained, that would probably have some weird implications. Specifically, that the physical processes involved somehow notice this.
gollark: I mean, apart from the fact that it wasn't livable in the intervening distance, which might be bad in specifically the house case.
gollark: If I build an *identical* house in the same place, with all the same contents, somehow, I don't care that much.
gollark: I see.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.