Hey all, i was wondering, which backend is more efficient.
I have a Ryzen 5 7530U with iGPU and i would like which backend will use less of my battery.
Note: I dont use any fancy effects, only fading.
Wollie
22 December 2023 01:25
2
This subject has been discussed already, have a look here:
https://www.reddit.com/r/linuxquestions/comments/uc7i8d/picom_backend_optimization/
https://bbs.archlinux.org/viewtopic.php?id=272037
opened 02:34PM - 20 Apr 21 UTC
performance
Hi! :) This is not really a bug report, but rather a question out of curiosity.
…
I wonder why with my current configuration and setup, the `xrender` backend is less laggy than the `glx` backend. Both prevent tearing, but when I move a floating window around, it lags much more with the `glx` backend than with the `xrender` backend.
**Note**: I am referring to the "experimental" backends!
I would be really interested to learn why this could be the case or if I did something wrong in my config. I'm a long-term user of compton/picom, but most of the time I used the `intel` Xorg driver with the `TearFree` option and disabled `vsync` in the compositor. But since a few months, I finally switched to the `modesetting` driver because there has been a bug in the `intel` driver that affected me (and because the `modesetting` driver is said to be more performant anyway).
### Platform
Fedora 34 (pre-release), kernel 5.11.14-300.fc34.x86_64
### GPU, drivers, and screen setup
Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620], modesetting driver for Xorg, external 1920x1080 monitor connected to laptop via DisplayPort (over USB-C).
vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.4.1
`glxinfo -B`:
```
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (WHL GT2) (0x3ea0)
Version: 21.0.2
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
```
### Environment
i3 :)
### picom version
`picom --diagnostics`:
```
**Version:** v8.2
### Extensions:
* Shape: Yes
* XRandR: Yes
* Present: Present
### Misc:
* Use Overlay: No (Another compositor is already running)
* Config file used: /home/ro/.config/picom.conf
### Drivers (inaccurate):
modesetting
```
### Configuration:
`grep '^[^#]' .config/picom.conf`:
```
shadow = false;
fading = false
backend = "xrender";
vsync = true;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
detect-transient = true;
detect-client-leader = true;
glx-no-stencil = true
glx-no-rebind-pixmap = true
use-damage = true;
log-level = "warn";
```
Thank you very much! :heart: