Changeset 4ada352


Ignore:
Timestamp:
07/26/2023 08:04:06 AM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
9871a7a6
Parents:
2ac9944
git-author:
Xi Ruoyao <xry111@…> (07/26/2023 07:56:42 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/26/2023 08:04:06 AM)
Message:

xorg-config: Some reword about the TearFree control

  1. Move the configuration file into /etc, to be consistent with other configuration files created in BLFS.
  2. We no longer need a separate "configure the graphic card" example because the TearFree configuration file is already a good example.
  3. Tearing issue is really not new after xf86-video-* removal. In some xf86-video-* drivers a TearFree option is available but rarely enabled by default (only the amdgpu driver when the output is rotated or transformed). So this is actually the first time we document it in BLFS.
  4. It's really not difficult to observer the tearing by dragging a window in twm, despite twm only renders the window border during dragging.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xorg-config.xml

    r2ac9944 r4ada352  
    481481
    482482      <para>
    483         With modern Xorg, little or no additional graphic card configuration
    484         is necessary. If you should need extra options passed to your video
    485         driver, for instance, you could use something like the following
    486         (again, executed as the &root; user):
    487       </para>
    488 
    489 <screen role="root"><userinput>cat &gt; /etc/X11/xorg.conf.d/videocard-0.conf &lt;&lt; "EOF"
    490 <literal>Section "Device"
    491     Identifier  "Videocard0"
    492     Driver      "modesetting"
    493     VendorName  "Videocard vendor"
    494     BoardName   "ATI Radeon 7500"
    495     Option      "AccelMethod" "none"
    496 EndSection</literal>
    497 EOF</userinput></screen>
    498 
    499       <para>
    500         Some graphics cards may have problems with screen tearing now that Xorg
    501         has moved to using the modesetting driver in BLFS. To resolve the screen
    502         tearing problems, create a configuration file that enables the TearFree
    503         option. Note that you must have the Tearfree patch applied from
    504         <xref role="nodep" linkend="xorg-server"/> for this to function
    505         properly.
    506       </para>
    507 
    508 <screen role="root"><userinput>cat &gt; /usr/share/X11/xorg.conf.d/20-tearfree.conf &lt;&lt; "EOF"
     483        When you drag a window in twm (or any non-compositing window
     484        manager) horizontally, you may observe that the vertical borders
     485        of the window are broken into multiple segments.  This is an example
     486        of the visual artifacts called <emphasis>screen tearing</emphasis>.
     487        To resolve the screen tearing problems, create a configuration file
     488        that enables the TearFree option. Note that you must have the
     489        Tearfree patch applied from <xref role="nodep"
     490        linkend="xorg-server"/> for this to function properly, and it may
     491        increase memory allocation and reduce performance.
     492      </para>
     493
     494<screen role="root"><userinput>cat &gt; /etc/X11/xorg.conf.d/20-tearfree.conf &lt;&lt; "EOF"
    509495<literal>Section "Device"
    510496   Identifier "Graphics Adapter"
     
    514500EOF</userinput></screen>
    515501
     502      <para>
     503        With modern Xorg, little or no additional graphic card configuration
     504        is necessary. If you should need extra options passed to your video
     505        driver, add them into the <literal>Device</literal> section as well.
     506        The options supported by the modesetting driver are documented in
     507        the man page <filename>modesetting(4)</filename>.
     508      </para>
     509
    516510    </sect3>
    517511  </sect2>
Note: See TracChangeset for help on using the changeset viewer.