[BUG] Display starts blinking after caelestia install
Describe the bug On caelestia shell start display starts to blink
To Reproduce Steps to reproduce the behavior:
- Do fresh minimal Arch install
- Set up Caelestia sheel
- Log in
- Have a lucky epilepsy strike
Expected behavior Display runs normally
Screenshots Well that is no possible, i suppose
Versions (please complete the following information):
- shell: caelestia-shell-git r753.2a68d79-1
- cli: caelestia-cli-git r234.affa3bf-1
- quickshell: quickshell-git 0.1.0.r20.g20c3da0-1
Additional context
Imho, that problem may be with ddcutil, but it cannot be uninstalled due to dependencies with caelestia shell. I wonder, whether it can be changed with brightnessctl and how.
Maybe it's because you have FreeSync enabled like this, vrr = 1. Check nano ~/.config/hypr/hyprland.conf. If so, you should try this:
vrr = 0 → Disabled (VRR is off)
vrr = 1 → Automatic (Hyprland tries to enable it if the monitor supports it)
vrr = 2 → Forced (VRR is always enabled, even if the system or composer doesn't automatically decide to enable it)
I also had the screen flickering when I had it enabled. Try forcing it or disabling it.
well, that didn't help much. It's definitely stopped blinking right from the start, but when i try to change brightness it starts blinking but slowly and smoothly:D
but it only blinks a few times after changing the brightness or does it stay like that?
Could you also tell me if electron-based programs (Discord, VScode) work for you?
The issue is likely due to ddcutil, however it is the only tool I know of that can change the brightness of external monitors (brightnessctl cannot do this). Therefore, if you are using an external monitor, it will use ddcutil. However, if using a laptop screen it will use brightnessctl instead.
Also, the display should only start flickering if you try to use ddcutil to change the brightness quickly (i.e. if you use the slider). My advice is just don't use the slider if you are using an external monitor
Did you try by just clicking on the level you want, instead of swipe on the brightness level dynamically?
I think i have the same issue (not at boot, only when trying to change the brightness level with the widget).
Like @soramanew said, its happening only when you use the drag-n-drop on the brightness slider. If you click on it just one time at a position to set the brightness, it does not flicker.
I think this can be induced by the code of the widget trying to send all commands for each level of brightness trigerred by the mouse movement, and degrading performances for commands to apply. Maybe needed to add a control mecanism to add a delay or something between each commands send or something like this.
I think this can be induced by the code of the widget trying to send all commands for each level of brightness trigerred by the mouse movement, and degrading performances for commands to apply. Maybe needed to add a control mecanism to add a delay or something between each commands send or something like this.
While a delay between command sends would help slightly, it still wouldn't do too much as ddcutil is just way too slow. As in, it takes around half a second for a brightness change to actually apply. This means that unless the root of the problem (ddcutil) is fixed, anything I do to the slider will only be a band-aid fix, meaning the slider will either cause flickering (like it does now) or be unresponsive.
I think this can be induced by the code of the widget trying to send all commands for each level of brightness trigerred by the mouse movement, and degrading performances for commands to apply. Maybe needed to add a control mecanism to add a delay or something between each commands send or something like this.
While a delay between command sends would help slightly, it still wouldn't do too much as ddcutil is just way too slow. As in, it takes around half a second for a brightness change to actually apply. This means that unless the root of the problem (ddcutil) is fixed, anything I do to the slider will only be a band-aid fix, meaning the slider will either cause flickering (like it does now) or be unresponsive.
Yep, that's i was thinking about, thanks for confirming.
Don't know if a band aid is more suitable in order to let the users not to be blocked with a flickering screen, or if the slider should be used only by clicking once waiting for ddcutil to be corrected anyway. Some people always gonna try to slide it i guess..
yep, thank you all. if i don't use scroll it actually works fine for me. also vrr=2 is enabled. still while changing the brightness the screen is changing it like "in waves", but that lasts for a few secs, so it isn't annoying