Uninstalling nvidia driver linux

Содержание
  1. NVIDIA
  2. nouveau (Open Source Driver)
  3. nvidia (Proprietary Driver)
  4. 32-bit program support (glibc only)
  5. Reverting from nvidia to nouveau
  6. Uninstalling nvidia
  7. Keeping both drivers
  8. How to Install Nvidia Driver on Ubuntu 20.04
  9. Check hardware Information of GPU
  10. Install Nvidia drivers using from GUI
  11. Install Nvidia driver from the command line (CLI)
  12. Verify using nvidia-smi
  13. Configure the Nvidia Graphics driver
  14. How to uninstall the proprietary Nvidia driver
  15. Uninstall Nvidia Driver through GUI
  16. Conclusion
  17. Проприетарный драйвер для видеокарт Nvidia
  18. Содержание
  19. Определение модели видеокарты
  20. Выбор версии драйвера
  21. Установка драйвера из официального репозитория Ubuntu (рекомендуется)
  22. Установка более новой версии драйвера из PPA
  23. Установка драйвера с официального сайта Nvidia (сборка из исходников)
  24. Удаление драйвера после установки из исходников
  25. Устранение возможных проблем
  26. Неправильно определяются разрешение и частота монитора
  27. Медленно работает (тормозит) интерфейс в Ubuntu на видеокартах Nvidia
  28. Исправление загрузочного экрана (Plymouth)
  29. Исправление загрузочного экрана (Plymouth) в Ubuntu 10.04, 10.10, 11.04, 11.10
  30. Дополнительные опции
  31. SLI режим
  32. Настройка TV-out
  33. Техническая поддержка nVidia
  34. Ссылки

NVIDIA

nouveau (Open Source Driver)

This is a reverse engineered driver largely developed by the community, with some documentation provided by Nvidia. It tends to perform well on older hardware, and is required to use a large portion of the available Wayland compositors.

At the time of writing, graphics cards starting with second generation Maxwell (GTX 9xx) are unable to perform at their full potential with nouveau . This is because the linux-firmware collection is missing signed firmware blobs needed to reclock these cards past their boot frequencies.

To use nouveau with Wayland, you only need the mesa-dri package, which provides the accelerated OpenGL driver. On X11, you also need an appropriate Xorg driver. You can either install xf86-video-nouveau or use the universal modesetting driver bundled with Xorg (this is the only option on Tegra based ARM boards). The former can make use of GPU-specific 2D acceleration paths, which is primarily useful on older cards with specialized fixed function hardware (the modesetting driver will accelerate 2D using OpenGL via GLAMOR). When in doubt, it’s a good idea to try xf86-video-nouveau first.

Note: xf86-video-nouveau is usually installed by default if you use the xorg metapackage. If you use xorg-minimal , you will need to install it manually, either directly or through xorg-video-drivers .

nvidia (Proprietary Driver)

The proprietary drivers are available in the nonfree repository.

Check if your graphics card belongs to the legacy branch. If it does not, install the nvidia package. Otherwise you should install the appropriate legacy driver, nvidia390 . The older legacy driver, nvidia340 , is no longer available, and users are encouraged to switch to nouveau.

Brand Type Model Driver Package
NVIDIA Proprietary 600+ nvidia
NVIDIA Proprietary 400/500 Series nvidia390

The proprietary driver integrates in the kernel through DKMS.

This driver offers better performance and power handling, and is recommended where performance is needed.

32-bit program support (glibc only)

In order to run 32-bit programs with driver support, you need to install additional packages.

If using the nouveau driver, install the mesa-dri-32bit package.

If using the nvidia driver, install the nvidia -libs-32bit package. represents the legacy driver version ( 390 ) or can be left empty for the main driver.

Reverting from nvidia to nouveau

Uninstalling nvidia

In order to revert to the nouveau driver, install the nouveau driver (if it was not installed already), then remove the nvidia or nvidia390 package, as appropriate.

If you were using the obsolete nvidia340 driver, you might need to install the libglvnd package after removing the nvidia340 package.

Keeping both drivers

