No hybrid amdgpu nvidia drivers in mhwd after upgrade

Hi everyone and happy NY!

I’ve just installed latest Manjaro updates and now there are no Nvidia drivers available for installation via mhwd anymore. Existing drivers were removed along with Linux 5.8, but even after I’ve installed nvidia-utils there is no option in Manjaro Settings Manager to automatically use hybrid config (amdgpu+nvidia) like I did before.

Here’s inxi -G:

Graphics:  Device-1: NVIDIA TU117M driver: N/A 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel 
           Device-3: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.10 driver: amdgpu,ati unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.2-2-MANJARO LLVM 11.0.0) v: 4.6 Mesa 20.3.1 

And there is mhwd:

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


> 0000:01:00.0 (0300:10de:1f99) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0300:1002:1636) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

I see that linux-latest-nvidia is available for manual installation, but I’m not sure if it would be the right way to just install it manually while mhwd states that there is no suitable driver for my card.

Is it something besides nvidia-utils that I’m missing here?

I would greatly appreciate any help!

Please post the output of inxi -Fazy and mhwd -la.

inxi -Fazy:

Summary
<stripped>
Graphics:
  Device-1: NVIDIA TU117M vendor: Hewlett-Packard driver: N/A 
  alternate: nouveau bus ID: 01:00.0 chip ID: 10de:1f99 
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 05:00.0 chip ID: 1002:1636 
  Device-3: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo 
  bus ID: 3-3:2 chip ID: 0408:5365 
  Display: x11 server: X.Org 1.20.10 driver: amdgpu,ati unloaded: modesetting 
  alternate: fbdev,vesa display ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.2-2-MANJARO LLVM 11.0.0) 
  v: 4.6 Mesa 20.3.1 direct render: Yes 
<stripped>

mhwd -la:

Summary
> All PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
       network-slmodem            2013.12.07                true            PCI
   network-broadcom-wl            2018.10.07                true            PCI
     network-rt3562sta            2013.12.07                true            PCI
         network-r8168            2016.04.20                true            PCI
       video-rendition            2020.01.18                true            PCI
      video-openchrome            2020.01.18                true            PCI
          video-sisusb            2020.01.18                true            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
            video-vesa            2017.03.12                true            PCI
          video-voodoo            2017.03.12                true            PCI
     video-modesetting            2020.01.13                true            PCI
  video-virtualmachine            2020.03.26                true            PCI
              video-s3            2020.01.18                true            PCI
    video-nvidia-390xx            2020.11.30               false            PCI

What is the output of mhwd and mhwd -li? We simplified Nvidia drivers and dropped a lot of old ones. See also 2020-12-30 Stable Announcement.

Here is mhwd:

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


> 0000:01:00.0 (0300:10de:1f99) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0300:1002:1636) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

And mhwd -li:

Summary
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

I’ve read the announcement and the latest threads on this forum about Nvidia issues, but unfortunately haven’t found the solution yet. :frowning:

In the past we had several AMD-PRIME drivers:

Those we had dropped. Normally it should be possible to support your hardware also with the 455 Nvidia driver. However, your hardware ID is not listed:

(0300:10de:1f99) Display controller nVidia Corporation
(0300:1002:1636) Display controller ATI Technologies Inc

# NVIDIA cards
CLASSIDS="0300 0302"
VENDORIDS="10de"
DEVICEIDS=">/var/lib/mhwd/ids/pci/nvidia.ids"

# Amd cards
CLASSIDS="0300"
VENDORIDS="1002"
DEVICEIDS="*"

However it is listed in the nvidia.ids file. What is the output of pacman -Q | grep nvidia?

Also you can try to install hybrid drivers like this:

sudo mhwd -r pci 0300 video-linux
sudo mhwd -i pci 0300 video-hybrid-amd-nvidia-prime

Here is pacman output grepped:

Summary
mhwd-nvidia 455.45.01-3
mhwd-nvidia-340xx 340.108-1
mhwd-nvidia-390xx 390.138-1
nvidia-prime 1.0-4
nvidia-utils 455.45.01-2

I removed video-linux config, but could not install hybrid config:

Error: config 'video-hybrid-amd-nvidia-prime' does not exist!

(I had to remove classid 0300 from command as my version of mhwd seem to use slightly different syntax)

P.S.: should I not reboot now until I successfully install some video config?

Quick update: I’ve grepped pacman.log and I’ve found some upgrade errors that may be relevant to the issue:

> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1f99) Display controller nVidia Corporation TU117M
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:05:00.0 (0300:1002:1636) Display controller ATI Technologies Inc Renoir
> Installing video-hybrid-amd-nvidia-prime...
Running 'pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /etc/pacman.conf --root / --needed -Sy nvidia-utils nvidia-prime lib32-nvidia-utils linux510-nvidia linux54-nvidia linux58-nvidia'
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG
warning: nvidia-prime-1.0-4 is up to date -- skipping
error: target not found: linux58-nvidia

As re-running this pacman line seemed reasonable, I did it manually without linux58-nvidia part and rebooted the box. Now I have nvidia driver up and running just like it was before the upgrade, with one exception: mhwd still shows only open source drivers.

linux58 kernel was dropped. You may remove it. Normally mhwd should show you that config. Glad it worked out in the end.

I’ve noticed that /var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG was renamed to *.old (presumably due to the error I’ve posted about above). I’ve reinstalled mhwd-db:

sudo pamac reinstall mhwd-db

After that, mhwd finally showed me video-hybrid-amd-nvidia-prime config! After I’ve ran

sudo mhwd -a pci nonfree 0300

I’ve finally got this message: Successfully installed video-hybrid-amd-nvidia-prime!
Thank you very much for pointing me the right direction :slight_smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.