Giter VIP home page Giter VIP logo

Comments (9)

vchlum avatar vchlum commented on May 27, 2024

Hi @Ex0danify How many lights are in your entertainment group? Are there any gradient lights? In my experience, 10 lights (including one gradient light strip) work fine on the less powerful computer...

  • Could you create&test an entertainment group with only one light?
  • Could you test the mode 'random' on your entertainment group? Is it laggy too?

from hue-lights.

Ex0danify avatar Ex0danify commented on May 27, 2024

Hey @vchlum,
thanks for your quick response!

sorry I forgot to mention my entertainment area in my specs, my bad.
I'm currently using 6 Play Bars with my entertainment group.
I also did some testing, based on your request, here are the results:

  • It doesn't matter how many lights are in the group (I tested 1 through 6), the lag is there when I start syncing the lights with my display
  • Random works fine, no lag at all

I recorded two videos, so you can see what i mean with lag. If sync is off, everything is smooth, when running sync, it looks like there are a few frames skipped, when moving a window. Link to videos

If you need more, please ask

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

Thank you for the details... I will test pop_os in my virtual box but as far as I know, a lot of users use Ubuntu without reporting this issue. Ubuntu is also part of my common testbed.

The sync screen feature gets a few pixels from screenshots for each light in the entertainment group. I am surprised the poor performance does not depend on the number of lights in your entertainment group. My suspicion is on the Nvidia driver in combination with the gnome-shell-based function 'get screenshot'. Not sure yet ...of course.

I will test pop_os and circle back.

from hue-lights.

Ex0danify avatar Ex0danify commented on May 27, 2024

Thanks a lot man, highly appreciated!

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

In my virtual box instance of pop_os, the issue is not recognizable. Could you please run the top command and check the difference with and without syncing? Please, try to identify what is utilizing your machine.

from hue-lights.

Ex0danify avatar Ex0danify commented on May 27, 2024

Thanks for coming back at be @vchlum.

I tried moving a few windows with SyncOff and SyncOn.
The process that seems to hog up resources is /usr/bin/gnome-shell
When sync is on it sits at around 35%CPU, when sync is off it is around 2%CPU (That's without moving anything)

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

This is actually expected. gnome-shell is the right process. I was curious if there is anything else related.

My gnome-shell process keeps it around 20-25%, and it goes to 10% sometimes. My machine is i7, intel xe, 16GB RAM. Definitely less powerful.

Could you please try to decrease the intensity of synchronization to the lowest value? It should decrease the utilization. I checked again on my bare metal and with high intensity, the lagging is noticeable too. Usually, I use middle intensity.

I will definitely look into optimization, but it uses a gnome-based feature to get color from the screen. I am not sure how to optimize it yet.

If decreasing intensity will relieve your issue, I can change the scale of intensity to allow a lower value. This would be one solution. I believe.

from hue-lights.

Ex0danify avatar Ex0danify commented on May 27, 2024

Indeed, lowering the sensitivity makes the lag less noticeable, though it doesn't vanish completely.

from hue-lights.

vchlum avatar vchlum commented on May 27, 2024

OK, you can set the default intensity to a lower value in the settings. I will try to optimize it, or I will decrease the lowest possible intensity.

from hue-lights.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.