Kilian / f.lux-indicator-applet

This repository is unmaintained. Visit:
https://github.com/xflux-gui/xflux-gui
Other
549 stars 105 forks source link

high cpu usage for fluxgui #7

Closed lofidevops closed 1 year ago

lofidevops commented 13 years ago

My system occasionally slows down with fluxgui using lots of CPU. This is during the day, so the screen temperature is not being changed.

I'm running latest PPA version on Natty. Any debug info I can provide?

toxinu commented 11 years ago

Same for me here on Ubuntu 12.10 32bits. Ahah issue is two years ago... :+1:

Bug appear mainly when I put my Ubuntu in suspendmode during 1-2 days.

toxinu commented 11 years ago

Has you can see: Screenshot at 2013-02-23 10:35:49

kongo commented 11 years ago

Same here on Ubuntu 12.04 64 bit. It runs ok if I run xflux &, but CPU consumption grows drastically once I close the terminal which xflux used for output.

Before: Before After: After

stuaxo commented 11 years ago

Just experienced the same, xflux @ 99% cpu, killed it and computer is a lot cooler..

jbwinters commented 11 years ago

xflux is proprietary, @herf might want to know about this

dakotadelnorte commented 10 years ago

I'm sorry for this comment, but, in Linux, I had the same problem, then, I search "change color temperature Linux" in google, and I found a very good solution, the app for this is: redshift ("sudo apt-get install redshift"). Although, I also use "flux" in my iOS, Windows and Mac devices, but in Linux, redshift works fine. I love flux, serously! It takes care of my eyes. Thanks a lot!

jc00ke commented 9 years ago

I just had to kill flux because it was pegging my laptop (Xubuntu 14.04)

The pid file isn't cleaned up when I kill xflux. I think the indicator applet should be responsible for trapping the signal and cleaning up the pid file. Thoughts?

timoc commented 9 years ago

agreed. xflux causes my laptop to randomly start running at top cpu, which heast up the laptop and starts the fan. So far i have nothing to limit it to. It happens at any time of night or day. ubuntu 14.04

toxinu commented 9 years ago

Two years of flux still have cpu issues. Time to switch to RedShift guys. Works like a charm on ubuntu: https://apps.ubuntu.com/cat/applications/precise/gtk-redshift/

timoc commented 9 years ago

I was about to suggest this. There is a kde plasmoid for it, which does not work so well, but redshift seems to.

dmays commented 9 years ago

Experiencing this on Ubuntu 14.04 64-bit. Surprised @herf hasn't responded here or fixed this in nearly 4 years.

herf commented 9 years ago

Basically every bug people currently is due to us doing a very-rough IPC over stdin/stdout. The daemon is pretty reliable running on its own. Currently when one side or the other sends too much data (bigger than the normal backlog) the communication channel either jams up (resulting in no changes after that) or winds up in a spinlock (which is worse and results in the 100% cpu issue).

I have a better version I made for our nascent Android build, based on Linux abstract sockets (didn't do dbus because it's not on all distros). Can backport it if someone wants to take on the GUI-side work.

Kilian commented 9 years ago

I would love to go a GUI rewrite in something like nw.js, atom or thrust, split of the GUI and the control API into separate components.

Horlacher commented 9 years ago

Same problem here with F.Lux on Ubuntu 14.04 64-bit and with previous versions. Fluxgui sporadically ate up my battery and I can confirm the relation to the suspend mode. The Android version works really great, congrats! I would love to get it on Ubuntu as well.

In the meantime I will switch back to Redshift which is stable. If you want to change the color tone or other settings, the Configuration file example is on the Redshift website.

stuaxo commented 9 years ago

@herf in the meantime, where is the shonky IPC over a pipe ?

raywillis commented 9 years ago

I found that xflux was using CPU 3 and 4 up to 100% alternately. This was really heating up my Lenovo x220i laptop. The fan was on 100%. I learned that heat can damage Li ion batteries. So I killed the xflux process and it stopped the heating. My advice is to uninstall f.lux.

roipoussiere commented 9 years ago

Same error using Awesome window manager. I switched to Redshift as suggested @socketubs.

dawid2193487 commented 8 years ago

5 years

still not fixed

what the fuck f.lux.

stuaxo commented 8 years ago

@ca1ek Open source takes a long time, like waiting for a good wine. (Mostly because ${PROJECT_YOU_LIKE_TO_USE} has far less people working on it than you'd imagine, and even less with the time to fix bugs.

dawid2193487 commented 8 years ago

I do understand, but 5 years for such an obnoxious bug is a lot too much. I don't really care by now, I switched to redshift.

stuaxo commented 8 years ago

I also switched to redshift, which has it's own problems. Had a a lot of time last year to dive in and fix problems on open source projects, and it does indeed take quite a bit of time to investigate and fix these things, hence most things are broken in software :/