<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.bpopp.net/index.php?action=history&amp;feed=atom&amp;title=Cleaning_Up_A_Broken_NVidia_Installation</id>
	<title>Cleaning Up A Broken NVidia Installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.bpopp.net/index.php?action=history&amp;feed=atom&amp;title=Cleaning_Up_A_Broken_NVidia_Installation"/>
	<link rel="alternate" type="text/html" href="http://wiki.bpopp.net/index.php?title=Cleaning_Up_A_Broken_NVidia_Installation&amp;action=history"/>
	<updated>2026-04-27T16:47:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://wiki.bpopp.net/index.php?title=Cleaning_Up_A_Broken_NVidia_Installation&amp;diff=781&amp;oldid=prev</id>
		<title>Bpopp: Created page with &quot;remove the current nvidia driver running  &lt;pre&gt;sudo apt purge nvidia-* &amp;&amp; sudo apt autoremove&lt;/pre&gt;  note the version of the nvidia driver you&#039;re removing, say nvidia-xyz  bla...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.bpopp.net/index.php?title=Cleaning_Up_A_Broken_NVidia_Installation&amp;diff=781&amp;oldid=prev"/>
		<updated>2018-11-20T17:38:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;remove the current nvidia driver running  &amp;lt;pre&amp;gt;sudo apt purge nvidia-* &amp;amp;&amp;amp; sudo apt autoremove&amp;lt;/pre&amp;gt;  note the version of the nvidia driver you&amp;#039;re removing, say nvidia-xyz  bla...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;remove the current nvidia driver running&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt purge nvidia-* &amp;amp;&amp;amp; sudo apt autoremove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
note the version of the nvidia driver you&amp;#039;re removing, say nvidia-xyz&lt;br /&gt;
&lt;br /&gt;
blacklist nouveau by opening /etc/modprobe.d/blacklist-nouveau.conf with your favourite editor and inserting&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;blacklist nouveau&lt;br /&gt;
blacklist lbm-nouveau&lt;br /&gt;
options nouveau modeset=0&lt;br /&gt;
alias nouveau off&lt;br /&gt;
alias lbm-nouveau off&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disabling the kernel nouveau (not sure whether this is necessary, though, but it does not seem to do harm to the installation)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf&lt;br /&gt;
sudo update-initramfs -u&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot the computer and login to a terminal without display manager, e.g., CTRL+ALT+F1. Unfortunately, the display manager has been started already (still available under CTRL+ALT+F7), thus the service need to be stopped&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo service lightdm stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Activating gdm (gdm3) as default display manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure gdm3&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will return an error saying that the service has not been started and hence the display manager could not be switched. No worries, the switch will be carried out upon reboot.&lt;br /&gt;
&lt;br /&gt;
Re-installing the nvidia driver that has been removed earlier, where xyz is the version that was uninstalled under the first step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt install nvidia-xyz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your system&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo shutdown -r now&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bpopp</name></author>
	</entry>
</feed>