-
Notifications
You must be signed in to change notification settings - Fork 226
Description
Select the version
Git master branch
Describe your issue
Running xrandr command causes stutters, probably when it asks X server for an information. Same happens with Redshift, it seems it makes calls to randr, and that causes stuttering every 5 seconds when it adjusts gamma ramps on background. I should note that Redshift does not cause such great stutters as xrandr, but still does.
Steps to reproduce
- Run any application (e.g. glxgears, vkcube, game etc.) with mangohud or somehow else to see frametime graph.
- Open terminal and run
xrandr(xrandr -q) orxrandr -v. Both make calls to X server. - Run any other command in terminal, e.g.
touch testandrm test, to make sure this is not caused by terminal emulator.
What did you expect?
I guess X server should not lock everything when handle randr calls and stutters should not happen.
Additional Information
Compiled against cb5f2cd (latest commit currently) + this.
Distro: Artix Linux
DE/WM: BSPWM
Compositor: Picom (can reproduce with it disabled)
GPU: noVideo GTX 1050Ti, 580.126.18 (proprietary, not open kernel modules one)
X: XLibre
UPD: Reproduced the same on following (laptop):
Distro: Arch Linux
DE/WM: Cinnamon + Muffin
Compositor: Built into Muffin
GPU: UHD 600 (i915, modesetting in xorg.conf)
X: X.org
Video:
https://github.com/user-attachments/assets/69830b4e-435d-47e7-be84-874616546d4f
Please look at commands I run and frametime graph, there is stutter when xrandr obtains info about server-side version or when it gets monitor list, resolutions, refresh rates etc.
Extra fields
- I have checked the existing issues
- I have read the Contributing Guidelines
- I'd like to work on this issue