Advertisement
NameL3ss

Untitled

Apr 28th, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. 02 abr 2015 17:06
  2. CÓDIGO: SELECCIONAR TODO
  3. 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
  4. 01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)
  5.  
  6.  
  7. En Debian Sid tengo funcionando la Nvidia 610M tanto con nouveau (drivers libres) como con nvidia (drivers privativos) sin necesidad de usar repositorios externos. Básicamente, lo que hice (tras varias peleas con ello), fué instalar los controladores correspondientes y bumblebee-nvidia:
  8. CÓDIGO: SELECCIONAR TODO
  9. aptitude install xserver-xorg-video-nouveau xserver-xorg-video-nvidia bumblebee-nvidia
  10.  
  11. Y una vez hecho esto, configurar bbswitch para que mantenga la nvidia apagada:
  12. CÓDIGO: SELECCIONAR TODO
  13. ~$ cat /etc/modprobe.d/bbswitch.conf
  14. options bbswitch load_state=0 unload_state=0
  15.  
  16.  
  17. Luego, en el archivo /etc/bumblebee/bumblebee.conf le indicas si quieres usar nouveau o nvidia, aqui tienes el contenido del mio, configurado para que use nouveau:
  18.  
  19. # Configuration file for Bumblebee. Values should **not** be put between quotes
  20.  
  21. ## Server options. Any change made in this section will need a server restart
  22. # to take effect.
  23. [bumblebeed]
  24. # The secondary Xorg server DISPLAY number
  25. VirtualDisplay=:8
  26. # Should the unused Xorg server be kept running? Set this to true if waiting
  27. # for X to be ready is too long and don't need power management at all.
  28. KeepUnusedXServer=false
  29. # The name of the Bumbleblee server group name (GID name)
  30. ServerGroup=bumblebee
  31. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  32. # server exits.
  33. TurnCardOffAtExit=true
  34. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  35. # be ignored.
  36. NoEcoModeOverride=false
  37. # The Driver used by Bumblebee server. If this value is not set (or empty),
  38. # auto-detection is performed. The available drivers are nvidia and nouveau
  39. # (See also the driver-specific sections below)
  40. Driver=nouveau
  41. # Directory with a dummy config file to pass as a -configdir to secondary X
  42. XorgConfDir=/etc/bumblebee/xorg.conf.d
  43.  
  44. ## Client options. Will take effect on the next optirun executed.
  45. [optirun]
  46. # Acceleration/ rendering bridge, possible values are auto, virtualgl and
  47. # primus.
  48. Bridge=auto
  49. # The method used for VirtualGL to transport frames between X servers.
  50. # Possible values are proxy, jpeg, rgb, xv and yuv.
  51. VGLTransport=proxy
  52. # List of paths which are searched for the primus libGL.so.1 when using
  53. # the primus bridge
  54. PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
  55. # Should the program run under optirun even if Bumblebee server or nvidia card
  56. # is not available?
  57. AllowFallbackToIGC=false
  58.  
  59.  
  60. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  61. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  62. # detection resolves to NAME).
  63. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  64. # values are: auto - automatically detect which PM method to use
  65. # bbswitch - new in BB 3, recommended if available
  66. # switcheroo - vga_switcheroo method, use at your own risk
  67. # none - disable PM completely
  68. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
  69.  
  70. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  71. [driver-nvidia]
  72. # Module name to load, defaults to Driver if empty or unset
  73. KernelDriver=nvidia-current
  74. PMMethod=bbswitch
  75. # colon-separated path to the nvidia libraries
  76. LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
  77. # comma-separated path of the directory containing nvidia_drv.so and the
  78. # default Xorg modules path
  79. XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
  80. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
  81.  
  82. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  83. [driver-nouveau]
  84. KernelDriver=nouveau
  85. PMMethod=bbswitch
  86. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  87.  
  88. Y, si todo va bien, puedes ejecutar cualquier programa usando la nvidia con los comandos optirun programa o primusrun programa. Estos comandos hacen que bbswitch encienda la gráfica, bumblebee hace que el programa use la nvidia y presente el resultado a través de la intel (si, la intel siempre está en uso, la nvidia no tiene capacidad para presentar el resultado en pantalla, es la cagada del Optimus), y apagará la nvidia cuando finalice la ejecución del programa.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement