dashfaction icon indicating copy to clipboard operation
dashfaction copied to clipboard

Suspend f.lux

Open is-this-c opened this issue 3 years ago • 7 comments

is-this-c avatar Aug 19 '21 13:08 is-this-c

I don't really like the idea of finding another process and suspending it without even an option to configure this behavior. Flux itself should be aware of games and behave properly. It shouldn't be responsibility of games to suspend it. Also messing with other processes can be suspicious from AV software PoV and it actually shouldn't work if process is not running with admin rights... From what I found Flux can suspend itself if full-screen app is running. Why it's not enough?

rafalh avatar Aug 28 '21 13:08 rafalh

The reality is f.lux is broken. f.lux interferes with desktop gamma, which completely breaks functionality for window mode and borderless fullscreen, which makes these modes unusable.

This interference isn't about color temperature but gamma. f.lux seems to set color temperature separately. Hence, this patch retains whatever color temperature was previously set by f.lux.

To suspend f.lux, administrator rights aren't needed.

is-this-c avatar Aug 29 '21 00:08 is-this-c

Why don't you fix f.lux instead of it's broken? Other games would benefit from it too.

rafalh avatar Sep 04 '21 12:09 rafalh

f.lux is closed source; and I think most games use shaders for gamma these days.

is-this-c avatar Sep 04 '21 15:09 is-this-c

Well, actually using shader for gamma would be cool for Dash Faction. I use some flux alternative for Linux - RedShift and it also has problems with DF because of gamma setting.

rafalh avatar Sep 11 '21 15:09 rafalh

Unfortunately, emulating fixed-function with a pixel shader moderately decreases performance. It's not worth it. However, I can add a launcher option f.lux compatibility (sets your gamma without interference from f.lux).

is-this-c avatar Sep 11 '21 16:09 is-this-c