-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrandr block important performance issue in Debian #668
Comments
Sounds like the same as this comment: #274 (comment) What's the version of xrandr in your Debian install? All we do is call the command, so if there's any difference it would be in xrandr itself. Since it doesn't happen when using Arch, perhaps there's a bug that was fixed between the two versions. |
Arch:
Debian
|
Hmm 4 years and a bunch of commits between those versions: https://gitlab.freedesktop.org/xorg/app/xrandr/-/commits/master Wonder if there is anything there. Otherwise if you can, please compile 1.5.1 on Debian and see if you can reproduce. |
From a quick look the block first gets a list of monitors: Do running those command in a terminal in Debian produce the same issue? |
@Ergus Have you been able to investigate further? |
I use Arch not Debian, but if its any help I've been having this problem as well and running the second command causes lag every time. I've got around the problem for now by just setting the interval to something really high (e.g. 6000), since changing the brightness still works and the lag only occurs momentarily every 100 minutes. |
@louislefevre Just to clarify, you can reproduce the issue just by running that command in a terminal? If so then that means we can rule out i3status-rust itself as the cause and can start looking into why xrandr would do that in the first place, and possibly other ways we can get the information we need that doesn't cause lag. |
Closing due to inactivity and because there doesn't seem to be anything we can do on our side. |
Hi:
I have been using the xrandr block in Arch linux for more than a year and it works normally. Recently I was trying it in Debian and the experience was terrible.
After some hours blaming the video driver, video configuration, xorg config etc etc etc I found that the source of the problem was the xrandr block!!!
I had the same config in arch and debian
And the screen keep freezing constantly, movement was interrupted constantly. Then I ran glxgears and it was stocking every a couple of seconds.
after commenting that specific block everything ran faster, the stops disappeared and I got:
In arch I haven't notices this, but after commenting the block there there was also a slight improve in performance too.
The text was updated successfully, but these errors were encountered: