Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Patch to stop tearing on Intel modesetting in Xenocara
To:
Walter Alejandro Iglesias <wai@roquesor.com>
Cc:
jcs@jcs.org, tech@openbsd.org
Date:
Fri, 17 May 2024 13:23:40 +0100

Download raw body.

Thread
On 2024/05/17 12:45, Walter Alejandro Iglesias wrote:
> Hi Joshua,
> 
> On Fri May 17 10:41:18 2024 joshua stein wrote:
> > The last non-security xserver release was in 2021[1] so for anyone 
> > else tired of waiting for TearFree in the modesetting driver to 
> > trickle down to OpenBSD, here's an updated diff against the xenocara 
> > tree.
> >
> > It includes xorg merge requests 1006, 1042, 1062, and 1224.
> >
> > 1. https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1006#note_2251232
> >
> >
> > diff --git xserver/dix/pixmap.c xserver/dix/pixmap.c
> > index 5a0146bbb..0b01c4ee0 100644
> > --- xserver/dix/pixmap.c
> > +++ xserver/dix/pixmap.c
> > [...]
> 
> After I succesfully applied your diff, I followed the instructions in
> /usr/xenocara/README.  I got these errors just after starting:
> 
>   $ doas make bootstrap 
>   $ doas make obj
>   $ doas make build
>   [...]
>   configure: error: source directory already configured; run "make distclean" there first
>   *** Error 1 in proto/xorgproto (/usr/X11R6/share/mk/bsd.xorg.mk:158 'config.status')
>   *** Error 2 in proto/xorgproto (/usr/X11R6/share/mk/bsd.xorg.mk:196 'build')
>   *** Error 2 in proto (<bsd.subdir.mk>:48 'build': @for entry in xcb-proto xorgproto; do  set -e; if test -d /usr/xenocara/proto/${entry}.amd...)
>   *** Error 2 in . (<bsd.subdir.mk>:48 'realbuild': @for entry in proto font/util data/bitmaps lib app data  xserver driver util doc font; do ...)
>   *** Error 2 in . (Makefile:37 'do-build')
>   *** Error 2 in /usr/xenocara (Makefile:26 'build')
> 
> 
> Do I need some special step?

See "Cleaning in packages managed by autotools" in xenocara/README