Message boards :
Number crunching :
Can't get nvidia drivers to work on ubuntu 18.04
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I can install nvidia driver 390 and 396 (open source) on Ubuntu 18.04 but no application actually sees or can use my 1080ti. On 16.04 there were slightly older drivers that were labeled proprietary rather than open source. Does this have something to do with it and how do I fix it? |
|
Send message Joined: 2 Jul 16 Posts: 338 Credit: 7,987,341,558 RAC: 259 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
I had issues too from the NV drives available with 18.04 but I thought it was with OpenCL. I still have one card I haven't updated the driver and can only run CUDA. I don't think thats the same issue here. If I recall 396 became available after adding the nvidia PPA. Did you add it or maybe its available now? If not this will add the NV PPA: sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update Then it will be available in Additional Drivers. Plus a reboot of course. I just did this on Mint 19, which is based on 18.04, this week and on 2 18.04 machines. For OC and fan control. sudo nvidia-xconfig --enable-all-gpus --allow-empty-initial-configuration --cool-bits=28 |
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hello, I did sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update but before this step I already had 390 and 396 (open source) in the "additional drivers" menu. In 16.04 the driver is labeled nvidia binary driver (proprietary) rather than open source. BOINC and every other application does not recognize any GPU with both 396 and 390 installed |
|
Send message Joined: 2 Jul 16 Posts: 338 Credit: 7,987,341,558 RAC: 259 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
The ones by default available with 18.04 w/o the PPA update are not complete. What does clinfo return to see what the OS can detect? In some cases BOINC can load too early before the drivers. |
|
Send message Joined: 13 Dec 17 Posts: 1419 Credit: 9,119,446,190 RAC: 891 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
Hello, I did When you add the ppa repository, the packages get labeled as a metapackage. In my experience that nets you the whole kit 'n kaboodle with the CUDA and OpenCL libraries plus all the utilities. When you just add the Nvidia drivers by the sudo apt install nvidia-396 you just get the main graphic drivers and not the compute packages. You might want to start fresh and do the purge nvidia* and then add in the ppa repository, update and then get them from the Additional Drivers tab. |
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think I might have found the issue "Your system has UEFI Secure boot enabled. If you proceed but do not confirm the password upon reboot, Ubuntu will still be able to boot on your system but any hardware that requires third-party drivers to work correctly may not be usable." I have found that it never asks me this password and therefore never lets me use my "3rd party graphics device." Hopefully just disabling this in the bios will fix it. |
|
Send message Joined: 21 Mar 16 Posts: 513 Credit: 4,673,458,277 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I went into the bios and found "secure boot." It was default in "windows OS" so I changed it to "other OS" and it works just fine now. |
|
Send message Joined: 13 Dec 17 Posts: 1419 Credit: 9,119,446,190 RAC: 891 Level ![]() Scientific publications ![]() ![]() ![]() ![]()
|
I went into the bios and found "secure boot." It was default in "windows OS" so I changed it to "other OS" and it works just fine now. Good to hear you got it working. I've always had Secure Boot set to "Other OS" so it is interesting to find out what happens when you have it set wrong. |
©2025 Universitat Pompeu Fabra