Advertisement
edmundlaugasson

/etc/bumblebee/*

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