It is possible to use the nouveau driver while still having the nvidia driver installed. To do so, remove the blacklisting of nouveau in /etc/modprobe.d/nouveau_blacklist.conf , /usr/lib/modprobe.d/nvidia.conf , or /usr/lib/modprobe.d/nvidia-dkms.conf by commenting it out:

For Xorg, specify that it should load the nouveau driver rather than the nvidia driver by creating the file /etc/X11/xorg.conf.d/20-nouveau.conf with the following content:

You may need to reboot your system for these changes to take effect.

Источник

How to Install Nvidia Driver on Ubuntu 20.04

As Linux getting more user friendly, game developers are adding more support thanks to Steam. The performance of graphics processing units (GPUs) mainly depends on drivers. Ubuntu by default use open source video driver Nouveau which has limited support and features when compared with proprietary Nvidia drivers.

The proprietary Nvidia driver is essential to Ubuntu users looking to play games. However, if you are a basic user, there is no need to have this driver installed, as the open-source one works just fine.

In this tutorial, we are going to learn different ways to install Nvidia drivers on Ubuntu 20.04 LTS.

Check hardware Information of GPU

Before installing Nvidia drivers on Ubuntu, ensure that you have Nvidia GPU in your system. There are lots of commands available to get Linux hardware details.

To confirm this, simply run the following hwinfo command.

You can check which card is being used by the prime-select command:

The lshw command can display hardware and driver details of the currently used Nvidia card.

The lspci command is another option to get the GPU hardware details.

If you have installed inxi tool, run the following command.

Install Nvidia drivers using from GUI

Lets first check how to install Nvidia driver from the graphical user interface. On the main menu, type «software update manager» and click on it to open.

On the software updater pop-up, click on the ‘Settings & Livepatch‘ button as shown.

This will launch the ‘Software and Updates‘ window as shown below:

At the top-most section of the ‘Software and updates’ windows, be sure to find a couple of options displayed which include Ubuntu software, other software, updates e.t.c. In this case, click on Additional Drivers, you can see there, the ‘Nvidia — driver -435’ (proprietary, tested) is set up as default driver used for Nvidia card, along with some proprietary divers listed.

Both, ‘Nvidia — drivers 430’ (proprietary) and ‘Nvidia — drivers 390’ (proprietary) are available for GeForce GTX 1080 Ti card. Select the first option to install Nvidia driver 430. When you are done, click on the Apply changes button to install the driver.

Then wait for the download to complete from the internet and click on the close button.

Reboot your computer for the changes to take effect. Run the following to reboot your PC.

Install Nvidia driver from the command line (CLI)

Then, run the following commands to check the list of driver devices available for the Nvidia card from the default Ubuntu repository.

There are four Nvidia drivers available for the GeForce MX130 model. They include the Nvidia driver -440 non-free (which is recommended for Ubuntu system), Nvidia driver -435, and -390 distro non-free and the nouveau distro free builtin opensource video driver (default). Now you can run the following commands to install the specific driver you want.

After the Nvidia diver has been installed, we have to reboot the computer in order to allow Nvidia prime (which is the technology) to switch in between the Intel Graphics and the Nvidia Graphics card.

Verify using nvidia-smi

The nvidia-smi command line is a utility that is used for providing monitor and management capabilities for each and every devices i.e Nvidia Tesla, GRID, Quadro, and GeForce from Fermi and other higher architect families. Open the Terminal application and run the following command to see the Graphics Processing Unit and the process that is using the Nvidia GPU.

Configure the Nvidia Graphics driver

The Nvidia settings command starts a Graphics User Interface(GUI) tool for configuration of Nvidia Graphics driver. This enables you to have a glance at all the GPU information and configure external monitors that are connected to your system.

Run the command below to launch the ‘Nvidia and Server Settings‘ window.

How to uninstall the proprietary Nvidia driver

From open forums, I have noticed many users end up issues with removing Nvidia drivers and reinstalling. Let me share the steps I have followed to successfully uninstall the Nvidia driver and switch to the nouveau driver.

Step 1: Run the following command to confirm Nvidia drivers are installed in your system.

Step 2: Run the following commands to uninstall the proprietary Nvidia driver.

