Cuda and Nvidia Driver Installation on Ubuntu 16.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am about to loose my mind !



I installed Ubuntu 16.04 LTS. My computer has an integrated Intel VGA and a GPU which is Nvidia GTX 1070. As you can predict, I installed the latest Nvidia GPU driver (390.48) and CUDA 9.1 respectively. I also did vice versa. However both sequences ended up with problem. (I applied almost 10 methods from the internet, especially NVIDIA CUDA installation guide for Linux) Here are the steps that I applied:



1) I installed Nvidia GPU driver version of 390.48 from nvidia.com. According to https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07?_pjax=%23gist-pjax-container (via run file). That installation was completed without any problem and I was able to use my GPU. Afterwards, I installed CUDA 9.1 regarding https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. However, after installation of CUDA, I got a few problems which are;



By the way, I applied this installation sequence a few times.So, the problems that I indicated below are the result of trials. (for each trial, I always formatted the disk and reinstalled Ubuntu)



  • System installation failed because of nvidia driver version of 387 although I installed version of 390.

  • After Installation of Cuda 9.1 after installing gpu driver, driver version of 390.48 reverted to 388.11.

  • and so on.....

Again, I reinstalled Ubuntu by formatting and deleting everything in it.



2) I installed Cuda 9.1 and GPU driver version of 390.48 respectively (vice versa of above). This time, again, during the installation of CUDA 9.1, I got the error of fail of nvidia driver installation. So, I installed Nvidia driver version of 390.48 by removing pre-installed nvidia files and things. Still I got nothing except fails.



Please give some advices or solution for this problem. I need to install GPU driver 390.48 and CUDA 9.1. By the way, I have almost tried every solution on the internet, including Nvidia Guides. Where am i doing wrong ?







share|improve this question




















  • Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
    – Terrance
    Apr 19 at 21:33










  • now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
    – Ender A. Rencüzoğulları
    Apr 19 at 21:55










  • If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
    – Terrance
    Apr 19 at 21:56










  • can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
    – Ender A. Rencüzoğulları
    Apr 19 at 23:03











  • You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
    – Terrance
    Apr 19 at 23:14














up vote
0
down vote

favorite












I am about to loose my mind !



I installed Ubuntu 16.04 LTS. My computer has an integrated Intel VGA and a GPU which is Nvidia GTX 1070. As you can predict, I installed the latest Nvidia GPU driver (390.48) and CUDA 9.1 respectively. I also did vice versa. However both sequences ended up with problem. (I applied almost 10 methods from the internet, especially NVIDIA CUDA installation guide for Linux) Here are the steps that I applied:



1) I installed Nvidia GPU driver version of 390.48 from nvidia.com. According to https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07?_pjax=%23gist-pjax-container (via run file). That installation was completed without any problem and I was able to use my GPU. Afterwards, I installed CUDA 9.1 regarding https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. However, after installation of CUDA, I got a few problems which are;



By the way, I applied this installation sequence a few times.So, the problems that I indicated below are the result of trials. (for each trial, I always formatted the disk and reinstalled Ubuntu)



  • System installation failed because of nvidia driver version of 387 although I installed version of 390.

  • After Installation of Cuda 9.1 after installing gpu driver, driver version of 390.48 reverted to 388.11.

  • and so on.....

Again, I reinstalled Ubuntu by formatting and deleting everything in it.



2) I installed Cuda 9.1 and GPU driver version of 390.48 respectively (vice versa of above). This time, again, during the installation of CUDA 9.1, I got the error of fail of nvidia driver installation. So, I installed Nvidia driver version of 390.48 by removing pre-installed nvidia files and things. Still I got nothing except fails.



Please give some advices or solution for this problem. I need to install GPU driver 390.48 and CUDA 9.1. By the way, I have almost tried every solution on the internet, including Nvidia Guides. Where am i doing wrong ?







share|improve this question




















  • Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
    – Terrance
    Apr 19 at 21:33










  • now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
    – Ender A. Rencüzoğulları
    Apr 19 at 21:55










  • If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
    – Terrance
    Apr 19 at 21:56










  • can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
    – Ender A. Rencüzoğulları
    Apr 19 at 23:03











  • You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
    – Terrance
    Apr 19 at 23:14












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am about to loose my mind !



I installed Ubuntu 16.04 LTS. My computer has an integrated Intel VGA and a GPU which is Nvidia GTX 1070. As you can predict, I installed the latest Nvidia GPU driver (390.48) and CUDA 9.1 respectively. I also did vice versa. However both sequences ended up with problem. (I applied almost 10 methods from the internet, especially NVIDIA CUDA installation guide for Linux) Here are the steps that I applied:



1) I installed Nvidia GPU driver version of 390.48 from nvidia.com. According to https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07?_pjax=%23gist-pjax-container (via run file). That installation was completed without any problem and I was able to use my GPU. Afterwards, I installed CUDA 9.1 regarding https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. However, after installation of CUDA, I got a few problems which are;



By the way, I applied this installation sequence a few times.So, the problems that I indicated below are the result of trials. (for each trial, I always formatted the disk and reinstalled Ubuntu)



  • System installation failed because of nvidia driver version of 387 although I installed version of 390.

  • After Installation of Cuda 9.1 after installing gpu driver, driver version of 390.48 reverted to 388.11.

  • and so on.....

Again, I reinstalled Ubuntu by formatting and deleting everything in it.



2) I installed Cuda 9.1 and GPU driver version of 390.48 respectively (vice versa of above). This time, again, during the installation of CUDA 9.1, I got the error of fail of nvidia driver installation. So, I installed Nvidia driver version of 390.48 by removing pre-installed nvidia files and things. Still I got nothing except fails.



Please give some advices or solution for this problem. I need to install GPU driver 390.48 and CUDA 9.1. By the way, I have almost tried every solution on the internet, including Nvidia Guides. Where am i doing wrong ?







share|improve this question












I am about to loose my mind !



I installed Ubuntu 16.04 LTS. My computer has an integrated Intel VGA and a GPU which is Nvidia GTX 1070. As you can predict, I installed the latest Nvidia GPU driver (390.48) and CUDA 9.1 respectively. I also did vice versa. However both sequences ended up with problem. (I applied almost 10 methods from the internet, especially NVIDIA CUDA installation guide for Linux) Here are the steps that I applied:



1) I installed Nvidia GPU driver version of 390.48 from nvidia.com. According to https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07?_pjax=%23gist-pjax-container (via run file). That installation was completed without any problem and I was able to use my GPU. Afterwards, I installed CUDA 9.1 regarding https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html. However, after installation of CUDA, I got a few problems which are;



By the way, I applied this installation sequence a few times.So, the problems that I indicated below are the result of trials. (for each trial, I always formatted the disk and reinstalled Ubuntu)



  • System installation failed because of nvidia driver version of 387 although I installed version of 390.

  • After Installation of Cuda 9.1 after installing gpu driver, driver version of 390.48 reverted to 388.11.

  • and so on.....

Again, I reinstalled Ubuntu by formatting and deleting everything in it.



2) I installed Cuda 9.1 and GPU driver version of 390.48 respectively (vice versa of above). This time, again, during the installation of CUDA 9.1, I got the error of fail of nvidia driver installation. So, I installed Nvidia driver version of 390.48 by removing pre-installed nvidia files and things. Still I got nothing except fails.



Please give some advices or solution for this problem. I need to install GPU driver 390.48 and CUDA 9.1. By the way, I have almost tried every solution on the internet, including Nvidia Guides. Where am i doing wrong ?









share|improve this question











share|improve this question




share|improve this question










asked Apr 19 at 21:09









Ender A. Rencüzoğulları

12




12











  • Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
    – Terrance
    Apr 19 at 21:33










  • now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
    – Ender A. Rencüzoğulları
    Apr 19 at 21:55










  • If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
    – Terrance
    Apr 19 at 21:56










  • can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
    – Ender A. Rencüzoğulları
    Apr 19 at 23:03











  • You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
    – Terrance
    Apr 19 at 23:14
















  • Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
    – Terrance
    Apr 19 at 21:33










  • now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
    – Ender A. Rencüzoğulları
    Apr 19 at 21:55










  • If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
    – Terrance
    Apr 19 at 21:56










  • can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
    – Ender A. Rencüzoğulları
    Apr 19 at 23:03











  • You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
    – Terrance
    Apr 19 at 23:14















Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
– Terrance
Apr 19 at 21:33




Have you tried this one: askubuntu.com/a/1025949/231142 ? It does install the 390.48 drivers as well.
– Terrance
Apr 19 at 21:33












now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
– Ender A. Rencüzoğulları
Apr 19 at 21:55




now, I am trying a method that a moderator from Nvidia recommended. If that works, I will post the solution. Still thanks.
– Ender A. Rencüzoğulları
Apr 19 at 21:55












If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
– Terrance
Apr 19 at 21:56




If you get one that works, feel free to write that as your answer here. It will definitely help others that could be experiencing the same issue. :)
– Terrance
Apr 19 at 21:56












can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
– Ender A. Rencüzoğulları
Apr 19 at 23:03





can you please help me about a step? in the link below, there is 4.1.5.2 which says "Reboot into runlevel 3 by temporarily adding the number "3" and the word "nomodeset" to the end of the system's kernel boot parameters." what does it mean? what am i supposed to do? docs.nvidia.com/cuda/cuda-quick-start-guide/…
– Ender A. Rencüzoğulları
Apr 19 at 23:03













You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
– Terrance
Apr 19 at 23:14




You need to edit the entry during startup by pressing the e key then finding the kernel line which I believe will have the vmlinuz on it, then you add the 3 and nomodeset to the end of that line.
– Terrance
Apr 19 at 23:14















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026526%2fcuda-and-nvidia-driver-installation-on-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026526%2fcuda-and-nvidia-driver-installation-on-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

`kcmshell` modules relation with `/usr/share/applications`

How to enroll fingerprints to Ubuntu 17.10 with VFS491