- Linux Mint Forums
- [Solved] Disabling Nouveau Drivers on Linux Mint 17
- [Solved] Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- Re: Disabling Nouveau Drivers on Linux Mint 17
- How to Clean Install the NVIDIA Drivers on Linux Mint 21
- Table of Contents:
- Uninstalling the Official NVIDIA Drivers from Linux Mint via the Graphical User Interface
- Completely Uninstalling the Official NVIDIA Drivers from Linux Mint Using the Command Line
- Re-installing/Clean Installing the Official NVIDIA Drivers on Linux Mint
- Conclusion
- About the author
- Shahriar Shovon
Linux Mint Forums
[Solved] Disabling Nouveau Drivers on Linux Mint 17
Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Disabling Nouveau Drivers on Linux Mint 17
Post by JonnyBB878 » Tue Jul 29, 2014 11:08 am
Hello, I’ve always wanted to switch to Linux but have been unable to do so due to gaming, now that Linux gaming is on the rise I would love to use this fantastic distro, In fact I’ve been running it in a virtual machine for some time to learn the ropes and the linux way.
For the life of me I can’t manage to install the Nvidia drivers since I need to disable the Nouveau ones first. I’ve googled here and there a bit but to no avail. Also I’d like to mention that I don’t want to rely on the Driver Manager application.
EDIT: I’ve used Linux quite a few times in the past so I’m not completely new to it but this kind of thing is way ahead of me.
I’m using Linux Mint 17 64bit v2 here and the whole harddisk is dedicated entirely to it, no Windows or any other distro are installed.
My setup procedure goes like this:
Ctrl + Alt + F1
Login with name and password
«sudo service mdm stop» command
I run the «NVIDIA-Linux-x86_64-340.24.run» file, everything goes fine up until I get the Nouveau driver in use notification.
If someone could give me a rundown on what I have to do for a definitive solution that would be great as it would allow me to move to Linux for good this time.
CPU: Core i5 2400
Mobo: Gigabyte PA65-UD3-B3
Ram: 8GB DDR3
GPU: EVGA GTX 760
HDD: Hitachi 320gb Sata 2
Thanks in advance for your help.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
karlchen Level 22
Posts: 17363 Joined: Sat Dec 31, 2011 7:21 am Location: Germany
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by karlchen » Tue Jul 29, 2014 11:12 am
Why do you insist on installing manually? Why do you not use the Linux Mint Driver Manager and allow it to do the job?
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 500 days now.
The Prophet’s Song
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by JonnyBB878 » Tue Jul 29, 2014 11:18 am
I prefer not having the Driver Manager doing it for me, I wouldn’t learn anything clicking 2 buttons and everything’s done automatically. Also the second reason is for another computer I have in the house which doesn’t have access to internet, the driver manager would be useless there since it has to download the files.
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by PatH57 » Tue Jul 29, 2014 11:40 am
if you need to once you are console mode
To stop the X server
karlchen Level 22
Posts: 17363 Joined: Sat Dec 31, 2011 7:21 am Location: Germany
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by karlchen » Tue Jul 29, 2014 11:51 am
Telling from the Ubuntu webpage which explains hwo installing the NVidia driver works, the first step before running the downloaded Nvidia installer
sudo sh ./NVIDIA-Linux-x86_64-340.24.run
sudo apt-get --purge remove xserver-xorg-video-nouveau
Maybe again, follwing PatH57’s advice killing all X processes will be a good very first start point.
I know there have been threads reporting the same problem. Yet, Google refused to return any such old thread. Maybe I used the wrong search term(s).
Maybe blacklisting nouveau after having unloaded it manually will be a good idea, too. Cf. How to Install Nvidia Driver 331.38 in Ubuntu 14.04, 13.10, 12.04.
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 500 days now.
The Prophet’s Song
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by PatH57 » Tue Jul 29, 2014 11:59 am
as usual Karl is right.
What’s the point sitting in front a terminal watching lines flowing by and not knowing anyway what they do and then being stuck with no X?
The safe way is to download the deb package, put it on a usb key, open package manager on the other unit, select file and add downloaded package, then install.
At least if you get error messages you can report them and we will be glad to help.
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by JonnyBB878 » Tue Jul 29, 2014 6:39 pm
Ok so quick update, sorry been hell of a day.
I have successfully used the «sudo apt-get —purge remove xserver-xorg-video-nouveau» command it did remove the nouveau packages and cinnamon desktop ran in Software acceleration mode so I guess it’s an improvement. However the nvidia drivers still refuse to install.
I tried the killall X command and returns an «X: no process found», does the command «service mdm stop» do the same thing?
Thanks for the help, so far it has been great. Hopefully I’ll piece up this puzzle soon.
Re: Disabling Nouveau Drivers on Linux Mint 17
Post by JonnyBB878 » Thu Jul 31, 2014 10:30 am
Thank you all for your kind help. After piecing all the info together and a lot of googling I’ve installed them successfully.
In case someone wants to install them manually and offline, this is how I did it (Mint 17 64Bit Cinnamon):
Install the 2 following packages as the first thing:
Then open as sudo ‘etc/modprobe.d/blacklist.conf’ and add:
blacklist nouveau
blacklist vga16fb
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
Go to a virtual console (hit Ctrl + Alt + F1)
Input your username and pass and run the following 3 commands:
sudo service mdm stop
sudo apt-get —purge remove xserver-xorg-video-nouveau (it will remove 2 packages related to Nouveau).
sudo update-initramfs -u
At this point your desktop will load in a low resolution (big icons) and Mint will tell you that Cinnamon is running in software mode which means you did the previous steps correctly.
Again hit Ctrl + Alt + F1
Input your username and pass
run the ‘sudo service mdm stop’ to close the X server
Now locate your Nvidia-xxxxxxxx.run file and run it using ‘sudo sh ./Nvidia-xxxxxxxx.run’
Accept the EULA
Next it will tell you that the pre-install script failed, just click continue here.
Regarding the DKMS entry, I chose no here.
When asked about the 32bit compatibility binaries choose yes.
When asked if you want to run the X Server choose yes as well.
When the installation is done hit Ctrl + Alt + Delete and let it reboot normally and the Nvidia Drivers will be working instantly.
Also for some reason the nvidia control panel isn’t loading the saved color corrections at boot so I’ve added this entry as part of the startup applications: nvidia-settings -l
Cheers! and Thanks again for the help.
How to Clean Install the NVIDIA Drivers on Linux Mint 21
While installing the official NVIDIA drivers on Linux Mint 21, things may go wrong in many ways. This may result in the official NVIDIA drivers not working on your computer/laptop. Or, in the worst-case scenario, break the operating system and show you a black screen.
To solve this problem, you can try to uninstall the official NVIDIA drivers completely from your Linux Mint 21 operating system and try to install the official NVIDIA drivers again.
In this article, we will show you how to uninstall the official NVIDIA drivers from Linux Mint 21 completely using the graphical user interface and from the command line (in case you see a black screen).
Table of Contents:
Uninstalling the Official NVIDIA Drivers from Linux Mint via the Graphical User Interface
You can uninstall the official NVIDIA drivers from Linux Mint graphically using the Driver Manager app.
You can open the Driver Manager app from the Application Menu of Linux Mint 21.
In the Driver Manager app, you should see that the official NVIDIA drivers are being used.
To uninstall the official NVIDIA drivers and switch to the open-source Nouveau drivers (which you need to see the video output on your monitor), select xserver-xorg-video-nouveau (open-source) [1] and click on Apply Changes [2] .
To confirm the action, type in your login password [1] and click on Authenticate [2] .
The official NVIDIA drivers are being uninstalled. It takes a few seconds to complete.
Once the official NVIDIA drivers are uninstalled and Linux Mint 21 switches to the open-source Nouveau drivers, click on Restart… to restart your computer/laptop for the changes to take effect.
Once your computer/laptop starts, you should see that the nouveau kernel modules are used instead of the official nvidia kernel modules. So, the official NVIDIA drivers are successfully uninstalled and Linux Mint 21 is successfully switched to the open-source Nouveau drivers.
Completely Uninstalling the Official NVIDIA Drivers from Linux Mint Using the Command Line
You can completely uninstall the official NVIDIA drivers from the command line on Linux Mint 21. First, open a Terminal app on Linux Mint from the Application menu or press + + T. Then, update the APT package repository cache with the following command:
To completely remove the official NVIDIA drivers from Linux Mint, run the following command:
To confirm the uninstallation, press Y and then press .
The official NVIDIA drivers are being uninstalled. It takes a while to complete.
At this point, the official NVIDIA drivers should be uninstalled.
To remove the dependency packages of the official NVIDIA drivers, run the following command:
To confirm the action, press Y and then press .
The dependency packages of the official NVIDIA drivers are being removed. It takes a while to complete.
At this point, all the dependency packages of the official NVIDIA drivers should be removed.
Run the following command to delete all the cached NVIDIA drivers packages along with the dependency packages to save disk space:
For the changes to take effect, run the following command to restart your computer/laptop:
Once your computer/laptop starts, you should see that the nouveau kernel modules are used instead of the official nvidia kernel modules. So, the official NVIDIA drivers are uninstalled completely and Linux Mint 21 is successfully switched to the open-source Nouveau drivers.
Re-installing/Clean Installing the Official NVIDIA Drivers on Linux Mint
At this point, the official NVIDIA drivers should be completely uninstalled from Linux Mint 21. Now, you can try to install the official NVIDIA drivers on Linux Mint 21 again. If you need any assistance in installing the official NVIDIA drivers on Linux Mint 21, check the article on How to Install the NVIDIA Drivers on Linux Mint 21.
Conclusion
We showed you how to completely uninstall the official NVIDIA drivers from Linux Mint 21 using the graphical user interface and from the command line in case you see a black screen. Although, you can uninstall the official NVIDIA drivers from Linux Mint 21 graphically and from the command line, we recommend the command line method.
About the author
Shahriar Shovon
Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.