How to install Nvidia GPU Driver

I installed Manjaro and I really loved it. However, when I play games like Garry’s Mod, I get around 40 FPS. I installed Minecraft Java Edition and it says that it is currently using the integrated graphics card.

Here is the result after running inxi -G:
Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] driver: N/A
Device-3: Realtek Asus laptop camera type: USB driver: uvcvideo
Display: x11 server: X Org 1.20.9 driver: intel unloaded: modesetting resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.1.8

And when I run lspci | grep -E "VGA|3D":
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)

I’ve tried to install video-nvidia-455xx using the settings application, but when I reboot it just says Failed to start Simple Desktop Manager or something. I went into tty2 and uninstalled it using mhwd. I’ve tried using some other tutorials, but when I look at their screenshots I see 01:00.0 VGA controller instead of 01:00.0 3D controller. I am using Manjaro 20.

You have a hybrid configuration (intel+nvidia), so you need video-hybrid-intel-nvidia-VVVxx-ZZZZZZ. You can let the software automatically choose of a version for you or you can install a specific version in Manjaro Settings Manager > Hardware Configuration.

I’ve installed the 455xx version and when I did inxi -G (after reboot) it still says driver: N/A.

Just looked on nvidia website I’m not sure your card is supported in 455, it says 336 on nvidia. Probably why your having issues, double check what the latest driver is that supports your card. You may have to use the nouveau open source drivers

Indeed, I didn’t even check that. It may be best in that case to let mhwd automatically choose the configuration and driver for you. sudo mhwd -a pci nonfree 0300. But first remove the one you have just installed.

That just installs the same one I installed. Checked again, still N/A.

What’s the output of mhwd -l?

> 0000:01:00.0 (0302:10de:1140) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-455xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-450xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-340xx-bumblebee            2020.10.04               false            PCI
    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-nvidia-340xx            2020.10.04               false            PCI
           video-linux            2018.05.04                true            PCI


> 0000:04:00.2 (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:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-455xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-450xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-440xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-435xx-prime            2020.10.04               false            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2020.10.04               false            PCI
video-hybrid-intel-nvidia-340xx-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
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-455xx-prime            2020.10.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Please remove the one it installed and run sudo mhwd -i pci video-hybrid-intel-nvidia-390xx-bumblebee. It seems your gpu was misdetected.

2 Likes

Now I see the GPU driver. However at the bottom of inxi -G it still says that the OpenGL renderer is the integrated graphics. Can I change this/Run a program with a specific GPU?

You need to use optirun. For example, optirun glxinfo | grep "renderer".

When I use optirun:

[ 539.592220] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 539.592276] [ERROR]Aborting because fallback start is disabled.

Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
       Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] driver: nvidia v: 390.132 
       Device-3: Realtek Asus laptop camera type: USB driver: uvcvideo 
       Display: x11 server: XOrg 1.20.9 driver: nvidia resolution: 1366x768~60Hz 
       OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.1.8

Nevermind, I added BusID "PCI:01:00:0" in /etc/bumblebee/xorg.conf.nvidia. That fixed the issue. Thanks a lot!

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