Advertisement
Guest User

Untitled

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