seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://g-helper.com
GNU General Public License v3.0
7.68k stars 266 forks source link

Unresponsive for extended period after unplugging in Optimized mode #510

Closed rustyspatula closed 1 year ago

rustyspatula commented 1 year ago

Description:

As of writing this I have discovered the same issue occurs when changing from Standard to Optimized modes. It seems to be an issue with the Optimized mode and may be an NVIDIA issue. I will still leave this here for reference.

Steps to reproduce the behavior:

  1. Enable Optimized GPU mode
  2. Unplug from AC power
  3. G-Helper and all keyboard shortcuts (including brightness/power mode options) will be unresponsive for at least a full minute

Expected behavior:

App Log: log.txt

Desktop:

Software:

seerge commented 1 year ago

@rustyspatula hello, when you unplug / plug using Optimized mode app will try to disable / enable your dGPU (as this is what this mode is about). Disabling dGPU goes via asus own command, that can lock current process doing that. I can't really change that :)

On 2023 models it seem to take longer time than on 2022 tho.

  1. Make sure that your nvidia optimus setting is actually real "Optimus" (not auto / nvidia only)
  2. Try to run app as admin + select kill GPU processes under Extra (it may help driver to release GPU faster)
  3. If it still happens - you may just keep GPU mode in Standard, then it will not turn off your GPU automatically until you click Eco
rustyspatula commented 1 year ago

I thought it might have something to do with Optimus. That whole thing is always buggy. Thanks for the tips!

seerge commented 1 year ago

@rustyspatula ok, good :) Since (on this stage), I can not do anything more. I'm closing this.

Feel free to create a new issue if you notice something.