Results 1 to 4 of 4

Thread: No nvidia module loaded after updating to kernel 3.16.X.X

  1. #1

    Default No nvidia module loaded after updating to kernel 3.16.X.X

    So after I got the 3.16.1.X my nVidia card is not working properly, misconfigured resolution and no dual-view. I tried running mkinitrd and noticed the only difference between the old 3.15.X.X kernels (that work) is the lack of KMS Drivers - nvidia.

    Here's mkinitrd, you can see the difference between old 3.15.X.X ones and the 3.16.X.X

    Code:
    Kernel image:   /boot/vmlinuz-3.15.8-2.g258e3b0-desktopInitrd image:   /boot/initrd-3.15.8-2.g258e3b0-desktop
    KMS drivers:     nvidia
    Root device:    /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part2 (/dev/sda2) (mounted on / as ext4)
    Resume device:  /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part1 (/dev/sda1)
    Microcode: Adding AMD microcode microcode_amd.bin
    Kernel Modules: thermal processor fan pata_atiixp ata_generic scsi_dh scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac drm nvidia xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci xor raid6_pq btrfs 
    Features:       acpi amd_microcode kms plymouth block usb btrfs resume.userspace resume.kernel
    
    
    Kernel image:   /boot/vmlinuz-3.16.1-1.gd585c06-desktop
    Initrd image:   /boot/initrd-3.16.1-1.gd585c06-desktop
    Root device:    /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part2 (/dev/sda2) (mounted on / as ext4)
    Resume device:  /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part1 (/dev/sda1)
    Microcode: Adding AMD microcode microcode_amd.bin
    Kernel Modules: thermal processor fan pata_atiixp ata_generic scsi_dh scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci xor raid6_pq btrfs 
    Features:       acpi amd_microcode plymouth block usb btrfs resume.userspace resume.kernel
    
    
    Kernel image:   /boot/vmlinuz-3.16.1-2.g2a23faf-desktop
    Initrd image:   /boot/initrd-3.16.1-2.g2a23faf-desktop
    Root device:    /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part2 (/dev/sda2) (mounted on / as ext4)
    Resume device:  /dev/disk/by-id/ata-WDC_WD1600AAJS-00L7A0_WD-WMAV2L467048-part1 (/dev/sda1)
    Microcode: Adding AMD microcode microcode_amd.bin
    Kernel Modules: thermal processor fan pata_atiixp ata_generic scsi_dh scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci xor raid6_pq btrfs 
    Features:       acpi amd_microcode plymouth block usb btrfs resume.userspace resume.kernel
    I have the official nVidia driver, I guess I have something messed up in my config.

    Suggestions ?
    OpenSUSE Leap 42.2 x64 KDE

  2. #2

    Default Re: No nvidia module loaded after updating to kernel 3.16.X.X

    Quote Originally Posted by robertot5 View Post
    So after I got the 3.16.1.X my nVidia card is not working properly, misconfigured resolution and no dual-view.
    You have to reinstall the nvidia driver after every kernel update.
    That is "normal".

    Here's mkinitrd, you can see the difference between old 3.15.X.X ones and the 3.16.X.X
    That's irrelevant in the case of the nvidia driver.

    I have the official nVidia driver, I guess I have something messed up in my config.
    What do you mean with "official nVidia driver"?

    If you are using the packages from the nvidia repo, they are designed to be used with the standard kernel only.

    They probably work fine with the latest kernel as well (haven't tried), but you still have to re-install at least the kmp packages now.
    The kernel modules only get compiled when the packages are installed. You upgraded the kernel from 3.15 to 3.16, so the kernel module built against 3.15 does not work any more.
    Run this to reinstall them:
    Code:
    sudo zypper in -f nvidia-gfxG03-kmp-desktop nvidia-uvm-gfxG03-kmp-desktop
    (provided that you use the G03 driver.

    Or the better variant would be to switch back to the standard kernel, if you want to use the nvidia packages.

    It would be possible to use DKMS for automatic recompilation of the kernel modules on kernel updates, but then you should also remove the nvidia packages and install the nvidia driver from nvidia's homepage.

  3. #3

    Default Re: No nvidia module loaded after updating to kernel 3.16.X.X

    Quote Originally Posted by wolfi323 View Post
    You have to reinstall the nvidia driver after every kernel update.
    That is "normal".


    That's irrelevant in the case of the nvidia driver.


    What do you mean with "official nVidia driver"?

    If you are using the packages from the nvidia repo, they are designed to be used with the standard kernel only.

    They probably work fine with the latest kernel as well (haven't tried), but you still have to re-install at least the kmp packages now.
    The kernel modules only get compiled when the packages are installed. You upgraded the kernel from 3.15 to 3.16, so the kernel module built against 3.15 does not work any more.
    Run this to reinstall them:
    Code:
    sudo zypper in -f nvidia-gfxG03-kmp-desktop nvidia-uvm-gfxG03-kmp-desktop
    (provided that you use the G03 driver.

    Or the better variant would be to switch back to the standard kernel, if you want to use the nvidia packages.

    It would be possible to use DKMS for automatic recompilation of the kernel modules on kernel updates, but then you should also remove the nvidia packages and install the nvidia driver from nvidia's homepage.
    I understand now !

    I will run the command to re-install the packages.
    OpenSUSE Leap 42.2 x64 KDE

  4. #4

    Default Re: No nvidia module loaded after updating to kernel 3.16.X.X

    Quote Originally Posted by robertot5 View Post
    I understand now !

    I will run the command to re-install the packages.
    I reinstalled the packages and it went back to normal.
    Thanks
    OpenSUSE Leap 42.2 x64 KDE

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •