-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
CPU overload when loading a project with specific VST's #4788
Comments
On discord @T0NIT0RMX mentioned that a2cb7e9 was ruled out as the cause. If this is true, please update the description and subject accordingly. |
Update: @justnope had theorized that this was OpenGL/driver related, so I tried disabling hardware acceleration altogether but the |
Using process explorer |
@T0NIT0RMX thanks for allowing me to look at the machine. We found that the offending machine gets stuck in The temporary workaround (for now) is to turn off Aero on the desktop, which inadvertently fixes this issue. We tried many (many) things including:
I believe these environment variables are either not being picked up by Some workarounds...
@T0NIT0RMX attempted to use the "Compatibility" area on the LMMS shortcut to disable the desktop compositions but it doesn't appear to actually work nor influence anything. Edit: Here's a script that can automate the disabling of Aero... @echo off
net session >nul 2>&1
if %errorLevel% == 0 (
echo Administrator detected
) else (
color 0C
echo Please run as admin
echo.
pause
exit 1
)
net stop uxsms
start "" /d "%programfiles%\LMMS" /wait "%programfiles%\LMMS\lmms.exe"
net start uxsms I'll leave this bug open for a bit incase this new information uncovers something that can be done in code. |
Thanks for the clarifications @tresf , so I think you can remove the "need clarification" label, because now we know the causes. |
It's unlikely this is the actual method it gets stuck in; unless you have full debug symbols for
The plugins are always on top by Umcaruje's request in #4110 (comment), implemented in fcc883f. If this is annoying, we may want to revisit it. It sounds to me like the issue is a driver bug; OpenGL driver support is notoriously flaky on Windows, which is probably why the Qt issue is fixed by using ANGLE, which translates OpenGL to Direct3D. |
Poll opened #4802
The drivers were updated with no impact to system performance. I was starting to hypothesize that it's some even stranger such as a lingering driver version on the machine or a problem that was specific to the laptop's dual-display-adapter (one NVIDIA, one Intel). One of the similar (internet) issues I stumbled upon offered teh explanation as being caused by buffering to a non-primary monitor; both theories are just speculation :)
@T0NIT0RMX should be able to provide this information. Even if we can't fix it, the issue seems to plague enough Intel HD 4600 cards that it would be valuable to document publicly. |
@tresf @DomClark Sure ! here it is when I double clcik on
|
@T0NIT0RMX Which version of Dragonfly Reverb are you using? Some versions of Dragonfly have had bugs that cause high cpu usage. |
Hello,
I'm having a CPU overload on remoteVstPlugin.exe when I try to load a project containing specific VST's.
Steps to reproduce :
I asked some people to reproduce it but it seems hard to reproduce, maybe it's not that noticeable on recent computers.
LMMS 1.2.0-RC7
LMMS 1.2.0-RC7
In my case, it's using 12% of my CPU...
It should use 0% when no note is playing.
When I play a note (with 3xosc) it jumps to 16%, which make LMMS almost unusable when I work on big projects with many more VST (Mequalizer, and all the free MELA plugin suite have the same behavior, and probably lots of other VST I use).
More infos
In LMMS 1.1.3 there was no problem, so I try bisecting is suggested by @DomClark
Here is what I found : a2cb7e9, which fixes a GUI glitch introduced the bug. (The commit just before doesn't have the bug)My config
Windows 7 - 64bits
Hope these info will help come up with a solution. I understand that it may be related to the fact my computer is old (4 years old) but maybe there is still an explaination, because it was not there before. Or maybe a workaround to fix this ?
If you need more infos, or want me to try to compile some of your ideas, let me know, I'll reply ASAP !
Thanks in adance for your help,
The text was updated successfully, but these errors were encountered: