Advertisement
Guest User

Untitled

a guest
Dec 25th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. # You will need latest NVIDIA drivers installed. At the time of writing, version is 331.20.
  2. # On ubuntu 13.10, it looks like this:
  3. sudo add-apt-repository ppa:xorg-edgers/ppa
  4. sudo apt-get update
  5. sudo apt-get install nvidia-331
  6.  
  7. # Now we need to install bumblebee:
  8. sudo add-apt-repository ppa:bumblebee/stable
  9. sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms
  10.  
  11. # Reboot
  12.  
  13. # Intel-virtual-output tool
  14.  
  15. # First, you will need latest xf86-video-intel driver installed (2.99). Ubuntu 13.10 comes with it,
  16. # so you don’t need to update driver in that case. However, what made all of this possible is the
  17. # latest release of intel-virtual-output tool, which comes bundled with xf86-video-intel driver
  18. # source. But, ubuntu’s package does not bundle it, and we need to compile it from source. One
  19. # MAJOR thing to note here is: DO NOT compile it from ubuntu’s deb-src package. That package is old,
  20. # and current release has some major fixes for the tool that we will actually need in order to have
  21. # everything working properly. So lets do it:
  22.  
  23. sudo apt-get install xorg-dev git autoconf automake libtool
  24. cd /usr/src
  25. git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
  26. cd xf86-video-intel
  27. ./autogen.sh
  28. cd tools
  29. make
  30. sudo cp intel-virtual-output /usr/bin/
  31. sudo chmod +x /usr/bin/intel-virtual-output
  32.  
  33. # Install scripts listed in this Gist and augtool:
  34. sudo vim /usr/local/bin/nvidia-enable
  35. sudo chmod +x /usr/local/bin/nvidia-enable
  36. sudo vim /usr/local/bin/nvidia-disable
  37. sudo chmod +x /usr/local/bin/nvidia-disable
  38. sudo mkdir -p /etc/bumblebee/dual-monitor
  39. sudo vim /etc/bumblebee/dual-monitor/enable.aug
  40. sudo vim /etc/bumblebee/dual-monitor/disable.aug
  41.  
  42. sudo apt-get install augeas-tools
  43.  
  44. # Done, now enable external monitors with: `nvidia-enable` and disable with `nvidia-enable` command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement