kushview / element

Element Audio Plugin Host
https://kushview.net/element/
1.19k stars 99 forks source link

Element CPU Pegged At or Nearly At 100% #819

Open brucerothwell opened 3 months ago

brucerothwell commented 3 months ago

I have noticed recently that when I load evben 1 plugin, I am seeong the CPU usage very high. even 100%. This causes my audio interface to sound crackly, skip, etc.

Just open metering-type plugins ad connect you the audio source.

I expect the audio to remain clear.

MacOS Sonoma

Standalone.

mfisher31 commented 3 months ago

Which version of Element? Also what are your audio settings? e.g. sample rate, buffer size, etc

brucerothwell commented 3 months ago

Element is 1.0.I have audio settings at 44.1k or 48k, and buffer sizes at 256, 512, 1024 and 2048.What is odd is that for the last couple weeks, when I designing a “meterbridge” using REFUSE Simple Meter, and KLANGHELM VUMT plugins, about 48 plugin instances in all, I was not noticing the behaviour of the audio going bad.It has only been in the last couple days.If I close Element all together, my audio goes back to normal.Thx.-BruceSent from my iPhoneOn Aug 28, 2024, at 7:38 PM, Michael Fisher @.***> wrote: Which version of Element? Also what are your audio settings? e.g. sample rate, buffer size, etc

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 3 months ago

Some more info.... I just rebooted my Mac, and ran Element, which only has one plugin applied... CPU is at 100%....

[image: image.png]

On Wed, Aug 28, 2024 at 8:15 PM Bruce Rothwell @.***> wrote:

Element is 1.0.

I have audio settings at 44.1k or 48k, and buffer sizes at 256, 512, 1024 and 2048.

What is odd is that for the last couple weeks, when I designing a “meterbridge” using REFUSE Simple Meter, and KLANGHELM VUMT plugins, about 48 plugin instances in all, I was not noticing the behaviour of the audio going bad.

It has only been in the last couple days.

If I close Element all together, my audio goes back to normal.

Thx.

- Bruce

Sent from my iPhone

On Aug 28, 2024, at 7:38 PM, Michael Fisher @.***> wrote:



Which version of Element? Also what are your audio settings? e.g. sample rate, buffer size, etc

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2316503903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBCC3XUWTXLMZUJLO43ZTZURPAVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGUYDGOJQGM . You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 3 months ago

,,,, and with the same config (one VUMT instance, same buffer size and sample rate as Element) in Carla:

[image: image.png]

On Thu, Aug 29, 2024 at 8:09 AM Bruce Rothwell @.***> wrote:

Some more info.... I just rebooted my Mac, and ran Element, which only has one plugin applied... CPU is at 100%....

[image: image.png]

On Wed, Aug 28, 2024 at 8:15 PM Bruce Rothwell @.***> wrote:

Element is 1.0.

I have audio settings at 44.1k or 48k, and buffer sizes at 256, 512, 1024 and 2048.

What is odd is that for the last couple weeks, when I designing a “meterbridge” using REFUSE Simple Meter, and KLANGHELM VUMT plugins, about 48 plugin instances in all, I was not noticing the behaviour of the audio going bad.

It has only been in the last couple days.

If I close Element all together, my audio goes back to normal.

Thx.

- Bruce

Sent from my iPhone

On Aug 28, 2024, at 7:38 PM, Michael Fisher @.***> wrote:



Which version of Element? Also what are your audio settings? e.g. sample rate, buffer size, etc

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2316503903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBCC3XUWTXLMZUJLO43ZTZURPAVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGUYDGOJQGM . You are receiving this because you authored the thread.Message ID: @.***>

mfisher31 commented 3 months ago

Images not attached....

brucerothwell commented 3 months ago

Are you saying tje images did not come thru for you?Sent from my iPhoneOn Aug 29, 2024, at 9:05 AM, Michael Fisher @.***> wrote: Images not attached....

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 3 months ago

