On Wed, Feb 08, 2023 at 03:51:01AM -0700, Ashlen wrote: > > And can I do something to reduce scroll tearing? > If it was anything like my issue, it could be a vsync problem. Desktop > environments will typically take care of this for you (and usually also > expose a > setting for it somewhere). Window managers usually don't. I'm guessing that > since you're talking about st that you're using a window manager, but correct > me > if I'm wrong. You are right, I'm using dwm + st :)
> Anyway, OpenBSD does have a compositor in the base system, xcompmgr(1), but it > doesn't handle vsync. I use spectrwm and I dealt with screen tearing by > installing and configuring picom. > > # pkg_add picom > > There's a lot you can do with picom, but this is all that should be needed for > now. > > $ cat ~/.config/picom/picom.conf > # Resolve screen tearing. > vsync = true; > > Go ahead and test picom with that config file interactively first. If it > addresses your issue, you can add `picom -b` to your ~/.xsession. For me, `--vsync` is not enough, I need to also add `--backend glx`, and screen tearing is gone, yeah! > Here's a video to test screen tearing. > https://www.youtube.com/watch?v=MfL_JkcEFbE good Thanks a lot! Your advice really saved my eyes.

