Huenicorn

Welcome

Huenicorn is a free Philips Hue™ bias lighting driver for Gnu/Linux.
It allows you to extend your screen's colorful atmosphere through your Hue light bulbs in real-time and provides a simple web interface to assign specific portions of screen to the light you desire and save the settings for a further entertainment session.

News

2024-08-06 | There is a bug...

Hello everyone,

You have been a handful already to signal that Huenicorn consistently crashes afer picking a screen in Wayland sessions.

The thing that is weird is that it happens suddenly and simultaneously for plenty of people and even on older versions of Huenicorn that seemed to be fine back in time. This happens in a part of code that hasn't changed in months.

I was suspecting something wrong with Pipewire versions until I managed to understand how to reproduce the bug. This is actually triggering only with optimized builds made with GCC.

Temporary solution

So, the workaround at the moment would be to avoid GCC and stick to Clang to build Huenicorn.

Proper solution

I want to get rid of this bug but I already spent a lot of time checking the faulty part without identfying the clear cause.
Currently, I am a bit overwhelmed with a lot of things that makes me busier than usual. If anyone here would like to give a helpful hand to fix this, I prepared something to make it easy. I just uploaded a short code sample that replicates the bug.

It is available here : https://gitlab.com/openjowelsofts/pipewiregrabbersample
Related informations are detailed in the ReadMe

I'll still try to find some time to fix this but if anyone manages to find the problem before me, your contribution will be greatly appreciated !

Thank you very much for your patience and understanding

OpenJowel


Disclaimer

Please be advised that due to the possibility of rapid and frequent changes in color and brightness, bias lighting systems may not be suitable for individuals prone to photosensitive epilepsy.

Huenicorn disclaims any responsibility for any adverse effects resulting from the use of such systems.