Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in Hybrid-auto mode, dGPU does not turn on after plug-in power. #1561

Open
bocauman opened this issue Feb 2, 2025 · 24 comments
Open

in Hybrid-auto mode, dGPU does not turn on after plug-in power. #1561

bocauman opened this issue Feb 2, 2025 · 24 comments
Labels
bug Something isn't working

Comments

@bocauman
Copy link

bocauman commented Feb 2, 2025

Version

2.25.1

OS

windows 11 23h2

Device

Legion 5 Pro 16IAH7H

BIOS version

J2CN57WW

What is wrong?

this is similar to problem in #1557

thanks.

What did you try already?

switch off vantage and hotkey drivers.
using vantage works as expected.
also switching gpu mode to hybrid, reactivate dGPU again as expected.

How to reproduce the bug?

set gpu mode to hybrid-auto
unplug power
wait until dgpu disappear in dashboard.
then re-plug in the power.
dgpu does not wake up.

What is the behavior that you expected?

dgpu should wake up, after power is plug-in like in vantage.

Logs

none.

Additional information

No response

@bocauman bocauman added the bug Something isn't working label Feb 2, 2025
@bocauman bocauman changed the title in Hybrid-auto mode, dGPU does not turn on after plug in power, as expected. in Hybrid-auto mode, dGPU does not turn on after plug-in power. Feb 2, 2025
@RootZoneRZ
Copy link

RootZoneRZ commented Feb 6, 2025

At now, I meet this issue too. For dGPU awake from off-state, at this time I use Vantage services enabled. It's a pity that in this case the keyboard backlight cannot be controlled by LLT. Previously, automatic wakeup of dGPU was worked, I don’t know at what point exactly it stopped.

@Howtyee
Copy link

Howtyee commented Feb 13, 2025

I meet this issue too

@RootZoneRZ
Copy link

As a temporary ugly solution I use this:

  1. I added "--enable-hybrid-mode-automation" to "%USERPROFILE%\AppData\Local\LenovoLegionToolkit\args.txt"
  2. I added to automatic actions - on power-supply connect: Graphics mode - "Hybrid".
  3. I added to automatic actions - on power-supply disconnect: Graphics mode - "Hybrid-Auto".

It works for me. Of course it's inconvenient, but now I was able to disable Lenovo Vantage again.

@RootZoneRZ
Copy link

I think it would be great if LLT had its own switching mode, which would implement, for example, my previous idea of ​​forced switching between Hybrid and Hybrid-auto, depending on the power source (the ability to turn it on, even just as a separate flag/toggle)

@duc0983

This comment has been minimized.

@BartoszCichecki
Copy link
Owner

@duc0983 first warning.

@BartoszCichecki
Copy link
Owner

I need to look into this, I am not sure why dGPU doesn't wake up. The whole wake up process is initiated by EC when power is connected, after which Windows should pick up new plug and play device. Not sure what's up...

@BartoszCichecki
Copy link
Owner

I think it would be great if LLT had its own switching mode, which would implement, for example, my previous idea of ​​forced switching between Hybrid and Hybrid-auto, depending on the power source (the ability to turn it on, even just as a separate flag/toggle)

As you said yourself - you can do exactly that with Actions if you need to. Whole process is fragile, because of the way Lenovo designed it. I don't know if they couldn't do it better or just didn't.

Regardless, hybrid modes should be left alone, that's why they aren't available in Actions by default. Switching them too fast or when dGPU is in use and can't disconnect results often in dGPU not waking up at all until machine is restarted.

@RootZoneRZ
Copy link

Hello, friends!
I was try to do two things:

  1. I was manually install NVidia VGA driver version 561.09
  2. I added "--experimental-gpu-working-mode" and "--enable-hybrid-mode-automation" to "%USERPROFILE%\AppData\Local\LenovoLegionToolkit\args.txt"

Graphics mode - "Hybrid-Auto" seems to work great now! I tested it on two Legion 5 Pro 16IRX9 (2024).

@hitcup8386
Copy link

hitcup8386 commented Feb 22, 2025

and i have the opposite case. when i start up the laptop on battery the dGPU keep restarting and refuse to turn off but it didnt happend when the laptop is already turned on and i unplug the laptop. i dont know if it a bug or some thing that could be fix. thank you in advance for your answer

@Sebastian-Hothaza
Copy link

I'm also experiencing some issues similar to this. When I have it set to auto and unplug, the system SHOULD switch to iGPU only however it doesnt and the dGPU doesnt get disconnected. I added the arg to allow hybrid mode automation as a user suggested above and have it set to use "hybrid" when plugged in and "iGPU only" when unplugged. This should be the behaviour of auto, but it appears broken in LLT or Lenovos management of it. Perhaps a time delay is needed

@BartoszCichecki
Copy link
Owner

I'm also experiencing some issues similar to this. When I have it set to auto and unplug, the system SHOULD switch to iGPU only however it doesnt and the dGPU doesnt get disconnected. I added the arg to allow hybrid mode automation as a user suggested above and have it set to use "hybrid" when plugged in and "iGPU only" when unplugged. This should be the behaviour of auto, but it appears broken in LLT or Lenovos management of it. Perhaps a time delay is needed

