Add the TearFree option back to Xorg-Server. Patch by Rahul Chandra

This commit is contained in:
Douglas R. Reno 2023-07-21 11:51:31 -05:00
parent cefe20df32
commit a1ea6d4e94
2 changed files with 29 additions and 0 deletions

View File

@ -45,6 +45,10 @@
<para>[renodr] - Fix building JS-102 on i686. Firefox is unaffected
this time since the underlying problem is fixed in 115.x.</para>
</listitem>
<listitem>
<para>[rahul] - Add the TearFree patch to xorg-server. Fixes
<ulink url="&blfs-ticket-root;18316">#18316</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -70,6 +70,24 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
With the removal of the xf86-video-* drivers, the TearFree option
is no longer functional. To work around this, upstream has added the
TearFree option to the default modesetting driver. This patch
backports this feature. Apply this patch if you are going to use Xorg
in an environment without a compositor (such as TWM, IceWM, Openbox,
Fluxbox, or Sawfish).
</para>
<para>
Optional patch:
<ulink url="&patch-root;/xorg-server-&xorg-server-version;-tearfree_backport-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@ -196,6 +214,13 @@
<sect2 role="installation">
<title>Installation of Xorg Server</title>
<para>
First, if you need the TearFree option to work around screen tearing,
apply the backported patch:
</para>
<screen><userinput remap="pre">patch -Np1 -i ../xorg-server-&xorg-server-version;-tearfree_backport-1.patch</userinput></screen>
<para>
Install the server by running the following commands:
</para>