Author Topic: Lag between songs  (Read 1499 times)

Offline Rainlover

  • Coop Admin
  • Sr. Member
  • *
  • Posts: 1739
  • 97055
Lag between songs
« on: November 24, 2011, »
I finally got around to trying xlights. I loaded all of my sequences and audio to the xlights folder, created a playlist and started the scheduler. The first song plays then there is about a 90 second gap before the second song plays. During this gap, the cpu is pegged at 100%. When the second song plays, the cpu goes back down to 4-5% then there is another lag before the 3rd song plays.
My show computer is an old laptop with a P4 and 1G of ram.
Is this a computer issue or did I miss something in the xlights setup?

John
Life isn't about how to survive the storm, but how to dance in the rain!

Offline holland lights

  • Sr. Member
  • ****
  • Posts: 513
    • holland lights
Re: Lag between songs
« Reply #1 on: November 24, 2011, »
Hmm im using a old hp computer with windows xp professional, the hp computer only has 1 gb ram on it also. It plays fine, i dunno why it wouldn't work on the laptop.

Offline sielbear

  • Sr. Member
  • ****
  • Posts: 214
Re: Lag between songs
« Reply #2 on: November 24, 2011, »
How large are your sequences and does the gap exist on the second loop of your playlist?

Offline Rainlover

  • Coop Admin
  • Sr. Member
  • *
  • Posts: 1739
  • 97055
Re: Lag between songs
« Reply #3 on: November 24, 2011, »
You are not allowed to view links. Register or Login
How large are your sequences and does the gap exist on the second loop of your playlist?
I have 21 sequences that are from 4MB to 20MB. All of the sequences have the profile flattened in to the sequence. Maybe that is the problem.
I haven't run the playlist all the way through yet. I will try that and see.

John
Life isn't about how to survive the storm, but how to dance in the rain!

Offline Rainlover

  • Coop Admin
  • Sr. Member
  • *
  • Posts: 1739
  • 97055
Re: Lag between songs
« Reply #4 on: November 24, 2011, »
I attached a profile to each sequence, added the profile to the xlights folder and ran the scheduler again. No change. Still a long lag between songs.
I really wanted to run xlights but I may have to run the Vixen scheduler again this year.

John
Life isn't about how to survive the storm, but how to dance in the rain!

Offline rrowan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 5899
  • 08096
Re: Lag between songs
« Reply #5 on: November 24, 2011, »
Guessing you have a ton of channels. If you are not using all of them then I would remove the extra channels. I would bet it would run better on a faster computer. I think xlights is calculating each channel which is causing the delay (Matt can correct me if I am wrong).

are you using the latest version of xlights?

Rick R.
Light Animation Hobby - Having fun and Learning at the same time. (21st member of DLA)
You are not allowed to view links. Register or Login
Warning SOME assembly required

Offline taybrynn

  • Sr. Member
  • ****
  • Posts: 2042
    • RockinChristmas
Re: Lag between songs
« Reply #6 on: November 24, 2011, »
Those do sound like big sequence files.  Last year my biggest sequence was 4MB and most were in the 1-3MB range for 256 channels.

I'm not sure how the larger channel counts affect it, but I know my config file alone jumped from 316k to 1196k for adding
a 4096 pixelnet universe to the configuration file.
Scott - Castle Rock, Colorado   [ 2 homes, 100% RGB in 2016; since 2008; over 32k channels of E1.31 ]
You are not allowed to view links. Register or Login

Offline sielbear

  • Sr. Member
  • ****
  • Posts: 214
Re: Lag between songs
« Reply #7 on: November 24, 2011, »
My smallest LSP sequence file exported to LOR S2 (only one I've been able to export thus far) was 548 mb...  It's a beast...

Offline dowdybrown

  • Moderator
  • Sr. Member
  • *****
  • Posts: 358
    • Gleannloch Christmas
Re: Lag between songs
« Reply #8 on: November 24, 2011, »
There is some significant processing that goes on each time xLights loads a sequence. I am working on a fix for this. It may be two weeks before it is ready though.

Note that the versions I've released this year run the same algorithms as last year - the performance is the same. For me, it is that I have more channels which causes my sequence files to be larger -- so they take longer to load.

Matt
Matt Brown
You are not allowed to view links. Register or Login