vchlum / hue-lights

Gnome Shell extension for Philips Hue compatible lights controlled by the Philips Hue Bridge and for controlling Philips Hue HDMI sync box.
https://extensions.gnome.org/extension/3737/hue-lights/
MIT License
196 stars 14 forks source link

Odd flickering when going full screen on Linux #67

Open hobbesjaap opened 1 year ago

hobbesjaap commented 1 year ago

I'm running:

First of all, thanks for making this extension! It looks great!!

I know GNOME defaults to Wayland, but due to some other software I run, I'm using X11 ("GNOME on Xorg").

Am I correct there are some glitches when using X11? It runs fine on Wayland, but when I'm on X11 and open a fullscreen app/game (like Plex HTPC or any game from Steam) the hue lights start to flicker from random colour to random colour, regardless of what's on screen.

On desktop, after a little while, they also get stuck on blue.

When trying Heustacean, I don't have this issue. But I much prefer your tool! Any help/guidance you can give would be great, thank you!!

vchlum commented 1 year ago

Hi @hobbesjaap, I suppose you use the correct sync mode (not the random one:-). Please, try to use the shortcut <Super><Alt><a> for starting the syncing via area selection.

1) You need to set the "entertainment area" for the shortcut in the extension's entertainment submenu 2) go fullscreen 3) press <Super><Alt><a> and select the square for syncing

Does it work?

The extension uses the built-in gnome function for getting the pixel color based on coordinates. It also could be some incompatibility in AMD drivers - my guess.

hobbesjaap commented 1 year ago

Hi @vchlum I'm so sorry I never responded. I wasn't able to fix this issue on X11, but have since switched back to Wayland, so the functionality has been restored.