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

Next revision
Previous revision
notes:xorg.conf_snippets [2019/11/30 22:18]
Sean Rhone created
notes:xorg.conf_snippets [2020/06/02 05:14] (current)
Sean Rhone
Line 73: Line 73:
     Driver      "nouveau"     Driver      "nouveau"
     Option      "DRI"       "3"     Option      "DRI"       "3"
 +EndSection</code>
 +
 +===== intel + nouveau =====
 +
 +  * 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'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier  "Intel Graphics"
 +    MatchDriver "i915"
 +    Driver "intel"
 +    Option "DRI"       "3"
 +    Option "TearFree"  "0"
 +EndSection
 +
 +Section "OutputClass"
 +    Identifier  "NVIDIA Graphics"
 +    MatchDriver "nouveau"
 +    Driver "nouveau"
 +    Option "DRI"       "3"
 EndSection</code> EndSection</code>
  
Line 92: Line 114:
     Option      "AccelMethod"       "EXA"     Option      "AccelMethod"       "EXA"
 EndSection</code> EndSection</code>
 +
 +==== Nightwane ====
 +
 +  * :!: The ''Modeline'' expects an Acer S271HL monitor to be used over DVI
 +
 +  sudo dnf install 'xorg-x11-drv-ati' -y && 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
 +
 +Section "OutputClass"
 +    Identifier  "AMD Graphics"
 +    MatchDriver "radeon"
 +    Driver      "radeon"
 +    Option      "DRI"               "3"
 +    Option      "SwapbuffersWait"   "0"
 +    Option      "TearFree"          "0"
 +    Option      "AccelMethod"       "EXA"
 +EndSection</code>
 +
 +===== NVIDIA Proprietary =====
 +
 +==== Environment Variables ====
 +
 +  * Sets pre-rendered frames from the default to 1
 +  * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU
 +
 +  echo 'export __GL_MaxFramesAllowed=1' | sudo tee '/etc/profile.d/nvidia-custom.sh' > '/dev/null' && cat '/etc/profile.d/nvidia-custom.sh'
 +
 +  sudo -e '/etc/profile.d/nvidia-custom.sh'
 +
 +==== Disable PRIME Render Offload ====
 +
 +  * [[http://download.nvidia.com/XFree86/Linux-x86_64/440.64/README/randr14.html|Offloading Graphics Display with RandR 1.4]]
 +  * :!: Required if planning to use external displays
 +  * :!: ''Coolbits'' is not required here, but may be useful
 +
 +  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'
 +
 +<code>
 +        Option "PrimaryGPU" "yes"
 +        Option "Coolbits" "28"</code>
  
notes/xorg.conf_snippets.1575170294.txt.gz ยท Last modified: 2019/11/30 22:18 by Sean Rhone