Advertisement
alexanius

Working Xorg.conf on gentoo for NVidia GeForce 940MX

Sep 24th, 2017
701
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Section "Module"
  2.     Load "modesetting"
  3. EndSection
  4.  
  5. Section "ServerLayout"
  6.     Identifier     "Layout0"
  7.     Screen         1 "nvidia" 0 0
  8.     Inactive       "intel"
  9.     Option         "Xinerama" "0"
  10. EndSection
  11.  
  12. Section "Files"
  13.         ModulePath "/usr/lib64/opengl/nvidia/,/usr/lib64/xorg/modules/"
  14. EndSection
  15.  
  16. Section "Monitor"
  17.     Identifier     "Monitor0"
  18.     VendorName     "Unknown"
  19.     ModelName      "Unknown"
  20. EndSection
  21.  
  22. Section "Device"
  23.     Identifier     "nvidia"
  24.     Driver         "nvidia"
  25.     VendorName     "NVIDIA Corporation"
  26.     BusID          "PCI:1:0:0"
  27.     Option         "AllowEmptyInitialConfiguration"
  28.     Option         "DPI" "96 x 96"
  29. EndSection
  30.  
  31. Section "Screen"                                                                                                                                              
  32.     Identifier     "nvidia"
  33.     Device         "nvidia"
  34.     Monitor        "Monitor0"
  35. EndSection
  36.  
  37. Section "Device"
  38.     Identifier     "intel"
  39.     Driver         "modesetting"
  40.     BusID          "PCI:0:2:0"
  41.     Option         "DPI" "96 x 96"
  42. EndSection
  43.  
  44. Section "Screen"
  45.     Identifier     "intel"
  46.     Device         "intel"
  47. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement