Skip to content

High RAM CPU usage???

gh0stzk edited this page Dec 12, 2024 · 3 revisions

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 glx 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/src/config/

ShoT_2023-04-15-10-44-07_1600x900

Change backend = "" for xrender, glx or egl

backend = "xrender" for example.

Save the settings and restart your pc.


If you are on an virtual machine, be sure you configure your hardware accelerarion properly and change the picom backend to xrender.


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:

Picom Releases and changelog

Issue related to high ram usage

Picom config sample with all options with explications.

Clone this wiki locally