Note that, the use of purge command will remove Nvidia diver together with all configurations that will be made. Run the flowing command to reinstall the Ubuntu desktop package.

Step 3: Run these commands to switch back to the nouveau driver.

Step 3: Remove the Xorg configuration file

Run the rm command to remove the Xorg configuration file

Step 4: After that, reboot your system.

Uninstall Nvidia Driver through GUI

Uninstalling the Nvidia driver using a GUI is quite easy. First, locate the ‘software & Updates’ app then click on it to open. Once it has opened, select on the Additional Drivers tab.

This will display all the Nvidia drivers that are available on Ubuntu. On the list under the ‘Nvidia Corporation,’ select » using X.Org X server — Nouveau display.» This option will pass up the Nvidia graphics diver and it will install Nouveau display driver. For changes to take effect, click on the Apply changes button, and wait for some minutes.

Once Nvidia driver is uninstalled, a message will display saying, «No proprietary drivers are in use» Now close the Software & Updates application and then reboot your computer.

Conclusion

In this tutorial, we have covered two ways that you can use to install Nvidia drivers on Ubuntu 20.04 LTS.

With that said, Nvidia is bringing Vulkan which is intended to offer higher performance and more balanced CPU/GPU usage driver to Linux, a replacement for OpenGL.

In recent years Redhat developers are adding extra code to Nouveau improve opensource code to make it much better, let’s hope the near future we could use it for the modern game.

From Ubuntu 19.10, proprietary Nvidia drivers are available on install media (ie in ISO), which will bring a better fresh install experience for ubuntu users.

If you have any questions or feedback, feel free to leave a comment.

Источник

Проприетарный драйвер для видеокарт Nvidia

Содержание

В этой статье описаны установка, настройка, обновление, удаление проприетарного драйвера для видеокарт Nvidia.

Определение модели видеокарты

Для определения модели видеокарты запустите терминал ( Ctrl + Alt + T ) и выполните команду:

Выбор версии драйвера

На сайте Nvidia выложены несколько версий видео драйвера, можно нажать на каждую и посмотреть список поддерживаемых видеокарт. Так вы сможете определить какой драйвер вам нужен.

Установка драйвера из официального репозитория Ubuntu (рекомендуется)

Устанавливаем драйвер и программу для его настройки, запустите терминал ( Ctrl + Alt + T ) и выполните команду:

Получится примерно такой вывод, в последней строке указано название используемого видео драйвера

Установка более новой версии драйвера из PPA

Для Ubuntu существует неофициальный репозиторий, в котором выкладываются новые версии драйверов, это драйверы собранные из исходников с сайта Nvidia упакованные в deb пакеты.

Получится примерно такой вывод, в последней строке указано название используемого видео драйвера

Установка драйвера с официального сайта Nvidia (сборка из исходников)

Удалите предыдущие драйвера, установленные через менеджер драйверов, чтобы в системе пакетов не возникло ошибок:

Если драйвера ранее устанавливались аналогичным текущему способу (из исходных кодов), удалять такие драйвера нет необходимости, новая ручная установка перепишет файлы предыдущей версии автоматически.

Добавьте в него свободные видео драйверы, которые могут работать с видеокартами Nvidia:

Сохраните изменения и закройте текстовй редактор.

переключитесь на консоль командой Ctrl-Alt-F1 и войдите в систему под обычным пользователем;

Запустите установщик драйверов (из каталога куда был сохранен драйвер):

Вместо NVIDIA-Linux-XXX-X.X-XXX-pkg1.run укажите точное имя пакета с драйверами, которые вы скачали с официального сайта
(это же действие удобнее делать через Midnight Commander, запустить mc с правами администратора, перейти в каталог, выделить файл и нажать энтер).

Отредактируйте файл xorg.conf в соответствии с приведенным ниже примером:

Для Ubuntu версии 11.10 и выше:

Для старых версий Ubuntu, а также для тех, кто использует GDM вместо LightDM:

и ищите ошибку в своих действиях или спрашивайте в обсуждении на форуме.

Удаление драйвера после установки из исходников

