Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Latest available NVIDIA kernel module does not load into the latest available kernel

  1. #1

    Default Latest available NVIDIA kernel module does not load into the latest available kernel

    After daily automatic installation of all available updated packets, my system did no longer boot into graphics mode. Problem is, that the latest NVIDIA Kernel module is made for the last but one kernel release. After booting the last but one kernel, system starts into the graphics mode again. Would it be possible to impose an additional dependency in the kernel package, which prevents my automatic installation process from demageing my system?

  2. #2
    Join Date
    Jul 2020
    Posts
    22

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by cyberzaurus View Post
    After daily automatic installation of all available updated packets, my system did no longer boot into graphics mode. Problem is, that the latest NVIDIA Kernel module is made for the last but one kernel release. After booting the last but one kernel, system starts into the graphics mode again. Would it be possible to impose an additional dependency in the kernel package, which prevents my automatic installation process from demageing my system?

    It got me to today; thankfully snapper to the rescue and I just rolled back and then pinned the running kernel and then ran the rest of the updates and it went fine. I'm on kernel:

    uname -a

    Linux localhost.localdomain 5.7.11-1-default



    I locked these packages:

    # | Name | Type | Repository
    --+----------------------+---------+-----------
    1 | kernel-default | package | (any)
    2 | kernel-default-devel | package | (any)
    3 | kernel-devel | package | (any)
    4 | kernel-macros | package | (any)


    And, I'm using the nvidia driver from nvidia: x11-video-nvidiaG04

    S | Name | Summary | Type
    ---+----------------------------+-----------------------------------------------------------------------+-----------
    i | kernel-firmware-nvidia | Kernel firmware files for Nvidia Tegra and graphics drivers | package
    | libnvidia-container | NVIDIA container runtime library | srcpackage
    | libnvidia-container-devel | NVIDIA container runtime library (development files) | package
    | libnvidia-container-static | NVIDIA container runtime library (static library) | package
    | libnvidia-container-tools | NVIDIA container runtime library (command-line tools) | package
    | libnvidia-container1 | NVIDIA container runtime library | package
    i | nvidia-computeG04 | NVIDIA driver for computing with GPGPU | package
    | nvidia-computeG05 | NVIDIA driver for computing with GPGPU | package
    | nvidia-container-toolkit | NVIDIA Container Toolkit | srcpackage
    | nvidia-container-toolkit | NVIDIA Container Toolkit | package
    i | nvidia-gfxG04-kmp-default | NVIDIA graphics driver kernel module for GeForce 400 series and newer | package
    | nvidia-gfxG04-kmp-pae | NVIDIA graphics driver kernel module for GeForce 400 series and newer | package
    | nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
    i | nvidia-glG04 | NVIDIA OpenGL libraries for OpenGL acceleration | package
    | nvidia-glG05 | NVIDIA OpenGL libraries for OpenGL acceleration | package
    | nvidia-texture-tools | NVIDIA Texture Tools | srcpackage
    | nvidia-texture-tools | NVIDIA Texture Tools | package
    | pcp-pmda-nvidia-gpu | Performance Co-Pilot (PCP) metrics for the Nvidia GPU | package
    i+ | x11-video-nvidiaG04 | NVIDIA graphics driver for GeForce 400 series and newer | package
    | x11-video-nvidiaG05 | NVIDIA graphics driver for GeForce 600 series and newer | package



    * I noticed the module was not loaded via lsmod | grep nv....so I tried to reinstall the nvidia x11-video-nvidiaG04 package while in console mode running on the newer kernel and it still did not work. As stated above I just rolled back and pinned the old kernel and updated all the other stuff. My question is, I'm new to tumbleweed...is there anything we're suppose to do after a new kernel drops and the system updates. Does zypper reinstall the nvidia drovers and compile them for the new kernel? Is this issue just a unsupported kernel at this time and we need to wait for nvidia to release a new driver? To be clear, what's the procedure for updating the system kernel if you're running a nvidia driver?


  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,364
    Blog Entries
    15

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    Hi
    AFAIK the G04 and kernel 5.8+ needs patching to work, just need to wait for the maintainer to fix/push to the repository....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by malcolmlewis View Post
    Hi
    AFAIK the G04 and kernel 5.8+ needs patching to work, just need to wait for the maintainer to fix/push to the repository....
    Systems with an NVIDIA card in place have a dependency with the kernel, as the NVIDIA driver must integrate into the kernel. So, why not implementing a dependency in the kernel package? Why waiting for the NVIDIA maintainer to complete the patching, which might take its time. During that time periode, all NVIDIA systems as damaged. This is quite bad promotion for Tumbleweed.

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,691

    Default AW: Latest available NVIDIA kernel module does not load into the latest available kernel

    The Nvidia driver is not opensource.

    If you have a newer card, you can use the G05 (450) driver.
    It works without patching.

    Also you can build the driver by yourselve using the run-file.
    see:
    Code:
    uname -a && nvidia-settings -v
    Linux linux64 5.8.1-3.g846658e-default #1 SMP Fri Aug 14 08:02:13 UTC 2020 (846658e) x86_64 x86_64 x86_64 GNU/Linux
    
    nvidia-settings:  version 450.57
      The NVIDIA X Server Settings tool.
    
      This program is used to configure the NVIDIA Linux graphics driver.
      For more detail, please see the nvidia-settings(1) man page.

  6. #6
    Join Date
    Mar 2020
    Location
    São Leopoldo, RS, Brazil
    Posts
    231

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by cyberzaurus View Post
    Systems with an NVIDIA card in place have a dependency with the kernel, as the NVIDIA driver must integrate into the kernel. So, why not implementing a dependency in the kernel package? Why waiting for the NVIDIA maintainer to complete the patching, which might take its time. During that time periode, all NVIDIA systems as damaged. This is quite bad promotion for Tumbleweed.
    Find answers for all your questions here: https://lists.opensuse.org/opensuse-.../msg00097.html

    The situation in Tumbleweed it not specific to NVIDIA, but for every out-of-tree kernel module, like VMWare, VirtualBox as well.

    NVIDIA also doesn't play nice with Wayland, and possibly with efforts to bring hardware video decoding in Firefox. NVIDIA is the one with power to change the status quo.
    openSUSE Tumbleweed

  7. #7

    Default Re: AW: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by Sauerland View Post
    If you have a newer card, you can use the G05 (450) driver.
    It works without patching.
    I happen to have a GeForce GT 710. If this card is supported by the G05 driver, what would I have to do in order to switch the driver?

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,364
    Blog Entries
    15

    Default Re: AW: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by cyberzaurus View Post
    I happen to have a GeForce GT 710. If this card is supported by the G05 driver, what would I have to do in order to switch the driver?
    Hi
    It is, but I use the hard way to install (along with cuda/cudann);

    Code:
    (Main System)
    pinxi -SGxx
    
    System:    Host: grover Kernel: 5.8.0-1-default x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: GNOME 3.36.5 tk: GTK 3.24.22 
               wm: gnome-shell dm: GDM Distro: openSUSE Tumbleweed 20200815 
    Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 v: kernel bus ID: 00:02.0 
               chip ID: 8086:016a 
               Device-2: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: nvidia v: 450.57 bus ID: 02:00.0 chip ID: 10de:128b 
               Device-3: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: nvidia v: 450.57 bus ID: 05:00.0 chip ID: 10de:128b 
               Device-4: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: nvidia v: 450.57 bus ID: 06:00.0 chip ID: 10de:128b 
               Display: x11 server: X.Org 1.20.8 compositor: gnome-shell driver: modesetting,nvidia unloaded: fbdev,vesa 
               alternate: intel,nouveau,nv resolution: 1: 1920x1080~60Hz 2: 1920x1080 s-dpi: 96 
               OpenGL: renderer: Mesa DRI Intel HD Graphics P4000 (IVB GT2) v: 4.2 Mesa 20.1.4 compat-v: 3.0 direct render:
    
    (QEMU System)
    pinxi -SGxx
    
    System:    Host: grover-ostw Kernel: 5.8.0-1-default x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: GNOME 3.36.5 
               tk: GTK 3.24.22 wm: gnome-shell dm: GDM Distro: openSUSE Tumbleweed 20200815 
    Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: nvidia v: 450.57 bus ID: 00:03.0 chip ID: 10de:128b 
               Display: x11 server: X.Org 1.20.8 compositor: gnome-shell driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa 
               alternate: nv resolution: 1920x1080~60Hz s-dpi: 96 
               OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 450.57 direct render: Yes
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Jun 2020
    Posts
    16

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    Quote Originally Posted by Neal View Post
    It got me to today; thankfully snapper to the rescue and I just rolled back and then pinned the running kernel and then ran the rest of the updates and it went fine. I'm on kernel:

    uname -a

    Linux localhost.localdomain 5.7.11-1-default



    I locked these packages:

    # | Name | Type | Repository
    --+----------------------+---------+-----------
    1 | kernel-default | package | (any)
    2 | kernel-default-devel | package | (any)
    3 | kernel-devel | package | (any)
    4 | kernel-macros | package | (any)


    And, I'm using the nvidia driver from nvidia: x11-video-nvidiaG04

    S | Name | Summary | Type
    ---+----------------------------+-----------------------------------------------------------------------+-----------
    i | kernel-firmware-nvidia | Kernel firmware files for Nvidia Tegra and graphics drivers | package
    | libnvidia-container | NVIDIA container runtime library | srcpackage
    | libnvidia-container-devel | NVIDIA container runtime library (development files) | package
    | libnvidia-container-static | NVIDIA container runtime library (static library) | package
    | libnvidia-container-tools | NVIDIA container runtime library (command-line tools) | package
    | libnvidia-container1 | NVIDIA container runtime library | package
    i | nvidia-computeG04 | NVIDIA driver for computing with GPGPU | package
    | nvidia-computeG05 | NVIDIA driver for computing with GPGPU | package
    | nvidia-container-toolkit | NVIDIA Container Toolkit | srcpackage
    | nvidia-container-toolkit | NVIDIA Container Toolkit | package
    i | nvidia-gfxG04-kmp-default | NVIDIA graphics driver kernel module for GeForce 400 series and newer | package
    | nvidia-gfxG04-kmp-pae | NVIDIA graphics driver kernel module for GeForce 400 series and newer | package
    | nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
    i | nvidia-glG04 | NVIDIA OpenGL libraries for OpenGL acceleration | package
    | nvidia-glG05 | NVIDIA OpenGL libraries for OpenGL acceleration | package
    | nvidia-texture-tools | NVIDIA Texture Tools | srcpackage
    | nvidia-texture-tools | NVIDIA Texture Tools | package
    | pcp-pmda-nvidia-gpu | Performance Co-Pilot (PCP) metrics for the Nvidia GPU | package
    i+ | x11-video-nvidiaG04 | NVIDIA graphics driver for GeForce 400 series and newer | package
    | x11-video-nvidiaG05 | NVIDIA graphics driver for GeForce 600 series and newer | package



    * I noticed the module was not loaded via lsmod | grep nv....so I tried to reinstall the nvidia x11-video-nvidiaG04 package while in console mode running on the newer kernel and it still did not work. As stated above I just rolled back and pinned the old kernel and updated all the other stuff. My question is, I'm new to tumbleweed...is there anything we're suppose to do after a new kernel drops and the system updates. Does zypper reinstall the nvidia drovers and compile them for the new kernel? Is this issue just a unsupported kernel at this time and we need to wait for nvidia to release a new driver? To be clear, what's the procedure for updating the system kernel if you're running a nvidia driver?
    How do you roll back? I face the same problem as OP and now I am stuck without the GUI. Can please share how to use CLI? Am a newbie here.

  10. #10

    Default Re: Latest available NVIDIA kernel module does not load into the latest available kernel

    @Doom

    you can download Nvidia driver instlaller from nvidia site (.run file)
    and install it by hands
    its very simple, you need kernel source installed(package) and in boot menu(grub menu) edit kernel boot options and add 3 to it, then boot and launch nvidia.run file from root

    to roll-back:
    1. check grub boot options(on boot advance-menu select) is there previous kernel version, it should be there(I do not know if minor kernel updates saved there)

    2. I think you can try use Yast2 in console mode, jsut launch yast2 command from root after booting
    and look what version of Kernel and Nvidia driver in package manager you can install is there previous version, if so then install it

    3. some complex rollback whole file system, depends of file system you use

Page 1 of 3 123 LastLast

Posting Permissions

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