Page 1 of 1

High cpu load on scenes

Posted: Sat May 30, 2015 8:44 pm
by prutseltje
Hi,

I have build the git sources to see if it solves my audio capture issues but no luck.
There is possible an new or returning bug in the scenes.

When i save an RGBmatrix to scene and run it there is an cpu load of 80% or more.
The reason i saved the RGBmatrix to scene is the leds keep on glowing if i use the fade out option.
On the virtual console it checks out fine but in the real world the leds lite up like an Christmas tree.
The dmx view shows the corresponding channels fade back to 001 and not 000.

Attached my qlc workspace, try and run the vertical or horizontal RGB paneel scenes.

Rob

Re: High cpu load on scenes

Posted: Sat May 30, 2015 10:25 pm
by OddSocks
I came across the RGB matrix fade problem before.

viewtopic.php?f=5&t=7669&hilit=matrix#p32545

Don't think this has been fixed yet, but I am sure that it will get looked at at some point :)

Re: High cpu load on scenes

Posted: Sun May 31, 2015 10:35 am
by prutseltje
The fade back to 1 bug is here for a while. As far as I know it has not been fixed before.

The high cpu load bug has been fixed before, since a week or so the bug is back on the git sources. On the current package from the qlc site the bug is not present.

I also have issues with the audio in / fftw on Ubuntu 15.04. Is there some documentation about the implementation?
In the package from the site I can select an audio source but no luck getting any signal.
The git build doesn't seem to have any audio options at all.

Rob

Re: High cpu load on scenes

Posted: Sun May 31, 2015 6:54 pm
by plugz
Reproduced both issues.

Will look into them when I have some time.

Re: High cpu load on scenes

Posted: Mon Jun 01, 2015 1:34 pm
by plugz
CPU issue: fixed, you can pull and compile right now :)

RGBMatrix issue: looking into it...

EDIT- RGBMatrix issue: should be better now, can you try with latest git version ?

Re: High cpu load on scenes

Posted: Mon Jun 01, 2015 8:46 pm
by prutseltje
Hi

Thank you for fixing the issues!

CPU issue kind of fixed ;) I can run the scenes without cpu overload and smooth but cpu load is still high.
The pre compiled version on the qlc site has lower cpu load. But for now lets say it's pretty workable :)

The RGBMatrix works like a charm!

Re: High cpu load on scenes

Posted: Tue Jun 02, 2015 5:48 am
by plugz
Hi,
Thank you for fixing the issues!
Thank you for reporting the issues :)
CPU issue kind of fixed ;) I can run the scenes without cpu overload and smooth but cpu load is still high.
The pre compiled version on the qlc site has lower cpu load. But for now lets say it's pretty workable :)
You're right... :(

EDIT- Versions from QLC website are compiled in RELEASE mode, with debug output completely disabled. This speeds things up a lot :)
This explains the still high CPU load. You can try compiling QLC+4.8.5 yourself, the CPU load will be high too.


;)

Re: High cpu load on scenes

Posted: Tue Jun 02, 2015 11:25 am
by prutseltje
I was building in RELEASE mode but changing back to debug helped to speed up as well :)