First you will need to install all the updates. This will install the nvidia 470 drivers also but it’s OK you will replace it later once you have everything else updated. I’m using kernel 5.12.
After that go here to get the driver
This driver is from the new features brach
Version: 465.31 Release Date: 2021.5.18 Operating System: Linux 64-bit
You will need to compile these drivers so read this article on how to install the official drivers:
After you reboot your card should be recognized.
Just to be safe I have also added the “linux512-nvidia” package to the pamac ignore list.
Once you have all of this done you can install optimus-manager and I higly recommend optimus-manager-qt to make it easier on yourself.
Let me know if you have any other questions.