Failing to install proprietary nvidia drivers

Mod-edit: Formating output


Hello, I’m trying to install proprietary drivers for my gpu on my laptop. I’m getting this error

Using config 'video-hybrid-intel-nvidia-418xx-bumblebee' for device: 0000:00:02.0 (0300:8086:0a16) Display controller Intel Corporation Haswell-ULT Integrated Graphics Controller
> Installing video-hybrid-intel-nvidia-418xx-bumblebee...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-418xx-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
warning: xf86-video-intel-1:2.99.917+913+g9236c582-1 is up to date -- skipping
error: target not found: linux59-nvidia-418xx
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
Error: pacman failed!
Error: script failed!

Any help will be appreciated.

Hi @anon28833997, and Merry Christmas, by the way!

Looks to me like you’re trying to install the hybrid drivers, are you sure this is correct.

If not, the following command will show the available drivers:

mhwd -l

Mine, as example:

$ mhwd -l
> 0000:01:00.0 (0300:10de:1401) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-nvidia-455xx            2020.10.04               false            PCI
video-nvidia-450xx            2020.10.04               false            PCI
video-nvidia-440xx            2020.10.04               false            PCI
video-nvidia-435xx            2020.10.04               false            PCI
video-nvidia-430xx            2020.10.04               false            PCI
video-nvidia-418xx            2020.10.04               false            PCI
video-nvidia-390xx            2020.10.04               false            PCI
video-linux            2018.05.04                true            PCI
video-modesetting            2020.01.13                true            PCI
video-vesa            2017.03.12                true            PCI

Installing it is as easy as:

$ mhwd -i video-nvidia-455xx

But I have no experience with hybrid drivers, so there’s no way for me to confirm if it is this easy for those as well. In most cases they wouldn’t be neccessary, though. Hence me asking if you were sure.

Mod-edit: Formating output


Hey, thank you for replying. So yes I was trying to install the hybrid one apparently. I just need the proprietary one. Now when I do

mhwd -i video-nvidia-418xx 

I get: invalid use of option: -i/–install

Here’s the full output

[sreejith@Manjaro ~]$ mhwd -l
> 0000:08:00.0 (0302:10de:1299) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-418xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.10.04               false            PCI
    video-nvidia-418xx            2020.10.04               false            PCI
    video-nvidia-390xx            2020.10.04               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:06:00.0 (0200:14e4:4365) Network controller Broadcom:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
   network-broadcom-wl            2018.10.07                true            PCI


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


[sreejith@Manjaro ~]$ ^C
[sreejith@Manjaro ~]$ mhwd -i video-nvidia-418xx
Error: invalid use of option: -i/--install

Usage: mhwd [OPTIONS] <config(s)>

  --pci                                 list only pci devices and driver configs
  --usb                                 list only usb devices and driver configs
  -h/--help                             show help
  -v/--version                          show version of mhwd
  -f/--force                            force reinstallation
  -d/--detail                           show detailed info for -l/-li/-lh
  -l/--list                             list available configs for devices
  -la/--listall                         list all driver configs
  -li/--listinstalled                   list installed driver configs
  -lh/--listhardware                    list hardware information
  -i/--install <usb/pci> <config(s)>    install driver config(s)
  -ic/--installcustom <usb/pci> <path>  install custom config(s)
  -r/--remove <usb/pci> <config(s)>     remove driver config(s)
  -a/--auto <usb/pci> <free/nonfree> <classid>  auto install configs for classid
  --pmcachedir <path>                   set package manager cache path
  --pmconfig <path>                     set package manager config
  --pmroot <path>                       set package manager root

[sreejith@Manjaro ~]$ 

Sorry I don’t know how to format this text
Mod-answer: See how i corrected your post

My apologies. You should run the mhwd command as root. So, try:

sudo mhwd -i video-nvidia-418xx

Gives the same error

Fixed that. I had to add pci before video-nvidia

Now it gives me the same error it gave me at first.

[sreejith@Manjaro ~]$ sudo mhwd -i pci video-nvidia-418xx

Installing video-nvidia-418xx…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-418xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases…
error: target not found: linux59-nvidia-418xx
core is up to date
extra is up to date
community is up to date
multilib is up to date
Error: pacman failed!
Error: script failed!

1 Like

What is the output of

sudo mhwd -l

and

sudo mhwd -li

Also, see:

for sudo mhwd -l

[sudo] password for sreejith: 
> 0000:08:00.0 (0302:10de:1299) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-418xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.10.04               false            PCI
    video-nvidia-418xx            2020.10.04               false            PCI
    video-nvidia-390xx            2020.10.04               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:06:00.0 (0200:14e4:4365) Network controller Broadcom:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
   network-broadcom-wl            2018.10.07                true            PCI


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

for sudo mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
   network-broadcom-wl            2018.10.07                true            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!```

Just to be clear, to make sure I understand you correctly, you ARE NOT trying to install the hybrid drivers. Am I correct in my understanding?

If so, the command would most likely be

sudo mhwd -i video-nvidia-418xx

after which, IIRC, there’s nothing else needed, except rebooting.

If not, the command would probably be:

sudo mhwd -i video-hybrid-intel-nvidia-390xx-bumblebee

after which I have absolutely no idea what to do, except rebooting.

I did some research, it is because 5.9 kernel doesn’t support nvidia drivers or the other way around. So basically I have to install a 5.8 kernel to install the drivers. I will update once I do it

OK, cool. Thank you!

Merry xmas everyone. :slight_smile:

According to pacman linux59-nvidia-390xx is still available, not sure for how long though. So you should be able to install 390xx on 5.9.

sudo mhwd -i pci video-nvidia-390xx

If you need 418xx, then both 5.4 and (as you already know) 5.8 have it.

See this thread for related info:

1 Like