User Tools

Site Tools


notes:xorg.conf_snippets

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
Both sides next revision
notes:xorg.conf_snippets [2020/06/12 03:14]
Sean Rhone [Nightwane]
notes:xorg.conf_snippets [2021/06/14 03:52] (current)
Sean Rhone
Line 1: Line 1:
 +====== Config File ======
 +
 +****
 +
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +====== Computer-Specific ======
 +
 +===== Oak =====
 +
 +  * Last updated: 2021/06/14
 +  * Expects an Acer S271HL connected via DVI
 +  * Expects Xorg (not Wayland)
 +  * :!: On Fedora, this removes the ''radeon'' DDX driver in order to use ''modesetting'' instead
 +
 +  sudo dnf remove 'xorg-x11-drv-ati' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "Monitor"
 +    Identifier      "DVI-I-1"
 +    Modeline "1920x1080_75"  164.61  1920 1944 1976 2008  1080 1083 1088 1093 +hsync +vsync
 +    Option          "PreferredMode" "1920x1080_75"
 +EndSection</code>
 +
 +===== Nightwane =====
 +
 +  * Last updated: 2021/06/14
 +  * Expects Xorg (not Wayland)
 +  * :!: On Fedora, this removes the ''amdgpu'' DDX driver in order to use ''modesetting'' instead
 +
 +  sudo dnf remove 'xorg-x11-drv-amdgpu'
 +
 ====== Monitor/Display ====== ====== Monitor/Display ======
  
-===== 4K@60Hz RB =====+===== 4K@60Hz Reduced Blank =====
  
   * 4k@60Hz CVT-RB   * 4k@60Hz CVT-RB
   * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort   * 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))   * :!: The ''grep'' here confirms the expected Modeline ((if grep reports nothing, use whatever is reported instead))
-  * :!: This cannot be used on Wayland currently+  * :!: This doesn't work on Wayland (use a kernel option instead)
   * :!: This expects ''amdgpu'' DDX driver to be used ((''modesetting'' has a 4K RB resolution without any settings require on Xorg))   * :!: This expects ''amdgpu'' DDX driver to be used ((''modesetting'' has a 4K RB resolution without any settings require on Xorg))
  
Line 39: Line 71:
 ===== amdgpu ===== ===== amdgpu =====
  
-  sudo dnf install 'xorg-x11-drv-amdgpu' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo zypper install -y 'xf86-video-amdgpu' 
 + 
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
Line 52: Line 86:
 ===== intel ===== ===== intel =====
  
-  sudo dnf install 'xorg-x11-drv-intel' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo zypper install -y 'xf86-video-intel' 
 + 
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
Line 65: Line 101:
 ===== nouveau ===== ===== nouveau =====
  
-  sudo dnf install 'xorg-x11-drv-nouveau' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo zypper install -y 'xf86-video-nouveau' 
 + 
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
Line 79: Line 117:
   * For Optimus laptops   * For Optimus laptops
  
-  sudo dnf install xorg-x11-drv-intel xorg-x11-drv-nouveau -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo zypper install -y xf86-video-intel xf86-video-nouveau 
 + 
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
Line 101: Line 141:
   * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series))   * 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''))   * 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''))
 +  * :!: Using the ''radeon'' DDX driver caused StepMania to crash with any fullscreen mode on openSUSE TW
 +  * :!: This caused a blinking black screen and GDM unable to start on Ubuntu 20.04.1
 +  * :!: Overall, probably shouldn't use the ''radeon'' DDX driver
  
-  sudo dnf install 'xorg-x11-drv-ati' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo zypper install -y 'xf86-video-ati' 
 + 
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
Line 113: Line 158:
     Option      "TearFree"          "0"     Option      "TearFree"          "0"
     Option      "AccelMethod"       "EXA"     Option      "AccelMethod"       "EXA"
-EndSection</code> 
- 
-==== Nightwane ==== 
- 
-  * :!: The ''Modeline'' expects an Acer S271HL monitor to be used over DVI 
-  * This works with ''modesetting'' 
- 
-  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "Monitor" 
-    Identifier  "DVI-1" 
-    Modeline "1920x1080_75"  164.61  1920 1944 1976 2008  1080 1083 1088 1093 +hsync +vsync 
-    Option      "PreferredMode" "1920x1080_75" 
 EndSection</code> EndSection</code>
  
Line 145: Line 176:
   * :!: Required if planning to use external displays   * :!: Required if planning to use external displays
   * :!: ''Coolbits'' is not required here, but may be useful   * :!: ''Coolbits'' is not required here, but may be useful
 +  * :!: This expects Fedora and RPM Fusion's NVIDIA driver package for the ''cp'' of ''nvidia.conf''
  
   sudo cp -p '/usr/share/X11/xorg.conf.d/nvidia.conf' '/etc/X11/xorg.conf.d/nvidia.conf' && sudo -e '/etc/X11/xorg.conf.d/nvidia.conf'   sudo cp -p '/usr/share/X11/xorg.conf.d/nvidia.conf' '/etc/X11/xorg.conf.d/nvidia.conf' && sudo -e '/etc/X11/xorg.conf.d/nvidia.conf'
notes/xorg.conf_snippets.1591946082.txt.gz · Last modified: 2020/06/12 03:14 by Sean Rhone