How to disable nouveau kernel driver

How to disable nouveau kernel driver

kernel driver in use nouveau

суббота, 13 июля 2013 г.

Как отключить драйвер Nouveau в Linux

При попытке установить драйвера для видеокарты Nvidia многие сталкивались вот с такой ошибкой:

ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution’s documentation for details on how to correctly disable the Nouveau kernel driver. WARNING: The modprobe configuration file to disable Nouveau, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf, is already present. Please be sure you have rebooted your system since that file was written. If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA driver README and your Linux distribution’s documentation for details on how to correctly disable the Nouveau kernel driver. ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Эта ошибка говорит о том что в настоящее время используется драйвер Nouveau и его нужно отключить для установки драйверов Nvidia.
Чтобы не возникало такой проблемы нужно отключить драйвер на начальном этапе загрузки системы. Для этого если система грузится как здесь Ubuntu 9.10 с флешки добавляем в menu.lst nouveau.modeset=0 после этого наш menu.lst будет выглядеть вот так:

title Start Ubuntu 9.10 from USB DISK
root (cd)
kernel /boot/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper noprompt cdrom-detect/try-usb=true persistent nouveau.modeset=0
initrd /boot/initrd.lz
boot

Следущий шаг удаляем все драйвера Nouveau пишем в терминале:

sudo apt-get purge xserver-xorg-video-nouveau

When installing CUDA in Ubuntu 16.04 by executing cuda_8.0.44_linux.run,

I got the following error message in /var/log/nvidia-installer.log

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Then I checked /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and got

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Any suggestion to disable Nouveau Kernel Driver?

I found this 2012 discussion but didn’t work for me.

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

2 Answers 2

According to the NVIDIA developer zone: Create a file

with the following contents:

Regenerate the kernel initramfs:

and finally: reboot

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

install some packages for build kernel:

now block and disable nouveau kernel driver:

WARNING This tutorial could break your system, make sure you backup your system before following the steps.

Installing the Offial nvidia drivers will return an error if the Nouveau kernel driver is currently in use. We will explain how to fix the error and install the official drivers.

At this step we will remove all nvidia related packages.

If you get the following error it means that you never had an nvidia package installed and is ok:

Now install some required dependencies:

now block and disable nouveau kernel driver:

And append the follow lines to the blacklist.conf:

Disable the Kernel nouveau by typing the following commands:

Thread: how to disable nouveau kernel driver?

Thread Tools
Display

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

how to disable nouveau kernel driver?

i am unable to install the nvidia driver on kubuntu11.04, i am told i need to disable the nouveau kernel driver. after searching i have not found an answer.

what do i need to do? thanks!

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

on next boot it will be disabled
you should boot to recovery mode and drop to normal user tty to install the nvidia driver
http://ubuntuforums.org/showthread.php?t=1682799

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

i already added ‘blacklist nouveau’ to this file, did a reboot, but i am still getting this error

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

Hi, what error, you did not list an error message.

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

Hi the error I am getting is from the nvidia driver installer, it will not install because the nouveau kernel driver is still running. Trying to blacklist nouveau as was suggested does not help. The nouveau driver still seems to be getting loaded. I want to know how to disable it from getting loaded.

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

Hi, go into synaptic or your package manager since I am not sure synaptic is installed by default in kubuntu 11.04 and type in the name of the driver then right click on it and check to remove completely.

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

Err. no, don’t even try that. Very bad idea, that basically causes the removal of all your programs.

I think you need to blacklist fbdev too; not entirely sure to be honest.

If you install the Nvidia proprietary driver from the repositories, you won’t need to modify any settings at all. Have you tried the version of the Nvidia driver from the repositories? (you could install the «jockey-gtk» package if you want Ubuntu’s Additional Drivers program to help you).

If your graphics card is too new for the repository version of the driver, then you could look for a PPA which should also not require Nouveau to be disabled.

How to disable nouveau kernel driver. Смотреть фото How to disable nouveau kernel driver. Смотреть картинку How to disable nouveau kernel driver. Картинка про How to disable nouveau kernel driver. Фото How to disable nouveau kernel driver

Re: how to disable nouveau kernel driver?

Oh Thanks I installed the nvidia driver from the repository and that worked, I now got both my dual monitor working fine. fyi, blacklisting fbdev did not help.

also I just did a «lsmod | grep nouveau» after i installed the nvidia driver /w a reboot and nouveau is gone, so now I can build the driver for my nvidia chipset if I need to!

[update] I went ahead and installed the latest nvidia from source. As an FYI you must uninstall the old nvidia that was installed from the repository using the software package manager like i did, otherwise x will fail to start as I found out.

Wpilot

суббота, 13 июля 2013 г.

Как отключить драйвер Nouveau в Linux

При попытке установить драйвера для видеокарты Nvidia многие сталкивались вот с такой ошибкой:

ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution’s documentation for details on how to correctly disable the Nouveau kernel driver. WARNING: The modprobe configuration file to disable Nouveau, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf, is already present. Please be sure you have rebooted your system since that file was written. If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA driver README and your Linux distribution’s documentation for details on how to correctly disable the Nouveau kernel driver. ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Эта ошибка говорит о том что в настоящее время используется драйвер Nouveau и его нужно отключить для установки драйверов Nvidia.
Чтобы не возникало такой проблемы нужно отключить драйвер на начальном этапе загрузки системы. Для этого если система грузится как здесь Ubuntu 9.10 с флешки добавляем в menu.lst nouveau.modeset=0 после этого наш menu.lst будет выглядеть вот так:

title Start Ubuntu 9.10 from USB DISK
root (cd)
kernel /boot/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper noprompt cdrom-detect/try-usb=true persistent nouveau.modeset=0
initrd /boot/initrd.lz
boot

Следущий шаг удаляем все драйвера Nouveau пишем в терминале:

sudo apt-get purge xserver-xorg-video-nouveau

I have installed Nvidia’s driver on my computer to enable deep learning for many times, and I will encounter different problems each time.

But today, I encountered a familiar old problem:

What is «Nouveau»

Before we disable Nouveau Kernel Driver, everyone must be concerned about what Nouveau is? Will disable driver affect the computer?

The following excerpt is from the wikipedia:

nouveau (/nuːˈvoʊ/) is a free and open-source graphics device driver for Nvidia video cards and the Tegra family of SoCs written by independent software engineers, with minor help from Nvidia employees.

We can see that Nouveau is a third-party and open source Nvidia driver, and many Linux distributions have this driver installed by default. However, if we download the Nvidia driver from the official website and want to update, we have to close the Nouveau driver first.

However, we don’t have to worry about any bad effects this will cause, after all, we are about to use the official Nvidia driver.

So the conclusion is, don’t worry too much about us banning it.

Disable Nouveau

First we need to create a new file:

Then we regenerate the kernel and restart:

After restarting, we can use the following command to confirm whether Nouveau has stopped working:

If nothing is printed, then congratulations! You have disabled Nouveau’s kernel driver. Now we can try again to see if we can install Nvidia’s official driver!

Как отключить «драйвер ядра Nouveau»?

Я пытаюсь установить проприетарный графический драйвер nvidia, который я скачал с сайта nvidia. Он не будет установлен, потому что он говорит, что «драйвер ядра Nouveau» необходимо сначала отключить.

Я открыл синаптик и удалил все, что имело название nvidia, nouveau или jockey. Это все еще не будет работать.

Что именно мне нужно сделать, чтобы отключить «драйвер ядра Nouveau»?

Просто быстрый вопрос: почему вы загружаете драйверы напрямую от Nvidia? Пакеты, доступные через jockey (приложение «Дополнительные драйверы»), должны подойти большинству людей, и если вы не вписываетесь в «большинство людей», использование X-SWAT PPA должно дать вам последнюю версию драйвера nvidia.

Запустите sudoedit /etc/modprobe.d/nvidia-graphics-drivers.conf и заполните его этим:

Затем запустите установщик и все должно быть в порядке.

После внесения изменений запустите:

Передайте аргумент ядра ( nouveau.blacklist=1 ) при загрузке, чтобы добавить драйвер в черный список, отредактировав ваш /etc/default/grub файл:

Я застрял с этим вопросом в течение длительного времени. После установки свежей копии Ubuntu 16.04 я установил cuda 8.0, используя deb (local):

Я просто маленький пингвин и обнаружил, что отключение / внесение в черный список nouveau нарушает многие функции в Ubuntu, особенно элементы управления окнами (например, отсутствуют меню и т. Д., Что хорошо, если вы знаете сочетания клавиш для навигации / работы.) Сами NVidia в файле readme подчеркивают возможную необходимость создать другой файл, если modeprobe.d / blacklist уже содержит что-либо еще. Можно перейти от mesa к драйверам vesa, отключив nouveau в ubuntu. Использование mesa или vesa даст разные списки в jockey (дополнительные драйверы), как и использование jockey-common (удобно для добавления старых драйверов в список jockey). В этом отделе многие проделали большую работу и лично обнаружили, что рекомендованные Драйвер был значительно улучшен за последние месяцы, а также драйвер NVidia 310, доступный либо в центре программного обеспечения Ubuntu, либо в дополнительных драйверах после активации предложенных обновлений в Источниках программного обеспечения (и затем обновления). Что я обнаружил после установки, так это то, что никогда не было установленного проприетарного драйвера, что означает, что такие мелочи, как размер значка программы запуска, не могут быть изменены (системные настройки> внешний вид), что указывает на 2-й сеанс, а не на 3-й сеанс (более новые версии). Итак, учитывая философию Ubuntu и тот факт, что разные люди используют свои машины для разных целей; возможно, стоит спросить: «Это ошибка?» и / или «Что происходит, когда nouveau отключен?

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *