archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.03k stars 104 forks source link

ArchCraft Openbox - Issues with xrender compositor after upgrade #331

Closed tokenwizard closed 8 months ago

tokenwizard commented 1 year ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

YOU MAY DELETE THE PREREQUISITES SECTION.

Detailed Description

After running the most recent updates (sudo pacman -Syy && sudo pacman -Syu) the xrender compositor causes Xorg to max out CPU usage. I have been running this compositor for months, but after my recent system updates, this issue started.

Screenshot_2022-12-07-10-50-40_3440x1440

Expected Behavior

Normal compositor behavior with no lag or stutter.

Current Behavior

Input/Response seems laggy. Dragging windows around is choppy. CPU usage is extremely high.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. run a full system update and reboot
  2. make sure you are using the xrender compositor
  3. check CPU usage with top or similar while dragging a window around the desktop.

Context

Happens no matter the conditions, even if I have no other applications running other than a terminal with top running.

image

Openbox 3.6.1 libxrender: 0.9.11-1

To clarify, if I use the Openbox menus to switch tot he 'glx' compositor, Xorg CPU usage goes back to normal, along with all lag that was being experienced under xrender.

adi1090x commented 8 months ago

It's recommended to use glx backend. xrender is only when glx doesn't work on some machines.