Giter Club home page Giter Club logo

g-helper's Introduction

G-Helper - Lightweight control tool for Asus laptops

United24 GitHub release Github all releases GitHub stars Language: English | [中文]

Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on all popular models, such as ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, Flow Z13, TUF Series, Strix / Scar Series, ProArt, VivoBook and many more!

Support project in 💶 EUR | 💵 USD

Gihhub

🎁 Main Advantages

  1. Seamless and automatic GPU switching
  2. All performance modes can be fully customized with power limits and fan curves
  3. Lightweight. Doesn't install anything in your system. Just a single exe to run
  4. Simple and clean native UI with easy access to all settings
  5. FN-Lock and custom hotkeys

Screenshot 2023-08-05 190302

⚡ Features

  1. Performance modes: Silent - Balanced - Turbo (built-in, with default fan curves)
  2. GPU modes: Eco - Standard - Ultimate - Optimized
  3. Screen refresh rate control with display overdrive (OD)
  4. Custom fan curve editor, power limits and turbo boost selection for every performance mode
  5. Anime matrix control including animated GIFs, clock and Audio visualizer
  6. Backlight animation modes and colors
  7. Custom hotkeys (M-keys, FN+X keys)
  8. Monitor CPU / GPU temperature, fan speeds and battery status
  9. Battery charge limit to preserve battery health
  10. NVidia GPU overclocking
  11. XG Mobile Control
  12. AMD CPU Undervolting
  13. BIOS and Driver Updates
  14. Asus Mice settings
  15. Mini-led multi-zone switch

⚙️ Automatic switching when on battery or plugged in

  • Performance Mode switching when on battery or plugged in
  • Optimized GPU mode - disables dGPU on battery and enables when plugged in
  • Auto Screen refresh rate (60Hz on battery and max Hz when plugged)
  • Keyboard backlight timeout on battery or when plugged in

To keep auto switching and hotkeys working the app needs to stay running in the tray. It doesn't consume any resources.

🚀 Performance Modes

All Modes are baked in BIOS along with default fan curves and power limits and they are the same as in the Armoury Crate.

Each BIOS mode is paired with matching Windows Power Mode. You can adjust this setting under Fans + Power

  1. Silent in BIOS + Best power efficiency power mode
  2. Balanced (Performance in AC) in BIOS + Balanced power mode
  3. Turbo in BIOS + Best performance power mode

🎮 GPU Modes

  1. Eco : only low power integrated GPU enabled, iGPU drives built in display
  2. Standard (MS Hybrid) : iGPU and dGPU enabled, iGPU drives built in display
  3. Ultimate: iGPU and dGPU enabled, but dGPU drives built in display (supported on 2022+ models)
  4. Optimized: disables dGPU on battery (Eco) and enables when plugged in (Standard)

Screenshot 2023-08-05 170159

GPU Modes

🐭 Asus Mouse and other peripherals support

Currently supported models

  • ROG Harpe Ace Aim Lab Edition
  • ROG Keris Wireless
  • ROG Chakram X (P708)
  • ROG Chakram Core (P511)
  • ROG Strix III Gladius III Aimpoint Wireless (P711)
  • ROG Gladius III
  • ROG Gladius III Wireless
  • ROG Strix Impact II Wireless
  • TUF Gaming M4 Wireless (P306)
  • TUF Gaming M3

Huge thanks to @IceStormNG 👑 for contribution and research (!).

❓ FAQ

How do I stop the Armoury Crate install popup appearing every time I press the M4 / Rog key?

Stop ArmouryCrateControlInterface service under windows Services app or you can stop all asus services from Extra -> Stop services

Battery charge limiter is not working

It could be that Asus services are overwriting this limit after. You may want to stop them by clicking "Stop" in the Asus Services section (under Extra). Please note: For some devices not every charge limit % may be working. Some models support only 80% limit, so try to set standard 80% to be sure.

I don't see GPU modes section

Some older models (for example G14 2020) don't support disabling GPU on hardware level, therefore GPU section makes no sense for them and will be hidden

Why is Ultimate GPU mode not available on my laptop?

Ultimate mode is supported (by hardware) only on 2022+ models

Should I apply custom power limits (PPT) and fan curves?

You don't have to, it's purely optional. From my experience built in (in BIOS) performance modes work well. Limit your power or apply custom fan curves only if you have issues. As soon as you click Apply in the Fans + Power section BIOS will consider your fan curve as "custom"! (no matter if you modified it or not)

How does G-helper control my fan speeds?

It doesn't. Your firmware / BIOS controls them in real-time. Armoury also doesn't control fans in real time anyhow.

What G-helper can do - is (optionally) set a custom fan profile to the current performance mode consisting of 8 pairs of temperature + fan speed % via the same endpoint Armoury seems to use. How it will be interpreted - is still up to the firmware.

How do I change fan % to fan RPM?

Click on them

When I try to apply a custom fan curve I get "BIOS rejected fan curve"

TUF models from 2021 and older don't support custom fan curves at all. Most probably you didn't have them in the Armoury as well?

I don't see a GPU temperature in G-helper

Most probably either you are using Eco / Optimized mode and your dGPU is simply off, or your windows has put the dGPU into sleep to preserve power.

I don't see app after starting it

Please check the system tray for a (G) icon. By default Windows is keen to hide all icons, so you may need to click ^ to see them all. I would advise to right click on Taskbar select TaskBar Settings -> Other System Tray icons -> Mark G-Helper to be always ON.

App crashes or doesn't work properly

Open "Event Viewer" from the start menu, go to Windows Logs -> Application and check for recent Errors mentioning G-Helper. If you see one - please post a new issue with all details from this error.

Can I use the MyASUS app along with G-Helper?

You can, the only problem is that MyASUS may override the battery charge limit that you set before. My advice in such a situation would be to set the same limit (i.e. 80%) in both MyASUS and G-Helper.

How do I set Mute Microphone to M3?

If you have the Asus Optimization Service running, it's controlled by that service (therefore G-helper doesn't interfere and doesn't touch this function). Alternatively you can stop that service - and you can bind M3 to anything you want.

How do I set different "Visual styles"?

Personally, I'm not a big fan of them, as they make colors very inaccurate. But if you want so - you can adjust display colors using either Nvidia Control panel or AMD Adrenaline (appropriate display sections). If you really want you can also use own ASUS utility from MS Store

Can I overclock Nvidia GPU core / memory?

Make sure that your dGPU is enabled (i.e. it's not in Eco mode). Open Fans + Power section and adjust core / memory clock offsets. They work the same as in armoury's manual mode. Please keep in mind that (unfortunately) you need admin permissions for that, and the app will ask you for them. (*)

How to Undervolt GPU

Due to the way the Core Clock offset works for the GPU. When you increase clock offset you undervolt it at the same time (see picture)

  1. Increase Core Clock Offset under Fans + Power -> GPU until your 3dmark / furmark / game runs stable. Start with +100, +150, +200 ... This should make your scores / fps better within same power / heat as before.
  2. Set Core Clock Limit to a certain value (it really depends on application / game that you use) to lower your power / heat consumption

Undervolting

Windows Defender marks app as malware / virus

False positives from Windows Defender (or any other similar system that uses machine learning for detection) is possible as the application is not digitally signed with a certificate. You can always download a version below or compile the app by yourself. All application sources are open and can be monitored from A to Z :)

Where can I find app settings or logs ?

You can find them under the %AppData%\GHelper folder. Please include them when posting a new bug-report or issue.

App refuses to run on startup or runs without any icon in tray on startup

Open the app, and uncheck and check again "run on startup". If it still doesn't help (for some reason), you can try to manually edit the "GHelper" task in Windows Task Scheduler, and add a couple of seconds delay to start.

How do I uninstall G-helper?

G-helper is a single exe, and it doesn't install anything in the system. To remove it - you can simply delete exe :) If you have applied any custom fan profiles or PPTs - before removing I would recommend selecting your favorite performance mode (for example balanced) and clicking "Factory defaults" under Fans + Power.

Can I undervolt my CPU ?

Currently you can undervolt AMD CPUs. If your model supports that - you will see an undervolting slider under Fans+Power -> Advanced. If you don't see a slider there, it means your CPU doesn't support undervolting. Full list of models that support that can be found here

I have G14 2023 and my GPU refuses to disable/enable

It seems to be an issue in older BIOS versions. As users report - latest BIOS 312 (installable via MyASUS or G-Helper -> Updates) resolves all issues :) So please update.

I have G15 2022 and my GPU refuses to disable/enable or my fans misbehave

G15 2022 is known to have a notoriously bugged BIOS (last one 313). Multiple users have reported that problems can be solved by rolling back to a previous BIOS 311 from Asus Support website.

I have uninstalled Armoury and my GPU performance is lower than it was

Check your NVidia Experience settings and make sure that you have Whisper Mode set to OFF. Also you can go to reset all settings Nvidia Control panel -> Manage 3D Settings -> Reset to defaults

How do I do a hardware reset on a laptop?

All Asus laptops have an option to do a hardware reset that can be handy sometimes. It doesn't touch your data, but resets all main hardware-related things (enables your dGPU, wakes up wifi/bt adapter if it hangs for some reason, etc.). Turn OFF laptop. Press and hold the "power" button for 30-40 seconds. Then boot normally (it will take a bit longer to boot)

What is G-helper ?

Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on ROG G14, G15, G16, M16, X13, Z13, X16, TUF, Scar, Vivobook, ProArt and all other popular models.


🔧 Troubleshooting

NOTE: This section is not related to G-Helper anyhow, but since people often come to this repository asking about general problems with their laptops I have listed the most frequent troubleshooting advice that I can give.

Hardware reset / CMOS reset

All Asus laptops have an option to do a hardware reset that can be handy sometimes. It doesn't touch your data, but resets all main hardware-related things (enables your dGPU, wakes up wifi/bt adapter if it hangs for some reason, etc.). Turn OFF laptop. Press and hold the "power" button for 30-40 seconds. Then boot normally (it will take a bit longer to boot)

Resetting windows power plan to defaults

Copy and paste the command below into Windows Terminal, and press Enter.

powercfg -restoredefaultschemes​

Reinstalling GPU drivers

  • For AMD devices (including ones who use integrated graphics) you can use AMD official cleanup utility to completely uninstall existing drivers from safe mode. After that you can download and install latest official drivers from AMD website

  • For NVidia / Intel devices you can use the Display Driver Uninstaller app to completely uninstall existing drivers. After that you can download and install latest official drivers from Nvidia website

If you like the app you can make a Donation

Paypal in EUR Paypal in USD
QR Code QR Code

