08-03-2023 01:13 PM
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:
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:
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???
10-03-2023 03:47 PM
At least the trick with eGPU?
10-10-2023 07:01 AM
😮😮😮