Announcement

Collapse
No announcement yet.

dkms not auto-installing nvidia driver to all kernels?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    dkms not auto-installing nvidia driver to all kernels?

    I upgraded to the 4.8 kernel line awhile back but kept the last 4.4 kernel just in case, so I have 3 kernel installed - 4.4.0-66, 4.8.0-32, and 4.8.0-39 - booting to 4.8.0-39.

    I noticed this morning that dkms had not installed the nvidia-driver to all my kernels, although virtual-box was.

    Code:
    [FONT=monospace][COLOR=#54FF54][B]stuart@office[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454FF][B]~[/B][/COLOR][COLOR=#000000]$ dkms status[/COLOR]
    nvidia-375, 375.39, 4.8.0-39-generic, x86_64: installed
    virtualbox, 5.0.32, 4.4.0-66-generic, x86_64: installed
    virtualbox, 5.0.32, 4.8.0-32-generic, x86_64: installed
    virtualbox, 5.0.32, 4.8.0-39-generic, x86_64: installed[/FONT]
    I thought this odd and problematic because if I needed to boot to a backup kernel, I wouldn't have any GUI. Also, since I had booted to these kernels in the past, they obviously had nvidia in them at one point. My suspicion is that an upgrade to the linux driver removed all the old dkms installed nvidia drivers but did not install itself to the older kernels.

    I tried sudo dkms autoinstall both without specifying a kernel version, but it did nothing and returned no output. I ended up manually installing the driver to the two other kernels.

    I was wondering if anyone else had noticed this. I'll be curious to see what happens with the next upgrade.

    Please Read Me

    #2
    @hear it seams ...no I do not see this .

    Code:
    vinny@vinny-Bonobo-Extreme:~$ dkms status
    bbswitch, 0.8, 4.4.0-64-generic, x86_64: installed
    bbswitch, 0.8, 4.4.0-66-generic, x86_64: installed
    bbswitch, 0.8, 4.4.0-67-generic, x86_64: installed
    nvidia-378, 378.13, 4.4.0-64-generic, x86_64: installed
    nvidia-378, 378.13, 4.4.0-66-generic, x86_64: installed
    nvidia-378, 378.13, 4.4.0-67-generic, x86_64: installed
    
    vinny@vinny-Bonobo-Extreme:~$ ls /boot | grep vm
    vmlinuz-4.4.0-64-generic
    vmlinuz-4.4.0-66-generic
    vmlinuz-4.4.0-67-generic
    Neon /dev/stable repos added to Kubuntu-16.04

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      It is here:
      $ sudo dkms status

      bbswitch, 0.8, 4.4.0-66-generic, x86_64: installed
      bbswitch, 0.8, 4.4.0-67-generic, x86_64: installed
      nvidia-370, 370.28, 4.4.0-66-generic, x86_64: installed
      nvidia-370, 370.28, 4.4.0-67-generic, x86_64: installed

      $ ls /boot | grep vm
      vmlinuz-4.4.0-66-generic
      vmlinuz-4.4.0-67-generic

      And, just for grins I added the 4.8 kernel:
      $ sudo dkms status
      bbswitch, 0.8, 4.4.0-66-generic, x86_64: installed
      bbswitch, 0.8, 4.4.0-67-generic, x86_64: installed
      bbswitch, 0.8, 4.8.0-42-generic, x86_64: installed
      nvidia-370, 370.28, 4.4.0-66-generic, x86_64: installed
      nvidia-370, 370.28, 4.4.0-67-generic, x86_64: installed
      nvidia-370, 370.28, 4.8.0-42-generic, x86_64: installed

      PS - Also, for grins and giggles, I decided this morning to boot using the 4.8 kernel. It failed to properly load and run nvidia and I got a black screen.
      So, I removed it.
      Last edited by GreyGeek; Mar 22, 2017, 02:25 PM.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        I did a system-wide purge and now it's working again. I don't know why and likely never will. At least it's fixed...

        Please Read Me

        Comment

        Working...
        X