Installing CUDA on my Ubuntu 18.04 system The 2019 Stack Overflow Developer Survey Results Are...

Write faster on AT24C32

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

Is three citations per paragraph excessive for undergraduate research paper?

Can someone be penalized for an "unlawful" act if no penalty is specified?

Falsification in Math vs Science

Return to UK after being refused entry years previously

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Is an up-to-date browser secure on an out-of-date OS?

How to deal with fear of taking dependencies

Is there any way to tell whether the shot is going to hit you or not?

What is the closest word meaning "respect for time / mindful"

Does a dangling wire really electrocute me if I'm standing in water?

Does the shape of a die affect the probability of a number being rolled?

Why not take a picture of a closer black hole?

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Apparent duplicates between Haynes service instructions and MOT

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Earliest use of the term "Galois extension"?

The difference between dialogue marks

What is the meaning of Triage in Cybersec world?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?



Installing CUDA on my Ubuntu 18.04 system



The 2019 Stack Overflow Developer Survey Results Are InNeed proprietary Nvidia drivers not in stable DebianHow to use NVIDIA CUDA on poky/yocto based linux os?No desktop after nvidia driver installationCUDA+HD4600 Graphics on Optimus notebookInstalling NVIDIA driver 375.26 fails after kernel upgrade to 4.9.0-5-amd64Docker with Bumblebee on FedoraProblems installing Ubuntu / Kubuntu 18.04 on new build computerUbuntu 16.04 and 18.04 crash with cuda 9.0old nvidia driver from apt install and new one from .run fileHow to uninstall Nvidia driver and keep Cuda?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I want to install CUDA on my system to run OpenCV.
I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver incompatibility.
According to the wiki https://github.com/NVIDIA/nvidia-docker/wiki/CUDA, it seems that I can only CUDA 9.1, which isn't supported in Ubuntu 18.04.



How can I have CUDA on 18.04? Will I need a different GPU? Will I need to downgrade my OS to run CUDA?










share|improve this question







New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

    – sebasth
    21 hours ago













  • Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

    – araman92
    6 hours ago


















0















I want to install CUDA on my system to run OpenCV.
I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver incompatibility.
According to the wiki https://github.com/NVIDIA/nvidia-docker/wiki/CUDA, it seems that I can only CUDA 9.1, which isn't supported in Ubuntu 18.04.



How can I have CUDA on 18.04? Will I need a different GPU? Will I need to downgrade my OS to run CUDA?










share|improve this question







New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

    – sebasth
    21 hours ago













  • Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

    – araman92
    6 hours ago














0












0








0








I want to install CUDA on my system to run OpenCV.
I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver incompatibility.
According to the wiki https://github.com/NVIDIA/nvidia-docker/wiki/CUDA, it seems that I can only CUDA 9.1, which isn't supported in Ubuntu 18.04.



How can I have CUDA on 18.04? Will I need a different GPU? Will I need to downgrade my OS to run CUDA?










share|improve this question







New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I want to install CUDA on my system to run OpenCV.
I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver incompatibility.
According to the wiki https://github.com/NVIDIA/nvidia-docker/wiki/CUDA, it seems that I can only CUDA 9.1, which isn't supported in Ubuntu 18.04.



How can I have CUDA on 18.04? Will I need a different GPU? Will I need to downgrade my OS to run CUDA?







ubuntu drivers nvidia opencv






share|improve this question







New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









araman92araman92

11




11




New contributor




araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






araman92 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

    – sebasth
    21 hours ago













  • Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

    – araman92
    6 hours ago



















  • How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

    – sebasth
    21 hours ago













  • Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

    – araman92
    6 hours ago

















How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

– sebasth
21 hours ago







How did you try to install CUDA 10? Why can't you try to install CUDA 9.1 in same way?

– sebasth
21 hours ago















Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

– araman92
6 hours ago





Actually updating the driver helped fixed the CUDA installation issue! The 1050 Ti supports the 418 driver as well, so when I updated that I was able to fix it.

– araman92
6 hours ago










1 Answer
1






active

oldest

votes


















1














You can only use a version of CUDA which is compatible with your drivers. You can check the compatibility from CUDA release notes, for driver version 390.116 the highest supported version of CUDA is 9.1.



You can download different versions from CUDA download page. You could download the runfile and install the required components in /usr/local. You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on).






share|improve this answer
























  • CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

    – araman92
    6 hours ago











  • "You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

    – araman92
    6 hours ago











  • Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

    – sebasth
    6 hours ago














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






araman92 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511552%2finstalling-cuda-on-my-ubuntu-18-04-system%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














You can only use a version of CUDA which is compatible with your drivers. You can check the compatibility from CUDA release notes, for driver version 390.116 the highest supported version of CUDA is 9.1.



You can download different versions from CUDA download page. You could download the runfile and install the required components in /usr/local. You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on).






share|improve this answer
























  • CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

    – araman92
    6 hours ago











  • "You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

    – araman92
    6 hours ago











  • Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

    – sebasth
    6 hours ago


















1














You can only use a version of CUDA which is compatible with your drivers. You can check the compatibility from CUDA release notes, for driver version 390.116 the highest supported version of CUDA is 9.1.



You can download different versions from CUDA download page. You could download the runfile and install the required components in /usr/local. You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on).






share|improve this answer
























  • CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

    – araman92
    6 hours ago











  • "You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

    – araman92
    6 hours ago











  • Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

    – sebasth
    6 hours ago
















1












1








1







You can only use a version of CUDA which is compatible with your drivers. You can check the compatibility from CUDA release notes, for driver version 390.116 the highest supported version of CUDA is 9.1.



You can download different versions from CUDA download page. You could download the runfile and install the required components in /usr/local. You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on).






share|improve this answer













You can only use a version of CUDA which is compatible with your drivers. You can check the compatibility from CUDA release notes, for driver version 390.116 the highest supported version of CUDA is 9.1.



You can download different versions from CUDA download page. You could download the runfile and install the required components in /usr/local. You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on).







share|improve this answer












share|improve this answer



share|improve this answer










answered 21 hours ago









sebasthsebasth

8,78132450




8,78132450













  • CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

    – araman92
    6 hours ago











  • "You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

    – araman92
    6 hours ago











  • Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

    – sebasth
    6 hours ago





















  • CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

    – araman92
    6 hours ago











  • "You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

    – araman92
    6 hours ago











  • Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

    – sebasth
    6 hours ago



















CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

– araman92
6 hours ago





CUDA 9.1 isn't supported on Ubuntu 18.04, it would have needed to downgrade to 16.04 to run it. I decided to update the Nividia driver, however. I'm running the 418 after which the CUDA 10 installation worked fine.

– araman92
6 hours ago













"You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

– araman92
6 hours ago





"You should not install the driver which the installer suggests, as it would replace your distribution packaged driver (and possibly cause issues with package management/kernel updates later on)." I haven't had any issues yet, and hopefully (fingers crossed) I won;t have problems later. 418 was the recommended installation when I ran $ ubuntu-drivers devices.

– araman92
6 hours ago













Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

– sebasth
6 hours ago







Even that 9.1 is not officially supported on 18.04, the older 16.04 likely works just fine (I am using CUDA 9.1 on Debian sid without issues)

– sebasth
6 hours ago












araman92 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















araman92 is a new contributor. Be nice, and check out our Code of Conduct.













araman92 is a new contributor. Be nice, and check out our Code of Conduct.












araman92 is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511552%2finstalling-cuda-on-my-ubuntu-18-04-system%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...