Advertisement
rmagnelli

X-org confs

Feb 3rd, 2016
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 0 0
  1. bumblebee.conf
  2.  
  3. # Configuration file for Bumblebee. Values should **not** be put between quotes
  4.  
  5. ## Server options. Any change made in this section will need a server restart
  6. # to take effect.
  7. [bumblebeed]
  8. # The secondary Xorg server DISPLAY number
  9. VirtualDisplay=:8
  10. # Should the unused Xorg server be kept running? Set this to true if waiting
  11. # for X to be ready is too long and don't need power management at all.
  12. KeepUnusedXServer=false
  13. # The name of the Bumbleblee server group name (GID name)
  14. ServerGroup=bumblebee
  15. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  16. # server exits.
  17. TurnCardOffAtExit=false
  18. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  19. # be ignored.
  20. NoEcoModeOverride=false
  21. # The Driver used by Bumblebee server. If this value is not set (or empty),
  22. # auto-detection is performed. The available drivers are nvidia and nouveau
  23. # (See also the driver-specific sections below)
  24. Driver=
  25. # Directory with a dummy config file to pass as a -configdir to secondary X
  26. XorgConfDir=/etc/bumblebee/xorg.conf.d
  27.  
  28. ## Client options. Will take effect on the next optirun executed.
  29. [optirun]
  30. # Acceleration/ rendering bridge, possible values are auto, virtualgl and
  31. # primus.
  32. Bridge=auto
  33. # The method used for VirtualGL to transport frames between X servers.
  34. # Possible values are proxy, jpeg, rgb, xv and yuv.
  35. VGLTransport=proxy
  36. # List of paths which are searched for the primus libGL.so.1 when using
  37. # the primus bridge
  38. PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
  39. # Should the program run under optirun even if Bumblebee server or nvidia card
  40. # is not available?
  41. AllowFallbackToIGC=false
  42.  
  43.  
  44. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  45. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  46. # detection resolves to NAME).
  47. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  48. # values are: auto - automatically detect which PM method to use
  49. # bbswitch - new in BB 3, recommended if available
  50. # switcheroo - vga_switcheroo method, use at your own risk
  51. # none - disable PM completely
  52. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
  53.  
  54. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  55. [driver-nvidia]
  56. # Module name to load, defaults to Driver if empty or unset
  57. KernelDriver=nvidia
  58. PMMethod=auto
  59. # colon-separated path to the nvidia libraries
  60. LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
  61. # comma-separated path of the directory containing nvidia_drv.so and the
  62. # default Xorg modules path
  63. XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
  64. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
  65.  
  66. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  67. [driver-nouveau]
  68. KernelDriver=nouveau
  69. PMMethod=auto
  70. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  71.  
  72.  
  73.  
  74. xorg.conf.nouveau
  75.  
  76. Section "ServerLayout"
  77. Identifier "Layout0"
  78. Option "AutoAddDevices" "false"
  79. Option "AutoAddGPU" "false"
  80. EndSection
  81.  
  82. Section "Device"
  83. Identifier "DiscreteNvidia"
  84. Driver "nouveau"
  85.  
  86. # If the X server does not automatically detect your VGA device,
  87. # you can manually set it here.
  88. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
  89. # as you see in the commented example.
  90. # This Setting is needed on Ubuntu 13.04.
  91. # BusID "PCI:01:00:0"
  92.  
  93. EndSection
  94.  
  95.  
  96.  
  97. xorg.conf.nvidia
  98.  
  99. Section "ServerLayout"
  100. Identifier "Layout0"
  101. Option "AutoAddDevices" "false"
  102. Option "AutoAddGPU" "false"
  103. EndSection
  104.  
  105. Section "Device"
  106. Identifier "DiscreteNvidia"
  107. Driver "nvidia"
  108. VendorName "NVIDIA Corporation"
  109.  
  110. # If the X server does not automatically detect your VGA device,
  111. # you can manually set it here.
  112. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
  113. # as you see in the commented example.
  114. # This Setting may be needed in some platforms with more than one
  115. # nvidia card, which may confuse the proprietary driver (e.g.,
  116. # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
  117. # BusID "PCI:01:00:0"
  118.  
  119. # Setting ProbeAllGpus to false prevents the new proprietary driver
  120. # instance spawned to try to control the integrated graphics card,
  121. # which is already being managed outside bumblebee.
  122. # This option doesn't hurt and it is required on platforms running
  123. # more than one nvidia graphics card with the proprietary driver.
  124. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
  125. # If this option is not set, the new Xorg may blacken the screen and
  126. # render it unusable (unless you have some way to run killall Xorg).
  127. Option "ProbeAllGpus" "false"
  128.  
  129. Option "NoLogo" "true"
  130. Option "UseEDID" "false"
  131. Option "UseDisplayDevice" "none"
  132. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement