Error in installing Cuda Toolkit Ubuntu 16.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I am trying to install Nvidia package and CUDA Toolkit in my Ubuntu 16.04 LTS. I have installed Nvidia driver and on running :
nvidia-smi
it shows my driver version is 384.111 and it seems the same is perfectly installed.
Now, I'm trying to install Cuda Toolkit 9.1. The same is causing a problem. I am going to tty1 and the stopping lightdm. Thereafter, I'm trying to run the ".run" file downloaded from
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal
I am getting the following error:
Checking for libEGL
Got EGL_VENDOR string "NVIDIA", expected "DUMMY VENDOR"
An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.
I would like to request any suggestions on what steps should I follow. For your info, I had earlier purged all Nvidia files before installing the driver.
16.04 drivers nvidia cuda
add a comment |Â
up vote
0
down vote
favorite
I am trying to install Nvidia package and CUDA Toolkit in my Ubuntu 16.04 LTS. I have installed Nvidia driver and on running :
nvidia-smi
it shows my driver version is 384.111 and it seems the same is perfectly installed.
Now, I'm trying to install Cuda Toolkit 9.1. The same is causing a problem. I am going to tty1 and the stopping lightdm. Thereafter, I'm trying to run the ".run" file downloaded from
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal
I am getting the following error:
Checking for libEGL
Got EGL_VENDOR string "NVIDIA", expected "DUMMY VENDOR"
An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.
I would like to request any suggestions on what steps should I follow. For your info, I had earlier purged all Nvidia files before installing the driver.
16.04 drivers nvidia cuda
How are you installing the NVIDIA drivers? From a.run
file or from thegraphics-drivers ppa
?
â Terrance
Mar 28 at 16:28
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to install Nvidia package and CUDA Toolkit in my Ubuntu 16.04 LTS. I have installed Nvidia driver and on running :
nvidia-smi
it shows my driver version is 384.111 and it seems the same is perfectly installed.
Now, I'm trying to install Cuda Toolkit 9.1. The same is causing a problem. I am going to tty1 and the stopping lightdm. Thereafter, I'm trying to run the ".run" file downloaded from
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal
I am getting the following error:
Checking for libEGL
Got EGL_VENDOR string "NVIDIA", expected "DUMMY VENDOR"
An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.
I would like to request any suggestions on what steps should I follow. For your info, I had earlier purged all Nvidia files before installing the driver.
16.04 drivers nvidia cuda
I am trying to install Nvidia package and CUDA Toolkit in my Ubuntu 16.04 LTS. I have installed Nvidia driver and on running :
nvidia-smi
it shows my driver version is 384.111 and it seems the same is perfectly installed.
Now, I'm trying to install Cuda Toolkit 9.1. The same is causing a problem. I am going to tty1 and the stopping lightdm. Thereafter, I'm trying to run the ".run" file downloaded from
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal
I am getting the following error:
Checking for libEGL
Got EGL_VENDOR string "NVIDIA", expected "DUMMY VENDOR"
An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.
I would like to request any suggestions on what steps should I follow. For your info, I had earlier purged all Nvidia files before installing the driver.
16.04 drivers nvidia cuda
16.04 drivers nvidia cuda
asked Mar 28 at 16:24
Sayantan
33
33
How are you installing the NVIDIA drivers? From a.run
file or from thegraphics-drivers ppa
?
â Terrance
Mar 28 at 16:28
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52
add a comment |Â
How are you installing the NVIDIA drivers? From a.run
file or from thegraphics-drivers ppa
?
â Terrance
Mar 28 at 16:28
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52
How are you installing the NVIDIA drivers? From a
.run
file or from the graphics-drivers ppa
?â Terrance
Mar 28 at 16:28
How are you installing the NVIDIA drivers? From a
.run
file or from the graphics-drivers ppa
?â Terrance
Mar 28 at 16:28
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
There aren't any libglvnd packages in the default Ubuntu 16.04 repositories, so you must have gotten the incomplete installation of libglvnd from some other software source, possibly from the Nvidia files that you had earlier purged, if not from some other package that uses GL graphics library. So allow installing a full copy of libglvnd in order to make sure that NVIDIA CUDA Toolkit 9.1 works properly.
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
There aren't any libglvnd packages in the default Ubuntu 16.04 repositories, so you must have gotten the incomplete installation of libglvnd from some other software source, possibly from the Nvidia files that you had earlier purged, if not from some other package that uses GL graphics library. So allow installing a full copy of libglvnd in order to make sure that NVIDIA CUDA Toolkit 9.1 works properly.
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
 |Â