How to run

  1. Download latest release
  2. Unzip to a folder of your choice (don't run exe from zip directly, as windows will put it into temp folder and delete after)
  3. Run GHelper.exe

Requirements (mandatory)

  • Microsoft .NET7. Most probably you already have it. Otherwise download it from the official website.

  • Asus System Control Interface v3+. This "driver" from asus should be installed automatically by windows update or along other asus apps. If it's not the case for some reason - you can download and install it manually.

Recommendations (optional)

  • It's not recommended to use the app in combination with Armoury Crate services, because they adjust the same settings. You can uninstall it using AC own uninstall tool. Just in case, you can always install it back later.

  • It's not recommended to have "ASUS Smart Display Control" app running, as it will try to change refresh rates and fight with g-helper for the same function. You can safely uninstall it.

  • You can stop / disable unnecessary services: Go to Extra in the app, and press "Stop" in Asus Services section (former debloat.bat). To start / enable services back - click "Start" instead (former bloat.bat)

  • It is strongly recommended to run app with windows default "balanced" power plan Screenshot 2023-06-09 153453


Notice for G14 2023 users who complain about not being able to set Eco mode

This is a known issue with the Nvidia Drivers / Windows that occurs if you shutdown or restart a system with dGPU disabled (Eco mode). This situation can happen for BOTH Armoury Crate and G-Helper (as it doesn't depend on them in a first place)

Scenario to reproduce (for both AC / GH):

  1. Set Eco mode and shutdown / start or reboot your computer
  2. After booting in Eco set Standard -> brightness controls won't work
  3. Try to set Eco mode -> it won't work
  4. G-Helper would offer you to restart GPU in Device Manager, after that you will be able to set Eco, AC won't be able to do anything

To prevent this from happening, G-Helper by default would try to enable dGPU before shutdown / restart. If you want to turn this feature off uncheck Extra -> Enable GPU on shutdown (prevents issue with Eco mode)


I don't have a Microsoft certificate to sign the app yet, so if you get a warning from Windows Defender on launch (Windows Protected your PC), click More Info -> Run anyway.


Power user settings

GENERAL NOTE: "Power user" settings require editing config located at %AppData%\GHelper\config.json.

  • Quit G-Helper
  • Make your changes / additions co config.json
  • Start G-Helper again

Make sure to keep json structure (i.e. not to break it with extra or missing commas, etc.) or the app will fail to read it and will just recreate an empty config instead.

Manual app language setting

By default the app will use your windows language setting. But you can set language manually (if it supported of course)

"language" : "en",

(by replacing "en" with language of your choice)

Custom windows power plans with each mode

You can manually assign a custom power plan GUID to each mode.

Format is following : "scheme_<mode>" : "GUID" Where mode = 0 (balanced), 1 (turbo), 2 (silent)

Example (for default windows "balanced" power plan):

"scheme_0": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_1": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_2": "381b4222-f694-41f0-9685-ff5bb260df2e",

Alternative Activation for XG Mobile 6850XT

If you experience a situation when your XG Mobile doesn't work on full power when Activated. It's possible it needs an "alternative" command to get activated. To turn it on, add following line to config :

"xgm_special" : 1,

Override UI theme

By default the app would set the UI theme from the "app" theme in Windows setting. You can override it to specific theme, or general windows theme

"ui_mode" : "dark",
"ui_mode" : "light",
"ui_mode" : "windows",

Skip keyboard Aura initialisation on startup

By default the app would set the last remembered RGB mode for the keyboard on each launch. To disable it completely

"skip_aura" : 1,

Disable OSD

Disable app's OSD (for performance modes, keyboard backlight, etc.)

"disable_osd": 1,

Disable "Tablet mode" on X13/X16

To disable automatic touchpad toggling when laptop enters / leaves tablet mode

"disable_tablet": 1,

Extra Keybindings

  • Ctrl + Shift + F5 / Ctrl + Shift + Alt + F5 - Toggle Performance Modes
  • Ctrl + Shift + F12 - Open G-Helper window
  • Ctrl + M1 / M2 - Screen brightness Down / Up
  • Shift + M1 / M2 - Backlight brightness Down / Up

If you don't want this bindings to work you can add

"skip_hotkeys":1,

Toggle Performance Mode or Toggle App Window key binding

To change binding for Toggle Performance Modes forward / backward to Ctrl + Shift + KEY / Ctrl + Shift + Alt + KEY

"keybind_profile": 116,

To change binding for Toggle App Window to Ctrl + Shift + KEY

"keybind_app": 123,

Where 116 is numerical code for desired key. Put 0 to completely disable this binding.

Higher Maximum GPU Clock / Memory Offsets

By default under the GPU section you can set up to +250/+250 for Core and Memory Clock Offset. To increase this value:

  "max_gpu_core": 300,
  "max_gpu_memory": 1500,

Custom hotkey actions

Select Custom next to appropriate hotkey under Extra settings and do one of the following:

  1. To run any custom application - put a full path to exe into "action" text field, for example: C:\Program Files\EA Games\Battlefield 2042\BF2042.exe

  2. To simulate any windows key or key-combination - put appropriate keycode(s) into the "action" field separated by space. For example 0x2C for Print Screen or 0x11 0xA0 0x31 for Ctrl+Shift+1

Full list of keycodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes

Screenshot 2023-07-17 192155


Libraries and projects used

  • Linux Kernel for some basic endpoints in ASUS ACPI/WMI interface
  • NvAPIWrapper for accessing Nvidia API
  • Starlight for anime matrix communication protocol
  • UXTU for undervolting using Ryzen System Management Unit

Disclaimers "ROG", "TUF", and "Armoury Crate" are trademarked by and belong to AsusTek Computer, Inc. I make no claims to these or any assets belonging to AsusTek Computer and use them purely for informational purposes only.

THE SOFTWARE IS PROVIDED “AS IS” AND WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. MISUSE OF THIS SOFTWARE COULD CAUSE SYSTEM INSTABILITY OR MALFUNCTION.

g-helper's People

Contributors

seerge avatar icestormng avatar marcelomijas avatar lswlc33 avatar constrat avatar tombonnot avatar nopeless avatar sklynic avatar dldota avatar zimm-lostpolygon avatar jadonclegg avatar hkaancaliskan avatar mrchenyukun avatar weslleykawan avatar artinuri avatar oleg52 avatar hungqbui avatar hoangdus avatar albert24gg avatar astronaut701 avatar hamza417 avatar etylix avatar ktemkin avatar mdowski avatar bourbonbourbon avatar tbateson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.