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:21] peterubuntu:gpu:amd_gpu:troubleshooting:screen_tearing [2023/06/21 21:02] (current) peter
Line 12: Line 12:
 ===== GPU Config File Update ===== ===== GPU Config File Update =====
  
-In **/usr/share/X11/xorg.conf.d/** directory, edit (or create) a file called **20-radeon.conf** (look for amdgpu.conf for users with the amdgpu drivers) with the following contents:+Edit (or create) the Xorg config file in the **/usr/share/X11/xorg.conf.d/** directory.
  
-<file bash /usr/share/X11/xorg.conf.d/20-radeon.conf> +  * If using a newer AMD GPU, the file is probably the one named **10-amdgpu.conf**. 
-    Section "Device" + 
-        Identifier "Radeon" +<file bash /usr/share/X11/xorg.conf.d/10-amdgpu.conf> 
-        Driver "radeon" +Section "Device" 
-        Option "TearFree" "on+    Identifier "AMDgpu" 
-    EndSection+    MatchDriver "amdgpu" 
 +    Driver "amdgpu" 
 +    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>
  
Line 54: Line 68:
   * The enhanced configuration is as follows:   * The enhanced configuration is as follows:
  
-<file bash /usr/share/X11/xorg.conf.d/20-radeon.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.1687378872.txt.gz · Last modified: 2023/06/21 20:21 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki