Skip to content

Instantly share code, notes, and snippets.

@ipatch
Created December 10, 2022 22:06
Show Gist options
  • Save ipatch/afdf3533dcdb325ff4e66006598049dd to your computer and use it in GitHub Desktop.
Save ipatch/afdf3533dcdb325ff4e66006598049dd to your computer and use it in GitHub Desktop.
copy pasta from gentoo wiki
# NOTE: ipatch, original URL below
# https://wiki.gentoo.org/wiki/NVIDIA/Optimus/xorg.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "01:00:0"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
@ipatch
Copy link
Author

ipatch commented Dec 10, 2022

poopies URL sucks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment