This is the full developer documentation for G-Helper for Linux # Page not found > This page does not exist. It was moved or the link is wrong. Use the search, or start from one of these pages. # G-Helper for Linux > One binary. Full control of your ASUS laptop. ## Welcome [Section titled “Welcome”](#welcome) You bought an ASUS laptop. Then you booted Linux. Then you found out that Armoury Crate is Windows only. **G-Helper Linux** is a Linux port of the original [Windows G-Helper](https://github.com/seerge/g-helper) by seerge. It is a single native binary. It talks to the kernel through standard sysfs, ACPI and HID interfaces, and gives you the control panel your laptop deserves. It is not only for ASUS. Lenovo IdeaPad, Legion, LOQ and Yoga laptops get modes, battery care, fans, power limits and GPU switching. Laptops from other brands get performance modes, the battery charge limit, GPU switching, the refresh rate and the virtual microphone, when the kernel supports them. See [Supported devices](/docs/devices/overview/). It runs on Ubuntu, Debian, Fedora, Arch, NixOS, SteamOS and more, on KDE Plasma, GNOME, COSMIC, Hyprland and other desktops. See [Distributions](/docs/linux/distros/) and [Desktop environments](/docs/linux/desktops/). **No Armoury Crate. No telemetry. Just controls that work.** Performance modes, fan curves, CPU and GPU power limits, GPU mode switching, keyboard and lid lighting, refresh rate and MiniLED, battery charge limit, key bindings, a virtual microphone with noise suppression, mouse settings, app profiles and a system tray. No install needed. Download one file and run it. The app sets up its system files for you at the first start. ## Where to next [Section titled “Where to next”](#where-to-next) [Install](/docs/getting-started/install/)Download and run, no installer needed. Also a one command install, NixOS and source builds. [Find your laptop](/docs/devices/overview/)How support works: ASUS series, Lenovo, and other laptops. [Window gallery](/docs/preview/)Screenshots of the main windows, rendered from the app source. [Push your hardware](/docs/features/performance-modes/)Performance modes, fan curves, power limits, GPU switching, undervolting. [Fix it when it breaks](/docs/troubleshooting/common-issues/)Common problems, GPU mode issues, diagnostics and bug reports. [Support the project](/docs/support/)G-Helper Linux is maintained by one developer. Any amount helps. ## What G-Helper Linux does [Section titled “What G-Helper Linux does”](#what-g-helper-linux-does) | Feature | What it controls | | ----------------------- | -------------------------------------------------------------------------------------------------- | | Performance modes | Silent, Balanced, Turbo. Firmware profile plus your fans and limits | | GPU mode switching | Eco and Standard, plus Optimized (eBPF) or Ultimate (ASUS MUX). eBPF, PCI or ASUS firmware backend | | Fan curves | 8 point curves per fan and per mode. CPU, GPU, mid fan, XG Mobile | | Power limits | PL1, PL2, fPPT, AMD SMU limits, NVIDIA TGP, Dynamic Boost, temp target | | Undervolting | AMD Curve Optimizer, Intel MSR undervolt | | Screen | Refresh rate, auto rate on battery, overdrive, MiniLED, gamma | | Lighting | Keyboard RGB and per-key, ambient mode, lid logo, light bar, Slash, AniMe Matrix | | Battery | Charge limit, battery info, Lenovo conservation and rapid charge | | Keys | ROG, Fn+F4 and Fn+F5 actions, FN-Lock remap, M-keys, NumberPad | | Microphone | Virtual microphone with noise suppression, EQ, delay, reverb, vocoder | | Peripherals | ASUS mice, Logitech mice, keyboards and receivers | | App profiles | A mode per game or program, used while it runs | | Handhelds | ROG Ally controller modes, bindings, on-screen keyboard, Steam | | Updates and diagnostics | BIOS and driver updates, app updates, system files, bug reports | | Tray | Mode and GPU switching, CPU, GPU and dGPU status icons | ## Project links [Section titled “Project links”](#project-links) * **Source code:** [github.com/utajum/g-helper-linux](https://github.com/utajum/g-helper-linux) * **Releases:** [latest binary and AppImage](https://github.com/utajum/g-helper-linux/releases) * **Changelog:** [CHANGELOG.md](https://github.com/utajum/g-helper-linux/blob/master/CHANGELOG.md) * **Bug tracker:** [open an issue](https://github.com/utajum/g-helper-linux/issues) * **Discussion:** [GitHub discussions](https://github.com/utajum/g-helper-linux/discussions) * **Original Windows project:** [seerge/g-helper](https://github.com/seerge/g-helper) * **For AI assistants:** [llms.txt](https://g-helper-linux.elevatech.xyz/llms.txt), with the full docs in [llms-full.txt](https://g-helper-linux.elevatech.xyz/llms-full.txt) # ROG Ally > G-Helper Linux on the ROG Ally and Ally X. Controller modes, button bindings, deadzones, stick calibration, TDP, Steam and gamepad navigation. G-Helper Linux supports the ROG Ally family (RC71, RC72, RC73, RC74). The main window shows a **Handheld** panel with the controller mode, the stick lights, the handheld settings and the on-screen keyboard. ## Controller mode [Section titled “Controller mode”](#controller-mode) The controller mode button switches between modes, for example gamepad or mouse and keyboard. The mode is written to the controller firmware. The tray menu has the same toggle. By default the Command Center button cycles the mode. ## Handheld settings [Section titled “Handheld settings”](#handheld-settings) | Section | What it sets | | ----------- | ---------------------------------------------------------------------------------------------- | | Bindings | Main and second action for each button, plus turbo repeat. Written to the controller firmware. | | Deadzones | Inner and outer deadzones for each stick, start and end for each trigger | | Vibration | Vibration strength | | Calibration | Stick and trigger values. **Capture** reads them for 3 seconds. | | Controller | Turns off the built-in gamepad, for example for an external controller | ![Handheld settings: button bindings](/.netlify/images?url=_astro%2Fhandheld-bindings.B0XWEJW9.png\&w=614\&h=223\&dpl=6b0b6997696f4b19e3216328) **Reset** sets all bindings, deadzones and vibration back to the defaults. ## Power [Section titled “Power”](#power) **Fans + Power** has TDP presets of 10, 15, 25 and 30 W, next to the normal power limits. See [Power limits](/docs/features/power-limits/). ## Steam and game mode [Section titled “Steam and game mode”](#steam-and-game-mode) * On the first start, the app offers to add itself to your Steam library as a non-Steam app, with its icon and artwork. You can also do this later in **Updates**. * In gamescope, the app runs full screen. * Gamepad navigation: the D-pad moves the focus, A confirms, B goes back, X and Y open the on-screen keyboard, and the right stick scrolls. It is on by default on handhelds. On a desktop, set `"gamepad_nav": 1` in the config to turn it on. ## On SteamOS and Bazzite [Section titled “On SteamOS and Bazzite”](#on-steamos-and-bazzite) On immutable systems the app installs its desktop entry and icon in your user folders. On sealed SteamOS, the root helper goes to `/etc/ghelper`. Note The Lenovo Legion Go family also gets the handheld features that apply to it, for example TDP presets of 8, 15, 22 and 30 W. # ROG Flow > G-Helper Linux on Flow X13, X16 and Z13. XG Mobile dock, Z13 lighting, tablet use and Strix Halo. Flow laptops have the ASUS modes, fan curves, power limits, screen and battery controls. Each panel shows only when your model and kernel have the feature. ## XG Mobile dock [Section titled “XG Mobile dock”](#xg-mobile-dock) When an XG Mobile dock is connected: * The GPU panel shows the **XG Mobile** button. It turns the dock on or off. Close the apps that run on the dock first. * **Extra > GPU** has the dock lights and their brightness. * **Fans + Power** shows the dock fan curve. If live switching hangs, the dock panel suggests the kernel parameter `pcie_port_pm=off`. ## Z13 [Section titled “Z13”](#z13) * The Z13 has a lid logo light and backlight zones. Their power zones are in **Extra > Lighting**. * For tablet use, **Extra > Devices** turns the touchpad and the touchscreen on or off. The tray menu opens the on-screen keyboard. ## Strix Halo (GZ302) [Section titled “Strix Halo (GZ302)”](#strix-halo-gz302) The GZ302 has no dGPU, so the GPU panel does not show. The AMD SMU limits and the Curve Optimizer support Strix Halo. See [Power limits](/docs/features/power-limits/) and [Undervolting](/docs/features/amd-undervolting/). ## See also [Section titled “See also”](#see-also) * [GPU mode switching](/docs/features/gpu-modes/) * [Kernel feature matrix](/docs/devices/kernel-matrix/) # Kernel feature matrix > The minimum kernel version for each G-Helper Linux feature, and how to check what your kernel exposes. G-Helper Linux uses the interfaces of your kernel. A newer kernel gives more features. Check your version with `uname -r`. ## Minimum kernel per feature [Section titled “Minimum kernel per feature”](#minimum-kernel-per-feature) | Feature | Min kernel | | ----------------------------------------------- | ---------- | | Performance modes, fan speed, battery limit | 5.17 | | Custom fan curves (8 point) | 5.17 | | GPU MUX switch | 6.1 | | PPT power limits (PL1, PL2, fPPT) | 6.2 | | NVIDIA Dynamic Boost and temperature target | 6.2 | | MiniLED mode | 6.9 | | Lenovo power limits (`lenovo-wmi-other`) | 6.17 | | Lenovo CPU temperature and 80% conservation cap | 7.2 | | Lenovo keyboard Auto light level | 7.5 | The eBPF dGPU block needs a kernel built with `CONFIG_BPF_LSM=y` and booted with `bpf` in its LSM list. See [GPU mode switching](/docs/features/gpu-modes/#requirements). ## Check what your kernel exposes [Section titled “Check what your kernel exposes”](#check-what-your-kernel-exposes) ```bash # performance modes cat /sys/firmware/acpi/platform_profile_choices # GPU MUX and dGPU disable (legacy path) ls /sys/devices/platform/asus-nb-wmi/ | grep -E 'gpu_mux_mode|dgpu_disable' # firmware attributes (asus-armoury) ls /sys/class/firmware-attributes/asus-armoury/attributes/ 2>/dev/null # fan curve hwmon grep -l asus_custom_fan_curve /sys/class/hwmon/hwmon*/name # battery limit ls /sys/class/power_supply/BAT*/charge_control_end_threshold ``` **Extra > General > More…** (System Info) shows the same in the app. ## See also [Section titled “See also”](#see-also) * [Kernel modules](/docs/troubleshooting/kernel-modules/) * [Compatibility overview](/docs/devices/overview/) # Lenovo > G-Helper Linux on Lenovo IdeaPad, Legion, LOQ and Yoga through the mainline ideapad-laptop and lenovo-wmi drivers. G-Helper Linux supports Lenovo IdeaPad, Legion, LOQ and Yoga laptops. It uses the mainline kernel drivers `ideapad-laptop` and `lenovo-wmi-*`, so you need no extra module. The app (or the installer) sets up the Lenovo modules to load at boot. ## What works [Section titled “What works”](#what-works) | Feature | Notes | | ----------------- | ---------------------------------------------------------------------------------------------------------------------------- | | Performance modes | Through the kernel platform profile. Function + Q changes the mode, and the app follows it. | | Extreme mode | **Extra > Power** can make Turbo use the firmware Extreme mode. Use it on AC power. | | Fan speeds | Shown in the main window | | Fan target speed | A target speed slider (RPM) for each fan in **Fans + Power**, kernel 7.0+ | | Power limits | PPT limits through `lenovo-wmi-other`, kernel 6.17+ | | CPU temperature | A CPU temperature slider, kernel 7.2+ | | Battery | Conservation mode, rapid charge, always-on USB charging | | Keyboard light | Brightness. RGB on models whose firmware accepts it. Auto level from the light sensor on kernel 7.5+ (IdeaPad, Legion, LOQ). | | GPU switching | Eco, Standard and Optimized with the eBPF backend. Eco and Standard with PCI. | | Camera | **Extra > Devices** cuts the camera power | | Updates | BIOS and driver updates from the Lenovo support catalog | ## Extra settings [Section titled “Extra settings”](#extra-settings) * **Dust cleaning**: runs all fans at full speed for 30 seconds * **Flip to Start**: turns the laptop on when you open the lid * **Fn lock**: the firmware Fn lock * **Fix internal microphone distortion**: limits the internal microphone boost to 0 dB at startup and resume, for clipped recordings on some Legion laptops ## Conservation limit [Section titled “Conservation limit”](#conservation-limit) Conservation mode stops charging at about 60% on `ideapad-laptop`. On `lenovo-wmi-other` (kernel 7.2+) the cap is 80%. The battery slider follows the cap. ## Legion Go [Section titled “Legion Go”](#legion-go) The Legion Go family (Go, Go 2, Go S) gets the handheld features that apply to it, for example TDP presets of 8, 15, 22 and 30 W. On the iGPU-only Legion Go S, the GPU panel does not show. Tip **Updates > Diagnostics** includes a Lenovo section with the driver attributes. Add it to bug reports. # Compatibility overview > How G-Helper Linux finds the features of your laptop. ASUS series, Lenovo, and other laptops with a discrete GPU. G-Helper Linux does not use a fixed list of supported laptops. At start it reads the model and probes the kernel interfaces. Each panel shows only when the kernel exposes its feature. So support depends mostly on your kernel version. ## Check your model [Section titled “Check your model”](#check-your-model) ```bash cat /sys/class/dmi/id/product_name cat /sys/class/dmi/id/sys_vendor ``` For ASUS laptops, check that the ASUS kernel modules are loaded: ```bash lsmod | grep asus # expected: asus_nb_wmi, asus_wmi ``` **Extra > General > More…** (System Info) lists the model, BIOS, kernel, drivers, and the features that the app found. ## Vendors [Section titled “Vendors”](#vendors) | Vendor | What works | | ------ | ----------------------------------------------------------------------------------------------------------- | | ASUS | The full feature set, as the kernel and the model allow | | Lenovo | Modes, battery conservation, fans, power limits, keyboard light, GPU switching (IdeaPad, Legion, LOQ, Yoga) | | Other | Modes, battery charge limit, GPU switching, refresh rate, AMD power limits, microphone, mice. See below. | ## Other laptops [Section titled “Other laptops”](#other-laptops) G-Helper Linux also runs on laptops from other brands, for example Dell, HP, MSI, Acer, Framework and others. It uses the standard Linux interfaces that many laptops have: | Feature | Works when | | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | Silent, Balanced, Turbo | The kernel has `/sys/firmware/acpi/platform_profile` | | Battery charge limit | The battery has `charge_control_end_threshold` | | GPU switching (Eco, Standard, Optimized) | The laptop has an iGPU and a dGPU. Uses the [eBPF or PCI backend](/docs/features/gpu-modes/#which-backend-to-use) | | Refresh rate and gamma | X11, or a Wayland desktop that the app supports | | AMD power limits | The CPU is an AMD Ryzen | | Virtual microphone | PipeWire is running | | ASUS and Logitech mice | The mouse is connected | Check what your laptop has: ```bash cat /sys/firmware/acpi/platform_profile_choices ls /sys/class/power_supply/BAT*/charge_control_end_threshold ``` The app hides the panels that your laptop cannot use. ASUS-only and Lenovo-only features, for example the fan curve editor, ASUS Aura lighting and the MUX switch, do not show. ## ASUS series [Section titled “ASUS series”](#asus-series) [ROG Zephyrus](/docs/devices/zephyrus/)G14, G15, G16, M16. [ROG Flow](/docs/devices/flow/)X13, X16, Z13, and the XG Mobile dock. [ROG Strix and Scar](/docs/devices/strix/)Strix G and Scar. Per-key RGB, M-keys, light bar. [ROG Ally](/docs/devices/ally/)The handheld. Controller modes, bindings, Steam. [TUF Gaming](/docs/devices/tuf/)TUF A and F series. Manual fan control. [ProArt](/docs/devices/proart/)ProArt Studiobook and P16. [Vivobook and Zenbook](/docs/devices/vivobook-zenbook/)Modes, battery, NumberPad, Raw WMI. ## Other vendors [Section titled “Other vendors”](#other-vendors) [Lenovo](/docs/devices/lenovo/)IdeaPad, Legion, LOQ and Yoga through the mainline drivers. [Other laptops](#other-laptops)Dell, HP, MSI, Acer, Framework and more, through the standard Linux interfaces. [Kernel feature matrix](/docs/devices/kernel-matrix/)The minimum kernel for each feature. ## My laptop is not listed or a feature is missing [Section titled “My laptop is not listed or a feature is missing”](#my-laptop-is-not-listed-or-a-feature-is-missing) Tip Open **Updates > Report a Bug**. It sends a public GitHub issue with the system information; you do not need a GitHub account. Say which feature is missing. # ProArt > G-Helper Linux on ProArt Studiobook and ProArt P16. Modes, fans, ProArt key, lighting and the ProArt mouse. ProArt laptops have the ASUS modes, fan curves, power limits, GPU modes, screen and battery controls. Each panel shows only when your model and kernel have the feature. ## ProArt key [Section titled “ProArt key”](#proart-key) The ProArt key runs the action that you set for the ROG key in **Extra > Input**. See [Special keys](/docs/features/special-keys/). ## Lighting [Section titled “Lighting”](#lighting) ProArt models need an extra start-up command for their RGB controller. G-Helper Linux sends it at each start. ## ProArt mouse [Section titled “ProArt mouse”](#proart-mouse) The ProArt MD301 mouse has its own settings. See [Mice and peripherals](/docs/features/peripherals/). ## See also [Section titled “See also”](#see-also) * [Compatibility overview](/docs/devices/overview/) # ROG Strix and Scar > G-Helper Linux on Strix G and Scar. Per-key and LampArray lighting, light bar, rear light, M-keys, three fans and model notes. Strix and Scar laptops have the ASUS modes, fan curves, power limits, GPU modes, screen and battery controls. Each panel shows only when your model and kernel have the feature. ## Lighting [Section titled “Lighting”](#lighting) * **Per-key RGB** and the firmware effects, on per-key keyboards * **2024 and newer** (G614, G615, G634, G635, G814, G815, G834, G835): the painted effects (Heatmap, Battery, Gradient, Ambient, Zone Test) use the LampArray protocol that these keyboards need * **Light bar**, **lid lights** and the **rear light strip**, with power zones in **Extra > Lighting**. The rear strip follows the custom effects, as a gradient from the four keyboard zones. * **Advantage Edition** (G513QY, G713QY): the lid logo controls show, because these models have the LED but do not report it * **G615, G635, G815, G835**: AniMe Matrix lid display See [Keyboard and lighting](/docs/features/keyboard-rgb/). ## M-keys [Section titled “M-keys”](#m-keys) On models with M1, M2, M3 and M5 keys, **Extra > Input** sets the hardware function of each key. See [Special keys](/docs/features/special-keys/#m-keys). ## Three fans [Section titled “Three fans”](#three-fans) Models with a third fan show a **Mid** fan curve in **Fans + Power**. ## Model notes [Section titled “Model notes”](#model-notes) These notes come from the model lists in the app: * **G635L, G615L, G835L, G815L**: the firmware forgets Eco after a reboot, so the app always sets Eco again at boot. * **G835L, G635L**: the MiniLED panel gets an extra start-up step. * **G614F, G814F, G733P** and some other AMD models: the undervolt is written again 5 seconds after a mode switch. ## See also [Section titled “See also”](#see-also) * [GPU mode switching](/docs/features/gpu-modes/) * [Fan curves](/docs/features/fan-curves/) # TUF Gaming > G-Helper Linux on TUF A and F series. Manual fan control, lighting and model notes. TUF laptops have the ASUS modes, power limits, GPU modes, screen, keyboard lighting and battery controls. Each panel shows only when your model and kernel have the feature. ## Manual fan control [Section titled “Manual fan control”](#manual-fan-control) Some TUF models (for example FA506, FA507, FX506, FX507) have no fan curve support in the firmware. Turn on **Extra > Power > Manual fan control (experimental)**. The app then sets the fan speed along your curves, through the embedded controller. See [Fan curves](/docs/features/fan-curves/#manual-fan-control). ## Lighting [Section titled “Lighting”](#lighting) * The app sends the Dynamic Lighting start-up command to TUF keyboards, so the lights respond. * The keyboard follows the **Shutdown** power zone in **Extra > Lighting**. ## Model notes [Section titled “Model notes”](#model-notes) These notes come from the model lists in the app: * **FA506, FX517, FX608**: the firmware forgets Eco after a reboot, so the app sets Eco again at boot. * **FA608UM (A16)**: **Extra > Display > Optimal brightness** sets the firmware dimming on dark content. ## See also [Section titled “See also”](#see-also) * [GPU mode switching](/docs/features/gpu-modes/) * [Keyboard and lighting](/docs/features/keyboard-rgb/) # Vivobook and Zenbook > G-Helper Linux on Vivobook, Zenbook and Expertbook. Modes, battery limit, keyboard light, NumberPad, Zenbook Duo and Raw WMI. Vivobook, Zenbook and Expertbook laptops show the panels that their firmware supports. Most have performance modes, the battery limit and the keyboard backlight. Fan curves and the MUX switch are rare on these models, so those panels often do not show. ## NumberPad [Section titled “NumberPad”](#numberpad) On laptops with a NumberPad, **Extra > Devices > NumberPad…** turns it on and picks the layout. G-Helper Linux has the layouts and gestures of the ASUS driver. Hold a finger in the top right corner of the touchpad for one second to turn it on or off. ![The NumberPad window](/.netlify/images?url=_astro%2Fnumberpad.DxZciqyW.png\&w=350\&h=106\&dpl=6b0b6997696f4b19e3216328) ## Zenbook Duo [Section titled “Zenbook Duo”](#zenbook-duo) The detachable keyboard of the Zenbook Duo (UX8407) works for the keyboard light. ## Laptops with a dGPU [Section titled “Laptops with a dGPU”](#laptops-with-a-dgpu) Vivobook and Zenbook models with an NVIDIA dGPU can use the eBPF or PCI backend for Eco. See [GPU mode switching](/docs/features/gpu-modes/). Some models have no dGPU, for example the UX5606. The app hides the GPU panel on them. ## Older firmware without `dgpu_disable` [Section titled “Older firmware without dgpu\_disable”](#older-firmware-without-dgpu_disable) Note Some older Vivobook and Zenbook firmware has no `dgpu_disable`. For these, **Extra > GPU > Raw WMI mode** talks to the ASUS firmware through debugfs. See [Raw WMI mode](/docs/troubleshooting/raw-wmi/). ## See also [Section titled “See also”](#see-also) * [Compatibility overview](/docs/devices/overview/) * [Battery care](/docs/features/battery/) # ROG Zephyrus > G-Helper Linux on Zephyrus G14, G15, G16 and M16. AniMe Matrix, Slash, MiniLED, GPU switching and model notes. Zephyrus laptops have the full ASUS feature set: modes, fan curves, power limits, GPU modes, screen, keyboard lighting and battery limit. Each panel shows only when your model and kernel have the feature. ## Lid displays [Section titled “Lid displays”](#lid-displays) | Light | Models | | ------------ | ------------------------------------------------------ | | AniMe Matrix | G14 GA401 and GA402, M16 GU604V | | Slash | G14 GA403 and GA405, G16 GU605, GA605, GU405 and GU606 | The AniMe Matrix shows animations, your picture or GIF, a clock, or an audio visualizer. Slash has its own animations in **Extra > Lighting**. See [Keyboard and lighting](/docs/features/keyboard-rgb/). ## Model notes [Section titled “Model notes”](#model-notes) These notes come from the model lists in the app: * **G14 GA403 (some UI, UU, UV models)**: the firmware does not reset the power limits between modes. The app switches to another mode for a moment first. * **GU405, GU606, GA403GM**: Dynamic Boost uses ranges for these models. ## XG Mobile [Section titled “XG Mobile”](#xg-mobile) When an XG Mobile dock is connected, the GPU panel shows the dock button. See [GPU mode switching](/docs/features/gpu-modes/#xg-mobile). ## See also [Section titled “See also”](#see-also) * [Kernel feature matrix](/docs/devices/kernel-matrix/) * [Raw WMI mode](/docs/troubleshooting/raw-wmi/) for older firmware # Undervolting > AMD Curve Optimizer through ryzen_smu, and experimental Intel MSR undervolting. Requirements, limits and safety. An undervolt lowers the CPU voltage at each clock speed. The CPU then runs cooler and quieter at the same speed. Too much undervolt can crash or freeze the system, so start small. The undervolt controls are in **Fans + Power > CPU**. They show only when your CPU and kernel support them. ## AMD Curve Optimizer AMD [Section titled “AMD Curve Optimizer AMD ”](#amd-curve-optimizer) ### Requirements [Section titled “Requirements”](#requirements) * An AMD Ryzen CPU from the list below * The [ryzen\_smu](https://github.com/amkillam/ryzen_smu) kernel module, installed and loaded * The G-Helper Linux udev rules, for write access to `/sys/kernel/ryzen_smu_drv/` | Codename | Generation | | ---------------------- | ---------------------------------------- | | Vermeer | Zen 3, Ryzen 5000 desktop | | Cezanne | Zen 3 APU, Ryzen 5000G | | Rembrandt | Zen 3+ APU, Ryzen 6000 mobile | | Raphael / Dragon Range | Zen 4, Ryzen 7000 desktop, 7045HX mobile | | Phoenix | Zen 4 APU, Ryzen 7040 | | Hawk Point | Zen 4 refresh, Ryzen 8000 mobile | | Granite Ridge | Zen 5, Ryzen 9000 desktop | | Strix Point | Zen 5 mobile, Ryzen AI 300 | | Strix Halo | Zen 5, Ryzen AI 300 HX | Check that the module is loaded: ```bash lsmod | grep ryzen_smu ls /sys/kernel/ryzen_smu_drv/ ``` ### Set an undervolt [Section titled “Set an undervolt”](#set-an-undervolt) 1. Open **Fans + Power > CPU** 2. Move **CPU undervolt** to a small negative value, for example -10 3. Click **Apply** 4. Run a stress test or a long game. If the system is stable, go lower in small steps. 5. Turn on **Auto-apply** to write the value at each mode switch **Reset** sets the undervolt back to 0. The iGPU undervolt and the CPU temperature target work the same way. ### Safety [Section titled “Safety”](#safety) * The range is -40 to 0. To change it, set `min_uv` and `max_uv` in the [config file](/docs/reference/config/). * Values reset at every reboot. After a crash, a reboot gives stock settings again. * On Vermeer, Raphael and Granite Ridge, a read-only test runs at start. If the CPU rejects it, the feature turns off before any write. Each write is read back. * APUs use the MP1 mailbox, like `ryzenadj`. It has no read command, so there is no test and no read back. ## Intel undervolt Experimental [Section titled “Intel undervolt Experimental ”](#intel-undervolt) On Intel CPUs, the slider is in millivolts. G-Helper Linux writes the offset to the core and cache voltage planes (MSR `0x150`) through the root helper, which loads the `msr` module when needed. The value resets at reboot. Some BIOS versions lock this setting. The app reads the value back after each write, so it shows when the write had no effect. Caution Undervolting is at your own risk. Test each step for stability before you go lower. ## See also [Section titled “See also”](#see-also) * [Power limits](/docs/features/power-limits/) * [Kernel modules](/docs/troubleshooting/kernel-modules/) # Auto start and tray > Start G-Helper Linux at login, start in the tray, tray icons and menu, and what the app does in the background. ## Start at login [Section titled “Start at login”](#start-at-login) Turn on **Run on Startup** in the main window footer. The app writes a desktop entry to: ```plaintext ~/.config/autostart/ghelper.desktop ``` The installer, or the app at its first start, adds this entry. To start in the tray without the main window, turn on **Extra > General > Start minimized to tray**. ![Extra > General > Startup](/.netlify/images?url=_astro%2Fstartup.CCGZnAVF.png\&w=574\&h=163\&dpl=6b0b6997696f4b19e3216328) ## The tray icon [Section titled “The tray icon”](#the-tray-icon) * **Left click**: shows or hides the main window * **Right click**: Silent, Balanced, Turbo, the GPU modes that your backend supports, the dGPU state, Settings, the black and white icon, FN-Lock, the on-screen keyboard, and Quit ![Extra > General > System Tray Icons](/.netlify/images?url=_astro%2Ftray-icons.CuKcryJj.png\&w=574\&h=216\&dpl=6b0b6997696f4b19e3216328) On KDE Plasma, hover the icon to see the CPU and GPU temperatures: ![The tray tooltip with the CPU and GPU temperatures](/.netlify/images?url=_astro%2Ftray-tooltip.C7b4BQAi.png\&w=106\&h=70\&dpl=6b0b6997696f4b19e3216328) In **Extra > General** you can add more tray icons: | Option | What it shows | | -------------------- | --------------------------------- | | Show CPU temperature | CPU temperature, with your colors | | Show GPU temperature | GPU temperature, with your colors | | Show dGPU status | Active, suspended or off | **B\&W Tray Icon** fits monochrome panels. Note GNOME has no tray by default. Install the AppIndicator and KStatusNotifierItem extension to see the icon. ## Close or quit [Section titled “Close or quit”](#close-or-quit) Closing the main window hides it. The app keeps running in the tray. **Quit** in the main window or the tray menu stops the app completely. Settings written to the firmware stay after Quit, for example the charge limit, fan curves and lighting effects. App features stop: auto modes, app profiles, key actions, FN-Lock remap and the virtual microphone. Starting the app again while it runs shows the running window. ## What runs in the background [Section titled “What runs in the background”](#what-runs-in-the-background) While the app runs, it: * reads the temperatures and fan speeds for the window and the tray * reads the special keys and runs their actions * follows the power source for Auto refresh rate and Optimized GPU mode * watches programs for app profiles * sets your settings again after resume * runs the virtual microphone, if it is on * looks for connected mice and keyboards ## Rendering backend [Section titled “Rendering backend”](#rendering-backend) If windows freeze or look wrong, change **Extra > General > Rendering backend**. Auto uses EGL on Wayland and GLX on Xorg. The change applies at the next start. # Battery care > Battery charge limit, battery information, Lenovo conservation and rapid charge, and sleep settings. The charge limit stops charging at a level you choose. A battery that is not kept at 100% all the time lasts longer. ## Set the charge limit [Section titled “Set the charge limit”](#set-the-charge-limit) The **Battery Charge Limit** panel at the bottom of the main window has: ![The Battery Charge Limit panel](/.netlify/images?url=_astro%2Fbattery-panel.CS0EFhkR.png\&w=434\&h=128\&dpl=6b0b6997696f4b19e3216328) * A slider from 40% to 100% * **60%**: for a laptop that is plugged in most of the time * **80%**: a good balance between battery life and run time * **100%**: before a trip, when you need the full run time On models that accept only 60, 80 and 100, the slider snaps to these values. The kernel battery driver keeps the limit: ```bash cat /sys/class/power_supply/BAT*/charge_control_end_threshold ``` Some firmware resets the limit at a reboot. The app writes your limit again at every start, so it stays. Note TLP and power-profiles-daemon can write the same value. If they use a different limit, the last writer wins. Use one tool for the limit. ## Battery information [Section titled “Battery information”](#battery-information) In **Extra > Power**, click **Details…** next to the battery health. It shows the battery health, the design and full charge capacity, the charge cycles, the power draw, and the time to empty or to full. ![Battery details: health, cycle count and status](/.netlify/images?url=_astro%2Fbattery-health.COjsqKdN.png\&w=350\&h=111\&dpl=6b0b6997696f4b19e3216328) ## Lenovo [Section titled “Lenovo”](#lenovo) | Control | What it does | | ------------------------- | -------------------------------------------------------------------------------- | | Battery conservation mode | Stops charging at about 60%. On `lenovo-wmi-other` (kernel 7.2+) the cap is 80%. | | Rapid charge | Charges faster. The firmware turns off conservation when this is on. | | Always-on USB charging | Keeps USB ports powered while the laptop sleeps or is off | ## Sleep and lid [Section titled “Sleep and lid”](#sleep-and-lid) In **Extra > Power**: * **Suspend mode**: `s2idle` wakes at once but drains more battery. `deep` is full S3 suspend: slower wake, minimal drain. The setting applies now and at every start. * **Clamshell mode**: the laptop does not sleep when you close the lid. Use it with an external monitor. * **Stop nvidia-powerd on battery**: saves power on battery. It starts again on AC power. * **MCU Power Saving**: the power saving mode of the built-in controller chip. Saves power in sleep. Turn it off if a device does not wake up after sleep. # Fan curves > Edit 8 point fan curves for each fan and each mode. CPU, GPU, mid fan and XG Mobile. Manual fan control for models without firmware curves. A fan curve sets the fan speed for each temperature. G-Helper Linux keeps one curve for each fan and each performance mode, and writes it to the firmware. ![The Fan Curves editor with the CPU fan curve](/.netlify/images?url=_astro%2Ffan-curves.CIuALT-2.png\&w=495\&h=510\&dpl=6b0b6997696f4b19e3216328) ## Edit a curve [Section titled “Edit a curve”](#edit-a-curve) 1. Click **Fans + Power** in the main window 2. Pick the mode in the **Mode** list. This also switches the laptop to that mode. 3. Drag the points of a chart. Hold **Shift** to move the whole curve. 4. Click **Apply** to write the curves and save them for this mode Each chart has 8 points. The charts show only for the fans your laptop has: * **CPU** fan * **GPU** fan * **Mid** fan, on laptops with a third fan * **XG Mobile** dock fan, when a dock is connected The points always go up from left to right. Kernel 7.4 and newer reject a curve that goes down, so the app does not write one. ## Buttons [Section titled “Buttons”](#buttons) | Control | What it does | | ---------- | ----------------------------------------------------------------- | | Apply | Writes the curves to the firmware and saves them for this mode | | Reset | Loads the factory curves of this mode into the charts | | Disable | Turns off the custom curves. The firmware controls the fans again | | Auto-apply | Writes your curves at every mode switch and at startup | | Monitor | Opens live charts of temperatures, fan speeds and power | Caution Keep **Auto-apply** on. Without it, the firmware uses the BIOS curves after each reboot. ## Fan reaction speed [Section titled “Fan reaction speed”](#fan-reaction-speed) The **hysteresis** sliders set how fast the fans speed up when the temperature rises, and how fast they slow down when it falls. They need **Raw WMI mode** in **Extra > GPU**. ## Manual fan control Experimental [Section titled “Manual fan control Experimental ”](#manual-fan-control) Some TUF models (for example FA506, FA507, FX506, FX507) have no fan curve support in the firmware. For these, turn on **Extra > Power > Manual fan control (experimental)**. G-Helper Linux then sets the fan speed every second along your curves, through the embedded controller. It finds the controller like MyASUS does. A watchdog and an overheat guard give control back to the firmware if the app stops or the laptop gets too hot. ## Lenovo and other laptops [Section titled “Lenovo and other laptops”](#lenovo-and-other-laptops) The curve editor needs the ASUS fan curve interface (`asus_custom_fan_curve`). On Lenovo and other laptops, **Fans + Power** shows the sensors and the power limits, without the curves. On Lenovo laptops with kernel 7.0 or newer, the window has a target speed slider (RPM) for each fan instead. See [Lenovo](/docs/devices/lenovo/). ## What gets written [Section titled “What gets written”](#what-gets-written) On ASUS laptops the curves go to the `asus_custom_fan_curve` hwmon device: ```plaintext /sys/class/hwmon/hwmon*/ pwm1_auto_point1_temp ... pwm1_auto_point8_temp # CPU fan pwm1_auto_point1_pwm ... pwm1_auto_point8_pwm pwm2_auto_point*_temp, pwm2_auto_point*_pwm # GPU fan pwm3_auto_point*_temp, pwm3_auto_point*_pwm # mid fan ``` The curves are saved in the config as `fan_profile_cpu_`, `fan_profile_gpu_` and `fan_profile_mid_`. ## See also [Section titled “See also”](#see-also) * [Performance modes](/docs/features/performance-modes/) * [Power limits](/docs/features/power-limits/) # GPU mode switching > Eco, Standard, Optimized and Ultimate. The eBPF, PCI and ASUS firmware backends, when to use each one, and how to check that the dGPU is really off. 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](/.netlify/images?url=_astro%2Fgpu-panel.BH7cPIdU.png\&w=434\&h=133\&dpl=6b0b6997696f4b19e3216328) eBPF backend: Eco, Standard and Optimized ![The GPU Mode panel with the ASUS firmware backend: Eco, Standard and Ultimate](/.netlify/images?url=_astro%2Fgpu-panel-mux.CzaYRJD1.png\&w=434\&h=133\&dpl=6b0b6997696f4b19e3216328) ASUS firmware backend on a MUX laptop: Eco, Standard and Ultimate ## The modes [Section titled “The modes”](#the-modes) | 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. ## Backends [Section titled “Backends”](#backends) | 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](/.netlify/images?url=_astro%2Fgpu-backend.098lhmTa.png\&w=574\&h=408\&dpl=6b0b6997696f4b19e3216328) 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. ## Which backend to use [Section titled “Which backend to use”](#which-backend-to-use) | 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](/docs/troubleshooting/raw-wmi/) | 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. ## eBPF block Default [Section titled “eBPF block Default ”](#ebpf-block) 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: check that Eco saves power [Section titled “D3cold: check that Eco saves power”](#d3cold-check-that-eco-saves-power) 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](/.netlify/images?url=_astro%2Fgpu-d3cold.ClolOQnq.png\&w=434\&h=133\&dpl=6b0b6997696f4b19e3216328) You can also read it yourself (use the PCI address of your dGPU): ```bash 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. ### Which GPUs reach D3cold [Section titled “Which GPUs reach D3cold”](#which-gpus-reach-d3cold) 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](https://download.nvidia.com/XFree86/Linux-x86_64/580.95.05/README/dynamicpowermanagement.html). To turn on runtime D3 for a Turing card, add this line to `/etc/modprobe.d/nvidia.conf`, then reboot: ```bash options nvidia "NVreg_DynamicPowerManagement=0x02" ``` To see the driver state: ```bash cat /proc/driver/nvidia/gpus/0000:01:00.0/power # Runtime D3 status: Enabled (fine-grained) ``` Note A monitor on a dGPU port, a CUDA app or `nvidia-persistenced` with UVM persistence keeps an NVIDIA card awake. ### Requirements [Section titled “Requirements”](#requirements) * 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. ### Apps that can still use the dGPU [Section titled “Apps that can still use the dGPU”](#apps-that-can-still-use-the-dgpu) **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: ```bash ghelper --dgpu ``` ### Optimized on eBPF [Section titled “Optimized on eBPF”](#optimized-on-ebpf) 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. ## PCI backend [Section titled “PCI backend”](#pci-backend) 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. ## ASUS firmware backend and MUX ASUS [Section titled “ASUS firmware backend and MUX ASUS ”](#asus-firmware-backend-and-mux) 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](/docs/reference/config/). Caution Ultimate to Eco can need two reboots: first the MUX changes, then Eco applies. ## Other GPU options [Section titled “Other GPU options”](#other-gpu-options) 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](/docs/troubleshooting/raw-wmi/). * **UMA Buffer Size**: memory reserved for the integrated GPU. Needs a reboot. ## XG Mobile ASUS [Section titled “XG Mobile ASUS ”](#xg-mobile) 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. ## See also [Section titled “See also”](#see-also) * [GPU mode stuck](/docs/troubleshooting/gpu-stuck/) * [Kernel feature matrix](/docs/devices/kernel-matrix/) # Keyboard and lighting > Keyboard backlight and RGB effects, ambient lighting, power zones, lid logo, light bar, rear light, Slash and AniMe Matrix. G-Helper Linux controls the keyboard backlight and the other lights of ASUS laptops. Each control shows only when your laptop has that light. ## Main window [Section titled “Main window”](#main-window) The **Laptop Keyboard** panel has: ![The Laptop Keyboard panel with mode, speed and two colors](/.netlify/images?url=_astro%2Fkeyboard-panel.DPj-nW6b.png\&w=434\&h=130\&dpl=6b0b6997696f4b19e3216328) * **Backlight**: each click goes to the next brightness level, then back to off * **Effect**: the lighting effect * **Speed**: the speed of the effect. Not used by Static. * **Color 1** and **Color 2**: click to pick a color. Effects that blend two colors, for example Breathe, use the second color. ## Effects [Section titled “Effects”](#effects) The firmware effects depend on the keyboard. Common ones are Static, Breathe, Strobe, Color Cycle and Rainbow. Per-key keyboards can also have Star, Rain, Highlight, Laser, Ripple, Comet and Flash. G-Helper Linux also paints these effects itself: | Effect | What it shows | | --------- | ------------------------------------------- | | Heatmap | A color from the CPU temperature | | Battery | A color from the battery level | | GPU Mode | A color from the GPU mode | | Ambient | The colors of your screen | | Gradient | A gradient over the keyboard zones | | Zone Test | Lights each zone in turn, to find the zones | The firmware keeps its own effects when the app closes. The effects that the app paints stop when the app closes. ### Ambient [Section titled “Ambient”](#ambient) The keyboard follows the colors of the screen. It works on X11, and on Wayland through the screen sharing portal and PipeWire. On Wayland, your desktop asks once for permission to share the screen. Strix 4-zone keyboards and the light bar get one color for each zone. ### 2024 and newer Strix and Scar [Section titled “2024 and newer Strix and Scar”](#2024-and-newer-strix-and-scar) The 2024+ Strix and Scar (G614, G615, G634, G635, G814, G815, G834, G835) need the LampArray protocol for the painted effects. G-Helper Linux uses it on these models. The rear light strip follows the custom effects, as a gradient from the four keyboard zones. ## Extra > Lighting [Section titled “Extra > Lighting”](#extra--lighting) | Control | What it does | | --------------------------------- | -------------------------------------------------------------------- | | Keyboard brightness | The backlight level | | Animation speed | The speed of the effect | | Keep keyboard backlight always on | Keeps the backlight on when the desktop dims or turns it off on idle | | Power zones | When each light is on: awake, boot, sleep, shutdown, battery | | Rear light | The effect and color of the rear light | | Slash | On or off, brightness, animation, speed, and when it shows | | Status LEDs | Turns the status LEDs on or off. Needs Raw WMI mode. | ![Extra > Lighting > Keyboard Backlight with the power zones](/.netlify/images?url=_astro%2Fkeyboard-backlight.K7ZsKUkk.png\&w=574\&h=226\&dpl=6b0b6997696f4b19e3216328) The power zones exist for the keyboard, the lid logo, the light bar and the lid lights, as your laptop has them. Turn off **Battery** to save power on battery. ## AniMe Matrix ASUS [Section titled “AniMe Matrix ASUS ”](#anime-matrix) On laptops with an AniMe Matrix lid display, the main window has an **AniMe Matrix** panel with a mode list and a brightness list. The modes are off, built-in animations, your picture or GIF, a clock, and an audio visualizer. The settings button opens zoom, contrast, gamma, scaling and rotation for your picture. ![The AniMe Matrix window with a picture loaded](/.netlify/images?url=_astro%2Fanime-matrix.Cp3Ky4sy.png\&w=500\&h=580\&dpl=6b0b6997696f4b19e3216328) ## Slash ASUS [Section titled “Slash ASUS ”](#slash) The Slash LED strip on the lid has its own settings in **Extra > Lighting**: animation, brightness, speed, and whether it shows at boot, in sleep, at shutdown, on battery, on low battery and with the lid closed. ## Lenovo [Section titled “Lenovo”](#lenovo) Lenovo laptops have keyboard brightness, and RGB on models whose firmware accepts RGB writes. On kernel 7.5+, IdeaPad, Legion and LOQ keyboards also have an **Auto** level that follows the light sensor. ## Keys [Section titled “Keys”](#keys) By default Function + F4 cycles the lighting effect. See [Special keys](/docs/features/special-keys/). Tip If the keyboard stays dark, check the udev rules first. See [Common issues](/docs/troubleshooting/common-issues/). # Virtual microphone > A G-Helper Microphone in PipeWire with noise suppression, equalizer, delay, reverb and vocoder effects. G-Helper Linux adds a virtual microphone, **G-Helper Microphone**, to PipeWire. It reads your real microphone, applies the effects you turn on, and gives the result to apps. ![The Microphone panel in the main window](/.netlify/images?url=_astro%2Fmic-panel.Czst0AMH.png\&w=434\&h=46\&dpl=6b0b6997696f4b19e3216328) ## Turn it on [Section titled “Turn it on”](#turn-it-on) 1. In the **Microphone** panel of the main window, turn on the switch 2. In your call or recording app, pick **G-Helper Microphone (Noise Suppressed)** as the input 3. Click the equalizer button next to the switch to open the effect chain ## The effect chain [Section titled “The effect chain”](#the-effect-chain) The effects run in this order: Denoise, Vocoder, EQ, Delay, Reverb. Tick the box of an effect to turn it on. Click its icon to open its settings. | Effect | What it does | | ------- | --------------------------------------------------------------------------- | | Denoise | A neural network removes background noise. Models: RNNoise and GTCRN. | | Vocoder | Voice effects: robot, pitch shift, autotune, bit crush, stutter and presets | | EQ | 9 band parametric EQ. Drag a handle; the mouse wheel changes the width. | | Delay | An echo, with time, feedback and mix | | Reverb | A virtual room, with size, damping, width and mix | ![The audio window with the effect chain, levels, waveforms and spectrum](/.netlify/images?url=_astro%2Fmic-chain.DWnvyR8N.png\&w=820\&h=600\&dpl=6b0b6997696f4b19e3216328) The chain window also has: * **Source**: your real microphone. Click refresh after you plug in a headset. * **Master**: the output level * **Monitor**: plays the result to your speakers or headphones, so you can hear yourself * Live waveforms, spectrums and level meters, before and after the effects The Denoise settings show the model, the live voice activity and the noise reduction: ![The Noise Suppression window](/.netlify/images?url=_astro%2Fmic-noise.B6tN84dZ.png\&w=420\&h=235\&dpl=6b0b6997696f4b19e3216328) ## Keys [Section titled “Keys”](#keys) You can bind the virtual microphone, each effect and the monitor to the ROG, Fn+F4 or Fn+F5 keys. See [Special keys](/docs/features/special-keys/). ## Turn it off [Section titled “Turn it off”](#turn-it-off) To stop the feature and its audio process, turn on **Extra > Devices > Disable virtual microphone**. Tip If the microphone does not start, open **Updates > Diagnostics**. The log shows the exit code and the last error of the audio helper. # Performance modes > How Silent, Balanced and Turbo work. Thermal policy, platform profile, CPU energy preference, and your fans and power limits on top. Silent, Balanced and Turbo are the main controls of G-Helper Linux. Each mode is a firmware profile, plus your own fan curves and power limits for that mode. ![The Mode panel with Silent, Balanced, Turbo and Fans + Power](/.netlify/images?url=_astro%2Fmode-panel.DRwUvXo3.png\&w=434\&h=114\&dpl=6b0b6997696f4b19e3216328) ## What a mode switch does [Section titled “What a mode switch does”](#what-a-mode-switch-does) When you click a mode, G-Helper Linux does these steps: 1. Sets the ASUS thermal policy (`throttle_thermal_policy`) 2. Writes the kernel platform profile to `/sys/firmware/acpi/platform_profile` 3. Sets the CPU energy preference (EPP) for the mode, if you chose one 4. Writes your fan curves, if **Auto-apply** is on for this mode 5. Writes your CPU and GPU power limits, if auto-apply is on for them 6. Writes your undervolt and the CPU boost setting for the mode 7. Runs your mode command, if you set one The firmware changes the fans and power limits to its own preset for the mode. Your saved values then go on top. | Mode | Default platform profile | | -------- | ------------------------ | | Silent | `low-power` | | Balanced | `balanced` | | Turbo | `performance` | Some laptops name their profiles in a different way, for example `quiet`. G-Helper Linux reads `/sys/firmware/acpi/platform_profile_choices` and maps the names. ## Settings per mode [Section titled “Settings per mode”](#settings-per-mode) **Extra > Power** has a platform profile and an energy preference for each mode: ![Extra > Power > Power Management, with the platform profile and EPP for each mode](/.netlify/images?url=_astro%2Fpower-management.BrM_Ovn-.png\&w=574\&h=323\&dpl=6b0b6997696f4b19e3216328) * **Platform profile**: the kernel profile that the mode writes. * **CPU energy preference**: `power` saves battery, `performance` favors speed. Applied to all CPU cores when the mode starts. **Fans + Power** keeps these settings for each mode: * Fan curves (CPU, GPU, mid fan, XG Mobile) * CPU power limits, CPU boost and the undervolt * GPU power, clocks and temperature target * A mode command (Advanced tab) The **Mode** list at the top of Fans + Power picks the mode to edit. It also switches the laptop to that mode. ## Mode command [Section titled “Mode command”](#mode-command) **Fans + Power > Advanced** has a shell command for each mode. It runs with `/bin/sh -c` after every switch to that mode, by hand or automatic. Use it for example to start a script or change a setting that G-Helper Linux does not have. The same tab has the **reapply timer**. It writes the CPU and GPU power limits again every N seconds, for laptops whose BIOS resets them. `0` turns it off. ## App profiles [Section titled “App profiles”](#app-profiles) **Extra > Power > App profiles** switches the mode while a program runs. ![Extra > Power > App profiles](/.netlify/images?url=_astro%2Fapp-profiles.BL4yDO8E.png\&w=574\&h=83\&dpl=6b0b6997696f4b19e3216328) * Pick **Any game** (Steam, Heroic, Lutris), one Steam or non-Steam game, a running program, or a program file from disk. * Choose a mode for it. When the program closes, the app goes back to your mode for the current power source. * A rule for one game wins over **Any game**. * If you pick a mode by hand, it stays until the program closes. ## Switch with a key [Section titled “Switch with a key”](#switch-with-a-key) By default Function + F5 (or M4) cycles Silent, Balanced and Turbo. You can change the action in **Extra > Input**. See [Special keys](/docs/features/special-keys/). Note Fast key presses are combined over 300 ms. This keeps fast Fn+F5 presses from overloading the firmware. ## Lenovo [Section titled “Lenovo”](#lenovo) On Lenovo IdeaPad, Legion and LOQ laptops, the modes use the kernel platform profile of the `ideapad-laptop` and `lenovo-wmi` drivers. Function + Q changes the mode, and the app follows it. **Extra > Power** can make Turbo use the firmware **Extreme** mode. See [Lenovo](/docs/devices/lenovo/). ## See also [Section titled “See also”](#see-also) * [Fan curves](/docs/features/fan-curves/) * [Power limits](/docs/features/power-limits/) * [Special keys](/docs/features/special-keys/) # Mice and peripherals > Settings for ASUS mice and Logitech mice, keyboards and receivers. DPI, polling rate, lighting, buttons, pairing. When a supported mouse or keyboard is connected, the main window shows a button for it in the **Peripherals** panel. Click it to open its settings. ## ASUS mice [Section titled “ASUS mice”](#asus-mice) G-Helper Linux supports more than 30 ASUS ROG and TUF mice, for example the Harpe, Gladius, Keris, Chakram, Pugio, Spatha, Strix Impact and TUF M series. The settings depend on the mouse: ![The DPI section of the mouse window](/.netlify/images?url=_astro%2Fmouse-dpi.DqWxSfqg.png\&w=390\&h=181\&dpl=6b0b6997696f4b19e3216328) * DPI profiles, DPI levels and their LED colors * Polling rate, lift-off distance, debounce, angle snapping and angle tuning, acceleration, motion sync, Zone Mode * Lighting effects, colors, speed, and sync with the laptop keyboard * Button bindings, also with SpeedShift * Power-off time and low battery warning for wireless mice * Profiles stored in the mouse, and import or export as `.gmp1` files ## Logitech [Section titled “Logitech”](#logitech) G-Helper Linux talks to Logitech devices with the HID++ protocol, over USB, Bluetooth, and Unifying or Bolt receivers. Supported devices include G and MX series mice, keyboards and headsets. The settings come from the device itself, so each device shows only what it supports. Examples: * DPI, polling rate, onboard profiles * Scroll wheel: Hi-Res scroll, SmartShift, ratchet, thumb wheel * Buttons, gestures and host switching * Lighting effects and zones, idle and sleep timeouts * Keyboard G-key and M-key lights * Headset sidetone, microphone gain and EQ * Battery level and charging state Settings are saved for each device and set again when it connects, after resume and after the monitor wakes. ### Receivers [Section titled “Receivers”](#receivers) **Extra > Devices > Logitech receivers…** (or the receivers button in the main window) lists the connected receivers. You can pair a new device to a Unifying or Bolt receiver, or unpair an old one. ![The Logitech receivers window with a paired MX Master](/.netlify/images?url=_astro%2Flogitech-receivers.jNhH7PE2.png\&w=460\&h=165\&dpl=6b0b6997696f4b19e3216328) ## Turn it off [Section titled “Turn it off”](#turn-it-off) In **Extra > Devices**: ![Extra > Devices > Peripherals](/.netlify/images?url=_astro%2Fperipherals-extra.CsEIHyW-.png\&w=574\&h=191\&dpl=6b0b6997696f4b19e3216328) * **Disable Logitech mouse/keyboard support**: stops the search for Logitech devices and hides their panels * **Disable ASUS mouse/keyboard support**: the same for ASUS devices. Needs an app restart. Tip If a device does not show, check that the udev rules are installed in **Updates > System integration files**. The rules give access to the device. # Power limits (PPT) > CPU power limits, AMD SMU limits, NVIDIA GPU power, clocks and temperature target, per performance mode. Power limits set how much power the CPU and GPU can use. G-Helper Linux saves them for each performance mode and writes them to the firmware. Open **Fans + Power**. The **CPU** and **GPU** tabs hold the sliders. ## CPU tab [Section titled “CPU tab”](#cpu-tab) | Control | What it limits | | ---------- | ---------------------------------------------------------------------- | | PL1 / SPL | Sustained CPU power. The CPU can use this much for a long time. | | PL2 / SPPT | Short boost power, for a few seconds to minutes. Never lower than PL1. | | fPPT | Fast power for very short bursts. Never lower than PL2. | | CPU Boost | Off keeps the CPU at its base clock: cooler and quieter, but slower. | ![Fans + Power > CPU > Power Limits](/.netlify/images?url=_astro%2Fpower-limits.mWwj5_Bm.png\&w=329\&h=334\&dpl=6b0b6997696f4b19e3216328) The slider ranges come from the firmware (`min_value` and `max_value`), so you cannot pick a value that the kernel rejects. Values are written a moment after you stop moving a slider. * **Auto-apply**: writes these limits each time you switch to this mode, and at startup. * **Reset**: removes your limits for this mode. The firmware defaults apply again. ### AMD SMU limits AMD [Section titled “AMD SMU limits AMD ”](#amd-smu-limits) On AMD CPUs, an extra panel sets limits through the bundled `ryzenadj`: STAPM, fast and slow limits, APU slow limit, STAPM and slow time, the Tctl temperature limit, APU and dGPU skin temperature limits, voltage regulator current limits, and the minimum and maximum iGPU clock. Click **Apply** to write all shown values. The panel hides values that your CPU does not support. ### Undervolt [Section titled “Undervolt”](#undervolt) The same tab has the CPU undervolt, the iGPU undervolt and a **CPU Temp Target**. See [Undervolting](/docs/features/amd-undervolting/). ## GPU tab [Section titled “GPU tab”](#gpu-tab) For NVIDIA GPUs: | Control | What it does | | ----------------------------- | --------------------------------------------------------------- | | Sustained TGP | Sustained GPU power, written to the ASUS firmware | | Max TGP | Maximum GPU power, written to the ASUS firmware | | Dynamic Boost | Extra watts the firmware can move from the CPU to the GPU | | Temp Target | The GPU slows down to stay below it | | nvidia-smi Power | The power cap of the NVIDIA driver | | Core Offset and Memory Offset | Clock offsets through NVML (driver 555+). Go up in small steps. | | Clock Lock and VRAM Lock | Locks the core or memory clock at a fixed value | A slider shows only when your GPU, driver and kernel support it. **Apply** writes the GPU settings now. **Reset** sets them back to the defaults. **Auto-apply** writes them at every mode switch and at startup. Caution Positive clock offsets can crash games or show artifacts. Raise them in small steps and test each step. ## Reapply timer [Section titled “Reapply timer”](#reapply-timer) Some BIOS versions reset the limits after a while. **Fans + Power > Advanced > Reapply power** writes the CPU and GPU limits again every N seconds. `0` turns it off. ![Fans + Power > Advanced, with Run on switch and Reapply power](/.netlify/images?url=_astro%2Ffans-advanced.CTcGvatI.png\&w=329\&h=199\&dpl=6b0b6997696f4b19e3216328) ## What gets written [Section titled “What gets written”](#what-gets-written) On kernels with the `asus-armoury` driver: ```plaintext /sys/class/firmware-attributes/asus-armoury/attributes/ppt_pl1_spl/current_value /sys/class/firmware-attributes/asus-armoury/attributes/ppt_pl2_sppt/current_value /sys/class/firmware-attributes/asus-armoury/attributes/ppt_pl3_fppt/current_value /sys/class/firmware-attributes/asus-armoury/attributes/nv_dynamic_boost/current_value /sys/class/firmware-attributes/asus-armoury/attributes/nv_temp_target/current_value ``` On older kernels the same values are under `/sys/devices/platform/asus-nb-wmi/`. G-Helper Linux finds the path that exists. ## Lenovo Kernel 6.17+ [Section titled “Lenovo Kernel 6.17+ ”](#lenovo) On Lenovo laptops, the power limits use the `lenovo-wmi-other` driver (kernel 6.17+). Kernel 7.2+ also has a CPU temperature slider. See [Lenovo](/docs/devices/lenovo/). ## If something goes wrong [Section titled “If something goes wrong”](#if-something-goes-wrong) | Symptom | Check | | --------------------------- | -------------------------------------------------------------------------------------------------------------- | | Sliders are missing | Your kernel does not expose the PPT attributes. See the [Kernel feature matrix](/docs/devices/kernel-matrix/). | | Values reset after a while | Set **Reapply power** in the Advanced tab. | | Values reset after a reboot | Turn on **Auto-apply** in the CPU and GPU tabs. | ## See also [Section titled “See also”](#see-also) * [Fan curves](/docs/features/fan-curves/) * [Performance modes](/docs/features/performance-modes/) # Screen and MiniLED > Refresh rate switching, auto rate on battery, panel overdrive, MiniLED, brightness, optimal brightness and gamma. ## Refresh rate [Section titled “Refresh rate”](#refresh-rate) ![The Laptop Screen panel](/.netlify/images?url=_astro%2Fscreen-panel.BS-WroDI.png\&w=434\&h=122\&dpl=6b0b6997696f4b19e3216328) The **Laptop Screen** panel has three buttons: | Button | What it does | | ------- | --------------------------------------------------- | | Auto | The maximum rate on AC power, 60 Hz on battery | | 60 Hz | Sets 60 Hz. Turns off Auto. | | Maximum | Sets the highest rate of the panel. Turns off Auto. | If the panel has no 60 Hz mode, Auto uses the lowest rate on battery. The app sets the saved rate at startup, and skips the switch when the panel already runs at the target rate. G-Helper Linux finds the display tool for your session: * **X11**: `xrandr` * **Wayland**: it tries `wlr-randr` (bundled) first, then `gdctl` (GNOME 48+), then `kscreen-doctor` (KDE), then `xrandr` On X11 with an NVIDIA dGPU, the refresh rate and gamma go to the built-in panel, not to an external monitor. ## MiniLED Kernel 6.9+ [Section titled “MiniLED Kernel 6.9+ ”](#miniled) On laptops with a MiniLED panel, the **MiniLED** button cycles the backlight dimming mode. Multi-zone dimming gives deeper blacks and more HDR contrast. The number of modes comes from the firmware. The mode is set again after a cold boot and after resume. ## Extra > Display [Section titled “Extra > Display”](#extra--display) | Control | What it does | | ------------------------ | ----------------------------------------------------------------------------------------- | | Backlight device | Which device controls the brightness. Change it if the slider does not change the screen. | | Brightness | Screen brightness through the selected device | | Enable display backlight | Loads the kernel module that creates the backlight device for your GPU | | Panel Overdrive | Faster pixel response, less motion blur. Can show light ghosting. | | Auto-switch refresh rate | The same as the Auto button | | Optimal brightness | Firmware dimming on dark content: off, always on, or on battery only | | Gamma | Software gamma. Higher makes dark areas brighter. 1.00 is normal. | ![Extra > Display](/.netlify/images?url=_astro%2Fdisplay-extra.CR0G3-SW.png\&w=574\&h=239\&dpl=6b0b6997696f4b19e3216328) Each control shows only when your laptop and kernel have the feature. The overdrive setting is saved and set again after resume. ## Keys [Section titled “Keys”](#keys) You can bind **Cycle Screen Refresh Rate**, **Toggle Panel Overdrive** and **Toggle MiniLED** to the ROG, Fn+F4 or Fn+F5 keys. See [Special keys](/docs/features/special-keys/). Tip If the refresh rate does not change, see [Common issues](/docs/troubleshooting/common-issues/). # Special keys > Actions for the ROG, Fn+F4 and Fn+F5 keys, FN-Lock, the function key remap, custom shortcuts, M-keys, NumberPad and the on-screen keyboard. G-Helper Linux reads the ASUS special keys and runs an action for each one. These bindings work only while the app runs. ## Key actions [Section titled “Key actions”](#key-actions) Set the actions in **Extra > Input**: ![Extra > Input > Key Bindings](/.netlify/images?url=_astro%2Fkey-bindings.B2i7Uvjn.png\&w=574\&h=199\&dpl=6b0b6997696f4b19e3216328) | Key | Default action | | -------------------- | ---------------------- | | ROG / M5 | Toggle G-Helper | | Function + F4 (Aura) | Cycle Aura Mode | | Function + F5 / M4 | Cycle Performance Mode | Each key can run one of these actions: * None * Toggle G-Helper (show or hide the main window) * Cycle Performance Mode * Cycle Aura Mode * Keyboard Brightness Up, Keyboard Brightness Down * Toggle Microphone Mute, Toggle Speaker Mute * Cycle Screen Refresh Rate * Toggle Panel Overdrive * Toggle MiniLED * Toggle Camera * Toggle Touchpad * Audio: toggle the virtual microphone, denoise, vocoder, EQ, delay, reverb or monitor playback On the ROG Ally, the Command Center button and the back paddles have their own bindings. On the ProArt key, the ROG key action runs. ## FN-Lock [Section titled “FN-Lock”](#fn-lock) The **FN-Lock** button is in the **Laptop Keyboard** panel of the main window. It switches the F1 to F12 keys: ![The Laptop Keyboard panel with FN-Lock on](/.netlify/images?url=_astro%2Fkeyboard-fnlock-on.C6_IESjW.png\&w=434\&h=130\&dpl=6b0b6997696f4b19e3216328) * **On** (blue): the keys send the media actions printed on them * **Off**: the keys work as normal F-keys The tray menu has the same **FN-Lock** item, with a check mark when it is on. The state is saved across restarts. G-Helper Linux remaps the keys in software. It captures the keyboard and sends the keys again through a virtual keyboard (`uinput`). The remap works only while the app runs. On Lenovo laptops, **Extra > Input** also has the firmware Fn lock. ## Function Key Remap [Section titled “Function Key Remap”](#function-key-remap) Click **Details…** under **Function Key Remap** in **Extra > Input** to open the **Function Key Remap** window. ### Toggle hotkey [Section titled “Toggle hotkey”](#toggle-hotkey) ![Function Key Remap: the toggle hotkey](/.netlify/images?url=_astro%2Ffnlock-behavior.ChEmyYho.png\&w=526\&h=115\&dpl=6b0b6997696f4b19e3216328) While FN-Lock is on, the hotkey switches between media keys and F-keys. A notification shows the new mode. The default is Super + F2. Pick Super, Ctrl or Alt and a key from F1 to F12. Apps do not get the hotkey, so pick a combination that your desktop does not use. ### Devices to capture [Section titled “Devices to capture”](#devices-to-capture) ![Function Key Remap: the devices to capture](/.netlify/images?url=_astro%2Ffnlock-devices.Cl0T4UEj.png\&w=526\&h=249\&dpl=6b0b6997696f4b19e3216328) The list shows each input device with keys, with its bus and device ID. `F1-F12` marks devices with F-keys. Built-in devices are ticked by default: `i8042`, I2C and ASUS or Lenovo devices, for example the ASUS N-KEY keyboard. External keyboards are not ticked. * `own` is the virtual keyboard of G-Helper. You cannot tick it. * `keyd` is a virtual keyboard of keyd. Click **Rescan** after you connect a keyboard. ### Per-key mapping [Section titled “Per-key mapping”](#per-key-mapping) ![Function Key Remap: the per-key mapping](/.netlify/images?url=_astro%2Ffnlock-mapping.DByCpqKR.png\&w=526\&h=231\&dpl=6b0b6997696f4b19e3216328) Each F-key has a list. Pick what the key sends while FN-Lock is on: * Mute, Volume Down, Volume Up * Play/Pause, Previous Track, Next Track * Display Brightness Down, Display Brightness Up, Display Switch * Keyboard Backlight Toggle, Keyboard Brightness Down, Keyboard Brightness Up * Toggle Camera, Toggle Touchpad, Airplane / RFkill, Sleep, Print Screen * F13, F14, F15, F16 * The G-Helper [key actions](#key-actions), for example Cycle Performance Mode or Audio: Toggle Denoise A change applies at once. The default map: | Key | Default | Key | Default | | --- | ------------------------ | --- | ----------------------- | | F1 | Mute | F7 | Display Brightness Down | | F2 | Keyboard Brightness Down | F8 | Display Brightness Up | | F3 | Keyboard Brightness Up | F9 | Display Switch | | F4 | Cycle Aura Mode | F10 | Toggle Touchpad | | F5 | Cycle Performance Mode | F11 | Sleep | | F6 | Print Screen | F12 | Toggle G-Helper | Some models get other defaults that match their printed keys, for example ProArt, Zephyrus G14 GA401I, Flow Z13 and Duo models. **Reset to defaults** sets the defaults for your model again. ### Custom shortcuts [Section titled “Custom shortcuts”](#custom-shortcuts) Set an F-key to F13, F14, F15 or F16. Then bind that key to your own command in the keyboard shortcut settings of your desktop. Your desktop can show the key with another name. ### Advanced [Section titled “Advanced”](#advanced) **Debug logging** writes the F-keys and the hotkey to the log. See [FN-Lock debug](/docs/troubleshooting/logs/#fn-lock-debug). ### If FN-Lock does not turn on [Section titled “If FN-Lock does not turn on”](#if-fn-lock-does-not-turn-on) A notification gives the cause: * `uinput kernel module not loaded`: run `sudo modprobe uinput`. See [Kernel modules](/docs/troubleshooting/kernel-modules/). * `/dev/uinput not writable`: add your user to the `input` group, then log out and in again. Another remapper, for example keyd, can hold the keyboard. Then G-Helper cannot capture it. ## M-keys Strix [Section titled “M-keys Strix ”](#m-keys) On Strix models with M1, M2, M3 and M5 keys, **Extra > Input** sets the hardware function of each key. It is written to the keyboard controller, so it works on any desktop and when the app is closed. **Reset** sets the factory functions again. ## NumberPad [Section titled “NumberPad”](#numberpad) On laptops with a NumberPad, **Extra > Devices > NumberPad…** turns it on and picks the layout. Hold a finger in the top right corner of the touchpad for one second to turn it on or off. ## On-screen keyboard [Section titled “On-screen keyboard”](#on-screen-keyboard) The on-screen keyboard is for handhelds and tablet mode. Open it from the main window, the tray menu, or: ```bash ghelper --osk ``` ## If a key does nothing [Section titled “If a key does nothing”](#if-a-key-does-nothing) Tip Check that the app runs (tray icon). Then check that your user can read the input devices. The one command installer adds your user to the `input` group; log out and in again after the install. See [Common issues](/docs/troubleshooting/common-issues/). # First launch > What happens the first time you open G-Helper Linux. The startup prompts, the main window, the tray, and where settings live. ## Start the app [Section titled “Start the app”](#start-the-app) Open **G-Helper** from your application menu, or run it from a terminal: ```bash ghelper # after the one command install ./ghelper # the downloaded binary, from its folder ``` The application menu entry appears after the app installs its system files at the first start. If the app already runs, a second start shows the running window. At start, G-Helper Linux reads the laptop model from DMI, finds the vendor (ASUS, Lenovo or other), and probes the kernel interfaces it can use. A panel shows only when your hardware has the feature. The app does not show buttons that would do nothing. ## Startup prompts [Section titled “Startup prompts”](#startup-prompts) You can see up to three prompts at the first start: * **System files need attention**: shown when the udev rules, the sudo rule, the helpers or the GPU boot service are missing or old. Click **Install / Update** to install or repair them. This asks for your password once. No separate install step is needed. * **Update available**: shown when a newer release exists. Click **Update Now** to download and install it. You can also see what is new. * **Add to Steam**: shown on handhelds and SteamOS. It adds G-Helper Linux to your Steam library, so you can start it from game mode. You can turn off the first two prompts in **Extra > General**. The same actions stay in the **Updates** window. ## The main window [Section titled “The main window”](#the-main-window) The panels stack from top to bottom. Each panel shows only when your laptop supports it: ![The G-Helper Linux main window](/.netlify/images?url=_astro%2Fmain-window.nuHslhCb.png\&w=462\&h=721\&dpl=6b0b6997696f4b19e3216328) 1. **Mode**: Silent, Balanced, Turbo, and **Fans + Power**. The header shows CPU temperature and fan speed. 2. **GPU Mode**: Eco and Standard. With the eBPF backend, also Optimized when you turn it on. With the ASUS firmware backend on a MUX laptop, also Ultimate. The XG Mobile button shows when a dock is connected. 3. **Laptop Screen**: Auto, 60 Hz, the maximum rate, and MiniLED. 4. **Handheld**: controller mode, stick lights, handheld settings and the on-screen keyboard (ROG Ally). 5. **Laptop Keyboard**: backlight, FN-Lock, lighting effect, speed, two colors, and **Extra**. 6. **Microphone**: the virtual microphone switch, and a button that opens the effect chain. 7. **AniMe Matrix**: the lid display mode, brightness and picture settings (models with AniMe Matrix). 8. **Battery Charge Limit**: a slider and 60%, 80% and 100% buttons. 9. **Peripherals**: one button per connected mouse or keyboard, and the Logitech receivers. The footer has **Run on Startup**, the battery charge, the model and kernel details, the version, **Support**, **Updates** and **Quit**. Tip Turn on **Extra > General > Show help on hover**. Then every control shows a short explanation when you hold the mouse over it, in all 38 languages. ## The Extra window [Section titled “The Extra window”](#the-extra-window) Click **Extra** in the Laptop Keyboard panel to open all other settings. They are in seven tabs: General, Power, GPU, Display, Lighting, Input and Devices. ![The Extra window with the search box, the seven tabs and the General tab](/.netlify/images?url=_astro%2Fextra-window.Qd0h4aLa.png\&w=600\&h=1163\&dpl=6b0b6997696f4b19e3216328) Type in **Search settings** to find a setting in all tabs. The results show the tab name above each group. The search also finds words in the text under a setting. Press Control + F to go to the search box, and Escape to clear it. Click a tab to leave the search. ## Check that it works [Section titled “Check that it works”](#check-that-it-works) ### Performance mode [Section titled “Performance mode”](#performance-mode) Click **Silent**, then **Turbo**. You should hear the fans change within a few seconds. You can read the active kernel profile: ```bash cat /sys/firmware/acpi/platform_profile ``` ### Battery limit [Section titled “Battery limit”](#battery-limit) Click **80%**. Read the value back: ```bash cat /sys/class/power_supply/BAT*/charge_control_end_threshold ``` It should print `80`. If not, see [Common issues](/docs/troubleshooting/common-issues/). ## The tray icon [Section titled “The tray icon”](#the-tray-icon) G-Helper Linux puts an icon in the system tray. A left click shows or hides the main window. Closing the main window hides it; the app keeps running in the tray. The right click menu has: * Silent, Balanced and Turbo * The GPU modes that the selected backend supports, and the dGPU state * Settings (opens the main window) * Black and white icon, FN-Lock and the on-screen keyboard * Quit You can add tray icons for the CPU temperature, the GPU temperature and the dGPU state in **Extra > General**. ## Where settings live [Section titled “Where settings live”](#where-settings-live) ```plaintext ~/.config/ghelper/config.json ``` See [Config file](/docs/reference/config/) for the keys. ## Next step [Section titled “Next step”](#next-step) Run through the [Quick start](/docs/getting-started/quick-start/) to set good defaults for noise, battery and the dGPU. # Install > Install G-Helper Linux with one command. Native binary, AppImage, NixOS, or a build from source. ## No install needed [Section titled “No install needed”](#no-install-needed) G-Helper Linux is one file. Download the binary or the AppImage and start it. You do not need an installer, a package or a .NET runtime. * Binary ```bash curl -sL https://github.com/utajum/g-helper-linux/releases/latest/download/ghelper -o ghelper chmod +x ghelper ./ghelper ``` * AppImage ```bash curl -sL https://github.com/utajum/g-helper-linux/releases/latest/download/GHelper-x86_64.AppImage -o GHelper-x86_64.AppImage chmod +x GHelper-x86_64.AppImage ./GHelper-x86_64.AppImage ``` ### The app sets up the rest [Section titled “The app sets up the rest”](#the-app-sets-up-the-rest) Some features need system files, for example the battery limit, fans, lighting and GPU switching. The binary contains all of them. ![The System files need attention prompt with the Install / Update button](/.netlify/images?url=_astro%2Fsysfiles-prompt.DY-pHdT4.png\&w=461\&h=241\&dpl=6b0b6997696f4b19e3216328) At every start, the app checks these files. If a file is missing or old, it shows **System files need attention** with the list of files. Click **Install / Update**. The app asks for your password once and installs or repairs the files: * Hardware access rules (udev) and kernel modules * GPU helper, ryzenadj, the GPU scripts and the GPU boot service * Passwordless helper rule (sudoers) * Application menu entry, icon and autostart entry The app does the same check after each update. You can see the state of each file, and repair one file, in **Updates**. ![Updates > System integration files, with the state of each file](/.netlify/images?url=_astro%2Fsysfiles-list.CXZjTTct.png\&w=588\&h=435\&dpl=6b0b6997696f4b19e3216328) Note The eBPF GPU backend also needs the `libbpf` library from your distro. If it is missing, the app shows the command that installs it. ## Install with one command [Section titled “Install with one command”](#install-with-one-command) Use this if you want the app at a fixed path and on your `PATH`: ```bash curl -sL https://raw.githubusercontent.com/utajum/g-helper-linux/master/install/install.sh | sudo bash ``` The installer is safe to run again. It skips files that did not change. It does these steps: 1. Downloads the latest release binary and the install files 2. Puts the binary at `/opt/ghelper/ghelper` and links it to `/usr/local/bin/ghelper` 3. Installs the udev rules at `/etc/udev/rules.d/90-ghelper.rules` 4. Installs the GPU helpers, the GPU boot service and a sudoers rule 5. Sets the sysfs permissions for the current session 6. Adds a desktop entry and an icon 7. Adds an autostart entry at `~/.config/autostart/ghelper.desktop` Then start **G-Helper** from your application menu, or type `ghelper` in a terminal. To install only the system files for the AppImage, without the binary: ```bash curl -sL https://raw.githubusercontent.com/utajum/g-helper-linux/master/install/install.sh | sudo bash -s -- --appimage ``` ## NixOS [Section titled “NixOS”](#nixos) The same install command works on NixOS. It stages a module in `/etc/nixos`, adds the import to `configuration.nix` and runs `nixos-rebuild switch`. In the app, **Update & Rebuild** runs `nixos-rebuild switch` too, because the binary is in the read-only Nix store. The flake and the module are in the [`nixos/`](https://github.com/utajum/g-helper-linux/tree/master/nixos) folder of the repository. ## Build from source [Section titled “Build from source”](#build-from-source) * Ubuntu / Debian ```bash sudo apt install dotnet-sdk-10.0 clang zlib1g-dev libpipewire-0.3-dev libwayland-dev pkg-config git clone https://github.com/utajum/g-helper-linux.git cd g-helper-linux ./build.sh sudo ./install/install-local.sh ``` * Fedora ```bash sudo dnf install dotnet-sdk-10.0 clang zlib-devel pipewire-devel wayland-devel pkg-config git clone https://github.com/utajum/g-helper-linux.git cd g-helper-linux ./build.sh sudo ./install/install-local.sh ``` * Arch ```bash sudo pacman -S dotnet-sdk clang libpipewire wayland pkg-config git clone https://github.com/utajum/g-helper-linux.git cd g-helper-linux ./build.sh sudo ./install/install-local.sh ``` The output is a single Native AOT binary at `dist/ghelper`. It needs no .NET runtime. `install-local.sh` installs this local build. See [Build from source](/docs/reference/build/) for the full developer flow. ## System requirements [Section titled “System requirements”](#system-requirements) | Item | Requirement | | ------- | -------------------------------------------------------------------------------------------------------------- | | OS | Ubuntu 24.04+, Debian 13+, Fedora 39+, Arch, NixOS. See [Distributions](/docs/linux/distros/) | | libc | glibc 2.38+ for the release binary and the AppImage | | Desktop | X11 or Wayland. See [Desktop environments](/docs/linux/desktops/) | | Kernel | 6.2+ recommended, 6.9+ for all ASUS features | | Laptop | ASUS, Lenovo, or other laptops. See [Supported devices](/docs/devices/overview/) | | Module | `asus-nb-wmi` on ASUS, `ideapad-laptop` and `lenovo-wmi` on Lenovo (loaded by default). None on other laptops. | See the [Kernel feature matrix](/docs/devices/kernel-matrix/) for each feature. ## What gets installed where [Section titled “What gets installed where”](#what-gets-installed-where) The one command install writes all of these. When the app sets itself up, it writes the same files except the first two: the binary stays where you saved it. | Path | What it is | | ----------------------------------------------- | -------------------------------------------- | | `/opt/ghelper/ghelper` | The native binary | | `/usr/local/bin/ghelper` | Link, so `ghelper` is on your PATH | | `/usr/local/lib/ghelper/gpu-helper`, `ryzenadj` | Root helpers for GPU, EC, MSR and AMD SMU | | `/usr/local/lib/ghelper/*.sh` | GPU block and GPU boot scripts | | `/etc/systemd/system/ghelper-gpu-boot.service` | Applies a pending GPU mode at boot | | `/etc/sudoers.d/zz-ghelper-gpu` | Lets the app run the root helpers | | `/etc/udev/rules.d/90-ghelper.rules` | Device and sysfs permissions | | `/etc/modules-load.d/ghelper.conf` | Loads `uinput`, `i2c-dev` and vendor modules | | `/usr/share/applications/ghelper.desktop` | Application menu entry | | `~/.config/autostart/ghelper.desktop` | Start on login | | `~/.config/ghelper/config.json` | Your settings, written by the app | ## Next step [Section titled “Next step”](#next-step) Read [First launch](/docs/getting-started/first-launch/) to see what happens when you open the app for the first time. # Quick start > A short checklist for good defaults. Pick a mode, set a battery limit, choose a GPU mode, set the keyboard light, check autostart. The app runs and the fans react to a mode change. Now set the five settings that matter most. ## Step 1: Pick a performance mode [Section titled “Step 1: Pick a performance mode”](#step-1-pick-a-performance-mode) * **Silent**: low power limits and quiet fans. Good for battery and light work. * **Balanced**: the default for daily use. * **Turbo**: high power limits and fast fans for games and heavy work. ![The Mode panel](/.netlify/images?url=_astro%2Fmode-panel.DRwUvXo3.png\&w=434\&h=114\&dpl=6b0b6997696f4b19e3216328) The app remembers the mode and sets it again at the next start. Tip **App profiles** can switch the mode for you. Pick a game or program in **Extra > Power > App profiles** and choose a mode for it. G-Helper Linux uses that mode while the program runs. ## Step 2: Set a battery charge limit [Section titled “Step 2: Set a battery charge limit”](#step-2-set-a-battery-charge-limit) If the laptop is plugged in most of the time, do not charge to 100% every day. ![The Battery Charge Limit panel](/.netlify/images?url=_astro%2Fbattery-panel.CS0EFhkR.png\&w=434\&h=128\&dpl=6b0b6997696f4b19e3216328) 1. Find **Battery Charge Limit** at the bottom of the main window 2. Click **80%**, or **60%** if the laptop rarely leaves your desk 3. Before a trip, click **100%** ## Step 3: Pick a GPU mode [Section titled “Step 3: Pick a GPU mode”](#step-3-pick-a-gpu-mode) If your laptop has a discrete GPU (dGPU), the **GPU Mode** panel shows: | Mode | When to use it | | --------- | ---------------------------------------------------------------------------------------------- | | Eco | On battery. The dGPU is off or hidden. Longest battery life. | | Standard | The dGPU is on. Apps can use it when they ask for it. | | Optimized | Eco on battery, Standard on AC power. eBPF backend only. | | Ultimate | The dGPU drives the screen through the MUX switch. Needs a reboot. ASUS firmware backend only. | You see Optimized or Ultimate, never both. The **Optimized** button is off by default. Turn on **Extra > GPU > Enable Optimized mode** to show it. New installs use the **eBPF** backend when the system can run it. Eco and Standard then switch at once, with no reboot. See [GPU mode switching](/docs/features/gpu-modes/). ## Step 4: Set the keyboard light [Section titled “Step 4: Set the keyboard light”](#step-4-set-the-keyboard-light) ![The Laptop Keyboard panel](/.netlify/images?url=_astro%2Fkeyboard-panel.DPj-nW6b.png\&w=434\&h=130\&dpl=6b0b6997696f4b19e3216328) 1. In **Laptop Keyboard**, click the backlight button to go through the brightness levels 2. Pick an effect and a speed, and click the color buttons to pick colors 3. Open **Extra > Lighting** for brightness, power zones (awake, boot, sleep, shutdown, battery), the rear light and Slash See [Keyboard and lighting](/docs/features/keyboard-rgb/). ## Step 5: Check autostart [Section titled “Step 5: Check autostart”](#step-5-check-autostart) The installer, or the app at its first start, adds an autostart entry. In the main window, **Run on Startup** must be on. You can also check the file: ```bash ls ~/.config/autostart/ghelper.desktop ``` To start in the tray without the main window, turn on **Extra > General > Start minimized to tray**. ## Optional: custom fan curves [Section titled “Optional: custom fan curves”](#optional-custom-fan-curves) 1. Click **Fans + Power** 2. Pick the mode to edit. This also switches the laptop to that mode. 3. Drag the points of the CPU and GPU curves 4. Click **Apply**. Keep **Auto-apply** on, so the curves are written at every mode switch and at startup. See [Fan curves](/docs/features/fan-curves/). ## Done [Section titled “Done”](#done) Continue with: * [Window gallery](/docs/preview/) for every window * [Performance modes](/docs/features/performance-modes/) * [Common issues](/docs/troubleshooting/common-issues/) when something does not work # Uninstall > Remove G-Helper Linux and its system files. Your settings stay unless you delete them. ## One command uninstall [Section titled “One command uninstall”](#one-command-uninstall) ```bash curl -sL https://raw.githubusercontent.com/utajum/g-helper-linux/master/install/install.sh | sudo bash -s -- --uninstall ``` ![Updates > System integration files, with the Uninstall button](/.netlify/images?url=_astro%2Fsysfiles-list.CXZjTTct.png\&w=588\&h=435\&dpl=6b0b6997696f4b19e3216328) You can also click **Uninstall** in **Updates > System integration files**. It removes the system files that the app installed, and keeps the app and your settings. If you only downloaded the binary or the AppImage, do this, then delete the file. The script stops the app, then removes: * `/opt/ghelper` and the `/usr/local/bin/ghelper` link * `/usr/local/lib/ghelper` (the root helpers and scripts) * `/etc/udev/rules.d/90-ghelper.rules` * `/etc/modules-load.d/ghelper.conf` * `/etc/systemd/system/ghelper-gpu-boot.service` (disabled first) * `/etc/sudoers.d/zz-ghelper-gpu` * the Eco block files `/etc/modprobe.d/ghelper-gpu-block.conf` and `/etc/udev/rules.d/50-ghelper-remove-dgpu.rules` * `/etc/ghelper` * the desktop entry, the autostart entry and the icons It also detaches the eBPF filter, and gives back the NVIDIA Vulkan file if Eco hid it. Then it reloads udev and systemd. Caution If G-Helper Linux added `bpf` to the kernel LSM list, the uninstall removes it too. Reboot to finish. ## What stays [Section titled “What stays”](#what-stays) Your settings folder stays: ```plaintext ~/.config/ghelper/ ``` If you install again later, your fan curves, power limits and key bindings come back. To delete them too: ```bash rm -rf ~/.config/ghelper/ ``` ## Reset settings without uninstalling [Section titled “Reset settings without uninstalling”](#reset-settings-without-uninstalling) ```bash mv ~/.config/ghelper/config.json ~/.config/ghelper/config.json.bak ``` Start the app again. It writes a new config with default values. Move the backup back to restore your settings. ## NixOS [Section titled “NixOS”](#nixos) On NixOS, the same uninstall command removes the `ghelper.nix` import from `configuration.nix` and runs `nixos-rebuild switch`. # Desktop environments > G-Helper Linux on KDE Plasma, GNOME, COSMIC, Hyprland, Sway and other desktops, on X11 or Wayland. What works on each desktop and what you need. G-Helper Linux runs on X11 and on Wayland, on any desktop. Most features talk to the kernel and the firmware, not to the desktop. They work the same everywhere: * performance modes, fan curves and power limits * GPU modes * battery charge limit * keyboard lighting * special keys, FN-Lock remap and NumberPad * the virtual microphone (PipeWire) A few features use the desktop: the tray icon, the refresh rate, the touchpad and touchscreen switches, the window position and the on-screen keyboard. This page shows what changes on each desktop. ## At a glance [Section titled “At a glance”](#at-a-glance) | Desktop | Session | Refresh rate | Touchpad switch | Tray icon | | ------------------------------------------- | ------------ | ---------------------- | --------------- | -------------------------- | | KDE Plasma 5 and 6 | X11, Wayland | Yes | Yes | Yes, temperatures on hover | | GNOME | X11, Wayland | Yes, Wayland needs 48+ | Yes | With an extension | | COSMIC | Wayland | Yes | Yes | Yes | | Hyprland, Sway, niri, river, Labwc, Wayfire | Wayland | Yes | No | With a tray in your panel | | Xfce, Cinnamon, MATE, LXQt, i3 | X11 | Yes, and gamma | Yes | With a tray in your panel | ## X11 or Wayland [Section titled “X11 or Wayland”](#x11-or-wayland) Both work. These are the differences: | Feature | X11 | Wayland | | --------------------------------------------------- | -------------------------------- | ------------------------------------------------ | | App window | X11 | Through XWayland | | Rendering backend (Auto) | GLX | EGL | | Refresh rate | `xrandr` | Bundled `wlr-randr`, `gdctl` or `kscreen-doctor` | | Gamma | Yes | No, the controls are hidden | | Ambient lighting | Yes | Through the screen sharing portal and PipeWire | | Touchpad switch | `xinput` | KDE, GNOME and COSMIC | | Touchscreen switch | `xinput` | KDE | | GPU **Switch Now** (ASUS firmware and PCI backends) | No, Xorg holds the NVIDIA driver | Yes | On Wayland, the app window runs through XWayland, so your desktop needs XWayland. With the eBPF backend, **Switch Now** works on X11 too. On Wayland, the app tries the bundled `wlr-randr` first. If your compositor does not support it, the app uses the tool of your desktop. See [Screen](/docs/features/screen/). If windows freeze or look wrong, change **Extra > General > Rendering backend**. ## KDE Plasma [Section titled “KDE Plasma”](#kde-plasma) * **Refresh rate**: `kscreen-doctor` on Wayland, on Plasma 5 and 6. `xrandr` on X11. * **Tray**: the icons stay together in a fixed order. Hover the icon to see the CPU and GPU temperatures. * **Touchpad and touchscreen switch**: through KWin on Wayland. * **On-screen keyboard**: a KWin window rule stops the keyboard from taking the focus. Other windows move up, above the keyboard. This works on X11 and on Wayland. * **Window position**: the main window opens at the bottom right. * **Plasma 6.8**: KWin keeps every GPU open. With the eBPF backend, KWin lets go of the dGPU in Eco, and Standard gives it back. ## GNOME [Section titled “GNOME”](#gnome) * **Tray**: GNOME has no tray by default. Install the AppIndicator and KStatusNotifierItem extension to see the icon. Hover the icon to see the temperatures. * **Refresh rate**: on Wayland, the app uses `gdctl`, which comes with GNOME 48 and newer. On Debian and Ubuntu, it is in the `mutter-common-bin` package. `xrandr` on X11. * **Touchpad switch**: through GNOME settings (`gsettings`) on Wayland. * **Touchscreen switch**: X11 only. * **Window position**: GNOME on Wayland can ignore the position. Then the window opens in the center of the screen. * **On-screen keyboard**: on Wayland, the keyboard window can take the focus when you tap a key. * **Password prompt**: GNOME Shell has a polkit agent built in. ## COSMIC [Section titled “COSMIC”](#cosmic) * **Refresh rate**: the bundled `wlr-randr`. * **Touchpad switch**: the app changes the COSMIC touchpad setting. * **Autostart**: works when COSMIC starts the app before the session is ready. The app reads the session values from systemd. * **Password prompt**: COSMIC has a polkit agent built in. ## Hyprland, Sway, niri and other compositors [Section titled “Hyprland, Sway, niri and other compositors”](#hyprland-sway-niri-and-other-compositors) This covers Hyprland, Sway, niri, river, Labwc and Wayfire. * **Refresh rate**: the bundled `wlr-randr`, through the wlroots output management protocol. * **Password prompt**: you need a running polkit agent, for example `hyprpolkitagent` on Hyprland or `polkit-gnome` on Sway. Without one, the first start setup cannot ask for your password. The app then shows a `sudo` command that you can run in a terminal instead. * **Tray**: your panel needs a tray for StatusNotifierItem icons, for example the Waybar `tray` module. * **Touchpad and touchscreen switch**: not available. Use the input settings of your compositor. * **Window position**: Sway can ignore it. Then the window opens in the center of the screen. The window class is `ghelper`, for your window rules. * **Autostart**: Hyprland and Sway read `~/.config/autostart` only with a helper, for example `uwsm` or `dex`. Or start `ghelper` from your compositor config. ## Xfce, Cinnamon, MATE, LXQt and other X11 desktops [Section titled “Xfce, Cinnamon, MATE, LXQt and other X11 desktops”](#xfce-cinnamon-mate-lxqt-and-other-x11-desktops) * **Refresh rate and gamma**: `xrandr`. * **Touchpad and touchscreen switch**: the `xinput` tool. Install it if your distro does not have it. * **Tray**: your panel needs a tray for StatusNotifierItem (AppIndicator) icons. * **Password prompt**: the first start needs a running polkit agent. Full desktops start one. A window manager like i3 needs an agent that you start yourself. ## SteamOS [Section titled “SteamOS”](#steamos) * **Game mode**: the app runs full screen in gamescope. Gamepad navigation is on by default, and Back closes the window on top. Add the app to Steam on the first start, or later in **Updates**. * **Desktop mode**: this is KDE Plasma. Everything in [KDE Plasma](#kde-plasma) applies. See [ROG Ally](/docs/devices/ally/) for the handheld features. ## All desktops [Section titled “All desktops”](#all-desktops) * **Special keys** are read from the kernel input devices, so they work on every desktop. * **The on-screen keyboard** types through `/dev/uinput`, on X11 and on every Wayland compositor. * **Autostart** uses `~/.config/autostart/ghelper.desktop`, the XDG autostart folder. * **Logout and reboot**: the app quits cleanly, so logout and reboot do not hang. # Linux distributions > G-Helper Linux on Ubuntu, Debian, Mint, Fedora, Bazzite, Arch, CachyOS, openSUSE, NixOS and SteamOS. What you need on each distro. G-Helper Linux is one native binary for x86\_64. It needs no .NET runtime. Download it and run it, on any distro with: * glibc 2.38 or newer * kernel 6.2 or newer is recommended, 6.9 or newer for all ASUS features * polkit, for the password prompt of the first start setup See [Install](/docs/getting-started/install/) for the downloads. ## At a glance [Section titled “At a glance”](#at-a-glance) | Distribution | Minimum version | libbpf for the eBPF GPU backend | Boot parameter for eBPF | | -------------------------------------- | --------------------- | -------------------------------- | ----------------------- | | Ubuntu, Kubuntu, KDE neon, Mint | Ubuntu 24.04, Mint 22 | `sudo apt install libbpf1` | GRUB | | Debian | 13 | `sudo apt install libbpf1` | GRUB | | Fedora | 39 | `sudo dnf install libbpf` | `grubby` | | Fedora Atomic, Bazzite, Universal Blue | - | `sudo rpm-ostree install libbpf` | `rpm-ostree kargs` | | Arch, CachyOS | Rolling | `sudo pacman -S libbpf` | GRUB or systemd-boot | | openSUSE | - | `sudo zypper install libbpf1` | GRUB or systemd-boot | | NixOS | - | In the NixOS package | You add it | | SteamOS | 3.x | - | - | The eBPF GPU backend needs `libbpf` and the `bpf` kernel parameter. When one is missing, **Updates** shows it. The app adds the parameter for you with the tool in the table. Then reboot. See [GPU modes](/docs/features/gpu-modes/). ## Ubuntu, Debian and Linux Mint [Section titled “Ubuntu, Debian and Linux Mint”](#ubuntu-debian-and-linux-mint) * Ubuntu 24.04 or newer, Debian 13 or newer. Linux Mint 22 and KDE neon are based on Ubuntu 24.04, so they work too. * The release binary is built on Ubuntu 24.04. * On GNOME with Wayland, the refresh rate needs `gdctl`, from the `mutter-common-bin` package. * Ubuntu 22.04 and Debian 12 have a glibc older than 2.38. The release binary needs 2.38. ## Fedora [Section titled “Fedora”](#fedora) * Fedora 39 or newer. * The app adds the eBPF boot parameter with `grubby`. ## Fedora Atomic, Bazzite and Universal Blue [Section titled “Fedora Atomic, Bazzite and Universal Blue”](#fedora-atomic-bazzite-and-universal-blue) These systems have a read-only `/usr`. The app finds this and puts the desktop entry and the icon in your user folders (`~/.local/share/applications` and `~/.local/share/icons`). * Install `libbpf` with `rpm-ostree`, then reboot. * The app adds the eBPF boot parameter with `rpm-ostree kargs`. ## Arch, CachyOS and other Arch-based distros [Section titled “Arch, CachyOS and other Arch-based distros”](#arch-cachyos-and-other-arch-based-distros) * The app adds the eBPF boot parameter to GRUB or to systemd-boot (`/etc/kernel/cmdline`). * To build from source: `sudo pacman -S dotnet-sdk clang libpipewire wayland pkg-config`. See [Build from source](/docs/reference/build/). ## openSUSE [Section titled “openSUSE”](#opensuse) * `libbpf` is the `libbpf1` package. * The app adds the eBPF boot parameter to GRUB or to systemd-boot. ## NixOS [Section titled “NixOS”](#nixos) The one command install works on NixOS. It adds a module to `/etc/nixos`, imports it in `configuration.nix` and runs `nixos-rebuild switch`. * **Update & Rebuild** in the app also runs `nixos-rebuild switch`. The binary is in the read-only Nix store. * The module options are `services.ghelper.enable`, `user`, `gpuEcoAtBoot` and `gpuBootService`. * The NixOS package contains `libbpf` for the eBPF GPU backend. * NixOS is declarative, so the app does not change the boot parameters. It shows the `lsm=` value to add to your configuration. See [Install on NixOS](/docs/getting-started/install/#nixos). ## SteamOS [Section titled “SteamOS”](#steamos) * The root file system is read-only. The desktop entry and the icon go to your user folders, and the root helper goes to `/etc/ghelper`. * In game mode, the app runs full screen with gamepad navigation. See [Desktop environments](/docs/linux/desktops/#steamos). ## Other distros [Section titled “Other distros”](#other-distros) Any x86\_64 distro with glibc 2.38 or newer can run the binary. If the app does not know your package manager or your boot loader, it shows what to install or add, and you do it by hand. # Window Gallery > Screenshots of the main G-Helper Linux windows, rendered from the current app with demo data. ![G-Helper Main window](/ui-screenshots/MainWindow.png) Main window ![G-Helper Extra window, General tab](/ui-screenshots/ExtraWindow-general.png) Extra window, General tab ![G-Helper Extra window, Power tab](/ui-screenshots/ExtraWindow-power.png) Extra window, Power tab ![G-Helper Extra window, GPU tab](/ui-screenshots/ExtraWindow-gpu.png) Extra window, GPU tab ![G-Helper Fans and Power window](/ui-screenshots/FansWindow-cpu.png) Fans and Power window ![G-Helper Monitor window](/ui-screenshots/MonitorWindow.png) Monitor window ![G-Helper Battery Info window](/ui-screenshots/BatteryInfoWindow.png) Battery Info window ![G-Helper Function Key Remap window](/ui-screenshots/FnLockWindow.png) Function Key Remap window ![G-Helper mouse window](/ui-screenshots/MouseWindow.png) mouse window ![G-Helper microphone equalizer window](/ui-screenshots/EqWindow.png) microphone equalizer window ![G-Helper Handheld window](/ui-screenshots/HandheldWindow.png) Handheld window ![G-Helper Confirm dialog](/ui-screenshots/ConfirmDialog.png) Confirm dialog # Architecture > How G-Helper Linux is built. The app, the native helpers, the system files, and how a click reaches the hardware. G-Helper Linux is a C# app with an Avalonia UI, built as one Native AOT binary. Small native helpers do the work that needs root or real-time audio. ## Parts [Section titled “Parts”](#parts) | Part | Language | What it does | | --------------- | -------- | ------------------------------------------------------------------------------ | | `ghelper` | C# | The UI, the tray, the settings and the hardware logic | | `gpu-helper` | C | Root operations: GPU switching, eBPF filter, PCI, WMI, EC fan, MSR, Lenovo WMI | | `ryzenadj` | C | AMD SMU power limits (bundled RyzenAdj) | | `ghelper-audio` | C | The PipeWire virtual microphone and its effects | | `wlr-randr` | C | Refresh rate on wlroots Wayland compositors | | Boot service | Shell | Applies a pending GPU mode before the display manager | The binary carries the helpers and all system files: udev rules, scripts, the boot service, the sudoers rule, the menu entry and the icon. At each start it checks them, and installs or repairs them behind one `pkexec` prompt (`src/Install/`). So the app needs no installer. The root helpers live in the root-owned `/usr/local/lib/ghelper`, and one sudoers rule lets the app run them. ## Windows G-Helper and the Linux port [Section titled “Windows G-Helper and the Linux port”](#windows-g-helper-and-the-linux-port) | Windows (G-Helper) | Linux (this port) | | ----------------------------- | ------------------------------------------------ | | `\\.\ATKACPI` DeviceIoControl | `asus-nb-wmi` and `asus-armoury` sysfs | | WMI `Win32_*` queries | `/sys/class/dmi/id/` | | `EnumDisplaySettings` | `xrandr`, `wlr-randr`, `kscreen-doctor`, `gdctl` | | NvAPIWrapper | `gpu-helper` (NVML) and `nvidia-smi` | | AMD ADL | `amdgpu` hwmon sysfs | | NAudio | `ghelper-audio` (PipeWire) | | Task Scheduler autostart | `~/.config/autostart/*.desktop` | | WinForms | Avalonia | ## Source tree [Section titled “Source tree”](#source-tree) | Folder | Contents | | --------------------- | --------------------------------------------------- | | `src/Install/` | Self-install and repair of the system files | | `src/Mode/` | Performance modes and the mode switch | | `src/Gpu/` | GPU modes and the eBPF, PCI and firmware backends | | `src/Fan/` | Fan curves and hysteresis | | `src/Display/` | Refresh rate, brightness, gamma, MiniLED | | `src/USB/` | ASUS HID: Aura lighting, per-key RGB, XG Mobile | | `src/AnimeMatrix/` | AniMe Matrix and Slash lid displays | | `src/Ally/` | ROG Ally controller and handheld features | | `src/Input/` | Special keys, FN-Lock remap, NumberPad, gamepad | | `src/Peripherals/` | ASUS mice and Logitech HID++ | | `src/Platform/Linux/` | sysfs access, ASUS and Lenovo drivers, undervolting | | `src/I18n/` | 38 languages and the hover help texts | | `src/UI/` | Windows, dialogs and controls | | `vendor/gpu-helper/` | The root helper and the eBPF filter source | | `audio-helper/` | The PipeWire helper, RNNoise and GTCRN | | `install/` | Install scripts, udev rules, boot service | | `nixos/` | Flake, package and module | | `tests/` | C# scenario tests | ## A mode switch, step by step [Section titled “A mode switch, step by step”](#a-mode-switch-step-by-step) 1. You click **Turbo**. The window calls the mode control. 2. It sets the thermal policy and the platform profile through sysfs. 3. A background task writes the fan curves, power limits and undervolt for the mode. 4. Root operations, for example the AMD SMU limits or the Intel undervolt, go through the root helpers with the sudoers rule. 5. The UI and the tray update. ## Settings [Section titled “Settings”](#settings) The app stores settings in `~/.config/ghelper/config.json` with the keys of Windows G-Helper. See [Config file](/docs/reference/config/). ## See also [Section titled “See also”](#see-also) * [Build from source](/docs/reference/build/) * [Source code on GitHub](https://github.com/utajum/g-helper-linux) # Build from source > Build G-Helper Linux from source, run the tests, and send a pull request. ## Prerequisites [Section titled “Prerequisites”](#prerequisites) * Ubuntu / Debian ```bash sudo apt install dotnet-sdk-10.0 clang zlib1g-dev libpipewire-0.3-dev libwayland-dev pkg-config ``` * Fedora ```bash sudo dnf install dotnet-sdk-10.0 clang zlib-devel pipewire-devel wayland-devel pkg-config ``` * Arch ```bash sudo pacman -S dotnet-sdk clang libpipewire wayland pkg-config ``` ## Build [Section titled “Build”](#build) ```bash git clone https://github.com/utajum/g-helper-linux.git cd g-helper-linux ./build.sh ``` The output is a Native AOT binary at `dist/ghelper`. It contains the native helpers (`gpu-helper`, `ryzenadj`, the audio helper and `wlr-randr`). ## Install your build [Section titled “Install your build”](#install-your-build) ```bash sudo ./install/install-local.sh ``` It installs the same system files as `install.sh`, but uses the binary from `dist/`. ## Fast development builds [Section titled “Fast development builds”](#fast-development-builds) ```bash ./build.sh --fast && ./dist/ghelper ``` `--fast` (or `--no-aot`) makes a folder build with fast incremental rebuilds. ```bash GHELPER_DEV=1 ./dist/ghelper ``` `GHELPER_DEV=1` shows two buttons in the main window footer. **Dev Windows** opens any window without the matching hardware. **Dev Panels** shows panels that need hardware you do not have, for example the GPU, AniMe Matrix or Ally panels. ## NixOS [Section titled “NixOS”](#nixos) ```bash cd nixos nix build .#ghelper ``` The package builds from source, with no `build.sh` step. To use the module in a flake, add `github:utajum/g-helper-linux?dir=nixos` as an input and set `services.ghelper.enable = true;`. `scripts/update-nix-deps.py` updates `nixos/deps.json` after NuGet changes. ## Tests [Section titled “Tests”](#tests) Run these before you open a pull request. CI runs them too. ```bash dotnet run -c Debug --project tests/GHelper.Linux.Tests bash install/tests/test-ghelper-gpu-boot.sh bash install/tests/test-gpu-block-helper.sh bash install/tests/test-gpu-helper.sh ./scripts/i18n-check.sh ``` The tests never run `sudo` or `pkexec` on your machine. ## Contributing [Section titled “Contributing”](#contributing) Tip Pull requests and feature requests are welcome. 1. Fork [utajum/g-helper-linux](https://github.com/utajum/g-helper-linux) 2. Make your change on a branch 3. Run the tests above 4. Open a pull request with a short description of the change ### New controls need text and a tooltip [Section titled “New controls need text and a tooltip”](#new-controls-need-text-and-a-tooltip) Every new control needs two kinds of text: 1. **Label**: add a key to `src/I18n/Languages/English.cs`, then the same key to all other language files in that folder. 2. **Hover help (tooltip)**: add a short explanation to `src/I18n/HelpText/English.cs`, then to all other files in that folder. The key is `WindowType.controlName`, for example `MainWindow.buttonEco`. Controls made in code use the bare name. Write the help text for a user: what the control does, and what it changes. Users see it when **Extra > General > Show help on hover** is on. Then run the check. It fails on missing keys, extra keys and unused text: ```bash ./scripts/i18n-check.sh ``` ## Feature requests [Section titled “Feature requests”](#feature-requests) [Open an issue](https://github.com/utajum/g-helper-linux/issues/new). Say your laptop model and what you want the app to do. ## See also [Section titled “See also”](#see-also) * [Architecture](/docs/reference/architecture/) # Config file > The G-Helper Linux config file. Location, format, per-mode keys and the most useful settings. ```plaintext ~/.config/ghelper/config.json ``` The app writes this file. It is a flat JSON object of keys and values, with the same key names as Windows G-Helper. Most keys hold `0` or `1`, a number, or a string. ## Per-mode keys [Section titled “Per-mode keys”](#per-mode-keys) Settings that belong to a performance mode end with the mode number: | Number | Mode | | ------ | -------- | | 0 | Balanced | | 1 | Turbo | | 2 | Silent | Examples: | Key | What it holds | | -------------------- | ---------------------------------------- | | `fan_profile_cpu_0` | CPU fan curve of Balanced | | `fan_profile_gpu_1` | GPU fan curve of Turbo | | `fan_profile_mid_2` | Mid fan curve of Silent | | `auto_apply_fans_0` | Auto-apply fan curves in Balanced | | `auto_apply_power_1` | Auto-apply power limits in Turbo | | `auto_boost_2` | CPU boost in Silent | | `platform_profile_2` | Kernel platform profile for Silent | | `mode_command_1` | Shell command after each switch to Turbo | ## Useful keys [Section titled “Useful keys”](#useful-keys) | Key | Values | What it does | | ----------------------- | ------------------------- | --------------------------------------------- | | `performance_mode` | 0, 1, 2 | The current mode | | `gpu_mode` | `eco`, `standard`, … | The current GPU mode | | `gpu_backend` | `ebpf`, `pci`, `asus-wmi` | The GPU backend | | `gpu_bpf_optimized` | 0, 1 | Optimized button with eBPF | | `gpu_optimized_enabled` | 0, 1 | Manual override: Optimized with ASUS firmware | | `charge_limit` | 40 to 100 | Battery charge limit | | `screen_auto` | 0, 1 | Auto refresh rate | | `language` | empty or a code | App language. Empty follows the system. | | `hover_help` | 0, 1 | Help on hover | | `silent_start` | 0, 1 | Start in the tray | | `render_mode` | `software`, `egl`, `glx` | Rendering backend | | `min_uv`, `max_uv` | number | Range of the undervolt slider | | `gamepad_nav` | 0, 1 | Gamepad navigation on a desktop | | `udev_per_machine` | 0, 1 | Install only the udev rules for this hardware | Caution Quit the app before you edit the file. The app writes the file while it runs, so it can overwrite your change. The app accepts comments and trailing commas. ## Move settings from Windows [Section titled “Move settings from Windows”](#move-settings-from-windows) Fan curves and mode settings use the same keys as Windows G-Helper. Copy the Windows file from `%AppData%\GHelper\config.json` to `~/.config/ghelper/config.json`, then start the app. Keys for Windows only features are ignored. ## Reset [Section titled “Reset”](#reset) ```bash mv ~/.config/ghelper/config.json ~/.config/ghelper/config.json.bak ``` The next start writes a new file with default values. # Support the project > G-Helper Linux is free and open source. If it makes your laptop more pleasant, the maintainer would not say no to a coffee. G-Helper Linux is maintained by one developer. Donations pay for development time and hosting. Any amount helps. The app is free and open source, with no telemetry and no ads. Support G-Helper Linux [Support G-Helper Linux on Buy Me a Coffee](https://buymeacoffee.com/utajum) ## Other ways to help [Section titled “Other ways to help”](#other-ways-to-help) | What | Where | | --------------------- | ------------------------------------------------------------------------------------------------- | | Star the repo | [github.com/utajum/g-helper-linux](https://github.com/utajum/g-helper-linux) | | Report a bug | [Open an issue](https://github.com/utajum/g-helper-linux/issues/new) | | Suggest a feature | [Open an issue (feature)](https://github.com/utajum/g-helper-linux/issues/new?labels=enhancement) | | Submit a pull request | [Contributing guide](/docs/reference/build/#contributing) | | Improve the docs | [Edit a page on GitHub](https://github.com/utajum/g-helper-linux-website) | ## Why it matters [Section titled “Why it matters”](#why-it-matters) ASUS does not ship Linux tools for most of its laptops. Kernel developers add the drivers upstream. G-Helper Linux gives you one control panel on top of them, on ASUS, Lenovo and other laptops. ## Other related projects [Section titled “Other related projects”](#other-related-projects) If you find G-Helper Linux helpful, you might also want to support: * **Original Windows G-Helper** by [seerge](https://github.com/seerge/g-helper). This Linux port is based on his work. * **asusctl** by [Luke Jones](https://gitlab.com/asus-linux/asusctl). The Rust-based control daemon. Several kernel features Linux users enjoy were upstreamed by him. * **Bazzite** by [ublue-os](https://bazzite.gg). Gaming-focused Fedora immutable. Excellent on ASUS handhelds. * **Linux mainline asus-armoury and hid-asus drivers** by Antheas Kapenekakis and Luke D. Jones. Their work in the kernel exposes the sysfs interfaces G-Helper Linux depends on. # Common issues > Fixes for common G-Helper Linux problems. Missing panels, settings that do not stick, lighting, keys, refresh rate, tray and window issues. Tip Start with **Updates > System integration files**. Many problems come from missing or old udev rules, sudo rules or helpers. Click **Install / Repair** to fix them, then log out and in again. ## A panel or button is missing [Section titled “A panel or button is missing”](#a-panel-or-button-is-missing) The app shows only the features that your kernel exposes. 1. Check the kernel version against the [Kernel feature matrix](/docs/devices/kernel-matrix/). 2. On ASUS laptops, check the modules: `lsmod | grep asus` should show `asus_nb_wmi` and `asus_wmi`. 3. Open **Extra > General > More…** (System Info) to see what the app found. ## Performance modes do nothing [Section titled “Performance modes do nothing”](#performance-modes-do-nothing) ```bash cat /sys/firmware/acpi/platform_profile_choices cat /sys/firmware/acpi/platform_profile ``` The second command must show the profile of the mode you clicked. If another tool (power-profiles-daemon, TLP, tuned, asusctl) changes the profile, the last writer wins. Use one tool for modes. ## Battery limit does not stick [Section titled “Battery limit does not stick”](#battery-limit-does-not-stick) ```bash cat /sys/class/power_supply/BAT*/charge_control_end_threshold ``` * A different value: another tool (TLP, power-profiles-daemon) writes the limit. Use one tool. * Permission errors in the log: install the system files in **Updates**. ## Fan curves are not used [Section titled “Fan curves are not used”](#fan-curves-are-not-used) * Turn on **Auto-apply** in **Fans + Power**. Without it, the BIOS curves apply after each reboot. * Check that the kernel exposes the curve device: `grep -l asus_custom_fan_curve /sys/class/hwmon/hwmon*/name` * Some TUF models have no firmware curves. Use [manual fan control](/docs/features/fan-curves/#manual-fan-control). ## Keyboard light stays dark [Section titled “Keyboard light stays dark”](#keyboard-light-stays-dark) 1. Install the system files in **Updates**. The udev rules give access to the keyboard device. 2. Check the backlight device: `ls /sys/class/leds/ | grep kbd` 3. On 2024+ Strix and Scar, the painted effects need the LampArray protocol. Update to the latest release. ## Special keys do nothing [Section titled “Special keys do nothing”](#special-keys-do-nothing) 1. The app must run. Check the tray icon. 2. Your user must be in the `input` group: `groups | grep input`. The installer adds you; log out and in again. 3. Check that the key sends an event: `sudo evtest`, pick the keyboard, press the key. ## Refresh rate does not change [Section titled “Refresh rate does not change”](#refresh-rate-does-not-change) * X11: `xrandr --query` must list the panel modes. * Wayland: the app uses the bundled `wlr-randr`, then `gdctl` (GNOME 48+) or `kscreen-doctor` (KDE). See [Screen](/docs/features/screen/). ## Tray icon missing on GNOME [Section titled “Tray icon missing on GNOME”](#tray-icon-missing-on-gnome) GNOME has no tray by default. Install the AppIndicator and KStatusNotifierItem extension, then start the app again. ## Window freezes, is black or does not show [Section titled “Window freezes, is black or does not show”](#window-freezes-is-black-or-does-not-show) Change **Extra > General > Rendering backend** and start the app again. Auto uses EGL on Wayland and GLX on Xorg. To start with another backend from a terminal, set `render_mode` in the config to `software`, `egl` or `glx`. ## A password prompt shows again and again [Section titled “A password prompt shows again and again”](#a-password-prompt-shows-again-and-again) The sudo rules for the helpers are missing or broken. Click **Install / Repair** in **Updates > System integration files**. ## The virtual microphone does not start [Section titled “The virtual microphone does not start”](#the-virtual-microphone-does-not-start) Open **Updates > Diagnostics**. The log shows the exit code and the last error of the audio helper. See [Virtual microphone](/docs/features/microphone/). ## Report the problem [Section titled “Report the problem”](#report-the-problem) If nothing helps, send a report from **Updates > Report a Bug**. See [Logs and diagnostics](/docs/troubleshooting/logs/). # GPU mode stuck > Fixes when the dGPU stays on in Eco, stays off in Standard, or a pending MUX change never applies. First check which backend you use: **Extra > GPU**. No box ticked means eBPF. See [GPU mode switching](/docs/features/gpu-modes/). ## The dGPU stays awake in Eco (eBPF) [Section titled “The dGPU stays awake in Eco (eBPF)”](#the-dgpu-stays-awake-in-eco-ebpf) The main window and **Extra > GPU** show a warning with the reason: | Reason | Fix | | ----------------------------------- | ------------------------------------------------------------------------------------- | | Apps still use the dGPU | Close them. **Fans + Power > GPU > View** lists them. | | An allowed app runs | Close it, or remove it from **dGPU apps** | | Runtime power management is off | Turn it on for the dGPU, or check TLP settings | | NVIDIA runtime D3 is not set up | RTX 20 and GTX 16 need `NVreg_DynamicPowerManagement=0x02` | | The GPU is GTX 10 (Pascal) or older | It cannot reach D3cold. Use the [PCI backend](/docs/features/gpu-modes/#pci-backend). | Also turn off **dGPU temperature monitoring** in **Extra > GPU**. Each read wakes the dGPU. To read the power state yourself, see [D3cold: check that Eco saves power](/docs/features/gpu-modes/#d3cold-check-that-eco-saves-power). ## eBPF does not start [Section titled “eBPF does not start”](#ebpf-does-not-start) Open **Updates**. It shows the kernel `bpf` setting, `libbpf` and the allow list: * `bpf` is not in the LSM list: click to add it, then reboot. * `libbpf` is missing: run the install command that **Updates** shows. * Kernel lockdown is `confidentiality`: eBPF cannot run. Use the PCI or ASUS firmware backend. ## The dGPU is still on after Eco (PCI or firmware) [Section titled “The dGPU is still on after Eco (PCI or firmware)”](#the-dgpu-is-still-on-after-eco-pci-or-firmware) An app holds the driver. Use **Switch Now** to close the apps (Wayland only), or pick **After Reboot**. Check the state: ```bash cat /sys/devices/platform/asus-nb-wmi/dgpu_disable # 1 = off, 0 = on lspci -nnk | grep -A3 -E 'VGA|3D' ``` ## The dGPU does not come back in Standard [Section titled “The dGPU does not come back in Standard”](#the-dgpu-does-not-come-back-in-standard) The app rescans the PCI bus for up to 10 seconds. If the dGPU still does not show, a dialog advises a reboot. Some ASUS firmware is slow to power the card on. If the Eco block files stay after a reboot, remove them: ```bash sudo rm -f /etc/modprobe.d/ghelper-gpu-block.conf sudo rm -f /etc/udev/rules.d/50-ghelper-remove-dgpu.rules sudo udevadm control --reload-rules ``` Then reboot. ## A pending mode never applies [Section titled “A pending mode never applies”](#a-pending-mode-never-applies) The boot service applies pending modes before the display manager starts. Check it: ```bash systemctl status ghelper-gpu-boot.service journalctl -t ghelper-gpu-boot -b ``` If the service is disabled or missing, click **Install / Repair** in **Updates > System integration files**. ## Black screen after a MUX change [Section titled “Black screen after a MUX change”](#black-screen-after-a-mux-change) Caution Ultimate needs a working dGPU driver. If the screen stays black after a switch to Ultimate, switch to a text console with Control + Alt + F3, log in, and set the MUX back: ```bash echo 1 | sudo tee /sys/devices/platform/asus-nb-wmi/gpu_mux_mode sudo reboot ``` `gpu_mux_mode`: `0` means the dGPU drives the screen (Ultimate), `1` means the integrated GPU drives it. ## Still stuck [Section titled “Still stuck”](#still-stuck) Send a report from **Updates > Report a Bug**. The diagnostics include the GPU boot service journal. See [Logs and diagnostics](/docs/troubleshooting/logs/). # Kernel modules > The kernel modules G-Helper Linux uses, how to check that they are loaded, and what to do when one is missing. G-Helper Linux uses the kernel modules of your distribution. Only `ryzen_smu` is an extra install, and only for AMD undervolting. ## The modules [Section titled “The modules”](#the-modules) | Module | Used for | Loaded by | | -------------------------------- | ------------------------------------------------------------- | -------------------------------------------- | | `asus_nb_wmi`, `asus_wmi` | ASUS modes, fans, GPU, battery, panel | The kernel, on ASUS laptops | | `asus_armoury` | ASUS firmware attributes (power limits, GPU) on newer kernels | The kernel | | `hid_asus` | ASUS keyboards and special keys | The kernel | | `ideapad_laptop`, `lenovo_wmi_*` | Lenovo modes, battery, keyboard, power limits | `/etc/modules-load.d/ghelper.conf` on Lenovo | | `uinput` | FN-Lock remap, on-screen keyboard, NumberPad | `/etc/modules-load.d/ghelper.conf` | | `i2c_dev` | NumberPad and some keyboards | `/etc/modules-load.d/ghelper.conf` | | `msr` | Intel undervolt | The root helper, when needed | | `ryzen_smu` | AMD Curve Optimizer | You (DKMS install) | ## Check what is loaded [Section titled “Check what is loaded”](#check-what-is-loaded) ```bash lsmod | grep -E 'asus|ideapad|lenovo|uinput|i2c_dev|ryzen_smu' ``` ## `asus_nb_wmi` is not loaded [Section titled “asus\_nb\_wmi is not loaded”](#asus_nb_wmi-is-not-loaded) ```bash sudo modprobe asus_nb_wmi ``` If the module is not found, your kernel was built without it. Install the standard kernel of your distribution. ## `ryzen_smu` for undervolting [Section titled “ryzen\_smu for undervolting”](#ryzen_smu-for-undervolting) Install [ryzen\_smu](https://github.com/amkillam/ryzen_smu) with DKMS, as its README describes. Then check: ```bash ls /sys/kernel/ryzen_smu_drv/ ``` Caution With Secure Boot on, an unsigned DKMS module does not load. Sign it with your Machine Owner Key, or the undervolt controls stay hidden. ## Where the features live in sysfs [Section titled “Where the features live in sysfs”](#where-the-features-live-in-sysfs) ```bash ls /sys/devices/platform/asus-nb-wmi/ # ASUS legacy attributes ls /sys/class/firmware-attributes/asus-armoury/attributes/ # ASUS firmware attributes ls /sys/class/leds/ | grep kbd # keyboard backlight ls /sys/class/power_supply/ # battery ls /sys/firmware/acpi/platform_profile* # performance modes ``` ## See also [Section titled “See also”](#see-also) * [Kernel feature matrix](/docs/devices/kernel-matrix/) * [Undervolting](/docs/features/amd-undervolting/) # Logs and diagnostics > Where the G-Helper Linux log goes, how to copy a diagnostics report, and how to send a bug report from the app. G-Helper Linux writes no log files. It writes its log to the terminal (stderr) and keeps the last 1000 lines in memory. The diagnostics report includes these lines. ## Send a bug report from the app [Section titled “Send a bug report from the app”](#send-a-bug-report-from-the-app) 1. Open **Updates** 2. Click **Report a Bug** 3. Write a short title, and what happened, what you expected and how to make it happen again 4. Click **Preview** to check the full text, with the system information 5. Click **Send**. The report goes to GitHub as a public issue. You do not need a GitHub account. ## Copy or save diagnostics [Section titled “Copy or save diagnostics”](#copy-or-save-diagnostics) **Updates > Diagnostics** has two actions: * **Copy Diagnostics**: copies the report to the clipboard * **Export Diagnostics**: saves it to a file The report has the hardware, the drivers, the GPU and battery state, the app settings, the system files state, the journals of `gpu-helper`, the GPU boot service and `ryzenadj`, and the recent log lines. Attach it to a GitHub issue. ## See the log live [Section titled “See the log live”](#see-the-log-live) Quit the app, then start it from a terminal: ```bash ghelper # or ./ghelper for the downloaded binary ``` The log shows in the terminal while you reproduce the problem. To see the root helper and the GPU boot service: ```bash journalctl -t gpu-helper -b journalctl -t ghelper-gpu-boot -b ``` Kernel messages: ```bash sudo dmesg --follow | grep -i -E 'asus|nvidia|amdgpu|lenovo' ``` ## FN-Lock debug [Section titled “FN-Lock debug”](#fn-lock-debug) **Function Key Remap > Details…** has a debug option. It writes the remapped keys and the hotkey to the log. Other keys are never logged. Note The report shows your laptop model and settings. Check the preview before you send it. # Raw WMI mode > GPU Eco through ACPI debugfs, for 2020 and 2021 ASUS laptops whose kernel does not expose dgpu_disable. Some 2020 and 2021 ASUS laptops (for example GA401II, G512LI, G533, G713) have GPU Eco in the firmware, but the kernel does not create the `dgpu_disable` file. Raw WMI mode calls the firmware method directly, through the `asus-nb-wmi` debugfs interface. On laptops that have `dgpu_disable`, the setting has no effect. It works with the ASUS firmware backend. With the PCI backend it is ignored. ## Check if your firmware supports it [Section titled “Check if your firmware supports it”](#check-if-your-firmware-supports-it) ```bash echo 0x00090020 | sudo tee /sys/kernel/debug/asus-nb-wmi/dev_id sudo cat /sys/kernel/debug/asus-nb-wmi/dsts ``` If the output has `0x10000` or `0x10001`, the firmware supports GPU Eco. ## Turn it on [Section titled “Turn it on”](#turn-it-on) ![Extra > GPU > GPU Backend with the Raw WMI mode option](/.netlify/images?url=_astro%2Fgpu-backend.098lhmTa.png\&w=574\&h=408\&dpl=6b0b6997696f4b19e3216328) 1. Open **Extra > GPU** 2. Turn on **Raw WMI mode (experimental - GPU Eco via ACPI debugfs)** 3. Enter your password when asked 4. The app restarts ## Requirements [Section titled “Requirements”](#requirements) * The `asus-nb-wmi` module (`lsmod | grep asus_nb_wmi`) * debugfs at `/sys/kernel/debug/` (the default on most distributions) * Root access for each GPU mode switch ## How it works [Section titled “How it works”](#how-it-works) * Reads the GPU state with `DSTS(0x00090020)`, the same device ID as on Windows * Writes it with `DEVS(0x00090020, value)` * Tries the Vivobook ID `0x00090120` when the first one is missing * The normal checks still apply: a driver in use and the MUX state * At boot, the GPU boot service applies a pending mode before the display manager starts Raw WMI mode also enables the fan reaction speed sliders and the status LED switch. Caution Raw WMI mode calls firmware methods directly. Turn it off if the laptop behaves in an unexpected way.