Cuda and Nvidia Driver Installation on Ubuntu 16.04


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 ?
drivers cuda nvidia-geforce
 |Â
show 5 more comments
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 ?
drivers cuda nvidia-geforce
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 thee
key then finding the kernel line which I believe will have thevmlinuz
on it, then you add the3
andnomodeset
to the end of that line.
â Terrance
Apr 19 at 23:14
 |Â
show 5 more comments
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 ?
drivers cuda nvidia-geforce
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 ?
drivers cuda nvidia-geforce
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 thee
key then finding the kernel line which I believe will have thevmlinuz
on it, then you add the3
andnomodeset
to the end of that line.
â Terrance
Apr 19 at 23:14
 |Â
show 5 more comments
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 thee
key then finding the kernel line which I believe will have thevmlinuz
on it, then you add the3
andnomodeset
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
 |Â
show 5 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 thevmlinuz
on it, then you add the3
andnomodeset
to the end of that line.â Terrance
Apr 19 at 23:14