Hardware | PCI/USB ID | Working? |
---|---|---|
Touchpad | Yes | |
Keyboard | Yes | |
GPU (Intel) | 8086:46a3 |
Yes |
GPU (NVIDIA) | 10de:25a0 |
Yes |
Webcam | 322e:202c |
Yes |
Ethernet |
|
Untested |
Bluetooth | 8087:0026 |
Yes |
Audio | 8086:51c8 |
Yes |
Wireless | 8086:51f0 |
Yes |
TPM | Untested |
This page contains instructions and tips for configuring Arch Linux on the ASUS TUF DASH F15 Laptop.
Accessibility
This laptop uses the standard American Megatrends UEFI interface, it is very bright and has both simple and advanced mode (F7
to swap between them). It has touchpad support in both modes though scrolling does not work in advanced mode meaning you need to use the keyboard to navigate the longer menus.
Simple mode provides basic functions in a visual manner using defined box areas the user can click to open a sub menu. Most normal operations can be done here using either the keyboard or touchpad. This mode should not be difficult for visually impaired users to navigate.
Advanced mode is a more traditional menu driven layout. It is simply text on a coloured background and while the touchpad does work, scrolling does not so the keyboard must be used for most menus. This mode might be difficult for users with a visual impairment to navigate.
Installation
This section contains instructions for installing and configuring Arch Linux
Kernel parameters
The ibt=off
kernel parameter is required for the laptop to successfully boot if using the proprietary NVIDIA GPU driver (or the nvidia-dkms variant, see the note in NVIDIA#Installation). It is not required if using nvidia-open or nvidia-open-dkms.
ASUS Linux
Advanced power management (Laptop Power Profile selection, battery charge limit and Panel Overdrive) need the ASUS Linux stack installed and running.
Install asusctlAUR then start/enable power-profiles-daemon.service
.
Keyboard RGB control
As of October 2022, there is no way to control the keyboard RGB from Linux yet. Brightness control for the RGB does work using the function keys.
A kernel patch which adds TUF laptop support to the asus-wmi
kernel module is available, has been submitted and is expected to be mainlined in kernel 6.1.
Adventurous users can find the patch on asus-linux GitLab.
See Kernel#Compilation for instructions on compiling a custom kernel.
Battery charge status
Since Kernel version 5.11 the battery charge polling issue has been fixed in the mainline kernel. Running the G14 kernel from Asus Linux is now no longer necessary.
Firmware
Other than changing the boot device order, no firmware changes are required for this laptop.
fwupd supports this device.
Switching to the dedicated NVIDIA GPU
Pre-Installation
Cleaning Up Old Files
It is very important you start out with no existing configuration files in place from any of the Optimus Laptop managers and/or nvidia-xconfig. optimus-managerAUR provides all of its own configs and existing files can interfere with its operation.
Ensure there are no files relating to Optimus, Bumblebee, supergfxctl, NVIDIA or Intel in any of the following locations.
/etc/X11/xorg.conf.d/ /etc/modprobe.d/ /etc/udev/rules.d/
If they exist, you should also delete or rename xorg.conf
from /etc/X11/
Initramfs
Do not include i915
or any of the NVIDIA modules in your early start up filesystem. Doing so can affect the discrete GPUs ability to properly power down.
Edit /etc/mkinitcpio.conf
and remove i915 and all NVIDIA modules from the modules section then regenerate the initramfs.
Kernel Parameters
Adding additional kernel parameters manually is not necessary when using optimus-managerAUR, it handles everything including blacklisting nouveau when running the discrete GPU and power management functions of the discrete GPU.
Installation
Install the optimus-managerAUR package.
Configuration
You should edit optimus-manager.conf
at /etc/optimus-manager/
before you start/enable optimus-manager.service
.
The laptop fully supports NVIDIA fine grained power management which allows the discrete GPU to fully power down when not in use meaning there really should be no need to ever switch from hybrid mode however from testing, forcibly removing the card from the bus and powering it down does offer a slight increase in battery time over hybrid mode. Ultimately the choice is yours, luckily both options are easily handled and can co exist happily.
If you want to use hybrid mode and allow the GPU to handle its own power state then change the following
/etc/optimus-manager/optimus-manager.conf
... [nvidia] dynamic_power_management=fine
If you plan to manually switch between modes as your need dictates and would like the extra battery time then first you need to install acpi_call (or acpi_call-dkms if using a custom kernel) then change the following
/etc/optimus-manager/optimus-manager.conf
switching=acpi_call pci_remove=yes pci_reset=function_level ...
Finally, for either scenario you need to change the following
/etc/optimus-manager/optimus-manager.conf
... [intel] driver=modesetting ...
Now start/enable optimus-manager.service
. Using hybrid
mode allows the GPU to power itself down and integrated
mode will forcibly remove the card from the bus and power it down.
Usage
Switching Modes
optimus-managerAUR offers 3 modes, those are integrated
, nvidia
and hybrid
.
To switch between modes simply use
$ optimus-manager --switch MODE
Using the NVIDIA GPU in hybrid mode
NVIDIA drivers since version 437.17 have Prime GPU rendering offload support included.
See PRIME#Configure applications to render using GPU for details on how that works.
D-Bus 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.
Tips and tricks
To maximize the battery life, follow the general tips at power management.
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 preferred 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: quiet
, balanced
and performance
. Custom profiles can be defined.
Fn+F5
is automatically bound to switch power 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
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 in #Power profile.
Function Keys
With the exception of the Aura key (see #Keyboard RGB control) all function keys work out of the box.
See also
- https://linux-hardware.org/?probe=f5c538e2c7 - Hardware Probe