How to enable Nvidia driver?

Hey delightful Archies.
This stupid girl has installed Nvidia DKMS drivers, since I’ve heard they are the only ones that work. Still no joy. I’m in Second Life and it still shows me I’m on mesa driver or sumsuch and my graphics settings won’t let me get to higher quality. :frowning:

So, how do I install the correct driver for my GTX770?

Thank you

Hello @Orca
Can you post at minimum inxi -Ga

Edit: Your card should be using the 460.56 driver version

You can run the following and see what it reports.


Then you can run a test to see if it gives any errors.

nvidia-installer-dkms -t

Then you can install the nvidia-dkms drivers

sudo nvidia-installer-dkms

Then you can reboot

sudo systemctl reboot

1 Like

I’m not sure whether the initial install installs the nvidia-installer-dkms but you’ll know when you try the check. You may need to install it first. There is also a database tool for the nvidia which is nvidia-installer-db. This is probably also needed to run the check against the database of cards.

1 Like

If you installed nvidia-dkms what does it show installed. inxi -Ga

1 Like

Only this: Does it mean 460.56 is installed now?

inxi -Ga

I installed nvidia-installer-db a couple times … it never seems to stay installed. :frowning:

You should install the package mesa-demos to get more detailed information about your graphical environment. It provides glxinfo which is, in your output, claimed to be missing.
Then rerun the inxi command.

nvidia-installer-db is not a command to be executed. It’s just a database used by nvidia-installer-check, which is part of the package nvidia-installer-db.
You could run nvidia-installer-update-db which is included in the same package. This will update the known GPU IDs.

The database contains the following files :

1 Like

[orca@MiniMax ~]$ nvidia-installer-update-db
Fetching NVIDIA graphics card ids from
==> Latest Production Branch Version: found!
==> Latest Legacy GPU version: found!
Adding NVIDIA graphics card ids to the local database.
[orca@MiniMax ~]$ nvidia-installer-update-db
Fetching NVIDIA graphics card ids from
==> Latest Production Branch Version: found!
==> Latest Legacy GPU version: found!
Database is already up-to-date.
[orca@MiniMax ~]$

Looks like I’m good, no? Only my SL viewer seems to think I’m on lame-ass Mesa. :face_vomiting:

What does inxi -G tell you?
What is the output of yay -Qs nvidia and uname -a?

1 Like

The command to check Nvidia hardware is: nvidia-installer-check while nvidia-installer-update-db will install the used database with the ID’s needed for that command.

The command inxi -Ga will show information on Graphics Hardware and with it also used Driver.

Your output from above shows nvidia failed:
if you would provide boot journal and check if it is a dualgpu system:

lspci > log.txt && lsusb >> log.txt && journalctl -b -0 >> log.txt && cat log.txt | eos-sendlog

copy paste the short URL this gives out here please.
and this will give one or two lines output you can paste here too:
lspci -vnn | grep '\''[030[02]\]'

1 Like

[orca@MiniMax ~]$ inxi -G
Device-1: NVIDIA GK104 [GeForce GTX 770] driver: nvidia v: 460.56
Display: x11 server: X.Org 1.20.10 driver: loaded: modesetting
failed: nvidia resolution: 1920x1080~60Hz
OpenGL: renderer: llvmpipe (LLVM 11.1.0 256 bits) v: 4.5 Mesa 20.3.4
[orca@MiniMax ~]$

yay -Qs is too long to copy or make screenshot of

[orca@MiniMax ~]$ uname -a
Linux MiniMax 5.11.2-arch1-1 #1 SMP PREEMPT Fri, 26 Feb 2021 18:26:41 +0000 x86_64 GNU/Linux
[orca@MiniMax ~]$ ^C
[orca@MiniMax ~]$

Sorry, what? These are all bohemian villages for me. :roll_eyes:

But I know it’s not a dualgpu, only got the one GTX770.

But more important: Why did the install fail repeatedly?

You can use this to upload and get a link to the log.
yay -Qs | eos-sendlog

You might want to set up the additional configuration via the wiki and it may solve the issue. See what @joekamprad recommends. This is what i did originally.

1 Like

That is only half of the command. You forgot the nvidia part. We just want to find out which packages containing nvidia in the name are installed. Leaving that part away shows all installed packages which makes the output so big.
The correct command would be

yay -Qs nvidia


In the meantime I got the driver installed, following Rick’s link.

Thank you all for your immeasurable helpfulness. Next round’s on me.

1 Like

Sometimes i miss the details not thinking. Thanks for pointing that out. :slightly_smiling_face:

If you now look at inxi -Ga it should show the proper driver loaded for the card and also X11.

1 Like

I’m a regular blindo but for me it seems like everything is there …


Yes …it shows the device-1 GTX 770, the driver is Nvidia and version number 460.56 Display shows x11 with driver being Nvidia. Open GL: Renderer shows the proper device that is doing the rendering. If it doesn’t load the driver properly then this will use mesa and not show your hardware and will show in display that driver loaded (Nvidia) failed.

This has happened to me also on my Nvidia system and on another that i built for someone else.

Glad it’s working correctly for you. Just F.Y.I. on the latest kernel i had an issue with it and i had to reinstall the drivers, the kernel and the headers to get it to boot as it was booting to a cursor. Occasionally these things can happen with kernel updates or Nvidia updates but not often.

1 Like