Xorg-config: Add a section about configuring Tearfree.

We might want to consider reviewing that page now that we don't carry
any of the other Xorg drivers now.
This commit is contained in:
Douglas R. Reno 2023-07-21 20:15:47 -05:00
parent 053e0a13af
commit 810935e2b5

View File

@ -511,6 +511,23 @@ EOF</userinput></screen>
BoardName "ATI Radeon 7500"
Option "AccelMethod" "none"
EndSection</literal>
EOF</userinput></screen>
<para>
Some graphics cards may have problems with screen tearing now that Xorg
has moved to using the modesetting driver in BLFS. To resolve the screen
tearing problems, create a configuration file that enables the TearFree
option. Note that you must have the Tearfree patch applied from
<xref role="nodep" linkend="xorg-server"/> for this to function
properly.
</para>
<screen role="root"><userinput>cat &gt; /usr/share/X11/xorg.conf.d/20-tearfree.conf &lt;&lt; "EOF"
<literal>Section "Device"
Identifier "Graphics Adapter"
Driver "modesetting"
Option "TearFree" "true"
EndSection</literal>
EOF</userinput></screen>
</sect3>