show 3 more comments
up vote
0
down vote
accepted
There aren't any libglvnd packages in the default Ubuntu 16.04 repositories, so you must have gotten the incomplete installation of libglvnd from some other software source, possibly from the Nvidia files that you had earlier purged, if not from some other package that uses GL graphics library. So allow installing a full copy of libglvnd in order to make sure that NVIDIA CUDA Toolkit 9.1 works properly.
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
 |Â
show 3 more comments
up vote
0
down vote
accepted
up vote
0
down vote
accepted
There aren't any libglvnd packages in the default Ubuntu 16.04 repositories, so you must have gotten the incomplete installation of libglvnd from some other software source, possibly from the Nvidia files that you had earlier purged, if not from some other package that uses GL graphics library. So allow installing a full copy of libglvnd in order to make sure that NVIDIA CUDA Toolkit 9.1 works properly.
There aren't any libglvnd packages in the default Ubuntu 16.04 repositories, so you must have gotten the incomplete installation of libglvnd from some other software source, possibly from the Nvidia files that you had earlier purged, if not from some other package that uses GL graphics library. So allow installing a full copy of libglvnd in order to make sure that NVIDIA CUDA Toolkit 9.1 works properly.
answered Mar 28 at 16:34
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
50.7k11107127
50.7k11107127
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
 |Â
show 3 more comments
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Thanks, karel. It would be great if you could suggest where could I download/how could i install libglvnd package again.
â Sayantan
Mar 28 at 16:53
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
Is it an acceptable solution if I were to delete libglvnd?
â Sayantan
Mar 28 at 16:57
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
I recommend deleting the existing libglvnd or simply overwriting it with the new one. You can also get libglvnd from the Ubuntu 17.10 and 18.04 repositories. There's nothing much for dependencies, so it looks like you can just download whatever libglvnd .deb files you want from Ubuntu Package Search and manually install them.
â karel
Mar 28 at 16:59
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
Ok. SUre. Let me check. Thank you.
â Sayantan
Mar 28 at 17:08
1
1
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
Thanks a lot. Before trying to reinstalling the package, i unpackaged the .run file and split it to two - .run for driver and .run for samples. THen I installed. It seems the install was successful. Now, the nvcc path needs to be updated.
â Sayantan
Mar 28 at 17:20
 |Â
show 3 more comments
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%2f1020024%2ferror-in-installing-cuda-toolkit-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
How are you installing the NVIDIA drivers? From a
.run
file or from thegraphics-drivers ppa
?â Terrance
Mar 28 at 16:28
I installed the nvidia drivers from the run file...NVIDIA-Linux-x86_64-390.42.run file. This successfully ran. Now, I'm trying to install Cuda Toolkit .run file, which is cuda_9.1.85_387.26_linux.run
â Sayantan
Mar 28 at 16:33
I only asked that because on Ubuntu I couldn't do it from a run file either. I actually ended up installing the drivers from the ppa instead. I helped someone recently in the comments here: askubuntu.com/questions/1016876/⦠I am thinking I need to write something up as an answer for it.
â Terrance
Mar 28 at 16:34
Thanks a lot. Let me see how to work out.
â Sayantan
Mar 28 at 16:52