Advertisement
Guest User

Untitled

a guest
May 10th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. // modprobe bbswitch
  2. [vexisu@PowerBook ~]$ sudo modprobe bbswitch
  3. [sudo] hasło użytkownika vexisu:
  4. modprobe: ERROR: could not insert 'bbswitch': No such device
  5.  
  6.  
  7. // tee /proc/acpi/bbswitch <<<ON
  8. [vexisu@PowerBook ~]$ sudo tee /proc/acpi/bbswitch <<<ON
  9. tee: /proc/acpi/bbswitch: Nie ma takiego pliku ani katalogu
  10. ON
  11.  
  12.  
  13. // zawartość /etc/bumblebee/bumblebee.conf
  14. [vexisu@PowerBook ~]$ cat /etc/bumblebee/bumblebee.conf
  15. # Configuration file for Bumblebee. Values should **not** be put between quotes
  16.  
  17. ## Server options. Any change made in this section will need a server restart
  18. # to take effect.
  19. [bumblebeed]
  20. # The secondary Xorg server DISPLAY number
  21. VirtualDisplay=:8
  22. # Should the unused Xorg server be kept running? Set this to true if waiting
  23. # for X to be ready is too long and don't need power management at all.
  24. KeepUnusedXServer=false
  25. # The name of the Bumbleblee server group name (GID name)
  26. ServerGroup=bumblebee
  27. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  28. # server exits.
  29. TurnCardOffAtExit=false
  30. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  31. # be ignored.
  32. NoEcoModeOverride=false
  33. # The Driver used by Bumblebee server. If this value is not set (or empty),
  34. # auto-detection is performed. The available drivers are nvidia and nouveau
  35. # (See also the driver-specific sections below)
  36. Driver=radeon
  37. # Directory with a dummy config file to pass as a -configdir to secondary X
  38. XorgConfDir=/etc/bumblebee/xorg.conf.d
  39. # Xorg binary to run
  40. XorgBinary=Xorg
  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. Bridge=auto
  47. # The method used for VirtualGL to transport frames between X servers.
  48. # Possible values are proxy, jpeg, rgb, xv and yuv.
  49. VGLTransport=proxy
  50. # List of paths which are searched for the primus libGL.so.1 when using
  51. # the primus bridge
  52. PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
  53. # Should the program run under optirun even if Bumblebee server or nvidia card
  54. # is not available?
  55. AllowFallbackToIGC=false
  56.  
  57.  
  58. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  59. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  60. # detection resolves to NAME).
  61. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  62. # values are: auto - automatically detect which PM method to use
  63. # bbswitch - new in BB 3, recommended if available
  64. # switcheroo - vga_switcheroo method, use at your own risk
  65. # none - disable PM completely
  66. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
  67.  
  68. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  69. [driver-nvidia]
  70. # Module name to load, defaults to Driver if empty or unset
  71. KernelDriver=nvidia
  72. PMMethod=auto
  73. # colon-separated path to the nvidia libraries
  74. LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
  75. # comma-separated path of the directory containing nvidia_drv.so and the
  76. # default Xorg modules path
  77. XorgModulePath=/usr/lib/nvidia/xorg,/usr/lib/xorg/modules
  78. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
  79.  
  80. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  81. [driver-nouveau]
  82. KernelDriver=nouveau
  83. PMMethod=auto
  84. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  85.  
  86.  
  87. // lspci -k | grep -A 2 -E "(VGA|3D)"
  88. [vexisu@PowerBook ~]$ lspci -k | grep -A 2 -E "(VGA|3D)"
  89. 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
  90. Subsystem: Dell Device 0598
  91. Kernel driver in use: i915
  92. --
  93. 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)
  94. Kernel driver in use: radeon
  95. Kernel modules: radeon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement