Skip to content

Instantly share code, notes, and snippets.

@tymm
Created January 20, 2019 16:31
Show Gist options
  • Save tymm/c2771d1d0dd256471b7082b4f11063b1 to your computer and use it in GitHub Desktop.
Save tymm/c2771d1d0dd256471b7082b4f11063b1 to your computer and use it in GitHub Desktop.
/etc/X11/xorg.conf.d/20-nvidia.conf
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "Device NVIDIA GPU"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"
# Max power savings on battery + High performance on AC
#Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3333; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x1"
# Max power savings on battery + Balanced performance on AC
#Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3333; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x2"
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2233; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x2"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment