Results 1 to 3 of 3

Thread: Modprob cannot load Nvidia driver

  1. #1
    Join Date
    2015-Dec
    Posts
    4

    Modprob cannot load Nvidia driver

    I?m trying to install nvidia driver for my Kali Linux machine, it was running well with the default nouveau driver.

    I followed this tutorial https://www.kali.org/docs/general-us...on-kali-linux/

    After the installation, display resolution become very low. So I checked device status with
    Code:
    lspci -s 26:00.0 ?v
    And the output is like this
    Code:
    26:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Device 7377:1501
        Flags: bus master, fast devsel, latency 0, IRQ 10, IOMMU group 15
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel modules: nvidia
    Kernel modules does show Nvidia, but the
    Code:
    kernel driver in use
    is not shown.

    I noticed that during boot up, there is an error of
    Code:
    System[1]: Failed to start Load Kernel Modules
    So I checked with
    Code:
    systemctl status systemd-modules-load.service
    command. The output shows nvidia-current and nvidia-current-modeset could not be found as following
    Code:
         Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
         Active: failed (Result: exit-code) since Thu 2022-06-02 00:54:24 HKT; 7h left
           Docs: man:systemd-modules-load.service(8)
                 man:modules-load.d(5)
        Process: 446 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
       Main PID: 446 (code=exited, status=1/FAILURE)
            CPU: 10ms
    
    Jun 02 00:54:24 kali systemd-modules-load[455]: modprobe: FATAL: Module nvidia-current not found in directory /lib/modules/5.15.0-kali3-amd64
    Jun 02 00:54:24 kali systemd-modules-load[453]: modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe -i nvidia-current ' for module nvidia: retcode 1
    Jun 02 00:54:24 kali systemd-modules-load[453]: modprobe: ERROR: could not insert 'nvidia': Invalid argument
    Jun 02 00:54:24 kali systemd-modules-load[459]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/5.15.0-kali3-amd64
    Jun 02 00:54:24 kali systemd-modules-load[451]: modprobe: ERROR: ../libkmod/libkmod-module.c:990 command_do() Error running install command 'modprobe nvidia ; modprobe -i nvidia-current-modeset ' for module nvidia_modeset: retcode 1
    Jun 02 00:54:24 kali systemd-modules-load[451]: modprobe: ERROR: could not insert 'nvidia_modeset': Invalid argument
    Jun 02 00:54:24 kali systemd-modules-load[464]: modprobe: FATAL: Module nvidia-current-drm not found in directory /lib/modules/5.15.0-kali3-amd64
    Notice: journal has been rotated since unit was started, output may be incomplete.
    Here is the Nvidia related files under /lib/modules
    Code:
    ./modules/5.15.0-kali3-amd64/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko
    ./modules/5.15.0-kali3-amd64/kernel/drivers/net/ethernet/nvidia/forcedeth.ko
    Besides purge all nvidia packages and re-install, I tried to add nouveau to the nvidia-blacklists-nouveau.conf, still the same result. I remember that I have successfully installed this driver once before (about 1-1.5 years ago), I am not sure what went wrong here, any advice is welcomed. Thanks.

    GPU: RTX2060 CPU: R5-2600

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    784
    5.18 kernel does not yet have support for that card

  3. #3
    Join Date
    2022-Aug
    Posts
    2

    Question

    Quote Originally Posted by Fred Sheehan View Post
    5.18 kernel does not yet have support for that card
    Wow ! as I do not succeed in installig Nvidia drivers despite tremendous efforts I wonder if it is the case for me ?
    Code:
     
    lspci -s 01:00.0 -v                                                                                                   ─╯
    01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) (prog-if 00 [VGA controller])
            Subsystem: ASUSTeK Computer Inc. GP106M [GeForce GTX 1060 Mobile]
            Flags: bus master, fast devsel, latency 0, IRQ 130, IOMMU group 1
            Memory at de000000 (32-bit, non-prefetchable) [size=16M]
            Memory at c0000000 (64-bit, prefetchable) [size=256M]
            Memory at d0000000 (64-bit, prefetchable) [size=32M]
            I/O ports at e000 [size=128]
            Expansion ROM at 000c0000 [disabled] [size=128K]
            Capabilities: <access denied>
            Kernel driver in use: nouveau
            Kernel modules: nouveau, nvidia_current_drm, nvidia_curren
    So i do have ASUS-ROG-SCAR with only a GeForce card on it
    Code:
    lspci | grep -i vga                                                                                                   ─╯
    01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

    my version is :
    Code:
    uname -a                                                                                                           
    Linux rog-scar 5.18.0-kali5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali6 (2022-07-07) x86_64 GNU/Linux

    Any clues welcomed, thanks in advance

Similar Threads

  1. Kali Linux 2023 - Nvidia Geforce Go 7300 - nvidia driver 304
    By madvinegar in forum General Archive
    Replies: 1
    Last Post: 2023-01-21, 19:14
  2. Replies: 0
    Last Post: 2022-01-19, 18:24
  3. Replies: 1
    Last Post: 2017-02-28, 22:42
  4. Nvidia 460 gtx install driver + nvidia-settings black screen
    By zero-z in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2013-08-28, 03:30

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
  •