Удалить видеодрайвер линукс минт

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[SOLVED] — Howto Uninstall Nvidia Drivers?

Post by jethro10 » Wed Sep 12, 2012 8:50 am

Hi,
I don’t often need help, but am stuck.
I had a working Mint 13 with Cinnamon desktop, with Nvidia graphics, working fine.
It’s a HP PC with a built in Intel graphics card (on the compatibility list as working ok), but the NVidia was plugged into the slot and was used, with proprietary drivers.
The card went faulty, so I removed it, plugged the monitor into the Intel card, and it’s booted fine, into what seems like a Gnome 2 GUI.
The graphics says it’s in fallback mode.
Is there a way to delete the Nvidia drivers, and get the system to re-detect the now new Intel graphics driver without a complete re-install?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: Howto Uninstall Nvidia Drivers?

Post by remoulder » Wed Sep 12, 2012 10:50 am

If you installed the nvidia drivers via Additional drivers (jockey), then you un-install the same way, though you can also do it via synaptic or command line, e.g.

apt remove nvidia-current nvidia-settings

If you installed a specific version this may be different but will still begin nvidia-

As for the intel driver, you should be running it already, however you may need to remove any /etc/X11/xorg.conf if that refers to nvidia. If not sure what driver you are running do

[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.

Re: SOLVED — Howto Uninstall Nvidia Drivers?

Post by jethro10 » Wed Sep 12, 2012 1:28 pm

Sorted thanks,
I didn’t realise that drivers installed through that Jockey thing were just normal synaptic packages.
So all removed.
I also didn’t realise that Intel were open source, so wouldn’t be available through the Jockey thing.
and finally, on removing the dead card, the system re-booted, rather gracefully I thought, into that safe mode thingy, so on log-on, I just chose the Cinnamon session to re log-on, made it default and now all cooking great

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian
Читайте также:  Ubuntu linux gnu grub

Powered by phpBB® Forum Software © phpBB Limited

Источник

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Completely remove/reinstall Nvidia drivers

Post by rlwa32 » Mon Dec 04, 2017 4:32 pm

On my LM 18.1 system equipped with a GeForce 9500GS using nvidia drivers everything worked fine. The fan on the Nvidia card failed and the card was replace with a different GeForce card that also failed. Before the second card failed the driver manager was used to install the recommended drivers for that card. The system now contains a GeForce 8500GT and again driver manager was used to install the recommended drivers for that card — Nvidia-340. The system is running the 4.4 series kernel.

However, the system has begun to experience erratic problems that were not evident before the fan on the original video card failed. For example, Firefox crashes related to the video card, Virtualbox 5.1 has which previously worked flawlessly started to experience crashes, and video problems have surfaced in virtual machines where there were previously none.

I would like to completely remove any nvidia drivers/files on the system and then reinstall the recommended nvidia drivers with driver manager to eliminate the possibility that somehow remnants from the other nvidia drivers are causing the current problems.

I suspect that the first step in the process should be to use driver manager to select the nouveau driver. However, I don’t know exactly which commands to use to completely purge all nvidia related files from the system and if anything needs to be manually removed. After the system has been cleansed I assume I would use driver manager to reinstall the appropriate Nvidia drivers.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

kyphi Level 9
Posts: 2733 Joined: Sat Jul 09, 2011 1:14 am Location: The Hunter Valley, Australia

Читайте также:  Линукс минт не ставится

Re: Completely remove/reinstall Nvidia drivers

Post by kyphi » Mon Dec 04, 2017 6:54 pm

That was bad luck with the nvidia cards and I wonder what the cause might be.

The Driver Manager should be sufficient to remove or install any drivers. You can also check in Synaptic to see which nvidia driver is installed and which nvidia drivers are available.

To remove nvidia drivers completely you can use this command sudo aptitude purge ~nnvidia

My laptop uses the nouveau driver which works perfectly. My desktop uses the nvidia 387.34 driver which also works perfectly.

Generally it is good policy to stick with the driver that works without «upgrading» to later versions. Later versions particularly cater for new additions in graphics cards.

Re: Completely remove/reinstall Nvidia drivers

Post by Prsman » Mon Dec 11, 2017 8:48 pm

I would like to do this also but for a different reason. I have two apps which cause seg faults in the nvidia driver. I just installed XFCE, had Cinnamon.
Exact same problem. This is the way I want install the driver from Nvidia’s website. My current driver is from Synaptic and works great other than the seg faults.
So first go to TTY1 with ctrl + alt + F1. Then login, and use these commands. I hope this will be painless.

chmod +x -v ~/Software/NVIDIA-Linux-*.run
sudo sh ~/Software/NVIDIA-Linux-*.run

Re: Completely remove/reinstall Nvidia drivers

Post by Laurent85 » Tue Dec 12, 2017 9:06 am

Installing directly driver from Nvidia website this way is not recommended if you don’t want to face unexpected issues with package manager. Open a new topic regarding your problem and post inxi -Fxz command output from a terminal.

Image

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian

Powered by phpBB® Forum Software © phpBB Limited

Источник

Как удалить драйвер Nvidia в Ubuntu

Для видеокарты Nvidia в Linux выпускается два вида драйверов — открытые nouveau, с открытым исходным кодом, который разрабатывается сообществом и закрытый проприетарный драйвер Nvidia, от производителя.

Читайте также:  Актуальная версия ядра линукс

Первый встроен в ядро и с ним никогда не возникает проблем, второй же устанавливается в систему ручным способом или с помощью пакетного менеджера. Он не всегда совместим с новыми версиями ядра, поэтому иногда после обновления драйвера или ядра до не поддерживаемой версии мы не сможем загрузиться в графический интерфейс во время следующей перезагрузки. Многие пользователи, которые еще не знают о такой особенности, часто сталкиваются с этой проблемой.

Чтобы исправить эту ошибку нужно просто использовать совместимую версию ядра или удалить проприетарный драйвер, так чтобы использовался nouveau. В этой инструкции мы рассмотрим как правильно выполняется удаление драйверов nvidia в Ubuntu.

Удаление драйвера Nvidia в Ubuntu

Удалить драйвер можно несколькими способами, все зависит от того каким образом выполнялась установка. Если вы устанавливали драйвер с помощью пакетного менеджера, то удалять его нужно тоже с его помощью. Для этого просто выполните все описанные ниже шаги.

Шаг 1. Переключение к консоль

Если вы видите перед собой черный экран, то сначала нужно переключиться в первую текстовую консоль TTY1, чтобы иметь возможность выполнять команды. Для этого нажмите одновременно Ctrl+Alt+F1, затем введите логин и пароль.

Шаг 2. Очистка конфигурации

С помощью утилиты nvidia-settings удалите из системы всю оставшуюся конфигурацию:

sudo nvidia-settings —uninstall

Шаг 3. Удаление драйвера

Дальше можно полностью удалить драйвер. Чтобы выполнить полное удаление драйверов видеокарты Nvidia, сначала найдите все её пакеты в системе:

Теперь удалите их все, кроме пакета nvidia-common. Просто перечислите их в этой команде, разделяя имена пакетов пробелами:

sudo apt remove —purge пакет1 пакет2

sudo apt remove —purge nvidia-current

Мы могли бы просто написать nvidia-*, но тогда будет удален пакет nvidia-common, а от него зависит ubuntu-desktop. Это значит, что вы снесете все программы окружения рабочего стола. Конечно, его можно потом установить, но это потеря времени.

Шаг 4. Переустановка nouveau

Затем переустановите пакеты nouveau:

sudo apt remove —purge xserver-xorg-video-nouveau xserver-xorg-video-nv

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

sudo apt install —reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core

Шаг 5. Обновление конфигурации

Осталось обновить файлы настройки xorg, для этого выполните:

sudo dpkg-reconfigure xserver-xorg

Шаг 6. Готово

После выполнения всех этих действий, удаление драйвера Nvidia в Ubuntu будет завершено. Вы можете перезагрузить свой компьютер и полноценно использовать систему.

Удаление драйвера, полученного из официального сайта

Удалить драйвер Nvidia Ubuntu если драйвер был получен из официального сайта не так сложно, как в предыдущем варианте. Но тут вам нужен сам файл установщика. Перейдите в папку с файлом установщика и выполните его с опцией —uninstall, например:

Если сейчас у вас нет установщика, вы можете скачать его с помощью такой команды, для x86_64:

Затем нужно дать права на выполнение:

chmod u+x ./NVIDIA-Linux-x86_64-445.87.run

После выполнения первой команды удаление драйверов Nvidia в Ubuntu будет полностью завершено и вы сможете перезагрузить компьютер чтобы работать в вашей системе.

Выводы

Проблемы с драйверами могут возникнуть у всех и важно уметь их решать. Из этой статьи вы узнали как удалить драйвер Nvidia Ubuntu и я надеюсь, что это поможет вам в сложной ситуации.

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

Оцените статью
Adblock
detector