Author Topic: After Importing Effects Sequence Bogged Down  (Read 3442 times)

Offline djohnson1810

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
After Importing Effects Sequence Bogged Down
« on: August 26, 2016, 04:12:45 PM »
Hi.  I guess this probably makes sense but I wanted some verification.  I have imported my old sequence into xLights as effects that consist of mostly LOR channels (about 80).  Since doing that xlight will kind of freeze for 2-5 minutes every few minutes while I am trying to edit the sequence.  I spend more time waiting on xLights then sequencing.  I know that Importing Effects brings in a lot of data.  Is this normal for about 80 channels?  I know I can import it as a data layer but I was hoping I could do it this way.  I am using .47.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #1 on: August 26, 2016, 07:52:56 PM »

If you go to Settings ->Auto Save, you can disable the auto save which is LIKELY the cause of the pause.    That said, 2-5 minutes is still pretty long.  What size is the resulting sequence?
Daniel Kulp
Framingham, MA

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
After Importing Effects Sequence Bogged Down
« Reply #2 on: August 27, 2016, 03:12:12 AM »
I would say Dan is dead right. I noticed the exact same thing with imported effects from a LOR sequence and it was indeed the auto save which is set to every 3mins as a default. Turning it off would eliminate it completely. I changed mine to every 15mins to still keep  the auto save fn but reduce the freezes. It's not an issue with sequences created entirely in Xlights, just those where you import LOR stuff.


Sent from my iPhone using Tapatalk
« Last Edit: August 27, 2016, 03:13:54 AM by logandc99 »

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #3 on: August 27, 2016, 06:16:34 AM »
I've never looked into all the auto-save code but is it doing a full render?  I can't see why it's not just a few seconds to complete.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: After Importing Effects Sequence Bogged Down
« Reply #4 on: August 27, 2016, 07:09:53 AM »
It should just be writing the xml. Not the fseq and definitely no rendering.

Offline djohnson1810

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #5 on: August 27, 2016, 12:31:25 PM »
The xml file is 24.4 MB.  The fseq file is 63.1 MB.

I will try turning off the autosave and see if that helps and get back to you guys.  Thanks for the help.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #6 on: August 27, 2016, 12:37:20 PM »
As a reference, my largest xml is 0.5 mb. All of my lor stuff that I want to use is a data layer.

Sent from my SM-G900V using Tapatalk


Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #7 on: August 27, 2016, 03:30:57 PM »
The xml file is 24.4 MB.  The fseq file is 63.1 MB.

I will try turning off the autosave and see if that helps and get back to you guys.  Thanks for the help.

24MB is a HUGE HUGE sequence.   Not exactly sure how 80 channels of LOR data would balloon up to that much.  That's gigantic.  First thing I would do is right click on each strand and hit the "promote node effects" and then right click on each model and click the "promote strand effects".   That may reduce this down a bit.

The only time I've seen one that big was importing a pixel tree sequence via an LMS file instead of the superstar. 
Daniel Kulp
Framingham, MA

Offline djohnson1810

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #8 on: August 28, 2016, 10:59:19 AM »
I will try that.  I do have some RGB that I imported over. I am sure that is the issue.

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #9 on: August 28, 2016, 03:57:14 PM »
When I imported the holiday sequences Light of Christmas sequence for 12ribbon tree, I did the node mapping system. The xml file ended up quite large at 35mb ( fseq file is about 68mb). Whenever it auto saved I got a freeze for about a minute while it saved. You don't see any progress bar at the bottom of the screen so I presume it doesn't render but those files do take a while to save. Turning off auto save removes the issue.


Sent from my iPhone using Tapatalk

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #10 on: August 28, 2016, 05:17:25 PM »
Even a 100mb I would expect to save in a couple seconds.  It should just be a file copy.  Something internally is holding off a thread.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #11 on: August 28, 2016, 07:13:29 PM »
When I imported the holiday sequences Light of Christmas sequence for 12ribbon tree, I did the node mapping system. The xml file ended up quite large at 35mb ( fseq file is about 68mb).

Why would you do that instead of importing the SUP file?   The sup file would render in a few seconds whereas the 1000's of other effects take a LOT longer to render.

Quote
Whenever it auto saved I got a freeze for about a minute while it saved. You don't see any progress bar at the bottom of the screen so I presume it doesn't render but those files do take a while to save. Turning off auto save removes the issue.

The generating of the XML and the saving of the XML is done on the main thread.   That is done first (before rendering) to make sure any crashes during rendering don't cause loss of data.   
Daniel Kulp
Framingham, MA

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #12 on: August 29, 2016, 04:20:19 AM »
I guess I must have done it the wrong way. Can't remember now where I found info that made me think  that was how I was supposed to do it. Oh well, next time...😊


Sent from my iPhone using Tapatalk

Offline Boof63

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #13 on: August 29, 2016, 04:32:12 AM »
Have the same problem, it takes 409 secs to save and fseq = 188mg.
Sequence does have gifs and pix in it, so do they add up the meg?
Will try the auot save at 15 mins and see how i get on, thanks all
Cheers Boof63

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: After Importing Effects Sequence Bogged Down
« Reply #14 on: August 29, 2016, 05:50:12 AM »
The fseq size is only a function of the number of channels and the number of frames in the sequence.   Even an empty sequence with no effects of the same length would result in the same size fseq.

Basically, the more channels you have (either in setup or in layout), the bigger.  The longer the song, the bigger.   If you drop from 50ms timing to 25ms, it doubles.
Daniel Kulp
Framingham, MA