Advertisement
Guest User

xorg.conf for NVIDIA

a guest
Jun 25th, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Section "ServerLayout"
  2.     Identifier     "Layout0"
  3.     Screen      0  "Screen0"
  4.     InputDevice    "Keyboard0" "CoreKeyboard"
  5.     InputDevice    "Mouse0" "CorePointer"
  6.     #Option        "AIGLX" "true"
  7. EndSection
  8.  
  9. Section "Files"
  10.     ModulePath    "/usr/local/lib/xorg/modules"
  11.     FontPath      "/usr/local/share/fonts/dejavu/"
  12.     FontPath      "/usr/local/share/fonts/GentiumBasic/"
  13.     FontPath      "/usr/local/share/fonts/LinLibertineG/"
  14.     FontPath      "/usr/local/share/fonts/Caladea/"
  15.     FontPath      "/usr/local/share/fonts/Carlito/"
  16.     FontPath      "/usr/local/share/fonts/Droid/"
  17.     FontPath      "/usr/local/share/fonts/emojione-color-font-ttf/"
  18.     FontPath      "/usr/local/share/fonts/Andika/"
  19.     FontPath      "/usr/local/share/fonts/GentiumPlus/"
  20.     FontPath      "/usr/local/share/fonts/cantarell/"
  21.     FontPath      "/usr/local/share/fonts/gofont-ttf/"
  22.     FontPath      "/usr/local/share/fonts/fantasque-sans-mono/"
  23.     FontPath      "/usr/local/share/fonts/webfonts/"
  24. EndSection
  25.  
  26. Section "Module"
  27.     Load  "extmod" #NVIDIA
  28.     Load  "record"
  29.     Load  "dbe"
  30.     Load  "dri2"
  31.     Load  "type1"
  32.     Load  "freetype"
  33.     Load  "glx" #NVIDIA
  34. EndSection
  35.  
  36. Section "InputDevice"
  37.     Identifier     "Mouse0"
  38.     Driver         "mouse"
  39.     Option         "Protocol" "auto"
  40.     Option         "Device" "/dev/sysmouse"
  41.     Option         "Emulate3Buttons" "no"
  42.     Option         "ZAxisMapping" "4 5 6 7"
  43. EndSection
  44.  
  45. Section "ServerFlags"
  46.     Option "AutoAddDevices" "false"
  47.     Option "AllowEmptyInput" "off"
  48.     Option "AllowMouseOpenFail" "true"
  49.     Option "IgnoreABI" "on"
  50. EndSection
  51.  
  52. Section "InputDevice"
  53.     Identifier     "Keyboard0"
  54.     #Driver         "keyboard"
  55.     Driver         "kbd"
  56.     Option      "XkbLayout" "us,ru"
  57.     Option      "XkbVariant" ",winkeys"
  58.     Option      "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp"
  59. EndSection
  60.  
  61. Section "Monitor"
  62.     Identifier     "Monitor0"
  63.     VendorName     "ASUS"
  64.     ModelName      "VS24AH-P"
  65.     HorizSync       28.0 - 33.0
  66.     VertRefresh     43.0 - 72.0
  67.     Option         "DPMS"
  68. EndSection
  69.  
  70. Section "Device"
  71.     Identifier     "Device0"
  72.     Driver         "nvidia"
  73.     VendorName     "NVIDIA Corporation"
  74.     Option         "RenderAccel" "1"
  75.     Option         "TripleBuffer" "true"
  76. EndSection
  77.  
  78. Section "Screen"
  79.     Identifier     "Screen0"
  80.     Device         "Device0"
  81.     Monitor        "Monitor0"
  82.     DefaultDepth    24
  83.     SubSection     "Display"
  84.         Depth       24
  85.     EndSubSection
  86.     #Option "VertRefresh"    "144"
  87. EndSection
  88.  
  89. Section "DRI"
  90.     Mode 0666
  91. EndSection
  92.  
  93. Section "Extensions"
  94.     Option "Composite"  "Enable"
  95.     Option "DAMAGE"     "Enable"
  96.     Option "RENDER"     "Enable"
  97. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement