Если вы используете более новый компьютер, есть хорошая вероятность, что он поддерживает UEFI.
Теперь я понимаю, что это старый пост, но если у кого-то такая же проблема, многие из этих ответов просто не сработают. Поэтому, если вы хотите создать загрузочный USB из Windows со всеми поддерживаемыми новыми технологиями (UEFI, GPT), вы должны использовать Rufus.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Записать это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Запишите это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Запишите это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Записать это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Записать это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Запишите это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.
По-прежнему существуют проблемы, которые нужно решить с помощью Optimus, например, то, что Дэвид Эйрли называет «обратным оптимизмом», чтобы заставить HDMI и другие видеовыходы работать прямо с карты nVidia: http://airlied.livejournal.com/76723 .html
Пожалуйста, присоединитесь к этой команде , если вы новичок, нажав на ссылку «Присоединиться к команде» справа на странице панели запуска. Важно, чтобы как можно больше пользователей в сообществе обращалось за соответствующей поддержкой, даже если вы нашли неочевидный способ заставить его работать на вас.
Извлеките мои скрипты для включения / выключения внешних мониторов:
Установка:
# 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 git 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 augtool: sudo apt-get install augeas-tools
Запишите это содержимое в файл /etc/bumblebee/dual-monitor/disable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer false set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod auto set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod auto set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddDevices" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last() + 1] "AutoAddGPU" set /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseEDID" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "false" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last() + 1] "UseDisplayDevice" set /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[last()]/value "none" save
Записать это содержимое в файл /etc/bumblebee/dual-monitor/enable.aug
:
set /augeas/load/PHP/incl[last()] /etc/bumblebee/bumblebee.conf set /augeas/load/Xorg/incl[last()] /etc/bumblebee/xorg.conf.nvidia load set /files/etc/bumblebee/bumblebee.conf/bumblebeed/KeepUnusedXServer true set /files/etc/bumblebee/bumblebee.conf/driver-nvidia/PMMethod none set /files/etc/bumblebee/bumblebee.conf/driver-nouveau/PMMethod none rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddDevices"] rm /files/etc/bumblebee/xorg.conf.nvidia/ServerLayout/Option[. = "AutoAddGPU"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseDisplayDevice"] rm /files/etc/bumblebee/xorg.conf.nvidia/Device/Option[. = "UseEDID"] save
Записать это содержимое в файл /usr/local/bin/nvidia-enable
:
#!/bin/bash sudo augtool --noload --file /etc/bumblebee/dual-monitor/enable.aug sudo modprobe bbswitch optirun true intel-virtual-output
Записать это содержимое в файл /usr/local/bin/nvidia-disable
:
#!/bin/bash PID=$(ps ax | grep Xorg | grep :8 | grep -v grep | awk '{print $1}') # Kill the second X server. if [ ! -z $PID ]; then sudo kill -15 $PID fi # Now you need to turn off nvidia card completely. if lsmod | grep -q nvidia; then sudo rmmod nvidia fi sudo tee /proc/acpi/bbswitch <<<OFF sudo augtool --noload --file /etc/bumblebee/dual-monitor/disable.aug sudo service bumblebeed restart
Установить перми:
sudo chmod +x /usr/local/bin/nvidia-enable sudo chmod +x /usr/local/bin/nvidia-disable
Теперь вы готовы к запуску: nvidia-enable
и nvidia-disable
для включения и отключения Дискретная карта Nvidia и внешние дисплеи.
Оригинальная статья , которая получает большинство кредитов.