Skip to content

GPU mode switching

GPU modes turn the discrete GPU (dGPU) off or on. On ASUS laptops with a MUX switch, they also choose which GPU drives the screen. The backend decides how the dGPU is turned off. You choose it in Extra > GPU.

The GPU Mode panel with the eBPF backend: Eco, Standard and Optimized
eBPF backend: Eco, Standard and Optimized
The GPU Mode panel with the ASUS firmware backend: Eco, Standard and Ultimate
ASUS firmware backend on a MUX laptop: Eco, Standard and Ultimate
Mode What it does Backend
Eco The dGPU is off or hidden. Apps use the integrated GPU. All
Standard The dGPU is on. The integrated GPU drives the screen. Apps can use the dGPU. All
Optimized Eco on battery, Standard on AC power. Switches when you plug or unplug. eBPF only
Ultimate The dGPU drives the screen through the MUX switch. Needs a reboot. ASUS firmware only, on MUX laptops

By default, you never see Optimized and Ultimate together. Optimized needs the eBPF backend and is off by default; turn it on in Extra > GPU > Enable Optimized mode. Ultimate needs the ASUS firmware backend, because only it changes the MUX switch. The PCI backend has Eco and Standard only.

Backend Eco does Back to Standard Laptops
eBPF block (default) The driver stays loaded. A kernel filter hides the dGPU from apps, and the card powers off on its own. Instant, no reboot Any laptop with an iGPU and a dGPU
PCI disable Unloads the driver and removes the card from the PCI bus Rescan, usually no reboot Any laptop with an iGPU and a dGPU
ASUS firmware (MUX mode) Sets dgpu_disable=1 in the embedded controller Usually no reboot ASUS only
Extra > GPU > GPU Backend, with the PCI, eBPF and Raw WMI options

Choose in Extra > GPU:

  • No box ticked: eBPF
  • Use PCI dGPU disable: PCI
  • Use MUX mode (ASUS firmware): ASUS firmware, with the Ultimate button on MUX laptops. This box shows only on ASUS laptops.

New installs use eBPF when the system can run it. When eBPF cannot run, the app uses the ASUS firmware backend on ASUS laptops and PCI on all other laptops. It changes to eBPF at a later start in Standard, when eBPF can run, until you pick a backend yourself. Existing installs keep their backend.

Your laptop Use Why
NVIDIA RTX 20 or newer, any brand eBPF Instant switching, no reboot, the card powers off (D3cold), and Optimized mode
ASUS laptop, and you want the dGPU to drive the screen ASUS firmware Only this backend has Ultimate (MUX)
eBPF cannot run on your kernel (see the requirements below) PCI, or ASUS firmware on ASUS Both work without the eBPF filter
Older GPU that does not reach D3cold, for example GTX 1050 or GTX 1060, and no MUX PCI Removing the card from the bus lets the PCIe port power it off
Older ASUS firmware without dgpu_disable ASUS firmware with Raw WMI mode See Raw WMI mode

When a backend is not useful:

  • eBPF on a GTX 10 (Pascal) or older card: Eco hides the card and switching is instant, but the card stays on. No power is saved.
  • PCI when you switch often: the driver is unloaded each time, and an app that uses the dGPU must close first, or the change waits for a reboot.
  • ASUS firmware on non-ASUS laptops: it needs the ASUS firmware interface, so the box does not show.

The eBPF backend is the default on all vendors. It is not tied to ASUS firmware or to a MUX switch. It finds the dGPU by its PCI class, so it is not tied to one GPU vendor either.

How it works: a kernel eBPF filter hides the dGPU PCI, DRM, hwmon and NVIDIA device files from new processes. The driver stays loaded. When no app uses the card, the driver lets it power off. Back to Standard only removes the filter, so the dGPU comes back at once, with no reboot.

The MUX is never touched, so Ultimate is not available on this backend. To use Ultimate on an ASUS MUX laptop, change to the ASUS firmware backend.

D3cold means the card has no power. Only then does Eco save battery. The app shows the dGPU power state in the main window and in Extra > GPU:

GPU Mode: Eco, with the dGPU power state D3cold in the title

You can also read it yourself (use the PCI address of your dGPU):

Terminal window
lspci -D | grep -iE "vga|3d"
cat /sys/bus/pci/devices/0000:01:00.0/power_state
# D3cold = the card is off

