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
Next revisionBoth sides next revision
notes:xorg.conf_snippets [2020/09/05 05:56] Sean Rhonenotes:xorg.conf_snippets [2021/06/14 03:51] Sean Rhone
Line 1: Line 1:
-====== Xorg Drivers ======+====== Config File ======
  
-===== openSUSE =====+****
  
-  sudo zypper search 'xf86-video'+  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
-  xf86-video-amdgpu+====== Computer-Specific ======
  
-  xf86-video-ati+===== Oak =====
  
-  xf86-video-intel+  * Last updated: 2021/06/14 
 +  * Expects an Acer S271HL connected via DVI 
 +  * Expects Xorg (not Wayland) 
 +  * :!: This removes the ''radeon'' DDX driver in order to force ''modesetting'' to be used
  
-===== Fedora =====+  sudo dnf remove 'xorg-x11-drv-ati' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
-  sudo dnf search 'xorg-x11-drv'+<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) 
 + 
 +    * :!: This removes the ''amdgpu'' DDX driver in order to force ''modesetting'to be used
  
-  xorg-x11-drv-amdgpu+  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 57: Line 72:
 ===== 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 70: Line 87:
 ===== 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 83: Line 102:
 ===== 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 97: Line 118:
   * 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 119: Line 142:
   * 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 131: Line 159:
     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 163: Line 177:
   * :!: 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'
/var/www/wiki/data/pages/notes/xorg.conf_snippets.txt · Last modified: 2023/05/28 23:33 by Sean Rhone