User Tools

Site Tools


ubuntu:gpu:amd_gpu:troubleshooting:screen_tearing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:amd_gpu:troubleshooting:screen_tearing [2023/06/21 20:25] peterubuntu:gpu:amd_gpu:troubleshooting:screen_tearing [2023/06/21 21:02] (current) peter
Line 14: Line 14:
 Edit (or create) the Xorg config file in the **/usr/share/X11/xorg.conf.d/** directory. Edit (or create) the Xorg config file in the **/usr/share/X11/xorg.conf.d/** directory.
  
-  * If using a newer AMD GPU, the file is probably the one named **20-amdgpu.conf**. +  * If using a newer AMD GPU, the file is probably the one named **10-amdgpu.conf**.
-  * If using an older AMD GPU, the file is probably the one named **20-radeon.conf**.+
  
-<file bash /usr/share/X11/xorg.conf.d/20-amdgpu.conf> +<file bash /usr/share/X11/xorg.conf.d/10-amdgpu.conf> 
-    Section "Device" +Section "Device" 
-        Identifier "Radeon" +    Identifier "AMDgpu" 
-        Driver "radeon" +    MatchDriver "amdgpu" 
-        Option "TearFree" "on+    Driver "amdgpu" 
-    EndSection+    Option "TearFree" "true" 
 +EndSection 
 +</file> 
 + 
 +  * If using an older AMD GPU, the file is probably the one named **10-radeon.conf**. 
 + 
 +<file bash /usr/share/X11/xorg.conf.d/10-radeon.conf> 
 +Section "Device" 
 +    Identifier "Radeon" 
 +    MatchDriver "radeon" 
 +    Driver "radeon" 
 +    Option "TearFree" "true
 +EndSection
 </file> </file>
  
 <WRAP info> <WRAP info>
 **NOTE:**  The key here is the **TearFree** option. **NOTE:**  The key here is the **TearFree** option.
- 
-  * The file may not start with a **20**, but perhaps a **10**. 
  
   * This configuration is effective for many different systems   * This configuration is effective for many different systems
Line 59: Line 68:
   * The enhanced configuration is as follows:   * The enhanced configuration is as follows:
  
-<file bash /usr/share/X11/xorg.conf.d/20-amdgpu.conf> +<file bash /usr/share/X11/xorg.conf.d/10-amdgpu.conf> 
-    Section "Device" +Section "Device" 
-        Identifier "Radeon" +    Identifier "AMDgpu" 
-        Driver "radeon" +    MatchDriver "amdgpu" 
-        Option "TearFree" "on+    Driver "amdgpu" 
-        Option "DRI" "3" +    Option "TearFree" "true" 
-        Option "AccelMethod" "glamor" +    Option "DRI" "3" 
-    EndSection+    Option "AccelMethod" "glamor" 
 +EndSection 
 +</file> 
 + 
 +or 
 + 
 +<file bash /usr/share/X11/xorg.conf.d/10-radeon.conf> 
 +Section "Device" 
 +    Identifier "Radeon" 
 +    MatchDriver "radeon" 
 +    Driver "radeon" 
 +    Option "TearFree" "true
 +    Option "DRI" "3" 
 +    Option "AccelMethod" "glamor" 
 +EndSection
 </file> </file>
  
 ---- ----
 +
 +===== Check the current TearFree status =====
 +
 +<code bash>
 +xrandr --verbose | grep "TearFree"
 +</code>
  
ubuntu/gpu/amd_gpu/troubleshooting/screen_tearing.1687379158.txt.gz · Last modified: 2023/06/21 20:25 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki