UP  |  HOME

X.Org Graphics

Graphics config for intel or amd graphics. Enables tearfree graphics. Overrides xorg detection so will cause xorg to fail if used with the wrong card.

For amdgpu DRI3 is only used by default in Xorg 1.18.3+. DRI3 allows client allocated render buffers and more secure GEM buffer sharing. This is maybe good, but probably not that impactful.

Note that having a device section for a device that doesn't exist on your system will cause Xorg to fail to start. As will a Device section with a BusID that doesn't match the device.

Listing 1: /etc/X11/xorg.conf.d/30-amdgpu.conf
Section "Device"
    Identifier "lexa"
    Driver     "amdgpu"
    Option     "TearFree" "true"
    Option     "DRI"      "3"
EndSection
Listing 2: /etc/X11/xorg.conf.d/30-intel.conf
Section "Device"
    Identifier "Intel Graphics"
    Driver     "intel"
    Option     "TearFree" "true"
EndSection