-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] CPU overconsumption related to the new audio switch feature #1131
Comments
That powershell command is indeed added in version 3.0.5 to get the active device, polled every 2 seconds. Probably need to adjust the polling interval. |
The process stops and restarts immediately, this happens in a loop for several minutes. This process consumes about 15% of the CPU. I have 5 active audio inputs and 5 active audio outputs. |
I will evaluate the powershell usage. Expect a patch release this week.
Thank you
…On Wed, Jul 24, 2024, 4:22 PM Fred89210 ***@***.***> wrote:
The process stops and restarts immediately, this happens in a loop for
several minutes.
After several minutes, Powershell will not reappear for a few seconds
(between 30 seconds and one minute I would say) and will reappear in a loop.
This process consumes about 15% of the CPU.
I have 5 active audio inputs and 5 active audio outputs.
I also have other audio inputs and outputs that are disabled or
disconnected.
I have physical devices and virtual devices.
—
Reply to this email directly, view it on GitHub
<#1131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBY5ZTFIT2AW74KRBF73IDZN5W4LAVCNFSM6AAAAABLLGDPWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXGM2DENRSGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Great, thank you. I will watch for updates and keep you informed. |
Just released the patch 3.0.7. The active audio output device updates every 60 seconds instead of 2 seconds. |
I recently installed the latest version of the Deckboard server (3.0.5 and 3.0.6) and since then I have noticed an abnormal CPU consumption.
If the Deckboard window is open, it is the Deckboard process that consumes the CPU.
If the Deckboard window is closed (but the Deckboard server is started), I have the
Windows Powershell
process that starts to consume the CPU.By controlling the Windows Powershell process that consumes abnormally, I notice that the parent is
Deckboard.exe
and the command line ispowershell.exe "Get-AudioDevice -Playback | ConvertTo-Json"
.I suspect that this comes from the new feature that allows you to change the audio output with Deckboard.
I think that I may have a device that is causing a problem and that would therefore lead to this CPU consumption. So I removed my buttons using the new feature but that doesn't change anything, the Deckboard server continues to check the audio devices in a loop, even if we don't use the feature and it causes an overconsumption of the CPU.
The problem persists even if no client is connected.
By completely quitting the Deckboard server, the problem disappears.
To Reproduce
Install the latest version of Deckboard and monitor the Task Manager.
Deckboard or Windows Powershell may be consuming CPU abnormally.
Expected behavior
Deckboard should consume as many CPU resources as it did with version 3.0.4 or earlier.
It would be at least necessary for Deckboard to stop monitoring audio devices when this feature is not in use, or to have the option to disable this option.
Screenshots
Server App (please complete the following information):
Client App (please complete the following information):
Required files
In order to temporarily resolve my problem, I have reinstalled version 3.0.4 of the Deckboard server.
The text was updated successfully, but these errors were encountered: