User Tools

Site Tools


notes:xorg.conf_snippets

Notes

  • :!: Anything here expects Xorg and not Wayland
  • Identifier will need changed for different display connections and drivers

Config File

  • 99-graphics.conf
sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'

Specific Screens

Acer S271HL

  • Last updated: 2022/05/18
  • :!: This expects modesetting
sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "Monitor"
    Identifier "HDMI-1"
    Modeline "1920x1080_75"  167.85  1920 1928 1960 2000  1080 1105 1113 1119 +hsync -vsync
    Option "PreferredMode" "1920x1080_75"
EndSection

NVIDIA

Section "Monitor"
    Identifier "S271HL-75Hz"
    Modeline "1920x1080_75"  167.85  1920 1928 1960 2000  1080 1105 1113 1119 +hsync -vsync
EndSection

Section "Screen"
    Identifier "Screen0"
    Option "ModeValidation" "HDMI-0: NoMaxPClkCheck,NoEdidMaxPClkCheck,NoHorizSyncCheck,NoVertRefreshCheck,AllowNonEdidModes"
    Monitor "S271HL-75Hz"
EndSection

Monitor/Display

Deep Color

sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "Screen"
    Identifier      "Deep Color Screen"
    DefaultDepth    30
EndSection

Verify

  • This may need changed to 0 instead for some distros
cat ~/'.local/share/xorg/Xorg.1.log' | grep 'Pixel depth'
cat ~/'.local/share/xorg/Xorg.1.log.old' | grep 'Pixel depth'

Specific Drivers

  • :!: Only use modesetting for Xorg DDX

NVIDIA

  • Coolbits at 28 unlocks all available overclocking settings
sudo -e '/etc/X11/xorg.conf.d/nvidia.conf'
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Option "Coolbits" "28"
    Option "AllowUnofficialGLXProtocol" "1"
EndSection
/var/www/wiki/data/pages/notes/xorg.conf_snippets.txt · Last modified: 2022/10/14 04:59 by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki