Skip to content

Instantly share code, notes, and snippets.

@stephanlachnit
Last active April 8, 2020 20:02
Show Gist options
  • Save stephanlachnit/dd738bfeca12d825526122389d60f74d to your computer and use it in GitHub Desktop.
Save stephanlachnit/dd738bfeca12d825526122389d60f74d to your computer and use it in GitHub Desktop.
xorg.conf for Xiaomi Mi Notebook Air 13.3 2018 with proprietary Nvidia drivers
Section "Device"
Identifier "intel-gpu"
Driver "modesetting"
BusID "PCI:0:2:0"
VendorName "Intel Corporation"
BoardName "UHD Graphics 620"
EndSection
Section "Device"
Identifier "nvidia-gpu"
Driver "nvidia"
BusID "PCI:1:0:0"
VendorName "NVIDIA Corporation"
BoardName "GeForce MX150"
EndSection
Section "Monitor"
Identifier "eDP-1"
DisplaySize 294 165
EndSection
Section "Screen"
Identifier "screen-0"
Device "intel-gpu"
Monitor "eDP-1"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "screen-0"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingDrag" "off"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment