This page contains instructions and tips for configuring Arch Linux on the ASUS Zephyrus G14 and ASUS ROG Studio Pro 14 (GA401I).
Since the hardware of this laptop is rather new, some kernel patches are currently needed for its full functionality.
A kernel with these patches is available in the AUR:AUR.
By default, the
asus-nb-wmi (depends on
i8042) kernel modules will refuse to load, resulting in CPU frequency dropping to 400MHz. To fix this, recompile the kernel with the following kernel patch.
Most of them work out of the box, others need this patch.
ASUS NB Ctrl
ASUS NB Ctrl 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: AUR.
This package provides two programs,
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
integrated. Switch to the dedicated graphics card with:
# asusctl graphics -m nvidia
Then reboot to take the change into effect.
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 systemd service that needs to be enabled and started:
$ systemctl --user enable asus-notify.service $ systemctl --user start asus-notify.service
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.
The power profile controls three settings: CPU scaling (only on Intel CPUs), Boost mode and fans speed. By default, three profiles are provided:
boost. 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:
asusctl profile -n. 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 silent
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 - 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
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 | tee /sys/devices/system/cpu/cpufreq/boost
Or use the power profiles from
asusctl to handle this automatically, as explained above.
To maximize the battery life, follow the general tips at power management.
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 doesn't 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 ASUS NB Ctrl section above for more details.
# patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i /path/to/patch
Then restart PulseAudio:
$ systemctl --user restart pulseaudio.service
To apply the patch automatically after a pacman hook:upgrade, you can use a
[Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/share/alsa-card-profile/mixer/paths/analog-output-speaker.conf [Action] Description = Fixing pulseaudio volume adjustment... When = PostTransaction Exec = /usr/bin/patch -p1 -d /usr/share/alsa-card-profile/mixer/paths/ -i /path/to/patch