Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards

I find that the default settings for the radeon driver that is applied to most AMD cards is horrible.  For example by default TearFree is not enabled and it causes videos to have some kind of square artifacts.

Here are the settings I have found most suitable for AMD cards:

You need to create file in the following path and restart Xorg or your computer to apply it:

*Beware that making a mistake here will possibly make your computer unbooable or you will need to use a LiveCD to correct the problem.

sudo vi /usr/share/X11/xorg.conf.d/20-radeon.conf

Then paste the following and save it:


Section "Device"
    Identifier "Radeon"

    # Set Driver "radeon" because xorg now uses the modesetting driver by
    # default for Radeon HD GPUs and it causes a lot of triangular tearing.
    Driver "radeon"

    # We don't need TearFree to avoid tearing in Chrome and mpv; TearFree also
    # has the disadvantage of making switches to text VTs take 2 seconds.
    Option "TearFree" "on"

    # Use the default exa; glamor causes subtle but visible triangular tearing
    # when used without TearFree.
    Option "AccelMethod" "glamor"

    # DRI3 is not enabled by default on my Radeon HD 6470M
    # https://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure#DRI3
    # https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-16.04-Enable-DRI3
    Option "DRI" "3"
EndSection

 

 


Tags:

ubuntu, linux, mint, debian, xorg, tuning, amd, radeon, cardsi, default, settings, applied, tearfree, enabled, videos, artifacts, suitable, restart, beware, unbooable, livecd, sudo, vi, usr, conf, quot, identifier, modesetting, hd, gpus, triangular, chrome, mpv, disadvantage, switches, text, vts, exa, glamor, visible, accelmethod, dri, https, en, wikipedia, org, wiki, direct_rendering_infrastructure, www, phoronix, scan, php, news_item, px, enable, endsection,

Latest Articles

  • Recommended SFP+ to RJ45 Adapter Module for Switch Juniper Cisco Ubiquiti TP-Link etc...
  • Bad Power Supply Issue Story Diagnosing Troubleshooting
  • Getting started with AI (Artificial Intelligence) in Linux / Ubuntu using by deploying LLM (Language Learing Models) using Ollama LLMA
  • microk8s kubernetes how to install OpenEBS
  • Flash LSI MegaRAID 2208 to IT mode in Linux Mint/Debian/Ubuntu
  • LSI MegaRAID in Linux Ubuntu / Centos Tutorial Setup Guide megacli
  • Convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/413. convert-im6.q16: no images defined `pts-time.jpg' @ error/convert.c/ConvertImageCommand/3258. solution ImageMagick P
  • Apache PHP sending expires header solution cannot use cache with CDN
  • How to install virt-manager in Mint 22/Ubuntu 22
  • Infiniband Guide
  • python mysql install error: /bin/sh: 1: mysql_config: not found /bin/sh: 1: mariadb_config: not found /bin/sh: 1: mysql_config: not found mysql_config --version
  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide