Created
December 10, 2022 22:06
-
-
Save ipatch/afdf3533dcdb325ff4e66006598049dd to your computer and use it in GitHub Desktop.
copy pasta from gentoo wiki
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
poopies URL sucks!