T-Troll / alienfx-tools

Alienware systems lights, fans, and power control tools and apps
MIT License
508 stars 46 forks source link

Fix GPU Load was not match with Windows TaskMgr #227

Closed capric8416 closed 1 year ago

capric8416 commented 2 years ago

GPU Load shoud be group by engine type and sum, then find max of them.

capric8416 commented 2 years ago

When I play multiple videos at the same time, AlienFX Monitor show GPU load was not match with windows taskmgr.

image

capric8416 commented 2 years ago

After this patch was applyed, they are same now.

image

capric8416 commented 2 years ago

Steps to reproduce:

  1. Open windows taskmgr, swith to performance tab, click GPU 0.
  2. Play 2 videos with mpv, vlc, or other video players.
  3. Open System Informer, show GPU Utilization percentage.
  4. You will find System Informer's GPU load was about half of windows taskmgr
T-Troll commented 2 years ago

Nice point, but need future investigation:

So, thank you for your effort, but first let's clear what exactly we need to have as a result and how to calculate it easy way. Don't look to the Task Manager, i don't think it calculates it the right way to have only one value for all.

PS: Close code is also used into alienfx-gui's EventHandler.cpp for GPU-driven light indication. PPS: Hmm... Maybe we need to divide GPU loading across adapters, providing more, than one sensor, but one per adapter.

capric8416 commented 2 years ago

dmex from System Informer has accept my suggestion and fix it at #1458 soon.