If the card does not reach D3cold within one minute in Eco, the app shows a warning with the reason:

  • Apps still use the dGPU: close them and switch again.
  • Runtime power management is off: set power/control of the card to auto.
  • NVIDIA runtime D3 is off: check the driver settings below.

D3cold needs support in the GPU, the driver and the laptop firmware.

GPU D3cold in Eco
NVIDIA RTX 30 (Ampere) and newer Yes. The NVIDIA driver turns on runtime D3 by default on laptops.
NVIDIA RTX 20 and GTX 16 (Turing) Yes, after you set NVreg_DynamicPowerManagement=0x02 for the nvidia module
NVIDIA GTX 10 (Pascal) and older No. Use the PCI backend to power the card off.

NVIDIA lists these requirements for runtime D3: a Turing or newer GPU, a laptop with ACPI power control for the PCIe slot (Intel Coffee Lake chipsets and newer), and kernel 4.18 or newer. See the NVIDIA runtime D3 guide.

To turn on runtime D3 for a Turing card, add this line to /etc/modprobe.d/nvidia.conf, then reboot:

Terminal window
options nvidia "NVreg_DynamicPowerManagement=0x02"

To see the driver state:

Terminal window
cat /proc/driver/nvidia/gpus/0000:01:00.0/power
# Runtime D3 status: Enabled (fine-grained)
  • A kernel with CONFIG_BPF_LSM=y, booted with bpf in its LSM list. Updates shows the state and can add bpf for GRUB, systemd-boot, grubby or rpm-ostree. The first time needs a reboot.
  • libbpf (package libbpf1 on Debian and Ubuntu). If it is missing, Updates shows the install command.
  • Kernel lockdown not set to confidentiality.

When one of these is missing, Extra > GPU shows the reason, and the app uses the next backend: ASUS firmware on ASUS laptops, PCI on others.

Extra > GPU > dGPU apps is an allow list. Pick running apps, installed apps or Steam games. They can use the dGPU while it is hidden.

To start any other program on the dGPU:

Terminal window
ghelper --dgpu <command>

Turn on Extra > GPU > Enable Optimized mode. Optimized then hides the dGPU on battery and shows it on AC power. It does not hide the dGPU while a monitor is connected to a dGPU port, so the screen does not go black.

Eco blocks the driver with modprobe rules and removes the card from the PCI bus with a udev rule. With the card removed, the PCIe port can power it off. This works on GPUs that do not support runtime D3, for example the GTX 1050 and GTX 1060, and on laptops of any brand.

Use PCI when:

  • the GPU is older than Turing and the laptop has no MUX, so eBPF does not save power and the firmware backend is not available;
  • eBPF cannot run on your kernel.

If an app uses the dGPU when you choose Eco, a dialog shows:

  • Switch Now: closes the apps that use the dGPU and unloads the driver. Unsaved work in those apps is lost. Shown on Wayland only, because on X11 the X server holds the driver.
  • After Reboot: Eco is set at the next boot.
  • Cancel: keeps the current mode.

Fans + Power > GPU has a View button for the processes that use the dGPU. You can stop them from there.

The firmware backend writes dgpu_disable and gpu_mux_mode through the ASUS kernel driver. Use it on ASUS laptops when you want Ultimate, or when eBPF cannot run.

Change Reboot? Why
Eco to Standard Usually no May need a reboot if the driver is in use
To Ultimate Yes The MUX setting applies at boot
From Ultimate Yes The MUX must change back to the integrated GPU

When a reboot is needed, the app shows a notice and the pending mode. Click another mode to cancel the change. At boot, ghelper-gpu-boot.service applies the pending mode before the display manager starts.

Optimized is not in the app settings for this backend. As a manual override, set "gpu_optimized_enabled": 1 in the config file.

In Extra > GPU:

  • Re-apply Eco on every boot: for firmware that forgets Eco after a reboot.
  • dGPU temperature monitoring: reads the dGPU temperature. Turn it off to let the dGPU sleep, because each read wakes it up.
  • Raw WMI mode: for older Vivobook and Zenbook firmware without dgpu_disable. See Raw WMI mode.
  • UMA Buffer Size: memory reserved for the integrated GPU. Needs a reboot.

When an ASUS XG Mobile dock is connected, the GPU panel shows an XG Mobile button that turns the dock on or off. Close apps that run on the dock before you turn it off. Extra > GPU has the dock light settings, and Fans + Power shows the dock fan curve.