AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: jlmcr87 on October 18, 2021, 15:06:59

Title: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on October 18, 2021, 15:06:59
Hi. AIMP 5 with Modern UI uses near 20% of my CPU, core i7 1165G7 (playing a Flac file).
I think It is due to the sound animation.

Can you make an option to hide this animation to reduce CPU usage?

AIMP 5 Modern UI:15-20% CPU

AIMP 5 Clasic UI: 5% CPU

AIMP 5 minimized: 0,8% CPU

THANKS.
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Artem on October 18, 2021, 16:29:51
What is your version of player?
Do you use Windows 11 UI option?
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: 2nd.Identity on October 18, 2021, 18:05:48
Hi jlmcr87, you could be looking for this setting:
Preferences -> Interface -> Skins -> Skins -> Show spectrum visualisation for playing file

Turning off visualisation reduced my CPU usage from 25% to 7.5%.
Turning off Windows 11 style as suggested by Artem reduced it further to 2.5%.

My CPU is an old i5-4690, however.
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on October 21, 2021, 10:10:37
Hi jlmcr87, you could be looking for this setting:
Preferences -> Interface -> Skins -> Skins -> Show spectrum visualisation for playing file

Turning off visualisation reduced my CPU usage from 25% to 7.5%.
Turning off Windows 11 style as suggested by Artem reduced it further to 2.5%.

My CPU is an old i5-4690, however.

I have tried your suggestions with the following results:

This time with a Core i7 6700k, AIMP 5 build 2334:

AIMP 5 Modern UI with W11 UI, with Spectrum:10-11% CPU

AIMP 5 Modern UI without W11 UI, with Spectrum: 4% CPU

AIMP 5 Modern UI without W11 UI, without Spectrum: 2% CPU

AIMP 5 Clasic UI: 2% CPU

AIMP 5 minimized: 1% CPU

Can you do something to reduce CPU usage? Specially with the W11 UI option. Thanks @Artem
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Artem on October 21, 2021, 10:12:36
Try to update the player to 2335 build
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on October 21, 2021, 19:05:20
Updated results with Core i7 6700k, AIMP 5 build 2338:

AIMP 5 Modern UI with W11 UI, with Spectrum:5-8% CPU

AIMP 5 Modern UI without W11 UI, with Spectrum: 1,6-2,6% CPU

AIMP 5 Modern UI without W11 UI, without Spectrum: 0,8-1,3% CPU

AIMP 5 minimized: 0,8-1,3% CPU

I think i can live without w11 UI, too much cpu wasted.

Can you reduce CPU rendering the UI with GPU? I´m asking from ignorance. Thanks
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Artem on October 21, 2021, 21:09:52
Can you reduce CPU rendering the UI with GPU? I´m asking from ignorance. Thanks

First, I will try to optimize masking algorithm.
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Artem on October 23, 2021, 14:06:59
Please, try this build and report about your results
https://disk.yandex.ru/d/LBuiI8x2pAuDfQ
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Brat on October 24, 2021, 13:24:53
Please, try this build and report about your results
https://disk.yandex.ru/d/LBuiI8x2pAuDfQ
У меня та же история:
AIMP 5 Modern UI 16-32% CPU (в развёрнутом виде) с W11 UI.
В свёрнутом виде 0.4-0.7%.

Скачал вашу сборку 2339, но побоялся ставить стационарную версию, чтоб не удалить все конфиги, поэтому поставил портативную.
На выходе получил 2-3% CPU (в развёрнутом виде) с W11 UI.
В свёрнутом виде те же 0.4-0.7%.

Не знаю, на сколько это корректно сравнивать стационарную с портативной.
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: Artem on October 24, 2021, 13:47:30
Не знаю, на сколько это корректно сравнивать стационарную с портативной.

Они отличаются лишь местом хранения настроек
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on November 08, 2021, 02:44:13
With the latest buld 2342 i can´t say a % because it´s changing all the time.

What i have noticed is that you split the CPU usage in another process called Desktop window administration, so the overall CPU usage is still high, even worse than the last release.
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: sveakul on November 08, 2021, 05:58:10
What i have noticed is that you split the CPU usage in another process called Desktop window administration, so the overall CPU usage is still high, even worse than the last release.

Could you be running into the Intel graphics memory leak affecting Desktop Windows Manager described here?: https://www.intel.com/content/www/us/en/support/articles/000058381/graphics/graphics-for-8th-generation-intel-processors.html (https://www.intel.com/content/www/us/en/support/articles/000058381/graphics/graphics-for-8th-generation-intel-processors.html)
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on November 08, 2021, 10:04:12
Could you be running into the Intel graphics memory leak affecting Desktop Windows Manager described here?: https://www.intel.com/content/www/us/en/support/articles/000058381/graphics/graphics-for-8th-generation-intel-processors.html (https://www.intel.com/content/www/us/en/support/articles/000058381/graphics/graphics-for-8th-generation-intel-processors.html)

I don´t know, but i´m using my laptop with 11th gen...
Title: Re: AIMP 5 Modern UI high CPU usage
Post by: jlmcr87 on November 16, 2021, 15:57:13
Dear @Artem i have news, it seems that the high CPU in the latest aimp 2344 is related to intel Xe graphics with the latest drivers. Can you take a look, i don´t know what´s happening. Thanks

Core i7 6700k with intel HD530 CPU Usage (drivers 101.1069):
-Aimp5: 1,8%
-Desktop window administration: 1,6%

Core i7 1165G7 with intel Xe CPU usage (drivers 100.8853):
-Aimp5: 1,5%
-Desktop window administration: not appearing.

Core i7 1165G7 with intel Xe CPU usage (drivers 101.1069):
-Aimp5: 4,1%
-Desktop window administration: 2,9%.