spacepaste

  1.  
  2. Section "ServerLayout"
  3. Identifier "layout"
  4. Screen 0 "nvidia"
  5. Inactive "intel"
  6. EndSection
  7. Section "Device"
  8. Identifier "intel"
  9. # modesetting is not needed with recent Intel drivers:
  10. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup
  11. #Driver "modesetting"
  12. Driver "intel"
  13. BusID "PCI:0:2:0"
  14. Option "AccelMethod" "SNA"
  15. #Option "AccelMethod" "uxa"
  16. #Option "AccelMethod" "none"
  17. # The SNA acceleration method can cause tearing. To fix this, enable the
  18. # "TearFree" option
  19. #Option "TearFree" "true"
  20. EndSection
  21. Section "Screen"
  22. Identifier "intel"
  23. Device "intel"
  24. EndSection
  25. Section "Device"
  26. Identifier "nvidia"
  27. Driver "nvidia"
  28. BusID "PCI:1:0:0"
  29. Option "ConstrainCursor" "off"
  30. #Option "NoLogo" "true"
  31. # Setting ProbeAllGpus to false prevents the new proprietary driver instance
  32. # spawned to try to control the integrated graphics card, which is already
  33. # being managed outside bumblebee. This option doesn't hurt and it is
  34. # required on platforms running more than one nvidia graphics card with the
  35. # proprietary driver. (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M
  36. # GT). If this option is not set, the new Xorg may blacken the screen and
  37. # render it unusable (unless you have some way to run killall Xorg).
  38. #Option "ProbeAllGpus" "false"
  39. EndSection
  40. Section "Screen"
  41. Identifier "nvidia"
  42. Device "nvidia"
  43. Option "AllowEmptyInitialConfiguration" "on"
  44. Option "IgnoreDisplayDevices" "CRT"
  45. # The following option is required for dmenu to work on a multi-monitor
  46. # setup. See `man nvidia-xconfig` for more information and
  47. # https://bbs.archlinux.org/viewtopic.php?id=206132
  48. # BUG: dmenu spans over all monitors
  49. #Option "nvidiaXineramaInfo" "False"
  50. # Uncomment this line if your computer has no display devices connected to
  51. # the NVIDIA GPU. Leave it commented if you have display devices connected
  52. # to the NVIDIA GPU that you would like to use.
  53. #Option "UseDisplayDevice" "none"
  54. #SubSection "Display"
  55. # Depth 24
  56. # Modes "nvidia-auto-select"
  57. #EndSubSection
  58. EndSection
  59.