How to install the Nvidia proprietary drivers in LinuxMint
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: How to install the Nvidia proprietary drivers in LinuxMint
Original issue :"The problem I have is that whenever I install the Proprietary Nvidia driver - any version! - the Cinnamon crashes at startup. I am using Linux Mint 18.1 64 Bit on a Lenovo G580 with an NVIDIA G635 GPU. I have parallel a 32-bit Ubuntu installed as well. On Ubuntu I had the experience that on 32-bit OS the Video Card drivers were perfect, while the video card driver has killed killed 64-bit Ubuntu upon installing. I decided to try Linux Mint 64-bit, and it is already much better because it has a fallback mode.
After a while I have realized that if I set the prime to use the Intel card with the Nvidia driver installed, the Cinnamon does not crash at startup, but performance in 3D games has become terrible even for games, which run perfectly well on 32-bit OS. (I suspect it is not just the Os that is using the Intel card instead of the Nvidia, but the games as well)
I would like to find a way to run the Linux Mint 18.0 64-bit directly on the Nvidia card, However this seems to be impossible now due to the OS/driver issue. I have seen several solutions on the web. I have updated to the latest Kernel, I have used various Nvidia-drivers, but the situation never changed no matter what driver version I have installed, and also Kernel Update did not make the issue go away, despite some claim it would.
What do You suggest to do in such situations? Should I install some software to make cinnamon use the factory driver properly? Is there a major issue with Nvidia-drivers on 64-bit Ubuntu derivates? "
A possible solution/workaround?:
"It appears the issue is mostly solved.
I have previously upgraded to the latest kernel
Also after I have set nvidia driver as the driver I have used the command to set Intel as primary card before reboot
At this point the Os was stable, but 3D applications still struggled. So I have done the following:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
After this the 3D performance is still not as fine as on a 32-bit OS, but the situation is much better! So I recommend those people who still have have issues after the original stepts, to install bumblebee and test the results. I will do so myself, but I hope this will be considered a solution."
After a while I have realized that if I set the prime to use the Intel card with the Nvidia driver installed, the Cinnamon does not crash at startup, but performance in 3D games has become terrible even for games, which run perfectly well on 32-bit OS. (I suspect it is not just the Os that is using the Intel card instead of the Nvidia, but the games as well)
I would like to find a way to run the Linux Mint 18.0 64-bit directly on the Nvidia card, However this seems to be impossible now due to the OS/driver issue. I have seen several solutions on the web. I have updated to the latest Kernel, I have used various Nvidia-drivers, but the situation never changed no matter what driver version I have installed, and also Kernel Update did not make the issue go away, despite some claim it would.
What do You suggest to do in such situations? Should I install some software to make cinnamon use the factory driver properly? Is there a major issue with Nvidia-drivers on 64-bit Ubuntu derivates? "
A possible solution/workaround?:
"It appears the issue is mostly solved.
I have previously upgraded to the latest kernel
Also after I have set nvidia driver as the driver I have used the command to set Intel as primary card before reboot
At this point the Os was stable, but 3D applications still struggled. So I have done the following:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
After this the 3D performance is still not as fine as on a 32-bit OS, but the situation is much better! So I recommend those people who still have have issues after the original stepts, to install bumblebee and test the results. I will do so myself, but I hope this will be considered a solution."
Re: How to install the Nvidia proprietary drivers in LinuxMint
Dear all,
I am by far not a Linux expert like you guys, however, I would like to share my latest experience with you installing two Nvidia Titan X Pascal on a Asus X99-E-WS USB 3.1 motherboard.
Details can be found there: https://ubuntu-mate.community/t/install ... mate/11191.
As outlined in the referenced post the secure boot mode was the root cause of my problems.
The only way to resolve the problems was to disable the secure boot mode by deleting the corresponding keys in the BIOS. Afterwards the installation of the proprietary drivers worked fine.
Best
Alex
I am by far not a Linux expert like you guys, however, I would like to share my latest experience with you installing two Nvidia Titan X Pascal on a Asus X99-E-WS USB 3.1 motherboard.
Details can be found there: https://ubuntu-mate.community/t/install ... mate/11191.
As outlined in the referenced post the secure boot mode was the root cause of my problems.
The only way to resolve the problems was to disable the secure boot mode by deleting the corresponding keys in the BIOS. Afterwards the installation of the proprietary drivers worked fine.
Best
Alex
Re: How to install the Nvidia proprietary drivers in LinuxMint
hi all
i get up to
i get up to
then terminal sayssudo ./n.run
if i check my system info i get thisERROR: You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.
iam just trying to make the text look better as at the moment the text in alll windows is killing my eyesGraphics: Card: NVIDIA GK107 [GeForce GT 640] bus-ID: 01:00.0 chip-ID: 10de:0fc1
Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce GT 640/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.57 Direct Rendering: Yes
Re: How to install the Nvidia proprietary drivers in LinuxMint
I just switched in BIOS to use IGFX (integrated graphics), then I just installed newest nvidia driver from repo :
ppa:graphics-drivers
restart , switched back to using PCIE graphics and my geforce 1060 running very well now
ppa:graphics-drivers
restart , switched back to using PCIE graphics and my geforce 1060 running very well now
Re: How to install the Nvidia proprietary drivers in LinuxMint
The instructions have changed somewhat for Mint 18.2 Sonya.
I spent an hour trying to figure out how to install the latest beta driver NVIDIA-Linux-x86_64-384.47.run.
I hosed my system and Cinnamon crashed because I tried to upgrade to 384.47 while being on the Mint recommended nvidia-375 proprietary driver. This caused the 384.47 to install until the last step where it failed. I was able to reboot and switch to nouveau from Driver Manager but when I rebooted again, Cinnamon warned that it was running in fallback mode, but I could not do anything as the mouse, tab, or enter keys did not work to get out of the warning window. Cntrl+ALT+F1 did work, so I was able to fix with the instructions below.
Make sure you switch to the nouveau driver before trying to update to the latest Nvidia driver from their website, if you use "Driver Manager" from System Settings in Mint, to install the nvidia-375 (recommended) driver.
Here are the commands I used:
1. Hit "Cntrl + ALT + F1" to get to command line.
2. libdrm-nouveau1a was not found so I only removed the following:
3. reboot
4. Cntrl + ALT + F1
5. Stop lightdm
6. Install latest driver. Pressed "Yes" for all the prompts.
7. reboot
Success:
inxi -SPARM -GCDN -v1 -xGCRS
System: Kernel: 4.10.0-26-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.2 Sonya
Graphics: Card: NVIDIA GK104 [GeForce GTX 760] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1200@59.95hz, 1920x1200@59.95hz
GLX Renderer: GeForce GTX 760/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.47 Direct Rendering: Yes
I spent an hour trying to figure out how to install the latest beta driver NVIDIA-Linux-x86_64-384.47.run.
I hosed my system and Cinnamon crashed because I tried to upgrade to 384.47 while being on the Mint recommended nvidia-375 proprietary driver. This caused the 384.47 to install until the last step where it failed. I was able to reboot and switch to nouveau from Driver Manager but when I rebooted again, Cinnamon warned that it was running in fallback mode, but I could not do anything as the mouse, tab, or enter keys did not work to get out of the warning window. Cntrl+ALT+F1 did work, so I was able to fix with the instructions below.
Make sure you switch to the nouveau driver before trying to update to the latest Nvidia driver from their website, if you use "Driver Manager" from System Settings in Mint, to install the nvidia-375 (recommended) driver.
Here are the commands I used:
1. Hit "Cntrl + ALT + F1" to get to command line.
2. libdrm-nouveau1a was not found so I only removed the following:
Code: Select all
sudo apt-get purge xserver-xorg-video-nouveau nvidia*
sudo update-initramfs -u -k all
4. Cntrl + ALT + F1
5. Stop lightdm
Code: Select all
sudo service lightdm stop
Code: Select all
sudo ./NVIDIA-Linux-x86_64-384.47.run
Success:
inxi -SPARM -GCDN -v1 -xGCRS
System: Kernel: 4.10.0-26-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.2 Sonya
Graphics: Card: NVIDIA GK104 [GeForce GTX 760] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1200@59.95hz, 1920x1200@59.95hz
GLX Renderer: GeForce GTX 760/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.47 Direct Rendering: Yes
-
- Level 1
- Posts: 2
- Joined: Tue Jul 18, 2017 9:42 pm
Re: How to install the Nvidia proprietary drivers in LinuxMint
Thanks for posting your solution. Question though.... hasn't Mint been using the systemd method of services for a while now, and therefore use the systemctl command to manage services? Do both systemctl and service work? What is best practice?trebushet wrote:The instructions have changed somewhat for Mint 18.2 Sonya.
5. Stop lightdmCode: Select all
sudo service lightdm stop
Re: How to install the Nvidia proprietary drivers in LinuxMint
service is a bash wrapper around systemctl. It's there for compatibility reasons.uggaboogah wrote:Thanks for posting your solution. Question though.... hasn't Mint been using the systemd method of services for a while now, and therefore use the systemctl command to manage services? Do both systemctl and service work? What is best practice?trebushet wrote:The instructions have changed somewhat for Mint 18.2 Sonya.
5. Stop lightdmCode: Select all
sudo service lightdm stop
Code: Select all
===> file -L $(type service | cut -f3 -d $'\x20')
/usr/sbin/service: POSIX shell script, ASCII text executable
LM 17.3 (LTS April 2019), had a combination of upstart and sysvinit.
Does service command work with systemd?
SysVinit to Systemd Cheatsheet
I'd probably transition to systemctl, because the more you use it the more you'll learn. But it you ever use a non-systemd distro, it might be confusing.
Re: How to install the Nvidia proprietary drivers in LinuxMint
Just a heads up that installing the 340 nvidia driver update that came out today (to patch kernel 4.14 and 4.15) caused my mint 18.3 system to fall over. Cinnamon would crash on start up and not run with acceleration. The system tray wouldn't load and the menu wasn't loading correctly. Fortunately I have a system back up, so was up and running quickly. This is on a t410 laptop. I tried different kernels, same outcome. Only solution was to revert to a previous version of driver 340.
- Hammer459
- Level 1
- Posts: 48
- Joined: Mon Oct 15, 2012 2:44 am
- Location: Nakhon Sawan, Thailand
- Contact:
Re: How to install the Nvidia proprietary drivers in LinuxMint
Too bad init.d stuff nolonger works on Mint 18 (f-ing systemd)
When attempting (replacing mdm with lightdm) screen goes blank an reboot is only option
When attempting (replacing mdm with lightdm) screen goes blank an reboot is only option
Re: How to install the Nvidia proprietary drivers in LinuxMint
Also lost my Nvidia-acceleration with this update (running Linux Mint 18.3 Xfce 32bit / Geforce 6800 GT) - What I did was to open up "System->Driver Manager" and then select the xserver-driver instead of the Nvidia-driver. Rebooted and the re-selected the Nvidia-driver again. Reboot and everything is working again!sikejsudjek wrote:Just a heads up that installing the 340 nvidia driver update that came out today (to patch kernel 4.14 and 4.15) caused my mint 18.3 system to fall over. Cinnamon would crash on start up and not run with acceleration. The system tray wouldn't load and the menu wasn't loading correctly. Fortunately I have a system back up, so was up and running quickly. This is on a t410 laptop. I tried different kernels, same outcome. Only solution was to revert to a previous version of driver 340.
Nvidia driver version 304.135-0ubuntu0.16.04.2
Re: How to install the Nvidia proprietary drivers in LinuxMint
Since this topic started in 2012 I think it's time to close it...
-
- Level 1
- Posts: 21
- Joined: Thu Nov 26, 2020 2:47 pm
Re: How to install the Nvidia proprietary drivers in LinuxMint
Every command you have listed in these steps comes back as
command not found
Why is that?
command not found
Why is that?
-
- Level 1
- Posts: 21
- Joined: Thu Nov 26, 2020 2:47 pm
Re: How to install the Nvidia proprietary drivers in LinuxMint
This code is all it took to fix it for me.
Type into Terminal.
Code:
grub-install /dev/sdc
update-grub
reboot
Type into Terminal.
Code:
grub-install /dev/sdc
update-grub
reboot