I logged into the GitHub page to attach the files, since it dod not work with email....

Element

Carla

mfisher31 commented 3 months ago

cool thanks. Yeah, I'm not sure what is causing this. Did it start happening after an update? I recently required c++20 in the build, and I'm wondering if this could be the culprit.

mfisher31 commented 3 months ago

Oh, could you open the "About Element" dialog and show me what build number / git revision you're on?

brucerothwell commented 3 months ago

No updates that I know of.Will get you that build info soon!Sent from my iPhoneOn Aug 29, 2024, at 9:30 PM, Michael Fisher @.***> wrote: Oh, could you open the "About Element" dialog and show me what build number / git revision you're on?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 3 months ago

Element

Version: 1.0.0-b52b656b (build 191) Copyright © 2024 Kushview, LLC.

On Thu, Aug 29, 2024 at 9:38 PM Bruce Rothwell @.***> wrote:

No updates that I know of. Will get you that build info soon!

Sent from my iPhone

On Aug 29, 2024, at 9:30 PM, Michael Fisher @.***> wrote:



Oh, could you open the "About Element" dialog and show me what build number / git revision you're on?

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2319718122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBAKSPU5ZXRJPCZRFCTZT7KNJAVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJZG4YTQMJSGI . You are receiving this because you authored the thread.Message ID: @.***>

mfisher31 commented 2 months ago

That's a pretty old version (even for 1.0), We're on build ~272: see https://kushview.net/element/installation/#updates

Element
-------
Version: 1.0.0-e9a13392 (build 272)
Copyright © 2024 Kushview, LLC.
brucerothwell commented 2 months ago

I will try that.FYI:  When I try to “Check for updates”, I get told I am up to date.Sent from my iPhoneOn Aug 30, 2024, at 1:05 AM, Michael Fisher @.***> wrote: That's a pretty old version (even for 1.0), We're on build ~272: see https://kushview.net/element/installation/#updates Element

Version: 1.0.0-e9a13392 (build 272) Copyright © 2024 Kushview, LLC.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 2 months ago

Evidently, I never received a license for Element 1.0. Do you have any records on that?

On Fri, Aug 30, 2024 at 1:05 AM Michael Fisher @.***> wrote:

That's a pretty old version (even for 1.0), We're on build ~272: see https://kushview.net/element/installation/#updates

Element

Version: 1.0.0-e9a13392 (build 272) Copyright © 2024 Kushview, LLC.

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2320164116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBDOTKO6HES2WXH5Q4TZUADS3AVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQGE3DIMJRGY . You are receiving this because you authored the thread.Message ID: @.***>

mfisher31 commented 2 months ago

It will be somewhere in your account on gumroad.com (look in order history).

I found your order though, so you could just email me at support@kushview.net if you can't find it.

brucerothwell commented 2 months ago

I tried to Update Launcher.... says "No updates available".

Is there not a way I can simply download a new installer?

[image: image.png]

On Fri, Aug 30, 2024 at 9:13 AM Michael Fisher @.***> wrote:

It will be somewhere in your account on gumroad.com (look in order history).

I found your order though, so you could just email me at @.*** if you can't find it.

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2321397318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBEICCLTHJJVSNPUDLLZUB4Z7AVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRRGM4TOMZRHA . You are receiving this because you authored the thread.Message ID: @.***>

mfisher31 commented 2 months ago

Ok, I uploaded the latest MacOS build (295) to gumroad. You'll be the first to try this I think: the new download should be in your account in the order history.

Make sure the "nightly" release channel is selected. There isn't a simple way to get a manual download right now. 1.0 is still under development. The updater, especially the nightly channel, distributes builds and updates automatically. Huge time saver for the developer :).

The plan is, for when tagged releases come out, to do what you're asking for; provide manual downloads in addition to the updater. However, there aren't any tagged releases yet...

brucerothwell commented 2 months ago

I will give that a try as soon as I can. Thanks! Maybe when I get this working again, I can show you I am working on... in the meantime, here is a screenshot... all based on using Element for the meter plugins.... this is a software "meterbridge" I designed that looks like a piece of gear:

[image: image.png]

On Fri, Aug 30, 2024 at 10:07 AM Michael Fisher @.***> wrote:

Ok, I uploaded the latest MacOS build (295) to gumroad. You'll be the first to try this I think: the new download should be in your account in the order history.

Make sure the "nightly" release channel is selected. There isn't a simple way to get a manual download right now. 1.0 is still under development. The updater, especially the nightly channel, distributes builds and updates automatically. Huge time saver for the developer :).

The plan is, for when tagged releases come out, to do what you're asking for; provide manual downloads in addition to the updater. However, there aren't any tagged releases yet...

— Reply to this email directly, view it on GitHub https://github.com/kushview/element/issues/819#issuecomment-2321553995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWOBFBI7AA235BL76MEJTZUCDDZAVCNFSM6AAAAABNJIYZFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRRGU2TGOJZGU . You are receiving this because you authored the thread.Message ID: @.***>

brucerothwell commented 2 months ago

I found the Nightly release channel setting, and am downloading build 295. I'll report how it works soon.

Message ID: @.***>

brucerothwell commented 2 months ago

[image: image.png]

On Fri, Aug 30, 2024 at 10:42 AM Bruce Rothwell @.***> wrote:

I found the Nightly release channel setting, and am downloading build

  1. I'll report how it works soon.

Message ID: @.***>

mfisher31 commented 2 months ago

[image: image.png] On Fri, Aug 30, 2024 at 10:42 AM Bruce Rothwell @.> wrote: I found the Nightly release channel setting, and am downloading build 295. I'll report how it works soon. > Message ID: @.> >

image didn't upload.

brucerothwell commented 2 months ago

Looks like the video did not make it thru.... here is a link to the video file I uploaded to my Google Drive....

https://drive.google.com/file/d/1odVEwmYo3DFauFkxFaPti_h6jhy0G76P/view?usp=drive_link

On Fri, Aug 30, 2024 at 11:57 AM Bruce Rothwell @.***> wrote:

I am seeing things kinda working... If I force my audio device to a specific sample rate, I see Element update to match, and it seems the CPU goes to 0%, but the VU meter stops functions. If I change it again, or maybe change the buffer size, the audio quality can also be degraded, but maybe the meters are working. Not really sure what is going, but makes me wonder if there is "miscommunication" with the audio device?

For the record, it is a Metric Halo ULN2 3D interface (very high-end) -- but gotta wonder if it something specific regarding that?

I made a short video that I have attached.

I have another audio device, a Logitec USB headset (mucho simpler) that I will try, to see if maybe the issue goes way with that, which might point to my Metric Halo interface.

Bruce

brucerothwell commented 2 months ago

Michael —Any ideas based in that video link I shared?Also another question — has there been any progress on the issue of LV2 plugins not showing the proper GUI?-BruceSent from my iPhoneOn Aug 30, 2024, at 12:55 PM, Michael Fisher @.***> wrote:

[image: image.png] … On Fri, Aug 30, 2024 at 10:42 AM Bruce Rothwell @.> wrote: I found the Nightly release channel setting, and am downloading build 295. I'll report how it works soon. > Message ID: @.> >

image didn't upload.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

mfisher31 commented 2 months ago

Nah... the video didn't reveal anything outside of the ordinary. Still a bit puzzled about this. As for the LV2 UI's, which ones aren't working? If it's the LV2 meters, I found out that it needs to support "external UI" which hasn't been done yet. Probably will push that back after a tagged 1.0 (or not do it at all since external UI isn't part of the specification).

mfisher31 commented 1 month ago

I still can't reproduce this. Removing from the 1.0.x project, but not closing.