Author Topic: Xlights locks after any change to models - temporarily  (Read 1097 times)

Offline ncosper

  • Newbie
  • *
  • Posts: 14
    • View Profile
Xlights locks after any change to models - temporarily
« on: December 09, 2020, 10:54:16 AM »
I am wondering what xlights is doing whenever a model is modified. I recently add a custom model that consists of two virtual matrices combined so I could good resolution. There are a lot of channels and I knew it would slow xlights but its painful. I have a pretty fast Mac Pro, 12 core, 64 gb of ram and if I make any changes to any model I get the spinning wheel for at least 30 seconds. Same happens when I open the program. I realize this is likely due to my models but what is xlights doing? Anything I can do to improve it without cutting the number of channels in the custom model?

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Xlights locks after any change to models - temporarily
« Reply #1 on: December 09, 2020, 11:00:21 AM »
Under the covers xlights is reloading the models ... a step i would love t stop it doing but something that is a lot of work to change and has never gotten to the top of the list. You must either have a large number of models or this custom model must be huge.

The only thing you may be able to do if you have lots of models is not use lots of model start channel chaining ... that is slow to calculate and can be avoided.

Offline ncosper

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Xlights locks after any change to models - temporarily
« Reply #2 on: December 09, 2020, 11:28:20 AM »
Its a huge model. basically what I have going on is two matrices that are 320x200. They are combined and displayed using two projectors to cover my garage door. I tried using a group but the resolution is terrible to effects applied to the group. The only way I could get good resolution without cropping videos/pictures was to make a custom model. The custom model is 640x200. I know I could cut that in half or so to help this out but it looks so good when displaying videos/photos/certain effects. I wish there was a way to have a group that maintained the resolution of the matrices, but as I understand it they are designed to minimize the resolution for obvious reasons.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Xlights locks after any change to models - temporarily
« Reply #3 on: December 09, 2020, 02:14:30 PM »
If you create a group and set the Default Layout Mode to "Horizontal Stack", I believe it would accomplish what you want.   That would put the two models next to each other.
Daniel Kulp
Framingham, MA

Offline ncosper

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Xlights locks after any change to models - temporarily
« Reply #4 on: December 09, 2020, 03:43:11 PM »
Thanks Dan,
Horizontal Stack repeats the image for each of the matrices but Horizontal Stack Scaled worked great as long as the models are in the correct order. Thanks!

Hopefully this will help get my render times and times changing things back under control.