NVIDIA driver is installed but apparently not used

For some time now my NVIDIA driver is not used anymore, thus no hardware acceleration. I hope you could help me getting the NVIDIA graphics card running again.

I’m running kernel 5.10 (although I tried with 5.9 and an old 5.4 as well with the same results):

[user@host ~]$ uname -r
5.10.2-2-MANJARO

I have an on-board Intel card, but I intend to only use the NVIDIA GPU. lspci only lists the NVIDIA card anyway:

[user@host ~]$ sudo lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

The video-nvidia driver is installed via mhwd:

[user@host ~]$ sudo mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI


Warning: No installed USB configs!

The following related packages are installed:

[user@host ~]$ pacman -Qs 'nvidia' | grep '^[^ ]'
local/bumblebee 3.2.1-22
local/egl-wayland 1.1.6-1
local/lib32-libvdpau 1.4-1
local/lib32-nvidia-utils 455.45.01-3
local/lib32-opencl-nvidia 455.45.01-3
local/libvdpau 1.4-1
local/linux-latest-nvidia 5.10-1 (linux-latest-extramodules)
local/linux510-nvidia 455.45.01-10.0 (linux510-extramodules)
local/linux54-nvidia 455.45.01-6 (linux54-extramodules)
local/linux59-nvidia 455.45.01-6 (linux59-extramodules)
local/mhwd-nvidia 455.45.01-3
local/mhwd-nvidia-340xx 340.108-1
local/mhwd-nvidia-390xx 390.138-1
local/nvidia-utils 455.45.01-2
local/opencl-nvidia 455.45.01-2

And the corresponding kernel module seems to be loaded:

[user@host ~]$ sudo dmesg | grep -i nvidia
[    3.983095] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input5
[    3.983211] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input6
[    3.983312] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input7
[    3.983418] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[    3.983519] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input9
[    3.983616] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input10
[    5.387167] nvidia: loading out-of-tree module taints kernel.
[    5.387175] nvidia: module license 'NVIDIA' taints kernel.
[    5.393123] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    5.405536] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[    5.405915] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    5.522505] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  455.45.01  Thu Nov  5 23:03:56 UTC 2020
[    6.203500] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  455.45.01  Thu Nov  5 22:55:44 UTC 2020

Yet a warning regarding missing hardware acceleration is displayed after login. glxinfo reports accordingly:

[user@host ~]$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: Mesa/X.org (0xffffffff)
OpenGL vendor string: Mesa/X.org

What could I do to get the NVIDIA card running?
Thanks for your help.

Make sure the system is up to date first.

Then install the Nvidia video drivers with the automatic installation method:

Thanks for your fast reply. The system is up to date:

[user@host ~]$ sudo pacman -Syyu
:: Synchronisiere Paketdatenbanken...
 core                  167,6 KiB  1676 KiB/s 00:00 [######################] 100%
 extra                1995,1 KiB  4,08 MiB/s 00:00 [######################] 100%
 community               6,3 MiB  1757 KiB/s 00:04 [######################] 100%
 multilib              182,0 KiB  1820 KiB/s 00:00 [######################] 100%
:: Starte vollständige Systemaktualisierung...
 Es gibt nichts zu tun

And mhwd tries to install the driver already installed:

[user@host ~]$ sudo mhwd -a pci nonfree 0300
> Skipping already installed config 'video-nvidia' for device: 0000:01:00.0 (0300:10de:1c81) Display controller nVidia Corporation GP107 [GeForce GTX 1050]

I had the same problem, despite the nvidia driver being installed, the system did not load the drivers and was using the nouveau driver instead. Seems a problem of kernel 5.10 and nvidia 455 with certain hardware, mine is hybrid card.

I had to deinstall the 390 driver, did it via pamac, then reinstalled mhwd and mhwd-b. Reboot using kernel 5.4 lts and it worked. Kernel 5.10 no luck.

You can also try to remove and reinstall the drivers.