Ambilight - Software issue

Hi folks!

I am huge Ambilight fan and recently build one with Arduino and boblight but some things trouble me.

There are currently several Programs out there that are able to read screen color, like: atmowin, momolight and boblight. However they are rather complicated to set up and sometimes only work with additional configurations in VLC-Player or other. The best of these 3 was boblight, its fast, custumizable and works without any extra configuration. However, it doesn't work with the win7 aero desktop or in some cases has problems in games with dynamic shadows, causing it to react extremely slow.

But there are other solutions like the professional version of Phillips, ambX wich works seemingly flawless (at least the ambilight) for all applications/games.

So... where's the trick? Why is it so hard to read the color of the pixels on a screen area? And why is it affected by something like aero? or dynamic shadows/ambient occlusion?

Best Regards, Jazzar

no one? :'(

Hm. Could you tell me, what abmX is? Is it a program that runs on windows or a special driver for the Phillips monitor? Probably Phillips uses some low-level functions of their monitors to quickly scan the pixel colors..

Concerning the program you mentioned - as far as I understand, these are the windows programs, that scan the display area next to borders of the monitor, probably not the most efficient way. I had some experience in win32 programming (windows XP) and I remember that, for example, the GetPixelColor(x,y) function is one of the most slow function of windows API. It takes more than 6000 processor cycle times. (While SetPixelColor, for example, takes only 1000, though it is also a very slow operation). I don't think things changed a lot on windows 7, so if those programs just scan several thousands pixels 20-30 times a second, that is not a good solution.

And I have no idea why Aero and things like that don't work.. Haven't programmed under 7 yet.

Hmmm I see...

ambX: http://www.amazon.com/Philips-SGC5103BD-Speaker-Peripherals-Premium/dp/B000PXIM4S/ref=sr_1_1?ie=UTF8&qid=1288366001&sr=8-1

Its a PC add-on kit that adds ambilight functionality, and also wind and vibration.

Isn't it possible to use the graphics card for this? It generates the image in the first place... Seems messy to use the CPU to do work, the graphics card already did.

Regards

I'm pretty sure it's possible to use GPU for this purpose. But, unfortunately, I have no idea how :(.

Hmm...

And Jazzar says: let there be a GPU expert around who reads this!

-- thought I'd try a different approach ;-)

up again...

(last try)

No experience but wikipedia is a good place to start http://en.wikipedia.org/wiki/GPGPU

Also found one http://electronicdesign.com/article/embedded/programming-the-cuda-architecture-a-look-at-gpu-co.aspx

Maybe there is a GPU-proggers forum you could ask your question?
Rob