You are not logged in.
after a recent upgrade, Xorg consumes between 30-90% of my cpu when not idle (under a reasonable amout of input like just typing), and up to 90% when active in certain applications.
applications which i have found to be affected significantly more than others:
- Kitty
- Rofi
Last edited by kongus_bongus (2022-12-27 21:38:46)
Offline
what got upgraded ? have a look and try reverting packages till you find the culprit.
also check your journal/logs for clues as well.
Offline
Those numbers read like your GL acceleration is broken and you rely on software accel.
Post/check aforementioned logs as well as your xorg.log and maybe post
glxinfo -B
from mesa-utils.
Offline
glxinfo -B:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.42, 5.15.85-1-lts) (0x1636)
Version: 22.3.1
Accelerated: yes
Video memory: 512MB
Unified memory: no
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
Memory info (GL_ATI_meminfo):
VBO free memory - total: 253 MB, largest block: 253 MB
VBO free aux. memory - total: 3006 MB, largest block: 3006 MB
Texture free memory - total: 253 MB, largest block: 253 MB
Texture free aux. memory - total: 3006 MB, largest block: 3006 MB
Renderbuffer free memory - total: 253 MB, largest block: 253 MB
Renderbuffer free aux. memory - total: 3006 MB, largest block: 3006 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 512 MB
Total available memory: 3584 MB
Currently available dedicated video memory: 253 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.42, 5.15.85-1-lts)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.1
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 22.3.1
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 22.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
/var/log/Xorg.1.log: http://ix.io/4jIp
pacman.log from latest upgrade (it was the first upgrade in a while): http://ix.io/4jIu
Offline
[ 635.563] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
Fix your login session. Not sure if it's related to the actual problem though.
Offline
[ 635.562] (==) Log file: "/var/log/Xorg.1.log", Time: Mon Sep 7 11:51:32 2020
Wrong log.
[2022-12-26T19:40:00-0800] [ALPM] upgraded xf86-video-vesa (2.5.0-3 -> 2.6.0-1)
Remove xf86-video-vesa t onot gloss over problems. You don't want to use that driver ever.
[2022-12-26T19:39:57-0800] [ALPM] upgraded picom (9.1-3 -> 10.2-1)
What happens if you kill picom?
Online
killing picom does the trick. what's the problem there, and how can i fix it?
i already removed vesa and it didn't seem to help.
Last edited by kongus_bongus (2022-12-27 20:24:38)
Offline
No, it just gets in the way.
Please post your actual xorg log and your picom config.
Online
starting picom with `--backend glx` fixed the issue for me, from https://github.com/yshui/picom/issues/967.
Offline