Advanced search

Message boards : Number crunching : Installing latest Nvidia Linux drivers, step-by-step

Author Message
Profile ServicEnginIC
Avatar
Send message
Joined: 24 Sep 10
Posts: 77
Credit: 1,247,761,226
RAC: 765,819
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 50893 - Posted: 17 Nov 2018 | 1:10:04 UTC

I've applied this method to update my current active computers to latest (beta) 415.13 Nvidia drivers on 2018-11-13.
I'll try to explain this procedure in a step-by-step way.

It's worked on systems under Ubuntu 16.04.5 LTS (4.15.0-39-generic kernel) with GRUB V2.02, Intel Core 2 Quad processors, and Nvidia GTX750, GTX750TI, GT1030, and GTX1050TI graphic cards.
Please, be careful to apply in other configurations.

This method depends on two extra linux repositories. Links to their webpages:
- https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
- https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

-1) Enter Boinc Manager and suspend activity for all current tasks (if any)
# This will prevent tasks to fail after restarting the system
-2) Reboot computer
-3) Just after BIOS POST, press right "Shift" key to enter GRUB menu
# If you arrive to normal Ubuntu login screen, you have lost your chance. Try rebooting again...
-4) In GRUB menu, select (remark) "*Ubuntu" option, then press "E" key
# This will open a limited editor for GRUB commands
-5) Move with arrow keys just to the end of line starting with "linux ..."
# In my case, this line finishes with "... ro quiet splash $vt_handoff"
-6) Add " 3" to the end (an space and number three)
# In my case, this results in a line finishing with "... ro quiet splash $vt_handoff 3"
# Don't push "Enter", nor any more
-7) Press "F10" key
-8) This will start Linux in terminal mode, with no graphics interface
# An Ubuntu logo will appear, with a progress bar blinking
-9) When progress bar stops, press "Alt" + "F1" keys
# This will open a tty1 terminal
-10) You'll be asked for your login and password. Introduce them. Terminal tty1 will open
# In this opened terminal, introduce the following commands:
-11) sudo add-apt-repository ppa:xorg-edgers/ppa
# Confirm to add this new repository
-12) sudo add-apt-repository ppa:graphics-drivers/ppa
# Steps 11 and 12 are necessary only for the first time this method is applied in each computer
-13) sudo apt-get update
-14) sudo apt-get dist-upgrade
# Answer yes to suggested updates. Please, wait for them finish to apply. It may take several minutes
-15) sudo apt-get install nvidia-415
# Or "... nvidia-XXX" for your desired driver version. Currently, nvidia-410 is the latest regular version
# Answer yes. This will take several minutes for the drivers to download and install
-16) sudo apt-get install nvidia-modprobe --reinstall
-17) sudo nvidia-xconfig
-18) sudo apt-get autoremove
# Answer yes if asked for. this will save disk space by uninstalling unnecessary packages
-19) sudo reboot
# The system will restart. Let it start the usual way
-20) Log in to Ubuntu, enter Boinc Manager, and restart activity for all tasks previously stopped
# Tasks will restart, now running under new drivers version

Note: The same procedure is valid also to return to previous versions, depending on version stated in step 15

Best regards,

rod4x4
Send message
Joined: 4 Aug 14
Posts: 129
Credit: 1,644,257,769
RAC: 773,529
Level
His
Scientific publications
watwatwatwatwatwatwat
Message 50906 - Posted: 18 Nov 2018 | 0:59:13 UTC - in response to Message 50893.

A great step by step guide!

Do you find this latest beta driver any better or worse in performance?

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 329
Credit: 251,803,963
RAC: 546,408
Level
Asn
Scientific publications
wat
Message 50908 - Posted: 18 Nov 2018 | 5:03:23 UTC - in response to Message 50906.

A great step by step guide!

Do you find this latest beta driver any better or worse in performance?

Didn't really get a chance to observe GPUGrid work, but for my main project Seti,the 415.13 drivers were about 5% slower than the LTS 410.73 drivers. I reverted after a day of observation. YMMV.

Profile ServicEnginIC
Avatar
Send message
Joined: 24 Sep 10
Posts: 77
Credit: 1,247,761,226
RAC: 765,819
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 50911 - Posted: 18 Nov 2018 | 10:16:25 UTC

Do you find this latest beta driver any better or worse in performance?


I'm still evaluating performance for this 415.13 driver version.
I updated to 415.13 from 410.73, and I haven't seen a clear performance increase, nor decrease, in GPUGrid tasks.
By the moment, I should recommend to update to regular version 410.73, since it is the fastest one I've confirmed by using in my computers.
I really noted a clear performance increase when I migrated from previous 396.54 to 410.73.
You can check Nvidia drivers availabylity in the following page:
https://www.nvidia.com/Download/Find.aspx?lang=en-us

Profile ServicEnginIC
Avatar
Send message
Joined: 24 Sep 10
Posts: 77
Credit: 1,247,761,226
RAC: 765,819
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 50913 - Posted: 18 Nov 2018 | 10:49:49 UTC

Didn't really get a chance to observe GPUGrid work, but for my main project Seti,the 415.13 drivers were about 5% slower than the LTS 410.73 drivers. I reverted after a day of observation. YMMV.


Thank you for sharing this.

As seen in GPUGrid Performance tab http://www.gpugrid.net/performance.php it seems that there is an advantage for tasks run under 410.73 Nvidia drivers compared to same tasks run under 390.77 in similar systems.

STARBASEn
Avatar
Send message
Joined: 17 Feb 09
Posts: 73
Credit: 1,011,427,001
RAC: 283,320
Level
Met
Scientific publications
watwatwatwatwatwat
Message 50921 - Posted: 18 Nov 2018 | 18:15:31 UTC

Nvidia just released 410.78 Nov 15 which is newer than 415.13. I've been running 415.13.since it was released and haven't quantified its speed to 410.73 but it does appear to be slightly slow than the regular releases, perhaps because 415.13 is a beta release. Just now trying 410.78.

Nice guide posted, a little different for Fedora, RHEL, SL and CentOS but in essence quite similar. Suspending gpu jobs before rebooting to console only mode for NV driver update really does minimize gpu wu errors on restart. Been doing that for some time and I haven't had a single restart error since. Thanks.

tullio
Send message
Joined: 8 May 18
Posts: 157
Credit: 40,517,545
RAC: 6,256
Level
Val
Scientific publications
wat
Message 50922 - Posted: 18 Nov 2018 | 19:06:19 UTC

I am running 390.87 on my GTX 750 Ti in a Linux box with SuSE Leap 15.0, which has the same kernel of the Enterprise commercial version. I got a message apparently from nVidia which said it could not perform a download and I am waiting to see what happens now. I saw a cartoon in which a mom says to her son: you were not downloaded, you were born!
Tullio

kksplace
Send message
Joined: 4 Mar 18
Posts: 35
Credit: 88,759,775
RAC: 305,347
Level
Thr
Scientific publications
wat
Message 50923 - Posted: 18 Nov 2018 | 21:51:33 UTC

Thank you for the information!

For Linux Mint, follow steps 11 thru 14 from ServicEnginIC (earlier in this thread) in the terminal. Then open Driver Manager. It should show the various available drivers, allowing you to select. Select the desired driver (I am trying the 410 per this thread) and Apply Changes. A reboot is required.

Watching to see how 410 works...

kksplace
Send message
Joined: 4 Mar 18
Posts: 35
Credit: 88,759,775
RAC: 305,347
Level
Thr
Scientific publications
wat
Message 50930 - Posted: 20 Nov 2018 | 0:11:00 UTC - in response to Message 50913.

As seen in GPUGrid Performance tab http://www.gpugrid.net/performance.php it seems that there is an advantage for tasks run under 410.73 Nvidia drivers compared to same tasks run under 390.77 in similar systems.


I would agree. I moved from 390.77 to 410.73 and have seen between a 1.5 to 2.0% decrease in WU times, on both a 1070 and 1080 card.

rod4x4
Send message
Joined: 4 Aug 14
Posts: 129
Credit: 1,644,257,769
RAC: 773,529
Level
His
Scientific publications
watwatwatwatwatwatwat
Message 50937 - Posted: 20 Nov 2018 | 23:39:17 UTC - in response to Message 50930.

I would agree. I moved from 390.77 to 410.73 and have seen between a 1.5 to 2.0% decrease in WU times, on both a 1070 and 1080 card.

It has been a different observation for my computers.
Upgrading drivers from 390.48 to 410.73 on 2 hosts fitted with 750 and 1060 GPUs, no difference in performance was noted.

Was worth a try.

Profile Retvari Zoltan
Avatar
Send message
Joined: 20 Jan 09
Posts: 2076
Credit: 15,118,556,483
RAC: 4,897,881
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 50941 - Posted: 21 Nov 2018 | 8:40:05 UTC - in response to Message 50893.
Last modified: 21 Nov 2018 | 8:42:11 UTC

That didn't work for me under Ubuntu 18.04.1.
My method was the following:

1. Suspend all (GPU) projects in BOINC manager

2. open terminal and

sudo add-apt-repository ppa:graphics-drivers/ppa

3.
sudo apt-get update

4.
sudo apt-get install nvidia-driver-410

4b if the above fails, then try
sudo apt-get install libnvidia-compute-410
when this has finished try step 4 again

5. optional:
sudo apt-get autoremove

6. reboot by gui, or
sudo reboot

7. check the startup log of BOINC manager for the appropriate NVidia driver version, then resume all (GPU) projects in BOINC manager

If you want to run opencl GPU projects (like Einstein@home, or SETI@home) you should install the opencl library by
sudo apt install ocl-icd-libopencl1

I haven't experienced any change in the processing speed by changing form 390.77 to 410.73.

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 329
Credit: 251,803,963
RAC: 546,408
Level
Asn
Scientific publications
wat
Message 50942 - Posted: 21 Nov 2018 | 16:45:46 UTC

Probably the only reason I saw an improvement(410.73)/unimprovement(415.13) was that the observation was for Seti tasks and there we use CUDA9.2 and CUDA10 applications. The CUDA8 app used here seems to not care.

Profile Retvari Zoltan
Avatar
Send message
Joined: 20 Jan 09
Posts: 2076
Credit: 15,118,556,483
RAC: 4,897,881
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 50945 - Posted: 21 Nov 2018 | 21:29:33 UTC - in response to Message 50942.

Probably the only reason I saw an improvement(410.73)/unimprovement(415.13) was that the observation was for Seti tasks and there we use CUDA9.2 and CUDA10 applications.
When will these CUDA9.2 and CUDA10 apps be public?
The CUDA8 app used here seems to not care.
That's true. A driver update can even make an older app run slower.

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 329
Credit: 251,803,963
RAC: 546,408
Level
Asn
Scientific publications
wat
Message 50968 - Posted: 28 Nov 2018 | 1:56:40 UTC - in response to Message 50945.

Probably the only reason I saw an improvement(410.73)/unimprovement(415.13) was that the observation was for Seti tasks and there we use CUDA9.2 and CUDA10 applications.
When will these CUDA9.2 and CUDA10 apps be public?
The CUDA8 app used here seems to not care.
That's true. A driver update can even make an older app run slower.

Not sure what you mean by "not public" The applications are available to anyone who chooses to install them. They are just not distributed by the project as stock apps. Just the same thing as installing the optimized Lunatics applications back in the day. They are higher performance than the stock apps is all. If you search the Number Crunching forum threads you will find countless references to them. They are either available by following the links in the forum threads or going directly to Crunchers Anonymous website and downloading them there. The CUDA10 app download links are currently only found at the Seti NC forum though the file itself is at CA. They just haven't put the download link directly on the CA site itself yet.

Post to thread

Message boards : Number crunching : Installing latest Nvidia Linux drivers, step-by-step