Hyprland, built from branch main at commit 7345b1a1ea2671953df48c8a18524a7e556d383c dirty (shaders: Use clamp in doubleCircleSigmoid. (3824)).
Bug or Regression?
Bug
Description
Hi,
I realized that the idle power consumption of my laptop (XPS 9510, i7-11800H, intel gen12 GPU Tigerlake) in Hyprland was quite high, and higher than the one on Sway: 7.5W when idling on Hyprland, 4.5W on Sway.
I went with an empty config and did not have the problem (idling at 4.5W, like Sway), and realized it was because I was setting decoration:drop_shadow to "no". Removing that config line or setting it to "yes" fixed the problem.
Read the next section to follow my testing, TL;DR the summary from a 60s powertop report is this one:
Hyprland Version
Hyprland, built from branch main at commit 7345b1a1ea2671953df48c8a18524a7e556d383c dirty (shaders: Use clamp in doubleCircleSigmoid. (3824)).
Bug or Regression?
Bug
Description
Hi, I realized that the idle power consumption of my laptop (XPS 9510, i7-11800H, intel gen12 GPU Tigerlake) in Hyprland was quite high, and higher than the one on Sway: 7.5W when idling on Hyprland, 4.5W on Sway. I went with an empty config and did not have the problem (idling at 4.5W, like Sway), and realized it was because I was setting decoration:drop_shadow to "no". Removing that config line or setting it to "yes" fixed the problem.
Read the next section to follow my testing, TL;DR the summary from a 60s powertop report is this one:
drop_shadow=yes:
drop_shadow=no:
drop_shadow=yes, shadow_range=0:
It seems that Hyprland is doing a lot more redraw with drop_shadow=no.
Setup:
How to reproduce
Use an minimal Hyprland config, spawn a terminal to run powertop in report mode during 60s. I added the csv reports to this bug.
Hyprland config for
1-default.csv
:Hyprland config for
2-no_drop_shadow.csv
:I tested to disable the shadows in another way, by setting
shadow_range=0
, it did not trigger the bug:Crash reports, logs, images, videos
1-default.csv 2-no_drop_shadow.csv 3-shadow_range_0.csv