User Tools

Site Tools


notes:xorg.conf_snippets
no way to compare when less than two revisions

Differences

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


Next revision
notes:xorg.conf_snippets [2019/11/30 22:18] – created Sean Rhone
Line 1: Line 1:
 +====== Monitor/Display ======
 +
 +===== 4K@60Hz RB =====
 +
 +  * 4k@60Hz CVT-RB
 +  * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort
 +  * :!: The ''grep'' here confirms the expected Modeline ((if grep reports nothing, use whatever is reported instead))
 +  * :!: This cannot be used on Wayland currently
 +  * :!: This expects ''amdgpu'' DDX driver to be used ((''modesetting'' has a 4K RB resolution without any settings require on Xorg))
 +
 +  cvt --verbose --reduced '3840' '2160' '60' | grep 'Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync'
 +
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "Monitor"
 +    Identifier      "HDMI-A-0"
 +    Modeline "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync
 +    Option          "PreferredMode" "3840x2160R"
 +EndSection</code>
 +
 +===== Deep Color =====
 +
 +  * The lack-of quotes around ''30'' is intentional and required syntax
 +  * :!: This may cause minor issues with programs not expecting 30-bit color ((GpuTest's fur ring doesn't render right, RS's NXT client's splash screen is gray))
 +  * :!: This can cause games in Wine to not start under some circumstances ((FFXIV crashes on start-up due to a DirectX error))
 +  * There is no known benefit to enabling this as of 2019/10/22
 +
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "Screen"
 +    Identifier      "Deep Color Screen"
 +    DefaultDepth    30
 +EndSection</code>
 +
 +====== DDX ======
 +
 +===== amdgpu =====
 +
 +  sudo dnf install 'xorg-x11-drv-amdgpu' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier  "AMD Graphics"
 +    MatchDriver "amdgpu"
 +    Driver      "amdgpu"
 +    Option      "DRI"       "3"
 +    Option      "TearFree"  "0"
 +EndSection</code>
 +
 +===== intel =====
 +
 +  sudo dnf install 'xorg-x11-drv-intel' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier  "Intel Graphics"
 +    MatchDriver "i915"
 +    Driver      "intel"
 +    Option      "DRI"       "3"
 +    Option      "TearFree"  "0"
 +EndSection</code>
 +
 +===== nouveau =====
 +
 +  sudo dnf install 'xorg-x11-drv-nouveau' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier  "NVIDIA Graphics"
 +    MatchDriver "nouveau"
 +    Driver      "nouveau"
 +    Option      "DRI"       "3"
 +EndSection</code>
 +
 +===== radeon =====
 +
 +  * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series))
 +  * For SI, CIK, and newer GPUs, use ''amdgpu'', along with enabling ''si_support'' and ''cik_support'' respectively for the ''amdgpu'' kernel module ((see ''modinfo -p amdgpu''))
 +
 +  sudo dnf install 'xorg-x11-drv-ati' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier  "AMD Graphics"
 +    MatchDriver "radeon"
 +    Driver      "radeon"
 +    Option      "DRI"               "3"
 +    Option      "SwapbuffersWait"   "0"
 +    Option      "TearFree"          "0"
 +    Option      "AccelMethod"       "EXA"
 +EndSection</code>
  
/var/www/wiki/data/pages/notes/xorg.conf_snippets.txt · Last modified: 2023/05/28 23:33 by Sean Rhone