Если требуется полностью удалить установленный вручную драйвер Nvidia, нужно выполнить следующее:

Запустите установщик драйверов (из каталога куда был сохранен драйвер) с ключом –uninstall:

Вместо NVIDIA-Linux-XXX-X.X-XXX-pkg1.run укажите точное имя пакета с драйверами, которые вы скачали.

Устранение возможных проблем

Неправильно определяются разрешение и частота монитора

..разрешение соответственно меняем на то, которое вам нужно

Медленно работает (тормозит) интерфейс в Ubuntu на видеокартах Nvidia

Исправление загрузочного экрана (Plymouth)

Измените параметры загрузчика, для этого в терминале введите:

Найдите и добавьте/исправьте строчки на следующие, изменив разрешение на своё:

Возможно потребуется использовать 16-битную глубину цвета (GRUB_GFXMODE=1440x900x16)

Исправление загрузочного экрана (Plymouth) в Ubuntu 10.04, 10.10, 11.04, 11.10

Измените параметры загрузчика, для этого в терминале введите:

Найдите и добавьте/исправьте строчки на следующие, меняя «номер» и разрешение на свои:

Значение vga=«номер» для GRUB_CMDLINE_LINUX берется из вывода команды

Отредактируйте файл /etc/grub.d/00_header

Найдите строку и впишите нужное вам разрешение

Также сразу под этой строкой допишите

Далее в этом же файле найдите строку и замените в ней разрешение на нужное:

Добавьте в файл строку, меняя в ней разрешение на нужное:

Дополнительные опции

В некоторых случаях позволяет ускорить работу с шейдерами

Позволяет для видеокарт GF9xxx, GTX2xx и новее избежать разбиения изображения на 6 маленьких экранов

Наиболее часто помогает, опция убирает проверку различных параметров портов видеокарты и опций передаваемых монитором, но воспринимаемых системой ошибочно.

Выключает считывание EDID монитора, который используется системой как источник возможных режимов, диапазонов частот, а также считывания физических размеров дисплея и определения количества точек на дюйм.

Выключает тест памяти видеокарты на аппаратные ограничения пропускной способности.

Опция вызывает принудительную синхронизацию с точными таймингами, указанными в ModeLine, а не с приближенными к ним, которые указаны в EDID.

SLI режим

Настройка TV-out

Подключение TV настраивается обычно через Система⇒Администрирование⇒NVIDIA X Server Settings, но если после настройки так и не удается вывести изображение на TV, добавляем следующие строки в секцию «Screen»:

Режим опции «TVOutFormat» можно задать вручную, вписав вместо «AUTOSELECT» одно из следующих значений:

TVOutFormat Поддерживаемые TV форматы
«AUTOSELECT» PAL, NTSC, HD
«COMPOSITE» PAL, NTSC
«SVIDEO» PAL, NTSC
«COMPONENT» HD
«SCART» PAL, NTSC

Режим опции «TVStandard» можно менять взависимости от того формата который вам нужен, вписав вместо «PAL-B» одно из следующих значений:

TVStandard Описание
«PAL-B»
«PAL-D»
«PAL-G»
«PAL-N»
«NTSC-J»
«NTSC-M»
«HD480i»
«HD480p»
«HD576i»
«HD576p»
«HD720p»
«HD1080i»
«HD1080p»

Техническая поддержка nVidia

Если при использовании проприетарного драйвера nVidia у вас возникнут какие-либо проблемы вы можете обратиться в техническую поддержку компании nVidia:

Ссылки

— полный перевод документации драйвера NVIDIA для операционных систем Linux

— дополнительные опции и документация к ним

ubuntu-x-swat/+archive/x-updates — неофициальный репозиторий со стабильными драйверами на Launchpad

xorg-edgers/+archive/ppa — неофициальный репозиторий с новыми драйверами на Launchpad

© 2012 Ubuntu-ru — Русскоязычное сообщество Ubuntu Linux.
© 2012 Canonical Ltd. Ubuntu и Canonical являются зарегистрированными торговыми знаками Canonical Ltd.

Источник

Читайте также:  Вводим пароль администратора mac os
Оцените статью