Unable to install nvidia 4xх.xx.xx

I have Manjaro KDE on Lenovo E440 laptop with integrated Intel + discrete Nvidia GT 740M. mhwd shows only drivers of version 390 as suitable while in system also installed drivers 470.57.02-1. How can I upgrade drivers to the most recent version?

mhwd -l && mhwd -li && mhwd-kernel -li
> 0000:01:00.0 (0302:10de:1292) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0300:8086:0416) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
         network-r8168            2016.04.20                true            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.11.30               false            PCI


Warning: No installed USB configs!
Currently running: 5.13.8-1-MANJARO (linux513)
The following kernels are installed in your system:
   * linux513
inxi -Fazy
System:
  Kernel: 5.13.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=84669a08-d201-44c5-b0e4-433de849b0c0 rw quiet 
  resume=UUID=fbd14b15-3090-4384-bfbd-7e89a1c4764a 
  Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: LENOVO product: 20C5005QRT v: ThinkPad Edge E440 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 20C5005QRT v: 0B98409 STD serial: <filter> UEFI: LENOVO 
  v: J9ET98WW (2.18 ) date: 03/04/2015 
Battery:
  ID-1: BAT0 charge: 9.6 Wh (100.0%) condition: 9.6/52.8 Wh (18.1%) 
  volts: 12.0 min: 11.1 model: LGC LNV-45N1 type: Li-ion serial: <filter> 
  status: Not charging 
CPU:
  Info: Dual Core model: Intel Core i5-4200M bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: 
  L2: 3 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 19960 
  Speed: 2553 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 2553 2: 2495 
  3: 2555 4: 2540 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300 
  Device-2: NVIDIA GK208M [GeForce GT 740M] driver: N/A 
  alternate: nouveau, nvidia_drm, nvidia bus-ID: 01:00.0 chip-ID: 10de:1292 
  class-ID: 0302 
  Device-3: Realtek Integrated Camera type: USB driver: uvcvideo 
  bus-ID: 3-12:5 chip-ID: 0bda:5719 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: modesetting display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 5760x3060 s-dpi: 96 s-size: 1520x807mm (59.8x31.8") 
  s-diag: 1721mm (67.8") 
  Monitor-1: eDP-1 res: 1600x900 hz: 60 dpi: 132 size: 309x174mm (12.2x6.9") 
  diag: 355mm (14") 
  Monitor-2: VGA-1 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
  diag: 686mm (27") 
  Monitor-3: HDMI-1 res: 3840x2160 hz: 30 dpi: 157 
  size: 621x341mm (24.4x13.4") diag: 708mm (27.9") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) 
  v: 4.5 Mesa 21.1.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0 
  chip-ID: 8086:0c0c class-ID: 0403 
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.8-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: N/A modules: r8169 port: 3000 bus-ID: 04:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 3000 
  bus-ID: 05:00.0 chip-ID: 8086:08b2 class-ID: 0280 
  IF: wlp5s0 state: up mac: <filter> 
  IF-ID-1: br-221534d1e6f0 state: up speed: 10000 Mbps duplex: unknown 
  mac: <filter> 
  IF-ID-2: br-b1959bf0d3dc state: up speed: 10000 Mbps duplex: unknown 
  mac: <filter> 
  IF-ID-3: br-b2b33d7459e8 state: up speed: 10000 Mbps duplex: unknown 
  mac: <filter> 
  IF-ID-4: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter> 
  IF-ID-5: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
  IF-ID-6: veth6ac8b02 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-7: veth78b1615 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-8: veth955e275 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-9: veth96ab5ca state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-10: veth9f36282 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-11: vethd0704c1 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-12: vethecad0e8 state: up speed: 10000 Mbps duplex: full mac: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 3-7:2 chip-ID: 8087:07dc class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 18 state: up address: see --recommends 
Drives:
  Local Storage: total: 1.16 TiB used: 751.01 GiB (63.0%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 model: SB2 size: 238.47 GiB block-size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
  rev: 11.0 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: KingSpec model: NT-1TB size: 953.87 GiB 
  block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
  serial: <filter> rev: 516 scheme: GPT 
Partition:
  ID-1: / raw-size: 93.13 GiB size: 91.17 GiB (97.89%) used: 47.24 GiB (51.8%) 
  fs: ext4 dev: /dev/sdb2 maj-min: 8:18 
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) 
  used: 6.3 MiB (1.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17 
  ID-3: /home raw-size: 850.92 GiB size: 837.45 GiB (98.42%) 
  used: 556.08 GiB (66.4%) fs: ext4 dev: /dev/sdb3 maj-min: 8:19 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 9.31 GiB used: 4.48 GiB (48.1%) 
  priority: -2 dev: /dev/sdb4 maj-min: 8:20 
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 322 Uptime: 4d 4h 31m wakeups: 140 Memory: 15.52 GiB 
  used: 12.38 GiB (79.7%) Init: systemd v: 248 tool: systemctl Compilers: 
  gcc: 11.1.0 clang: 12.0.1 Packages: 1654 apt: 1 pacman: 1645 lib: 428 
  flatpak: 8 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06 
pacman -Ss nvidia | grep installed
core/mhwd-nvidia 470.57.02-1 [installed]
core/mhwd-nvidia-390xx 390.144-1 [installed]
extra/egl-wayland 1.1.7-1 [installed]
extra/libvdpau 1.4-1 [installed]
extra/libxnvctrl 470.57.02-2 [installed]
extra/linux513-nvidia-390xx 390.144-5 (linux513-extramodules) [installed]
extra/nvidia-390xx-utils 390.144-1 [installed]
extra/xf86-video-nouveau 1.0.17-1 (xorg-drivers) [installed]
community/bumblebee 3.2.1-22 [installed]
multilib/lib32-libvdpau 1.4-1 [installed]
multilib/lib32-nvidia-390xx-utils 390.144-1 [installed]

I don’t see your card on the list of supported products so most likely it’s impossible :frowning:

Thank you @Tomek, but I actually see it in drivers version of 418.113: NVIDIA DRIVERS Linux x64 (AMD64/EM64T) Display Driver

I updated topic as it mostly about general upgrade of video drivers from 390.

These drivers was dropped at the end of 2020. Your only option is to compile them.

2 Likes

You can also use nvidia-all,run the script and tell what driver do you want.

Keep in mind if you change the kernel,you need to reinstall it again.

Sorry, Tomek, maybe I understand you incorrect but why do you tell that drivers of version 418 was dropped? In the post you provided I see that version 340 was dropped. And 390 GOING TO BE dropped.

My question is “how to upgrade from 390 to most recent available version” (which is probably 418).

Thank you, I try to do it!

You shouldn’t need to. The NVIDIA 390 branch is supported by Manjaro, and it supports your GPU. Install that.

It is supported until late 2022, after that you will have to switch to Nouveau or get newer supported hardware.

1 Like

You didn’t read mentioned topics in this post (first two links):

The answer is: if you want Nvidia 418 drivers, you need to compile them. Otherwise you should stay with 390.

Yeah sadly this is the nature of the beast when it comes to nvidia, getting the latest drivers for older cards is an issue in both windows and linux as once nvidia drops support for your GPU that is that, do not pass go and do not collect $200.
This is not a linux issue or even a windows one… its nvidia for wanting to keep to proprietary drivers.
This leaves you with only a few options, either stick to the old drivers (whioch in itself is not a bad thing) try the open source versions (hey neuvau is actually not that bad on some cards) or get a new machine/hardware.

2 Likes