old nvidia driver from apt install and new one from .run file
Clash Royale CLAN TAG#URR8PPP
I have nvidia driver installed in my debian 9 machine. cat /proc/driver/nvidia/version
shows the following information:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.130 Wed Mar 21
03:37:26 PDT 2018 GCC version: gcc version 6.3.0 20170516 (Debian
6.3.0-18+deb9u1)
Now I need install cuda 10, which requires nvidia driver version 410. The downloaded cuda installation package (a .run file) includes nvidia driver v410 installation. My question is: do I need do anything (such as uninstall) for my installed v384 version driver before I install the new one? or they can co-exist or the old one will be covered automatically?
I guess the v384 driver was installed by apt install nvidia-cuda-toolkit
previously, which installs cuda 8.0 and nvidia driver v384. I am not sure how to uninstall old v384 driver. apt list --installed|grep nvidia
in the machine shows quite some packages:
glx-alternative-nvidia/now 0.8.3~deb9u1 amd64 [installed,upgradable
to: 0.8.8~deb9u2] libnvidia-cfg1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] libnvidia-compiler/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] libnvidia-fatbinaryloader/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] libnvidia-ml1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
libnvidia-ptxjitcompiler1/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] nvidia-alternative/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-cuda-dev/stable,now
8.0.44-4 amd64 [installed,automatic] nvidia-cuda-doc/stable,stable,now 8.0.44-4 all [installed,automatic] nvidia-cuda-gdb/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-cuda-toolkit/stable,now 8.0.44-4
amd64 [installed] nvidia-detect/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
nvidia-installer-cleanup/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-common/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-dkms/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-kernel-support/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-legacy-check/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-libopencl1/now 384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-modprobe/now
384.111-2~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-opencl-common/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-opencl-dev/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-opencl-icd/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-persistenced/now
384.111-1~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-profiler/stable,now 8.0.44-4 amd64 [installed,automatic]
nvidia-smi/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-support/stable,now 20151021+4 amd64 [installed,automatic] nvidia-visual-profiler/stable,now 8.0.44-4 amd64
[installed,automatic]
debian ubuntu nvidia
add a comment |
I have nvidia driver installed in my debian 9 machine. cat /proc/driver/nvidia/version
shows the following information:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.130 Wed Mar 21
03:37:26 PDT 2018 GCC version: gcc version 6.3.0 20170516 (Debian
6.3.0-18+deb9u1)
Now I need install cuda 10, which requires nvidia driver version 410. The downloaded cuda installation package (a .run file) includes nvidia driver v410 installation. My question is: do I need do anything (such as uninstall) for my installed v384 version driver before I install the new one? or they can co-exist or the old one will be covered automatically?
I guess the v384 driver was installed by apt install nvidia-cuda-toolkit
previously, which installs cuda 8.0 and nvidia driver v384. I am not sure how to uninstall old v384 driver. apt list --installed|grep nvidia
in the machine shows quite some packages:
glx-alternative-nvidia/now 0.8.3~deb9u1 amd64 [installed,upgradable
to: 0.8.8~deb9u2] libnvidia-cfg1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] libnvidia-compiler/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] libnvidia-fatbinaryloader/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] libnvidia-ml1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
libnvidia-ptxjitcompiler1/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] nvidia-alternative/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-cuda-dev/stable,now
8.0.44-4 amd64 [installed,automatic] nvidia-cuda-doc/stable,stable,now 8.0.44-4 all [installed,automatic] nvidia-cuda-gdb/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-cuda-toolkit/stable,now 8.0.44-4
amd64 [installed] nvidia-detect/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
nvidia-installer-cleanup/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-common/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-dkms/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-kernel-support/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-legacy-check/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-libopencl1/now 384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-modprobe/now
384.111-2~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-opencl-common/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-opencl-dev/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-opencl-icd/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-persistenced/now
384.111-1~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-profiler/stable,now 8.0.44-4 amd64 [installed,automatic]
nvidia-smi/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-support/stable,now 20151021+4 amd64 [installed,automatic] nvidia-visual-profiler/stable,now 8.0.44-4 amd64
[installed,automatic]
debian ubuntu nvidia
add a comment |
I have nvidia driver installed in my debian 9 machine. cat /proc/driver/nvidia/version
shows the following information:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.130 Wed Mar 21
03:37:26 PDT 2018 GCC version: gcc version 6.3.0 20170516 (Debian
6.3.0-18+deb9u1)
Now I need install cuda 10, which requires nvidia driver version 410. The downloaded cuda installation package (a .run file) includes nvidia driver v410 installation. My question is: do I need do anything (such as uninstall) for my installed v384 version driver before I install the new one? or they can co-exist or the old one will be covered automatically?
I guess the v384 driver was installed by apt install nvidia-cuda-toolkit
previously, which installs cuda 8.0 and nvidia driver v384. I am not sure how to uninstall old v384 driver. apt list --installed|grep nvidia
in the machine shows quite some packages:
glx-alternative-nvidia/now 0.8.3~deb9u1 amd64 [installed,upgradable
to: 0.8.8~deb9u2] libnvidia-cfg1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] libnvidia-compiler/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] libnvidia-fatbinaryloader/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] libnvidia-ml1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
libnvidia-ptxjitcompiler1/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] nvidia-alternative/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-cuda-dev/stable,now
8.0.44-4 amd64 [installed,automatic] nvidia-cuda-doc/stable,stable,now 8.0.44-4 all [installed,automatic] nvidia-cuda-gdb/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-cuda-toolkit/stable,now 8.0.44-4
amd64 [installed] nvidia-detect/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
nvidia-installer-cleanup/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-common/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-dkms/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-kernel-support/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-legacy-check/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-libopencl1/now 384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-modprobe/now
384.111-2~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-opencl-common/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-opencl-dev/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-opencl-icd/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-persistenced/now
384.111-1~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-profiler/stable,now 8.0.44-4 amd64 [installed,automatic]
nvidia-smi/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-support/stable,now 20151021+4 amd64 [installed,automatic] nvidia-visual-profiler/stable,now 8.0.44-4 amd64
[installed,automatic]
debian ubuntu nvidia
I have nvidia driver installed in my debian 9 machine. cat /proc/driver/nvidia/version
shows the following information:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.130 Wed Mar 21
03:37:26 PDT 2018 GCC version: gcc version 6.3.0 20170516 (Debian
6.3.0-18+deb9u1)
Now I need install cuda 10, which requires nvidia driver version 410. The downloaded cuda installation package (a .run file) includes nvidia driver v410 installation. My question is: do I need do anything (such as uninstall) for my installed v384 version driver before I install the new one? or they can co-exist or the old one will be covered automatically?
I guess the v384 driver was installed by apt install nvidia-cuda-toolkit
previously, which installs cuda 8.0 and nvidia driver v384. I am not sure how to uninstall old v384 driver. apt list --installed|grep nvidia
in the machine shows quite some packages:
glx-alternative-nvidia/now 0.8.3~deb9u1 amd64 [installed,upgradable
to: 0.8.8~deb9u2] libnvidia-cfg1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] libnvidia-compiler/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] libnvidia-fatbinaryloader/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] libnvidia-ml1/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
libnvidia-ptxjitcompiler1/now 384.130-1 amd64 [installed,upgradable
to: 390.87-8~deb9u1] nvidia-alternative/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-cuda-dev/stable,now
8.0.44-4 amd64 [installed,automatic] nvidia-cuda-doc/stable,stable,now 8.0.44-4 all [installed,automatic] nvidia-cuda-gdb/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-cuda-toolkit/stable,now 8.0.44-4
amd64 [installed] nvidia-detect/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1]
nvidia-installer-cleanup/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-common/stable,now 20151021+4 amd64
[installed,automatic] nvidia-kernel-dkms/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-kernel-support/now
384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-legacy-check/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-libopencl1/now 384.130-1 amd64 [installed,upgradable to: 390.87-8~deb9u1] nvidia-modprobe/now
384.111-2~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-opencl-common/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-opencl-dev/stable,now 8.0.44-4 amd64 [installed,automatic] nvidia-opencl-icd/now 384.130-1 amd64
[installed,upgradable to: 390.87-8~deb9u1] nvidia-persistenced/now
384.111-1~deb9u1 amd64 [installed,upgradable to: 390.87-1~deb9u1] nvidia-profiler/stable,now 8.0.44-4 amd64 [installed,automatic]
nvidia-smi/now 384.130-1 amd64 [installed,upgradable to:
390.87-8~deb9u1] nvidia-support/stable,now 20151021+4 amd64 [installed,automatic] nvidia-visual-profiler/stable,now 8.0.44-4 amd64
[installed,automatic]
debian ubuntu nvidia
debian ubuntu nvidia
edited Feb 17 at 7:22
Rui F Ribeiro
41.4k1481140
41.4k1481140
asked Feb 16 at 21:20
michael morganmichael morgan
255
255
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I was just looking for a similar answer. I have Debian 9 and currently have Nvidia driver 418.34 successfully installed along with CUDA 10.0 tool kit
I would first start by asking what your current GPU is? You need to make sure that your current GPU is compatible with Nvidia driver 410 (or 418.34). I also know that the two drivers (384 and 410) will not coexist together at the same time.
I recently got an RTX 2080, and Nvidia recently released the newest version of their driver (418.43). I went to the Nvidia website and downloaded their ".run" file for v418.43. I then removed the old driver (v384) using aptitude. Afterwards I tried to install the new version with the ".run" file, but it kept saying I couldn't install because I was currently using Xorg.
Try installing it by Alt + Ctrl + F2 and running the ".run" there. Try to install the new driver without rebooting.
If you reboot, you might not be able to boot after, but I have a possible solution to this if you are interested.
Once the driver was installed, you can test by running "nvidia-smi" in your terminal.
I then went to Nvidia's website to download the CUDA 10.0 ".run" file (I downloaded the one for Ubuntu 18.04).
At first the installer was saying that my configuration was not compatible and if I wanted to continue anyways. I said "yes".
I also said "Yes" to install the tool kit and the samples, but refused the nvidia driver install.
The installation finished as "incomplete", however I went to the directory it was installed in and tested it with a test cuda program and everything work perfectly.
I will continue to do testing, but as of now everything seems to work as it should.
If you run into issues with booting or GUI not loading, I might be able to help because I ran into those issues.
I hope this helps. There is very little information out there for Debian 9 and CUDA 10.
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:sudo apt-get purge nvidia-*
thensudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.
– T. Hound
Feb 28 at 1:30
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501095%2fold-nvidia-driver-from-apt-install-and-new-one-from-run-file%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
I was just looking for a similar answer. I have Debian 9 and currently have Nvidia driver 418.34 successfully installed along with CUDA 10.0 tool kit
I would first start by asking what your current GPU is? You need to make sure that your current GPU is compatible with Nvidia driver 410 (or 418.34). I also know that the two drivers (384 and 410) will not coexist together at the same time.
I recently got an RTX 2080, and Nvidia recently released the newest version of their driver (418.43). I went to the Nvidia website and downloaded their ".run" file for v418.43. I then removed the old driver (v384) using aptitude. Afterwards I tried to install the new version with the ".run" file, but it kept saying I couldn't install because I was currently using Xorg.
Try installing it by Alt + Ctrl + F2 and running the ".run" there. Try to install the new driver without rebooting.
If you reboot, you might not be able to boot after, but I have a possible solution to this if you are interested.
Once the driver was installed, you can test by running "nvidia-smi" in your terminal.
I then went to Nvidia's website to download the CUDA 10.0 ".run" file (I downloaded the one for Ubuntu 18.04).
At first the installer was saying that my configuration was not compatible and if I wanted to continue anyways. I said "yes".
I also said "Yes" to install the tool kit and the samples, but refused the nvidia driver install.
The installation finished as "incomplete", however I went to the directory it was installed in and tested it with a test cuda program and everything work perfectly.
I will continue to do testing, but as of now everything seems to work as it should.
If you run into issues with booting or GUI not loading, I might be able to help because I ran into those issues.
I hope this helps. There is very little information out there for Debian 9 and CUDA 10.
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:sudo apt-get purge nvidia-*
thensudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.
– T. Hound
Feb 28 at 1:30
add a comment |
I was just looking for a similar answer. I have Debian 9 and currently have Nvidia driver 418.34 successfully installed along with CUDA 10.0 tool kit
I would first start by asking what your current GPU is? You need to make sure that your current GPU is compatible with Nvidia driver 410 (or 418.34). I also know that the two drivers (384 and 410) will not coexist together at the same time.
I recently got an RTX 2080, and Nvidia recently released the newest version of their driver (418.43). I went to the Nvidia website and downloaded their ".run" file for v418.43. I then removed the old driver (v384) using aptitude. Afterwards I tried to install the new version with the ".run" file, but it kept saying I couldn't install because I was currently using Xorg.
Try installing it by Alt + Ctrl + F2 and running the ".run" there. Try to install the new driver without rebooting.
If you reboot, you might not be able to boot after, but I have a possible solution to this if you are interested.
Once the driver was installed, you can test by running "nvidia-smi" in your terminal.
I then went to Nvidia's website to download the CUDA 10.0 ".run" file (I downloaded the one for Ubuntu 18.04).
At first the installer was saying that my configuration was not compatible and if I wanted to continue anyways. I said "yes".
I also said "Yes" to install the tool kit and the samples, but refused the nvidia driver install.
The installation finished as "incomplete", however I went to the directory it was installed in and tested it with a test cuda program and everything work perfectly.
I will continue to do testing, but as of now everything seems to work as it should.
If you run into issues with booting or GUI not loading, I might be able to help because I ran into those issues.
I hope this helps. There is very little information out there for Debian 9 and CUDA 10.
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:sudo apt-get purge nvidia-*
thensudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.
– T. Hound
Feb 28 at 1:30
add a comment |
I was just looking for a similar answer. I have Debian 9 and currently have Nvidia driver 418.34 successfully installed along with CUDA 10.0 tool kit
I would first start by asking what your current GPU is? You need to make sure that your current GPU is compatible with Nvidia driver 410 (or 418.34). I also know that the two drivers (384 and 410) will not coexist together at the same time.
I recently got an RTX 2080, and Nvidia recently released the newest version of their driver (418.43). I went to the Nvidia website and downloaded their ".run" file for v418.43. I then removed the old driver (v384) using aptitude. Afterwards I tried to install the new version with the ".run" file, but it kept saying I couldn't install because I was currently using Xorg.
Try installing it by Alt + Ctrl + F2 and running the ".run" there. Try to install the new driver without rebooting.
If you reboot, you might not be able to boot after, but I have a possible solution to this if you are interested.
Once the driver was installed, you can test by running "nvidia-smi" in your terminal.
I then went to Nvidia's website to download the CUDA 10.0 ".run" file (I downloaded the one for Ubuntu 18.04).
At first the installer was saying that my configuration was not compatible and if I wanted to continue anyways. I said "yes".
I also said "Yes" to install the tool kit and the samples, but refused the nvidia driver install.
The installation finished as "incomplete", however I went to the directory it was installed in and tested it with a test cuda program and everything work perfectly.
I will continue to do testing, but as of now everything seems to work as it should.
If you run into issues with booting or GUI not loading, I might be able to help because I ran into those issues.
I hope this helps. There is very little information out there for Debian 9 and CUDA 10.
I was just looking for a similar answer. I have Debian 9 and currently have Nvidia driver 418.34 successfully installed along with CUDA 10.0 tool kit
I would first start by asking what your current GPU is? You need to make sure that your current GPU is compatible with Nvidia driver 410 (or 418.34). I also know that the two drivers (384 and 410) will not coexist together at the same time.
I recently got an RTX 2080, and Nvidia recently released the newest version of their driver (418.43). I went to the Nvidia website and downloaded their ".run" file for v418.43. I then removed the old driver (v384) using aptitude. Afterwards I tried to install the new version with the ".run" file, but it kept saying I couldn't install because I was currently using Xorg.
Try installing it by Alt + Ctrl + F2 and running the ".run" there. Try to install the new driver without rebooting.
If you reboot, you might not be able to boot after, but I have a possible solution to this if you are interested.
Once the driver was installed, you can test by running "nvidia-smi" in your terminal.
I then went to Nvidia's website to download the CUDA 10.0 ".run" file (I downloaded the one for Ubuntu 18.04).
At first the installer was saying that my configuration was not compatible and if I wanted to continue anyways. I said "yes".
I also said "Yes" to install the tool kit and the samples, but refused the nvidia driver install.
The installation finished as "incomplete", however I went to the directory it was installed in and tested it with a test cuda program and everything work perfectly.
I will continue to do testing, but as of now everything seems to work as it should.
If you run into issues with booting or GUI not loading, I might be able to help because I ran into those issues.
I hope this helps. There is very little information out there for Debian 9 and CUDA 10.
edited Feb 25 at 2:59
answered Feb 25 at 0:58
T. HoundT. Hound
11
11
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:sudo apt-get purge nvidia-*
thensudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.
– T. Hound
Feb 28 at 1:30
add a comment |
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:sudo apt-get purge nvidia-*
thensudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.
– T. Hound
Feb 28 at 1:30
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
It would be more helpful if you focused on the correct procedures, and left out the saga of your missteps.
– G-Man
Feb 25 at 2:11
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@G-Man Thank you for your comment. I realized that I added answers to questions that were not asked. I have edited my answer to leave out the "saga of my missteps".
– T. Hound
Feb 25 at 3:02
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@T. Hound, thanks. Can you tell me how did you remove the old driver? I believe my old driver was installed as a part when I installed nvidia-cuda-toolkit package.
– michael morgan
Feb 26 at 1:50
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:
sudo apt-get purge nvidia-*
then sudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.– T. Hound
Feb 28 at 1:30
@michaelmorgan If you installed it with nvidia-cuda-toolkit, I believe you can remove it with:
sudo apt-get purge nvidia-*
then sudo apt-get autoremove
Please try to ensure to install the new driver before you reboot. Otherwise, you might not be able to boot back in. However, I can probably help if you have no other choice.– T. Hound
Feb 28 at 1:30
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501095%2fold-nvidia-driver-from-apt-install-and-new-one-from-run-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
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