Issues installing Nvidia drivers in Debian 9
I'm new to linux and I decided to install Debian 9, I installed it in my HDD in UEFI mode with a USB stick and the DVD 1 iso found here: https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/. I had some issues with network drivers but I managed to solve them. Then I wanted to install Nvidia propietary drivers, my laptop is a MSI GL62-7RDX which comes with an i7-7700HQ CPU and a GTX 1050 (2GB) graphics card, I followed the steps specified here: https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22 which are:
- Add non-free repositories by modifying the sources.list file.
Execute the following commands as root:
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver
Reboot
The problem is that when I rebooted I only got a black screen with a blinking cursor. I decided to follow the steps shown here: https://wiki.debian.org/NvidiaGraphicsDrivers#Backing_out_in_case_of_failure in order to throw back the changes. After rebooting I could see the login screen, but when I tried to login I got a login loop, despite of the password being correct.
I also tried to install Nvidia drivers as shown here: How to install the latest NVIDIA drivers on Debian 9 Stretch Linux but I got black screen with blinking cursor again.
In summary, I would like to know how to properly install Nvidia drivers in my laptop. I think I am missing something and that the problem is related to my specific hardware, because a few days ago I tried to install Ubuntu 17.10 and it only worked if I added nomodeset by pressing e in the GRUB.
debian drivers nvidia
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm new to linux and I decided to install Debian 9, I installed it in my HDD in UEFI mode with a USB stick and the DVD 1 iso found here: https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/. I had some issues with network drivers but I managed to solve them. Then I wanted to install Nvidia propietary drivers, my laptop is a MSI GL62-7RDX which comes with an i7-7700HQ CPU and a GTX 1050 (2GB) graphics card, I followed the steps specified here: https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22 which are:
- Add non-free repositories by modifying the sources.list file.
Execute the following commands as root:
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver
Reboot
The problem is that when I rebooted I only got a black screen with a blinking cursor. I decided to follow the steps shown here: https://wiki.debian.org/NvidiaGraphicsDrivers#Backing_out_in_case_of_failure in order to throw back the changes. After rebooting I could see the login screen, but when I tried to login I got a login loop, despite of the password being correct.
I also tried to install Nvidia drivers as shown here: How to install the latest NVIDIA drivers on Debian 9 Stretch Linux but I got black screen with blinking cursor again.
In summary, I would like to know how to properly install Nvidia drivers in my laptop. I think I am missing something and that the problem is related to my specific hardware, because a few days ago I tried to install Ubuntu 17.10 and it only worked if I added nomodeset by pressing e in the GRUB.
debian drivers nvidia
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16
add a comment |
I'm new to linux and I decided to install Debian 9, I installed it in my HDD in UEFI mode with a USB stick and the DVD 1 iso found here: https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/. I had some issues with network drivers but I managed to solve them. Then I wanted to install Nvidia propietary drivers, my laptop is a MSI GL62-7RDX which comes with an i7-7700HQ CPU and a GTX 1050 (2GB) graphics card, I followed the steps specified here: https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22 which are:
- Add non-free repositories by modifying the sources.list file.
Execute the following commands as root:
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver
Reboot
The problem is that when I rebooted I only got a black screen with a blinking cursor. I decided to follow the steps shown here: https://wiki.debian.org/NvidiaGraphicsDrivers#Backing_out_in_case_of_failure in order to throw back the changes. After rebooting I could see the login screen, but when I tried to login I got a login loop, despite of the password being correct.
I also tried to install Nvidia drivers as shown here: How to install the latest NVIDIA drivers on Debian 9 Stretch Linux but I got black screen with blinking cursor again.
In summary, I would like to know how to properly install Nvidia drivers in my laptop. I think I am missing something and that the problem is related to my specific hardware, because a few days ago I tried to install Ubuntu 17.10 and it only worked if I added nomodeset by pressing e in the GRUB.
debian drivers nvidia
I'm new to linux and I decided to install Debian 9, I installed it in my HDD in UEFI mode with a USB stick and the DVD 1 iso found here: https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/. I had some issues with network drivers but I managed to solve them. Then I wanted to install Nvidia propietary drivers, my laptop is a MSI GL62-7RDX which comes with an i7-7700HQ CPU and a GTX 1050 (2GB) graphics card, I followed the steps specified here: https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22 which are:
- Add non-free repositories by modifying the sources.list file.
Execute the following commands as root:
apt update
apt install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver
Reboot
The problem is that when I rebooted I only got a black screen with a blinking cursor. I decided to follow the steps shown here: https://wiki.debian.org/NvidiaGraphicsDrivers#Backing_out_in_case_of_failure in order to throw back the changes. After rebooting I could see the login screen, but when I tried to login I got a login loop, despite of the password being correct.
I also tried to install Nvidia drivers as shown here: How to install the latest NVIDIA drivers on Debian 9 Stretch Linux but I got black screen with blinking cursor again.
In summary, I would like to know how to properly install Nvidia drivers in my laptop. I think I am missing something and that the problem is related to my specific hardware, because a few days ago I tried to install Ubuntu 17.10 and it only worked if I added nomodeset by pressing e in the GRUB.
debian drivers nvidia
debian drivers nvidia
edited Dec 16 '18 at 22:03
Rui F Ribeiro
40.2k1479136
40.2k1479136
asked Nov 30 '17 at 17:27
AxiomSwordAxiomSword
162
162
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16
add a comment |
1
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16
1
1
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16
add a comment |
1 Answer
1
active
oldest
votes
I had exactly the same issue the first time I tried to install Nvidia driver.
If you're on a laptop you have Optimus (hybrid) graphics. You had to install "bumblebee-nvidia" to install the Nvidia driver. It was stated on the page you used to install the driver.
https://wiki.debian.org/NvidiaGraphicsDrivers#Identification
Note: if this lspci command returns more than one line of output, you
have an Optimus (hybrid) graphics chipset, and the instructions on
this page do not apply to you. Check the Bumblebee page instead.
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%2f408034%2fissues-installing-nvidia-drivers-in-debian-9%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 had exactly the same issue the first time I tried to install Nvidia driver.
If you're on a laptop you have Optimus (hybrid) graphics. You had to install "bumblebee-nvidia" to install the Nvidia driver. It was stated on the page you used to install the driver.
https://wiki.debian.org/NvidiaGraphicsDrivers#Identification
Note: if this lspci command returns more than one line of output, you
have an Optimus (hybrid) graphics chipset, and the instructions on
this page do not apply to you. Check the Bumblebee page instead.
add a comment |
I had exactly the same issue the first time I tried to install Nvidia driver.
If you're on a laptop you have Optimus (hybrid) graphics. You had to install "bumblebee-nvidia" to install the Nvidia driver. It was stated on the page you used to install the driver.
https://wiki.debian.org/NvidiaGraphicsDrivers#Identification
Note: if this lspci command returns more than one line of output, you
have an Optimus (hybrid) graphics chipset, and the instructions on
this page do not apply to you. Check the Bumblebee page instead.
add a comment |
I had exactly the same issue the first time I tried to install Nvidia driver.
If you're on a laptop you have Optimus (hybrid) graphics. You had to install "bumblebee-nvidia" to install the Nvidia driver. It was stated on the page you used to install the driver.
https://wiki.debian.org/NvidiaGraphicsDrivers#Identification
Note: if this lspci command returns more than one line of output, you
have an Optimus (hybrid) graphics chipset, and the instructions on
this page do not apply to you. Check the Bumblebee page instead.
I had exactly the same issue the first time I tried to install Nvidia driver.
If you're on a laptop you have Optimus (hybrid) graphics. You had to install "bumblebee-nvidia" to install the Nvidia driver. It was stated on the page you used to install the driver.
https://wiki.debian.org/NvidiaGraphicsDrivers#Identification
Note: if this lspci command returns more than one line of output, you
have an Optimus (hybrid) graphics chipset, and the instructions on
this page do not apply to you. Check the Bumblebee page instead.
answered Jan 4 at 18:42
dyskondyskon
1
1
add a comment |
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%2f408034%2fissues-installing-nvidia-drivers-in-debian-9%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
1
Sorry I can't help you with your problem but I just thought I'd say, “welcome to Unix & Linux”. It’s a pleasure to see someone’s first question being so well researched and such care taken to write their question so that it’s clear what the problem is. Hope you get a good answer.
– Anthony Geoghegan
Nov 30 '17 at 18:01
Thnak you very much @AnthonyGeoghegan
– AxiomSword
Nov 30 '17 at 18:16