Enable nvidia driver in UEFI mode in Ubuntu 16.04
I bought my laptop Windows pre-installed. After deleting Windows I didn't disable the UEFI boot from BIOS (doesn't exits any more). So I installed Ubuntu 15.04 including UEFI boot partition. Everything was fine but after upgrading to 16.04, my Nvidia driver is not working any more. It's stuck on black screen.
After googling, I found out that black screen can be fixed by disabling the UEFI boot but in my situation I cannot disable UEFI. So is there any other way that I can use my Nvidia driver?
Note: I have already tried nomodeset option. It didn't help.
drivers nvidia 16.04 uefi
bumped to the homepage by Community♦ 1 hour 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 bought my laptop Windows pre-installed. After deleting Windows I didn't disable the UEFI boot from BIOS (doesn't exits any more). So I installed Ubuntu 15.04 including UEFI boot partition. Everything was fine but after upgrading to 16.04, my Nvidia driver is not working any more. It's stuck on black screen.
After googling, I found out that black screen can be fixed by disabling the UEFI boot but in my situation I cannot disable UEFI. So is there any other way that I can use my Nvidia driver?
Note: I have already tried nomodeset option. It didn't help.
drivers nvidia 16.04 uefi
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
1
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25
add a comment |
I bought my laptop Windows pre-installed. After deleting Windows I didn't disable the UEFI boot from BIOS (doesn't exits any more). So I installed Ubuntu 15.04 including UEFI boot partition. Everything was fine but after upgrading to 16.04, my Nvidia driver is not working any more. It's stuck on black screen.
After googling, I found out that black screen can be fixed by disabling the UEFI boot but in my situation I cannot disable UEFI. So is there any other way that I can use my Nvidia driver?
Note: I have already tried nomodeset option. It didn't help.
drivers nvidia 16.04 uefi
I bought my laptop Windows pre-installed. After deleting Windows I didn't disable the UEFI boot from BIOS (doesn't exits any more). So I installed Ubuntu 15.04 including UEFI boot partition. Everything was fine but after upgrading to 16.04, my Nvidia driver is not working any more. It's stuck on black screen.
After googling, I found out that black screen can be fixed by disabling the UEFI boot but in my situation I cannot disable UEFI. So is there any other way that I can use my Nvidia driver?
Note: I have already tried nomodeset option. It didn't help.
drivers nvidia 16.04 uefi
drivers nvidia 16.04 uefi
edited Jul 16 '18 at 11:03
Anderson
6514
6514
asked Aug 16 '16 at 20:16
shantanushantanu
4,671125189
4,671125189
bumped to the homepage by Community♦ 1 hour 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♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
1
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25
add a comment |
2
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
1
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25
2
2
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
1
1
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25
add a comment |
1 Answer
1
active
oldest
votes
As of 18.04 this (installing nvidia driver with UEFI) is done automatically by Device Manager (Read it carefully where it says to type password into MOK to add drivers, on restart. I missed it first time.)
For a DIY version of the same
How to install nvidia driver with secure boot enabled?
Although you may have to disable nouveau more forcefully by blacklisting it
https://gist.github.com/Rambou/c6769caee19b0b9915d8342b86c3ef72
You can check which driver your gpu is using with:
sudo lshw -c video
which will contain a line that says:
configuration: driver=nvidia latency=0
(or will say nouveau instead of nvidia if hasn't succeeded)
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f813066%2fenable-nvidia-driver-in-uefi-mode-in-ubuntu-16-04%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
As of 18.04 this (installing nvidia driver with UEFI) is done automatically by Device Manager (Read it carefully where it says to type password into MOK to add drivers, on restart. I missed it first time.)
For a DIY version of the same
How to install nvidia driver with secure boot enabled?
Although you may have to disable nouveau more forcefully by blacklisting it
https://gist.github.com/Rambou/c6769caee19b0b9915d8342b86c3ef72
You can check which driver your gpu is using with:
sudo lshw -c video
which will contain a line that says:
configuration: driver=nvidia latency=0
(or will say nouveau instead of nvidia if hasn't succeeded)
add a comment |
As of 18.04 this (installing nvidia driver with UEFI) is done automatically by Device Manager (Read it carefully where it says to type password into MOK to add drivers, on restart. I missed it first time.)
For a DIY version of the same
How to install nvidia driver with secure boot enabled?
Although you may have to disable nouveau more forcefully by blacklisting it
https://gist.github.com/Rambou/c6769caee19b0b9915d8342b86c3ef72
You can check which driver your gpu is using with:
sudo lshw -c video
which will contain a line that says:
configuration: driver=nvidia latency=0
(or will say nouveau instead of nvidia if hasn't succeeded)
add a comment |
As of 18.04 this (installing nvidia driver with UEFI) is done automatically by Device Manager (Read it carefully where it says to type password into MOK to add drivers, on restart. I missed it first time.)
For a DIY version of the same
How to install nvidia driver with secure boot enabled?
Although you may have to disable nouveau more forcefully by blacklisting it
https://gist.github.com/Rambou/c6769caee19b0b9915d8342b86c3ef72
You can check which driver your gpu is using with:
sudo lshw -c video
which will contain a line that says:
configuration: driver=nvidia latency=0
(or will say nouveau instead of nvidia if hasn't succeeded)
As of 18.04 this (installing nvidia driver with UEFI) is done automatically by Device Manager (Read it carefully where it says to type password into MOK to add drivers, on restart. I missed it first time.)
For a DIY version of the same
How to install nvidia driver with secure boot enabled?
Although you may have to disable nouveau more forcefully by blacklisting it
https://gist.github.com/Rambou/c6769caee19b0b9915d8342b86c3ef72
You can check which driver your gpu is using with:
sudo lshw -c video
which will contain a line that says:
configuration: driver=nvidia latency=0
(or will say nouveau instead of nvidia if hasn't succeeded)
answered Jul 15 '18 at 20:21
rdkrdk
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f813066%2fenable-nvidia-driver-in-uefi-mode-in-ubuntu-16-04%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
2
Try disabling secure boot rather then UEFI as it is unlikely UEFI is directly related to your problem.
– Panther
Aug 16 '16 at 20:20
1
To elaborate on bodhi.zazen's comment, Ubuntu 16.04 tightens its Secure Boot handling so that kernel modules must be signed; however, third-party kernel modules, such as those for the Nvidia chipset, are not signed and so will not work with Secure Boot active. See this page of mine for some examples of how to disable Secure Boot.
– Rod Smith
Aug 17 '16 at 13:05
I disabled secure mode but no luck. It's same. s6.postimg.org/hdqonufmp/IMG_20160818_231837.jpg
– shantanu
Aug 18 '16 at 19:25