-
Notifications
You must be signed in to change notification settings - Fork 228
High RAM CPU usage???
Update: On April 19, 2023, I updated my dotfiles. Now the default backend in the picom configuration is "glx"
The most likely cause for this behavior is the picom configuration. We all have different hardware, different graphics drivers, etc etc.
I tested my dotfiles on 3 different machines, with high-end, mid-range and low-end hardware.
On modern and mid-range hardware the best working backend is "glx" on low end hardware the best working is "xrender".
My dotfiles use the xrender backend by default.
But if you have been experiencing high ram consumption and/or CPU usage, you should try changing the backend used.
To do this open the picom.conf file located at HOME/.config/bspwm/rices/RICE NAME/picom.conf (You will need to do with the 12 rices)
Look for line 99
Comment that line and uncomment the above one and it should look like this;
Save the settings and restart your pc.
In November 14 2022, the new picom release make experimental-backends as default and add the legacy-backends option.
For that reason in my bspwmrc configuration file I added the following code starting at line 70:
# Launch picom // If you have old hardware or encounter problems
# uncomment the picom "--legacy-backends" line and comment the current one.
picom --config "$HOME"/.config/bspwm/rices/"$RICETHEME"/picom.conf &
#picom --legacy-backends --config "$HOME"/.config/bspwm/rices/"$RICETHEME"/picom.conf &
If you have low-end or old hardware, it is probably better that you use the option picom --legacy-backends --config "$HOME"/.config/bspwm/rices/"$RICETHEME"/picom.conf &
And keep the configuration backend="xrender";
in picom.conf
If your hardware is high-end or is not old, possibly the best configuration will be to keep the default option picom --config "$HOME"/.config/bspwm/rices/"$RICETHEME"/picom.conf &
With the configuration backend="glx";
in picom.conf
There is also a new backend called "egl" maybe you should try it!
There are many options that you can change in the picom.conf file, I left the most generic ones active and by default functional for all or the vast majority.
But you must test your configuration and adapt it to your hardware and needs. The dotfiles are just a starting point.
Links: