Error in installing Cuda Toolkit 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 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.










share|improve this question





















  • 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 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














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.










share|improve this question





















  • 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 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












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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 16:24









Sayantan

33




33











  • 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 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











  • 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










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.






share|improve this answer




















  • 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










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%2f1020024%2ferror-in-installing-cuda-toolkit-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest






























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.






share|improve this answer




















  • 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














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.






share|improve this answer




















  • 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












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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 28 at 16:34









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
















  • 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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491