Hybrid Auto won't turn off dGPU if at the time of unplugging dGPU is in use. This has always been flaky and that is an issue with how Lenovo decided/had to implement hybrid modes.

@BartoszCichecki
Copy link
Owner

I don't have anything specific when it comes to this issue yet.

What I observed is that on my L7, dGPU actually is reconnected to the system, but device manager shows error code 43. Not sure yet what is causing this. For me it started around the time I updated to 24H2, but this issue reports this on 23H2 so not sure what's up with this exactly.

@hitcup8386
Copy link

hitcup8386 commented Feb 22, 2025

I don't have anything specific when it comes to this issue yet.

What I observed is that on my L7, dGPU actually is reconnected to the system, but device manager shows error code 43. Not sure yet what is causing this. For me it started around the time I updated to 24H2, but this issue reports this on 23H2 so not sure what's up with this exactly.

so as it for now we cant do anything about it. then maybe you could add the option in Action that allow switching "GPU working mode" for the next update? that's the only "easy" solution i can think of now
btw im on 24h2 too.

@Sebastian-Hothaza
Copy link

I don't have anything specific when it comes to this issue yet.
What I observed is that on my L7, dGPU actually is reconnected to the system, but device manager shows error code 43. Not sure yet what is causing this. For me it started around the time I updated to 24H2, but this issue reports this on 23H2 so not sure what's up with this exactly.

so as it for now we cant do anything about it. then maybe you could add the option in Action that allow switching "GPU working mode" to for the next update? that's the only "easy" solution i can think of now btw im on 24h2 too.

I think this is a good idea. I got it to work exactly how I want now.

When AC adapter is disconnected, GPU Working Mode changes to "Hybrid-iGPU".
When it is connected, GPU Working Mode changes to "Hybrid"

The problem with using "Hybrid-Auto" is that when I plug a USB charger into the PD port, it wakes the dGPU. When the GPU Working Mode is iGPU, it does NOT wake dGPU.

In essence, the label for "Hybrid-Auto" is incorrect. It says when a USB PD charger is connected, it will behave as Hybrid-iGPU only which is not the case.

@BartoszCichecki
Copy link
Owner

BartoszCichecki commented Feb 22, 2025

Readme is your friend @Sebastian-Hothaza ;)

Re: description it is worth updating. They were taken from early Vantage releases but in reality it’s the EC that controls hybrid modes. Not LLT.

@Sebastian-Hothaza
Copy link

Readme is your friend @Sebastian-Hothaza ;)

Re: description it is worth updating. They were taken from early Vantage releases but in reality it’s the EC that controls hybrid modes. Not LLT.

Yes, I did see the Readme and I understand the issue. I just think it would be worthwhile updating the description of Hybrid-Auto in LLT to avoid future confusion

What I don't quite understand is the difference between these scenarios. I'd appreciate it if you had some insight.

  1. Hybrid-Auto: Laptop unplugged, dGPU disconnected. Then I connect USB charger. Suddenly dGPU connects.
  2. Hybrid-iGPU: Laptop unplogged, dGPU disconnected. Then I connect USB charger, dGPU remains disconnected.

@BartoszCichecki
Copy link
Owner

What I don't quite understand is the difference between these scenarios. I'd appreciate it if you had some insight.

Not sure what is confusing here. As explained here, Hybrid iGPU will always stick to using iGPU only. Hybrid Auto switches between (effectively) Hybrid and Hybrid iGPU depending on whether a power source is connected.

@BartoszCichecki
Copy link
Owner

BartoszCichecki commented Feb 24, 2025

I'd also ask everyone to stick to this the topic of this issue. This is not a discussion forum. Unrelated comments make it hard to track changes/progress.

@hitcup8386
Copy link

so is it possible to add "GPU working mode" in the actions to the next update, BC? i hope it could. thank you again for the reply

@Sebastian-Hothaza
Copy link

What I don't quite understand is the difference between these scenarios. I'd appreciate it if you had some insight.

Not sure what is confusing here (...)

I see my confusion now. When I was reading the description, I was always thinking the AC Adapter was the large 300W PSU.

so is it possible to add "GPU working mode" in the actions to the next update, BC? i hope it could. thank you again for the reply

I don't think exposing GPU Working Mode to users via actions would be a good idea. As BC mentioned earlier, hybrid modes should be left alone.

@BartoszCichecki , is it possible to detect the type of PSU connected? I think a simple fix to this would be to only switch to Hybrid if a high-wattage/original PSU is connected and to remain in iGPU only mode if a low wattage/USB PD source is connected. I think this behavior of Hybrid-Auto would be ideal. This is my proposed solution.

@BartoszCichecki
Copy link
Owner

BartoszCichecki commented Feb 26, 2025

I think a simple fix

It is not possible to "fix" it - Hybrid Auto is controlled by EC, not by LLT.

@BartoszCichecki
Copy link
Owner

so is it possible to add "GPU working mode" in the actions to the next update, BC? i hope it could. thank you again for the reply

Readme is your friend.

Repository owner locked as off-topic and limited conversation to collaborators Feb 26, 2025
@BartoszCichecki
Copy link
Owner

This thread is locked until I can provide an update - discussion drifted too much into off-topic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants