Lightpack icon indicating copy to clipboard operation
Lightpack copied to clipboard

Support multiple Adalight devices

Open Simonv92 opened this issue 6 years ago • 63 comments

Hi, Does this program works with multiple screen setup? Thank you! Simone

Simonv92 avatar Oct 16 '19 23:10 Simonv92

In general, yes. You'll have to provide more details for a more precise answer. Which OS, how many screens, which arrangement?

psieg avatar Oct 23 '19 20:10 psieg

I have Windows 10 and two Monitors with two times Adalight + Arduino Nano one for Gaming one for Movies with different LED Setups. Proplem is the Profiles don't change the SerialPort (COM3 & COM4) so I must everytime switch the main.conf . I use Prismatik (unofficial) 5.11.2.19 with added NvFBC support :P Running two different Instances at the same time also dont work respectively they use the same config. Is it possible to implement support for more Adalights?

with best regards Toni

BlackX777 avatar Jan 13 '20 04:01 BlackX777

any solution to have two screens? I have my PC monitor and the TV

gastonMM avatar Jun 15 '20 14:06 gastonMM

If you have two Devices plugged in You must run the Configuration Wizard to Change the COM port or edit it in the C:\Users\User\Prismatik\main.conf

When I want to change my monitor I have two different main.conf saved in subfolders. I swap the main.conf with the according to the monitor. Restart the Programm and change the Profile for the monitor.

The Device settings should stored and changed with the Profiles.

BlackX777 avatar Jun 15 '20 20:06 BlackX777

I also looking forward to using my multiple monitor setup with their adalight setup.

I was able to run two instances via shift+right click "Run as different user" on Windows 10 2004 but somehow it's not working now. When I try to run second instances on a different user, main prismatik user detail in task manager changes to another user. So there aren't two instances at the same time with this method now.

akincansenol avatar Sep 29 '20 19:09 akincansenol

I don't use a multi monitor setup, but multiple instances for multiple devices / configs would be great.

Attack44 avatar Oct 06 '20 07:10 Attack44

In general, yes. You'll have to provide more details for a more precise answer. Which OS, how many screens, which arrangement?

Hey buddy, great to see someone is here to improve Prismatik.

I also wanted to ask if you can enable Prismatik for multiple devices! I would donate you straight cash if you do so! @psieg

Im missing this feature for years. I use Ambibox on main screen and prismatik on second. But I got a 3 screen setup - and I hate one screen beeing dark.

(Config: LPD8806 Stripes behind all Screens with 88 LED Each / 3x Arduino uno / Ambibox on Main screen / Prismatik on Second / Third screen remains dark because unsupported yet)

Best Regards from Germany!

polykoma avatar Nov 01 '20 23:11 polykoma

It's not obvious to me whether it would be better to be able to run multiple instances at the same time with different devices or be able to merge multiple devices into one. This is implemented for the original Lightpack hardware.

Multiple instances sounds inefficient, the advantage would be running different things (e.g. capture one one vs moodlight on the other). Is that something anyone here would want to do (rather than treating their 3 devices as one?)

psieg avatar Dec 06 '20 14:12 psieg

Mh maybe Multiple instances is easier to Develop. E.g you have different Monitors with other resolutions one 4:3 and so on. Also on modern Hardware where you have multiple Cores that won't be a problem?

BlackX777 avatar Dec 06 '20 20:12 BlackX777

It's not obvious to me whether it would be better to be able to run multiple instances at the same time with different devices or be able to merge multiple devices into one. This is implemented for the original Lightpack hardware.

Multiple instances sounds inefficient, the advantage would be running different things (e.g. capture one one vs moodlight on the other). Is that something anyone here would want to do (rather than treating their 3 devices as one?)

Hey there, I'm a pretty long term Ambilight user meanwhile and from my POV it would be a lot simpler to just modify it to be able to run several instances with several unique config files. Actually till a certain windows update you could bypass it and were already able to run 2 instances of it. So its capable of it just needs some minor tweaks. Also in regards of usability and bugfixing sw/hw it would be great to have it separated. Thank you for looking into the issue ! Im dreaming about multi monitor capability since I build my first ambilight :)

polykoma avatar Dec 06 '20 20:12 polykoma

try re-running wizard on todays release to see if it fits some of your needs

zomfg avatar Dec 06 '20 21:12 zomfg

try re-running wizard on todays release to see if it fits some of your needs

Hey there :) Is your answer regarded to multi monitor setup? Then i have to check the release asap 👍

polykoma avatar Dec 06 '20 21:12 polykoma

it is

zomfg avatar Dec 06 '20 21:12 zomfg

Are you able to drive 3 different Arduinos COM3 COM5 an COM7 and have an individual setup with only one instance of prismatik? I still cant believe this works now. Im downloading it right now

polykoma avatar Dec 06 '20 21:12 polykoma

not exactly, this is still single device AND single mode (grab/lamp/sound), but you can setup individual displays (same time) so if you were using 3 arduinos to capture 3 displays, this should work with only 1 board (but rewiring is probably required)

technically this always worked, there was just no easy way to setup all displays

zomfg avatar Dec 06 '20 21:12 zomfg

Thats why I mention to just let us run several instances of prismatik. Each instance has its own config wizard and you setup each arduino behind each screen directly. That would be a blast. If you have a satelitte screen for example you run content on with separated ambilight. I got 3 screens with full plastered leds behind - each string individually wired to an arduino behind it. (1x prismatik 1x ambibox 1x nothing) Anyway I will probably have to rewire at least one setup and pull one arduino out from the not yet ambilight screen.

I just run through the new setup wizard and I cant finish it grafik

COM port ist correct. I did this setup 50 times in the past and somehow this occurs now

polykoma avatar Dec 06 '20 21:12 polykoma

it's a bug... see you in the next build... leaves you some time for wiring!

zomfg avatar Dec 06 '20 22:12 zomfg

Thank you very much kind Sir for answers and time! Gonna rewire meanwhile! Really happy to see (ambi)light at the end of the tunnel.(on all of my screens)

polykoma avatar Dec 06 '20 22:12 polykoma

Oh. Sorry, multiscreen layouts (with a single device) have been working from the beginning. Sorry that that wasn't clear -.-

psieg avatar Dec 07 '20 19:12 psieg

Oh. Sorry, multiscreen layouts (with a single device) have been working from the beginning. Sorry that that wasn't clear -.-

So I basically just continue the led string with extension cables to the next monitors string? Before I rewire and maybe misundestood something. Can you please shortly confirm if below drawing would be working? Thank you so much! Unbe12312nannt

I cant imagine why I havent thought about this earlier. Damn! I basically have 2 leftover arduinos now because i had single ecosystem for each screen

polykoma avatar Dec 07 '20 19:12 polykoma

I don't have such a setup running to be 100% sure, but yes it should. If your device is powerful enough for the 264 LEDs and bandwidth isn't an issue (I don't have experience with Adalight at all).

To be 100% sure about the Software side, you could set up a virtual device and arrange the zones as desired and make sure the everything works before changing your wiring.

psieg avatar Dec 07 '20 20:12 psieg

I need to wait till next build, current one has a bug in the setup manager as you saw above. I also need some time to put extra wires on to confirm if it would be able to work.

Also I have to mention I would only need 2 screen driven by prismatik (1 + 3) so 176 total which should be fine bandwidth size. Screen 2 stays separate and will be driven by ambibox on a separate arduino.

polykoma avatar Dec 07 '20 20:12 polykoma

yes, try this: https://github.com/psieg/Lightpack/releases/tag/5.11.2.27

psieg avatar Dec 07 '20 21:12 psieg

Awesom! Setup manager works again! Thank you. Once I got my wiring correct I will give you feedback! Thanks a ton for figuring this out with me - basically an early christmas for me :) <3

Edit: I ran through the manager and yes theoretically all should work. Now time to rewire :))

polykoma avatar Dec 07 '20 21:12 polykoma

thx for keeping prismatik alive! I am currently rebuilding my leds and i wanted to use multi mon setup too. IMHO: daisy chaining multiple monitors led strips is the worst possible solution. Some may get stuck with bandwith, other setups fail because they just rip off the cables while moving monitors. (dual monitor stand anyone?) Added cable length on the full path also won't make ws2812b happy. Wiring would be messy with a flying connection between monitors or more cable length so it would be nice if we could use multiple devices/instances in the future.

I've also linked a issue where someone is aksing for multiple udp output devices.

@polykoma hat es denn bei dir, so wie in der Zeichnung, geklappt stefan? / Did your drawing above work for you polykoma?

burnbabyburn avatar Dec 27 '20 17:12 burnbabyburn

I dont like the idea of daisy chaining and would love a standalone (1x arduino per screen and string) better aswell.

Sorry ich kann noch nicht bestätigen ob es wirklich klappt. Ich nutze LPD88806 LEDS. Ich sollte in den nächsten 2 wochen die leds für den dritten screen bekommen und kann dann sagen ob es wirklich geht. Das setup sah zumindest so aus als würde es gehen :)

polykoma avatar Dec 27 '20 19:12 polykoma

@polykoma hat funktioniert. Man richtet den beide monitore normal ein und muss den offset für den zweiten monitor eintragen/ The above drawing from polykoma works fine. each display can be configured with its own led settings. It just asks for the offset (# of leds on previous monitor) an worked!

burnbabyburn avatar Dec 27 '20 21:12 burnbabyburn

@burnbabyburn Cool danke fürs bestätigen! Ich nutze am Hauptmonitor Ambibox das finde ich besser. Aber meine beiden Seitenscreen sollen dann auf prismatik laufen. Blos fehlen mir gerade noch die Leds für den screen3.

polykoma avatar Dec 27 '20 23:12 polykoma

@polykoma hat funktioniert. Man richtet den beide monitore normal ein und muss den offset für den zweiten monitor eintragen/ The above drawing from polykoma works fine. each display can be configured with its own led settings. It just asks for the offset (# of leds on previous monitor) an worked!

Wie hast du die strings miteinander verbunden ? Ich bin gerade fertig mit löten und habe ein geschirmtes netzwerkkabel ca 2,5 meter lang zwischen den monitoren um Data Out und Clock Out mit dem nächsten string zu verbinden. Sobald ich strom auf den frisch montierten stripe gebe leuchten alle weiß und flackern ab und zu. Ich habe dann das setup in prismatik ausgeführt aber er scheint den neuen stripe nicht mit anzusteuern. Den startpunkt habe ich richtig gesetzt. Setup was ja recht eindeutig in prismatik. Ich versuche morgen mal ein kürzeres kabel.

Oben Neuer Stripe unten Alter stripe Sind auch etwas unterschiedlich vom aufbau aber beide sind LPD8806s

20210109_035327~2

EDIT: OH FAIL Ich hab einmal 48LED/m und einmal 60LED/m. Oh man was ein fail....

polykoma avatar Jan 09 '21 02:01 polykoma

Do I have to daisy chain the ground cable as well or only Data and Clock? I managed to setup 2 displays in prismatik and connected them via a 3m cat6 cable (data and Clock) but some of the LED keep flashing in random color. Both strings drive by an individual power supply. Do i have to daisy chain the ground wire aswell?

polykoma avatar Jan 09 '21 20:01 polykoma