Skip to content

Instantly share code, notes, and snippets.

/-

Created April 23, 2017 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3fe85804b75f8ca886ba97c8da862dad to your computer and use it in GitHub Desktop.
Save anonymous/3fe85804b75f8ca886ba97c8da862dad to your computer and use it in GitHub Desktop.
xorg.uefi_optimus_nvidia_intel_gnu_linux.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 378.13 (buildmeister@swio-display-x86-rhel47-05) Tue Feb 7 19:37:00 PST 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Inactive "intel"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
EndSection
Section "Device"
# Stuff on the net says to use BusID "PCI:1:0:0" but the manual says to use "1@0:0:0"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "1@0:0:0"
EndSection
Section "Device"
Option "CustomEDID" "DFP-0:/lib/firmware/edid/1600x900_ASUS_X756UV-TY278T.bin"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "RenderAccel" "True"
Option "NoRenderExtension" "False"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
Option "ConnectToAcpid" "True"
Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/lib/firmware/edid/1600x900_ASUS_X756UV-TY278T.bin"
Option "UseEDID" "True"
Option "ModeValidation" "NoVirtualSizeCheck"
Option "ModeDebug" "True"
SubSection "Display"
Depth 24
Modes "1600x900"
EndSubSection
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
Monitor "Monitor0"
SubSection "Display"
Depth 24
Modes "1600x900"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment