How to install Nvidia driver on Debian and switch between drivers?
I tend to use nvidia-prime
on Ubuntu to run my intel graphics card instead of NVIDIA, is there a way to use nvidia-prime
on Debian?
debian nvidia
add a comment |
I tend to use nvidia-prime
on Ubuntu to run my intel graphics card instead of NVIDIA, is there a way to use nvidia-prime
on Debian?
debian nvidia
Please add the output oflspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08
add a comment |
I tend to use nvidia-prime
on Ubuntu to run my intel graphics card instead of NVIDIA, is there a way to use nvidia-prime
on Debian?
debian nvidia
I tend to use nvidia-prime
on Ubuntu to run my intel graphics card instead of NVIDIA, is there a way to use nvidia-prime
on Debian?
debian nvidia
debian nvidia
edited 2 hours ago
Rui F Ribeiro
39.2k1479130
39.2k1479130
asked Nov 1 '16 at 19:47
Eduardo Díaz
316
316
Please add the output oflspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08
add a comment |
Please add the output oflspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08
Please add the output of
lspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
Please add the output of
lspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08
add a comment |
1 Answer
1
active
oldest
votes
Edit your /etc/apt/sources.list
file and add the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update and install drivers:
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Create an Xorg server configuration file:
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"ntIdentifier "My GPU"ntDriver "nvidia"nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
Reboot
Debian-wiki
Edit
To switch between driver intel/nvidia run nvidia-settings
from the terminal and choose the driver.
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i getnumber of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).
– Eduardo Díaz
Nov 3 '16 at 11:23
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%2f320384%2fhow-to-install-nvidia-driver-on-debian-and-switch-between-drivers%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
Edit your /etc/apt/sources.list
file and add the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update and install drivers:
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Create an Xorg server configuration file:
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"ntIdentifier "My GPU"ntDriver "nvidia"nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
Reboot
Debian-wiki
Edit
To switch between driver intel/nvidia run nvidia-settings
from the terminal and choose the driver.
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i getnumber of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).
– Eduardo Díaz
Nov 3 '16 at 11:23
add a comment |
Edit your /etc/apt/sources.list
file and add the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update and install drivers:
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Create an Xorg server configuration file:
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"ntIdentifier "My GPU"ntDriver "nvidia"nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
Reboot
Debian-wiki
Edit
To switch between driver intel/nvidia run nvidia-settings
from the terminal and choose the driver.
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i getnumber of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).
– Eduardo Díaz
Nov 3 '16 at 11:23
add a comment |
Edit your /etc/apt/sources.list
file and add the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update and install drivers:
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Create an Xorg server configuration file:
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"ntIdentifier "My GPU"ntDriver "nvidia"nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
Reboot
Debian-wiki
Edit
To switch between driver intel/nvidia run nvidia-settings
from the terminal and choose the driver.
Edit your /etc/apt/sources.list
file and add the following line:
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Update and install drivers:
aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Create an Xorg server configuration file:
mkdir /etc/X11/xorg.conf.d
echo -e 'Section "Device"ntIdentifier "My GPU"ntDriver "nvidia"nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
Reboot
Debian-wiki
Edit
To switch between driver intel/nvidia run nvidia-settings
from the terminal and choose the driver.
edited Nov 1 '16 at 20:38
answered Nov 1 '16 at 20:21
GAD3R
25.5k1750107
25.5k1750107
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i getnumber of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).
– Eduardo Díaz
Nov 3 '16 at 11:23
add a comment |
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i getnumber of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).
– Eduardo Díaz
Nov 3 '16 at 11:23
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after the installation how do i choose which GPU to use?
– Eduardo Díaz
Nov 1 '16 at 20:26
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
after performing this and rebooting my screen stays black like its loading with a "_" on the top of the screen I'm able to access tty1 using ctrl + alt + f1
– Eduardo Díaz
Nov 3 '16 at 3:59
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
@EduardoDíaz see here unix.stackexchange.com/a/314004/153195
– GAD3R
Nov 3 '16 at 8:02
While executing Xorg -configure i get
number of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).– Eduardo Díaz
Nov 3 '16 at 11:23
While executing Xorg -configure i get
number of created screens does not match number of detected devices. Configuration failed
and the server terminates with error (2).– Eduardo Díaz
Nov 3 '16 at 11:23
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f320384%2fhow-to-install-nvidia-driver-on-debian-and-switch-between-drivers%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
Please add the output of
lspci -v | egrep -i 'vga|3d|nvidia' | grep -i 'nvidia'
– GAD3R
Nov 1 '16 at 19:57
kernel modules : nvidiafb, nouveau, nvidia_340
– Eduardo Díaz
Nov 1 '16 at 20:08