Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: tearfree modesetting
To:
Matthieu Herrb <matthieu@openbsd.org>
Cc:
tech@openbsd.org, Ted Unangst <tedu@tedunangst.com>
Date:
Mon, 9 Jun 2025 12:41:27 +0200

Download raw body.

Thread
On Mon, Jun 09, 2025 at 09:28:01AM +0200, Matthieu Herrb wrote:
> On Sat, Jun 07, 2025 at 09:29:48AM +0200, Matthieu Herrb wrote:
> > On Fri, Jun 06, 2025 at 05:11:50AM +0200, Theo Buehler wrote:
> > > On Thu, Jun 05, 2025 at 11:01:55PM -0400, Ted Unangst wrote:
> > > > This backports the x.org modesetting driver to get the tearfree option.
> > > > (On by default.) This makes scrolling much more enjoyable.
> > > > 
> > > > I don't know what the x.org release cycle is, but this code has been
> > > > sitting upstream for years without making it into a released version.
> > > > 
> > > > I wanted it, so here it is.
> > > 
> > > This is pretty similar but not identical to naddy's patch from a few
> > > months ago. It would be really nice to have it:
> > > 
> > > https://marc.info/?l=openbsd-tech&m=174118941524729&w=2
> > > 
> > 
> > Hmm yes. With the current event in X.Org, a new release of the Xserver
> > main branch looks less and less likely in a foreseable future. I've
> > not had time to test the patches, but I'm ok on the principle.
> > 
> 
> I've looked closely at the different versions of the patch,
> the recent version by tedu@ is ok matthieu@.
> 
> It reduces diffs with -current xorg a bit more and also avoids a useless
> increment of the driver ABI version (the corresponding changes are not
> in the tearfree patch).

FWIW, it appears that tedu's diff breaks x11/sct. It works fine on
current and with naddy's diff.

> 
> -- 
> Matthieu Herrb
>