100% CPU Xubuntu, W/USB midi

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

Hi all, my QLC+ app seems to have developed a CPU hog bug. It has worked just fine running for months. In the past week I have upgraded to 4.9.1, started testing/using a USB midi controller (nanoKontroller), and also in the virtual console created a panel that corresponded with the sliders, something in the back of my mind is having excessive number of pages in the panel. I did start with 35 pages so I don't have to add pages later (because having the usability to clone again) I did reduce the pages to 15 now but it still did have a freezing fit.


Not sure if it is related to the USB MIDI, the Linux didn't freeze, the CPU peak was just the QLC process. It freezes when the program opens/loads. Takes about 5-10min to load and unfreeze. Then it will work for a bit, and then spontaneously freeze randomly if I click a button for a scene/function.


Any ideas?


--Dan
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

Upon further playing around, it does appear to be tied to one of the rotary knobs which is controlling a submaster. It is always set at 255, but when I move it it freezes the program and 100% CPU.


Any ideas?


--Dan
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

Can you post your workspace?.
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

Here is a link to my qxw file in Google Docs.

https://drive.google.com/open?id=0B2oE5 ... EhLWDFsbTA


One thing to note, the submaster that seems to be part of the problem is in two different frames, controlled by the same midi channel. Originally this was not an issue.


--Dan
plugz
Posts: 637
Joined: Sun Apr 12, 2015 6:30 pm
Real Name: David

manfacro wrote:Here is a link to my qxw file in Google Docs.

https://drive.google.com/open?id=0B2oE5 ... EhLWDFsbTA


One thing to note, the submaster that seems to be part of the problem is in two different frames, controlled by the same midi channel. Originally this was not an issue.


--Dan
Hi,

It's private in google docs... Can you share it here ? :)

Thanks
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

plugz wrote: It's private in google docs... Can you share it here ? :)

Thanks
Lets try this again with the public link... https://drive.google.com/file/d/0B2oE5x ... sp=sharing


File is too big to attach here...now that I think about it I think that is the problem. Between backups file jumped from 178kb to 5mb. Ideally I don't want to have to rebuild it, but it's XML? So I may do some poking around trial and error and see if I can manually edit it when I get home in 12hrs. But I'm up for ideas.


--Dan
plugz
Posts: 637
Joined: Sun Apr 12, 2015 6:30 pm
Real Name: David

Some errors occurred while loading the project:

No fixture definition found for <American DJ> <RGBA>
No fixture definition found for <American Dj> <P36>
Please also share any fixture definition that's not currently in QLC+ :)



Appart from that: that's a HUGE workspace :) ! Yes, your submaster knob is acting slow, event without a controller attached. I'll do more tests sometime.

EDIT- The submasters in the 16-page frame are acting slow
plugz
Posts: 637
Joined: Sun Apr 12, 2015 6:30 pm
Real Name: David

OK, I've looked at this a little more.

You have litteraly more than 9000 widgets in your virtual console. A grep tells 9029 widgets. QLC+ just can't handle this much. You have hidden widgets EVERYWHERE.


Fun workspace though, I think I'll use it to test some performance improvements.
User avatar
mcallegari
Posts: 4827
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

plugz wrote:You have litteraly more than 9000 widgets in your virtual console. A grep tells 9029 widgets. QLC+ just can't handle this much. You have hidden widgets EVERYWHERE.
LOOOOL
Then people ask to have more page cloning options....
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

Ohh crap, just did some rough math, there should be ~850 controls in the new stuff (top most frame) and then I can't imagine more than 100 Active stuff in the back (old stuff for web automation)

Can't wait to really start exploring what happened. I'm guessing something with the cloning.


Question, if I create a panel, add/clone a few pages of widgets, but then go back and delete pages, but then go in and add/clone them back in does it remember what was on the old pages of the panel? I have a suspicion when I was testing the cloning a few times to get it right it just remembered the old pages and added the new stuff on top of it. That's my theory I'm going with, when I get home tonight I gotta start digging!



--Dan
manfacro
Posts: 17
Joined: Thu Jul 16, 2015 3:47 am
Real Name: Daniel

Problem solved, copied/re-cloned the new stuff and the project magically dropped to 600kb in size, loads and runs instantly again.


Thank you for all your input!


--Dan
Post Reply