Open zjeffer opened 5 years ago
You might try editing the value of pointer_motion_interval
to be larger
I set the pointer_motion_interval
from 17 to 40 and that seems to make a slight improvement, but not enough (especially firefox and vscode). I tried setting it higher than that (50, 100) but that obviously makes resizing windows laggy. Is there something else that might cause these artifacts?
Not a bspwm issue, configure your drivers and/or graphical toolkits. You may also try to test that on any other WM, Mutter, for example (as a WM with possibly the largest userbase).
All my windows do this all the time. I've been through a ton of graphical settings, but some of the underlying troubles seems to stem from apps themselves. Particular terminal apps for example, st and newer versions of kitty, seem to resize without any glitching. So does mpv, mostly. However, my browser often glitches terribly.
Have you seen the same problems using other wms or DEs? If you have then you might try a Live USB Linux Variant like MXLinux (Debian not arch based) to see if the errors continue. If they do... then you might be experiencing/enjoying a hardware/firmware feature.
Now that I'm using gnome-terminal instead of konsole, gnome-terminal seems to have a lot more glitching when resizing.
I used to use KDE Plasma with Kwin, and I don't remember having this issue then. I don't have a lot of time right now to do a lot of testing with other distros/DEs, so I'll test other DEs later.
I edited the original post with a video of gnome-terminal.
fwiw I use kitty, xfce4-terminal all without problems.
Yeah resizing in kitty is great now! It sucked prior to version 14 though, which is when it changed it's opengl rendering backend. I get the same white/black bars when resizing qutebrowser in openbox as I do in bspwm, one of the wm's I tried out per @eirenicon's suggestion. glitchy resizing in openbox seems to be largely on par with bspwm, maybe a tiny bit better.
Running without a compositor (or the xcompmgr
) on the xf86-video-intel
driver also helped me a lot. (you can still have polybar transparency without a compositor if you enable the pseudo-transparency setting)
Cleaning up old issues, I don't have these problems anymore.
Hi, @zjeffer. I wonder if you got this problem solved, I'm experiencing the exactly same issues that you exposed here.
As for how I solved this, I can't really help you there. It's been so long and since opening this issue, I got a new laptop with different hardware (Ryzen 7 5800H + RTX 3070) but I don't know if that made the difference, or if I fixed it some other way.
Actually, now that I test it again, the issue is still present. I just stopped noticing it.
For example, Firefox:
https://github.com/baskerville/bspwm/assets/4633209/7cfc8419-7df3-47dd-a194-76e0b634bb14
I think this is just a general issue with bspwm. Reopening.
I'm also experiencing this both on bspwm and AwesomeWM, so I don't think it's a bspwm-specific issue.
Basically, the problem is that the previous contents of the screen remains as an artifact inside the space that the client has not finished rendering. This can also happen when spawning a new window.
I was thinking that this is only a problem with older nvidia cards, but it seems that it happens on your amd card too. I'm not really sure how dual GPU setups work, but are you using the amdgpu
driver?
I wonder if this is just an unfixable X11 issue?
Is this thing related to the same issue? I'm trying using bspwm inside kde
@CatalinPlesu doesn't look like it, you should open a separate issue.
Copied from this stackExchange post
Examples:
https://youtu.be/1uOcOCSVsvM.
Visual Studio Code
: this one is obvioushttps://youtu.be/PmRwh_S6gIY. 2
Sublime Text
windows, tiled: This one is more subtle. You can see the scrollbars of both windows glitch out a bit. The right window is the most apparant.https://youtu.be/oDE-CUMr6fI. 2
Thunar
windows, tiled: Same issue: you can see the right side of the right window glitch out.https://youtu.be/Zycu9PV6gMY.
Firefox
andKonsole
, tiled: You can see the firefox window shows a white background when resizing. In the konsole window you can see the scrollbar glitches like the previous 2 points.https://youtu.be/UqDJcKurbiw.
gnome-terminal
, tiled: This one is really weird: I resize the window withsuper
+right-click
. Only when I release the right mouse button, it shows the resized window. Also when I keep moving the mouse, for example in circles as I did in the video, the window size keeps decreasing.What I've tried:
pointer_motion_interval
from 17 to 40: slight improvement but the problem doesn't go away. Any higher and resizing windows will lag.I have no idea what to try next to troubleshoot this issue.
Specs: