nvidia modules are missing after each kernel upgrade in 18.04 The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraUbuntu 12.10 won't display properly after kernel upgradePropietary Nvidia driver kernel initialization errorAMD legacy driver installation failed due to missing kernel headersKernel upgrade breaks NVIDIA. Am I stuck with the same kernel forever?Ubuntu 18.04 LTS bionic and Nvidia P100 driverMissing wifi when updating base kernel Ubuntu 16.04Updated to 4.15.0-29.31 Ubuntu 18.04, and my wifi and ethernet stopped workingNVIDIA K4000 - only VGA on 4.15.0-30, but OK 4.15.0-29 (both Ubuntu 18.04 && DisplayPort-attached)Installing NVidia 410 and CUDA 10 on Ubuntu 18.04Nothing works to make Nvidia GTX1050 Ti work inside Ubuntu MATE 18.04
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Python - Fishing Simulator
Didn't get enough time to take a Coding Test - what to do now?
Does Parliament need to approve the new Brexit delay to 31 October 2019?
How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?
Match Roman Numerals
How to type a long/em dash `—`
Is there a writing software that you can sort scenes like slides in PowerPoint?
Example of compact Riemannian manifold with only one geodesic.
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
Using dividends to reduce short term capital gains?
Can we generate random numbers using irrational numbers like π and e?
Button changing its text & action. Good or terrible?
how can a perfect fourth interval be considered either consonant or dissonant?
should truth entail possible truth
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Drawing arrows from one table cell reference to another
Student Loan from years ago pops up and is taking my salary
Am I ethically obligated to go into work on an off day if the reason is sudden?
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
60's-70's movie: home appliances revolting against the owners
Mortgage adviser recommends a longer term than necessary combined with overpayments
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
nvidia modules are missing after each kernel upgrade in 18.04
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraUbuntu 12.10 won't display properly after kernel upgradePropietary Nvidia driver kernel initialization errorAMD legacy driver installation failed due to missing kernel headersKernel upgrade breaks NVIDIA. Am I stuck with the same kernel forever?Ubuntu 18.04 LTS bionic and Nvidia P100 driverMissing wifi when updating base kernel Ubuntu 16.04Updated to 4.15.0-29.31 Ubuntu 18.04, and my wifi and ethernet stopped workingNVIDIA K4000 - only VGA on 4.15.0-30, but OK 4.15.0-29 (both Ubuntu 18.04 && DisplayPort-attached)Installing NVidia 410 and CUDA 10 on Ubuntu 18.04Nothing works to make Nvidia GTX1050 Ti work inside Ubuntu MATE 18.04
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
after each kernel upgrade, when I reboot I only get a blank screen
it looks like the proprietary nvidia kernel modules do not get auto recompiled
I have to boot into recovery mode and do
dpkg-reconfigure nvidia-dkms-415
and after that all good till the next upgrade.
I guess something get messed up in the system, originaly I tried to install the nvidia driver from nvidia, but ended up removing it and just used the ubuntu one.
any tips how to sort out my system? i don't want to reinstall.
updates :
sudo dkms status:
Error! Could not locate dkms.conf file.
File: does not exist.
ls /var/lib/dkms
dkms_dbversion nvidia
ls /var/lib/dkms/nvidia/
410.78 415.27 kernel-4.15.0-39-generic-x86_64 kernel-4.15.0-45-generic-x86_64
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001028sd00003301bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-390 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-410 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
I am using this ppa:
deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
after
sudo apt purge 'nvidia.*'
sudo apt install nvidia-driver-415
output:
...
Setting up nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-415.27 DKMS files...
Building for 4.15.0-45-generic
Building for architecture x86_64
Building initial module for 4.15.0-45-generic
Secure Boot not enabled on this system.
Done.
nvidia:
Running module version sanity check.
Good news! Module version 415.27 for nvidia.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-modeset.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-modeset.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-drm.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-drm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-uvm.ko:
Running module version sanity check.
Good news! Module version for nvidia-uvm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod...
DKMS: install completed.
Setting up nvidia-driver-415 (415.27-0ubuntu0~gpu18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
Now:
dkms status
nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
Cheers
18.04 nvidia kernel
|
show 1 more comment
after each kernel upgrade, when I reboot I only get a blank screen
it looks like the proprietary nvidia kernel modules do not get auto recompiled
I have to boot into recovery mode and do
dpkg-reconfigure nvidia-dkms-415
and after that all good till the next upgrade.
I guess something get messed up in the system, originaly I tried to install the nvidia driver from nvidia, but ended up removing it and just used the ubuntu one.
any tips how to sort out my system? i don't want to reinstall.
updates :
sudo dkms status:
Error! Could not locate dkms.conf file.
File: does not exist.
ls /var/lib/dkms
dkms_dbversion nvidia
ls /var/lib/dkms/nvidia/
410.78 415.27 kernel-4.15.0-39-generic-x86_64 kernel-4.15.0-45-generic-x86_64
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001028sd00003301bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-390 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-410 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
I am using this ppa:
deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
after
sudo apt purge 'nvidia.*'
sudo apt install nvidia-driver-415
output:
...
Setting up nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-415.27 DKMS files...
Building for 4.15.0-45-generic
Building for architecture x86_64
Building initial module for 4.15.0-45-generic
Secure Boot not enabled on this system.
Done.
nvidia:
Running module version sanity check.
Good news! Module version 415.27 for nvidia.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-modeset.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-modeset.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-drm.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-drm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-uvm.ko:
Running module version sanity check.
Good news! Module version for nvidia-uvm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod...
DKMS: install completed.
Setting up nvidia-driver-415 (415.27-0ubuntu0~gpu18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
Now:
dkms status
nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
Cheers
18.04 nvidia kernel
Where did you getnvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.
– Pilot6
Mar 2 at 14:57
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
Please edit your question and add output ofdkms status
.
– Pilot6
Mar 2 at 15:04
And alsols /var/lib/dkms
– Pilot6
Mar 2 at 15:05
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30
|
show 1 more comment
after each kernel upgrade, when I reboot I only get a blank screen
it looks like the proprietary nvidia kernel modules do not get auto recompiled
I have to boot into recovery mode and do
dpkg-reconfigure nvidia-dkms-415
and after that all good till the next upgrade.
I guess something get messed up in the system, originaly I tried to install the nvidia driver from nvidia, but ended up removing it and just used the ubuntu one.
any tips how to sort out my system? i don't want to reinstall.
updates :
sudo dkms status:
Error! Could not locate dkms.conf file.
File: does not exist.
ls /var/lib/dkms
dkms_dbversion nvidia
ls /var/lib/dkms/nvidia/
410.78 415.27 kernel-4.15.0-39-generic-x86_64 kernel-4.15.0-45-generic-x86_64
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001028sd00003301bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-390 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-410 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
I am using this ppa:
deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
after
sudo apt purge 'nvidia.*'
sudo apt install nvidia-driver-415
output:
...
Setting up nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-415.27 DKMS files...
Building for 4.15.0-45-generic
Building for architecture x86_64
Building initial module for 4.15.0-45-generic
Secure Boot not enabled on this system.
Done.
nvidia:
Running module version sanity check.
Good news! Module version 415.27 for nvidia.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-modeset.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-modeset.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-drm.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-drm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-uvm.ko:
Running module version sanity check.
Good news! Module version for nvidia-uvm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod...
DKMS: install completed.
Setting up nvidia-driver-415 (415.27-0ubuntu0~gpu18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
Now:
dkms status
nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
Cheers
18.04 nvidia kernel
after each kernel upgrade, when I reboot I only get a blank screen
it looks like the proprietary nvidia kernel modules do not get auto recompiled
I have to boot into recovery mode and do
dpkg-reconfigure nvidia-dkms-415
and after that all good till the next upgrade.
I guess something get messed up in the system, originaly I tried to install the nvidia driver from nvidia, but ended up removing it and just used the ubuntu one.
any tips how to sort out my system? i don't want to reinstall.
updates :
sudo dkms status:
Error! Could not locate dkms.conf file.
File: does not exist.
ls /var/lib/dkms
dkms_dbversion nvidia
ls /var/lib/dkms/nvidia/
410.78 415.27 kernel-4.15.0-39-generic-x86_64 kernel-4.15.0-45-generic-x86_64
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B81sv00001028sd00003301bc03sc00i00
vendor : NVIDIA Corporation
model : GP104 [GeForce GTX 1070]
driver : nvidia-driver-390 - third-party free
driver : nvidia-driver-415 - third-party free recommended
driver : nvidia-driver-396 - third-party free
driver : nvidia-driver-410 - third-party free
driver : xserver-xorg-video-nouveau - distro free builtin
I am using this ppa:
deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main
after
sudo apt purge 'nvidia.*'
sudo apt install nvidia-driver-415
output:
...
Setting up nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-415.27 DKMS files...
Building for 4.15.0-45-generic
Building for architecture x86_64
Building initial module for 4.15.0-45-generic
Secure Boot not enabled on this system.
Done.
nvidia:
Running module version sanity check.
Good news! Module version 415.27 for nvidia.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-modeset.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-modeset.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-drm.ko:
Running module version sanity check.
Good news! Module version 415.27 for nvidia-drm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
nvidia-uvm.ko:
Running module version sanity check.
Good news! Module version for nvidia-uvm.ko
exactly matches what is already found in kernel 4.15.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod...
DKMS: install completed.
Setting up nvidia-driver-415 (415.27-0ubuntu0~gpu18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
Now:
dkms status
nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
Cheers
18.04 nvidia kernel
18.04 nvidia kernel
edited Mar 2 at 18:07
s.illes79
asked Mar 2 at 14:55
s.illes79s.illes79
814
814
Where did you getnvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.
– Pilot6
Mar 2 at 14:57
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
Please edit your question and add output ofdkms status
.
– Pilot6
Mar 2 at 15:04
And alsols /var/lib/dkms
– Pilot6
Mar 2 at 15:05
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30
|
show 1 more comment
Where did you getnvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.
– Pilot6
Mar 2 at 14:57
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
Please edit your question and add output ofdkms status
.
– Pilot6
Mar 2 at 15:04
And alsols /var/lib/dkms
– Pilot6
Mar 2 at 15:05
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30
Where did you get
nvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.– Pilot6
Mar 2 at 14:57
Where did you get
nvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.– Pilot6
Mar 2 at 14:57
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
Please edit your question and add output of
dkms status
.– Pilot6
Mar 2 at 15:04
Please edit your question and add output of
dkms status
.– Pilot6
Mar 2 at 15:04
And also
ls /var/lib/dkms
– Pilot6
Mar 2 at 15:05
And also
ls /var/lib/dkms
– Pilot6
Mar 2 at 15:05
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30
|
show 1 more comment
1 Answer
1
active
oldest
votes
Your dkms
is broken. I suggest to fix it this way:
sudo rm -r /var/lib/dkms/nvidia
sudo apt install --reinstall dkms
sudo apt purge "*nvidia*"
sudo apt install nvidia-driver-418
That will cleanup the dkms directory, create dkms.conf
and install the driver properly.
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should havedkms.conf
now and a module installed indkms status
.
– Pilot6
Mar 2 at 15:44
Please runsudo apt purge 'nvidia.*'
, then runsudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.
– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't needsudo
fordkms status
.
– Pilot6
Mar 2 at 18:01
|
show 1 more 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%2f1122512%2fnvidia-modules-are-missing-after-each-kernel-upgrade-in-18-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
Your dkms
is broken. I suggest to fix it this way:
sudo rm -r /var/lib/dkms/nvidia
sudo apt install --reinstall dkms
sudo apt purge "*nvidia*"
sudo apt install nvidia-driver-418
That will cleanup the dkms directory, create dkms.conf
and install the driver properly.
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should havedkms.conf
now and a module installed indkms status
.
– Pilot6
Mar 2 at 15:44
Please runsudo apt purge 'nvidia.*'
, then runsudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.
– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't needsudo
fordkms status
.
– Pilot6
Mar 2 at 18:01
|
show 1 more comment
Your dkms
is broken. I suggest to fix it this way:
sudo rm -r /var/lib/dkms/nvidia
sudo apt install --reinstall dkms
sudo apt purge "*nvidia*"
sudo apt install nvidia-driver-418
That will cleanup the dkms directory, create dkms.conf
and install the driver properly.
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should havedkms.conf
now and a module installed indkms status
.
– Pilot6
Mar 2 at 15:44
Please runsudo apt purge 'nvidia.*'
, then runsudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.
– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't needsudo
fordkms status
.
– Pilot6
Mar 2 at 18:01
|
show 1 more comment
Your dkms
is broken. I suggest to fix it this way:
sudo rm -r /var/lib/dkms/nvidia
sudo apt install --reinstall dkms
sudo apt purge "*nvidia*"
sudo apt install nvidia-driver-418
That will cleanup the dkms directory, create dkms.conf
and install the driver properly.
Your dkms
is broken. I suggest to fix it this way:
sudo rm -r /var/lib/dkms/nvidia
sudo apt install --reinstall dkms
sudo apt purge "*nvidia*"
sudo apt install nvidia-driver-418
That will cleanup the dkms directory, create dkms.conf
and install the driver properly.
edited 9 mins ago
Community♦
1
1
answered Mar 2 at 15:33
Pilot6Pilot6
53.9k15111198
53.9k15111198
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should havedkms.conf
now and a module installed indkms status
.
– Pilot6
Mar 2 at 15:44
Please runsudo apt purge 'nvidia.*'
, then runsudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.
– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't needsudo
fordkms status
.
– Pilot6
Mar 2 at 18:01
|
show 1 more comment
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should havedkms.conf
now and a module installed indkms status
.
– Pilot6
Mar 2 at 15:44
Please runsudo apt purge 'nvidia.*'
, then runsudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.
– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't needsudo
fordkms status
.
– Pilot6
Mar 2 at 18:01
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
thanks, i did that, now it'm getting: sudo dkms status no output and ls /var/lib/dkms dkms_dbversion
– s.illes79
Mar 2 at 15:42
You should have
dkms.conf
now and a module installed in dkms status
.– Pilot6
Mar 2 at 15:44
You should have
dkms.conf
now and a module installed in dkms status
.– Pilot6
Mar 2 at 15:44
Please run
sudo apt purge 'nvidia.*'
, then run sudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.– Pilot6
Mar 2 at 15:47
Please run
sudo apt purge 'nvidia.*'
, then run sudo apt install nvidia-driver-415
and post the output of the second command TO YOUR QUESTION.– Pilot6
Mar 2 at 15:47
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
i think this did it: sudo dkms status nvidia, 415.27, 4.15.0-45-generic, x86_64: installed
– s.illes79
Mar 2 at 17:57
That looks good. BTW you don't need
sudo
for dkms status
.– Pilot6
Mar 2 at 18:01
That looks good. BTW you don't need
sudo
for dkms status
.– Pilot6
Mar 2 at 18:01
|
show 1 more 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%2f1122512%2fnvidia-modules-are-missing-after-each-kernel-upgrade-in-18-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
Where did you get
nvidia-dkms-415
. There is no such package in Ubuntu repos. It must be from some PPA.– Pilot6
Mar 2 at 14:57
i'm using this ppa:graphics-drivers/ppa
– s.illes79
Mar 2 at 15:04
Please edit your question and add output of
dkms status
.– Pilot6
Mar 2 at 15:04
And also
ls /var/lib/dkms
– Pilot6
Mar 2 at 15:05
updated original post. dkms.conf is missing, how do i get it? I don't have it on my laptop either, but that has just intel gpu
– s.illes79
Mar 2 at 15:30