This widget could not be displayed.
This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

[XG Mobile] Hot uplug

XperiAndri
Star II

In continuation of [XG Mobile] Hot uplug - ASUS - ZenTalk - 145722

System: Windows 11 Pro [Version 10.0.22621.900]
Battery or AC: AC
Model: GV301QC
Frequency of occurrence: Day by day
Reset OS: Yes
Screenshot or video:
========================
Detailed description:
Sometimes deactivation does not happen whatever I do:

  1. Armory crate services restart
  2. Asus services restart
  3. XG Mobile lock switch off and on without unplugging
  4. Nothing helped until reboot.

However when I did hot unplug (without deactivation) nothing terrible happened. All the apps remain working and just move to the main laptop screen. Only 3050 GPU remain disabled.
So why GPU switch cannot be done after hot unplugging then? Looks like Windows 11 does hot GPU unplug pretty well.

In order to avoid misunderstanding, may I confirm with you again?
> So you think it's a problem that there is no error?
So there are several problems:

1. Armoury Crate service leaks. It aquires Windows handles but does not release them which affects PC performance the longer you have PC running. If you install SysInternals Process Explorer, add `Handle Count` column and sort by it you will see that Armoury Crate service is in the top using 6000-10000 handles while at the beginning it uses only 1100.
So after I added a scheduled task to do the flolowing every 6 hours PC performance became much better

net stop "ArmouryCrateService"
timeout /T 45
net stop "ArmouryCrateService"

You need to do a better native memory management.

2. The user experience you provide with extenal graphics plugging and unplugging is very bad an annoying. But can be impreoved.
I did some experiments and if I:

  1. Disable eGPU in devce manager
  2. Unplug HDMI
  3. Enable eGPU in devce manager
  4. Deactivate XG Mobile

then I don't see that weird window that asks to close apps using eGPU because Windows released eGPU memory.

So you can absolutley do that programmatically without notifying me that apps are using eGPU.
Why do I need to care about that if Windows can handle that perfectly.
So if you just deactivate XG Mobile HDMI and Display-Port ports programmatically Windows will switch to the single laptop screen and release eGPU memory without closing the apps.
Then you can deactivate XG Mobile itself. 

3. When hot unplug accidentially happened I don't understand why can't I deactivate XG Mobile and activate intrnal NVidia 3050? What is the problem??? XG Mobile is already unplugged. Why can't I press deactivate button and switch to 3050???

11 REPLIES 11

@XperiAndri
I'm sorry, but we still don't have a clear understanding of the issue you are experiencing. Would it be possible for you to provide us with a video showing the process of the issue you are encountering? We apologize for any inconvenience this may cause.

OK, I'll record a video for you

XperiAndri
Star II

Here is a recording where I demonstrate how to deactivate XG Mobile without closing the apps which occupied GPU memory: Video recording of deactivating XG Mobile without apps window 

XperiAndri
Star II

After several days without reboot

Знімок екрана 2023-08-24 134143.png

 

XperiAndri
Star II

Were you able to reproduce my discoveries?