Install and activate Nvidia X11 driver
This commit is contained in:
parent
eec40b87ab
commit
eeeb67f066
4 changed files with 69 additions and 7 deletions
31
etc/X11/xorg.conf.d/20-nvidia.conf
Normal file
31
etc/X11/xorg.conf.d/20-nvidia.conf
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
Section "ServerLayout"
|
||||
Identifier "layout"
|
||||
Screen 0 "intel"
|
||||
Inactive "nvidia"
|
||||
Option "AllowNVIDIAGPUScreens"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "nvidia"
|
||||
Driver "nvidia"
|
||||
BusID "PCI:1:0:0"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "nvidia"
|
||||
Device "nvidia"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "intel"
|
||||
Driver "modesetting"
|
||||
BusID "PCI:0:2:0"
|
||||
Option "ShadowFB" "false" # you don't need on recent hardware
|
||||
Option "Atomic" "true" #only effective on Xlibre, or Xorg-git with a special patch
|
||||
Option "TearFree" "false" # Compositor is being used so TearFree is not needed
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "intel"
|
||||
Device "intel"
|
||||
EndSection
|
||||
Loading…
Add table
Add a link
Reference in a new issue