Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # You will need latest NVIDIA drivers installed. At the time of writing, version is 331.20.
- # On ubuntu 13.10, it looks like this:
- sudo add-apt-repository ppa:xorg-edgers/ppa
- sudo apt-get update
- sudo apt-get install nvidia-331
- # Now we need to install bumblebee:
- sudo add-apt-repository ppa:bumblebee/stable
- sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms
- # Reboot
- # Intel-virtual-output tool
- # First, you will need latest xf86-video-intel driver installed (2.99). Ubuntu 13.10 comes with it,
- # so you don’t need to update driver in that case. However, what made all of this possible is the
- # latest release of intel-virtual-output tool, which comes bundled with xf86-video-intel driver
- # source. But, ubuntu’s package does not bundle it, and we need to compile it from source. One
- # MAJOR thing to note here is: DO NOT compile it from ubuntu’s deb-src package. That package is old,
- # and current release has some major fixes for the tool that we will actually need in order to have
- # everything working properly. So lets do it:
- sudo apt-get install xorg-dev git autoconf automake libtool
- cd /usr/src
- git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
- cd xf86-video-intel
- ./autogen.sh
- cd tools
- make
- sudo cp intel-virtual-output /usr/bin/
- sudo chmod +x /usr/bin/intel-virtual-output
- # Install scripts listed in this Gist and augtool:
- sudo vim /usr/local/bin/nvidia-enable
- sudo chmod +x /usr/local/bin/nvidia-enable
- sudo vim /usr/local/bin/nvidia-disable
- sudo chmod +x /usr/local/bin/nvidia-disable
- sudo mkdir -p /etc/bumblebee/dual-monitor
- sudo vim /etc/bumblebee/dual-monitor/enable.aug
- sudo vim /etc/bumblebee/dual-monitor/disable.aug
- sudo apt-get install augeas-tools
- # Done, now enable external monitors with: `nvidia-enable` and disable with `nvidia-enable` command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement