Skip to content

How do you install the new nvidia 470 driver?

tl;dr: This comment is the answer.


I saw that nvidia-beta package on the AUR is flagged out of date for 470, as it's stuck on 465. Do I just have to wait until that package is updated on the AUR to install it? Or can I modify the PKGBUILD to install 470?

Edited 25 Jun 2021. We only hold this version.

25 points27 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
25 · 82% up
Kind
Text
ID
o7gtfr

Author

112
posts
131
comments
4
media
View profile

30 comments

AUR packages are handle by community. You can go on the package AUR page to either ask the maintainer to update the PKGBUILD, or clone it locally and update it yourself (there is a comment on the AUR page of nvidia-beta to show the diff used to install 470).

https://aur.archlinux.org/packages/nvidia-beta/

19 points

Use the patch on this package and on Nvidia utils. You need both (nvidia-settings is in the same PKG build)

It might need some work for the second PKG build but it still is very simple

1 points

Are you referring to the following comment:

marcBarbier commented on 2021-06-23 18:18 (edited on 2021-06-23 18:21 by >marcBarbier)

here is a very simple diff to get 470 running

apply it with patch PKGBUILD -i XXX.patch

7c7
< pkgver=465.31
---
> pkgver=470.42.01
20c20
< sha256sums=>('2d423f1299561f770b2c1195f310c0bc9a4ce7b7095327b7cf67a3efc340ea58'
---
> sha256sums= >('7e53a3557908fb0c8e86e22200f4ee670dcec8f6ee6c4a171362d86d6c8bce20'

If so, I wasn't sure how to use this to patch the PKGBUILD. I would love a quick explanation for this. I am unsure what a "diff" is, and I don't know how to interpret the code snippet for the patch either.

EDIT: I think its saying, in the PKGBUILD change pkgver=465.31 to pkgver=470.42.01 and sha256sums=('2d423f1299561f770b2c1195f310c0bc9a4ce7b7095327b7cf67a3efc340ea58' to sha256sums= ('7e53a3557908fb0c8e86e22200f4ee670dcec8f6ee6c4a171362d86d6c8bce20', but I am not sure what 7c7 and 20c20 are, and I also don't know if its saying do it manually or if I put that code into a .patch file and call it with the patch PKGBUILD -i XXX.patch command given.

0 points

Read aur package wiki page, the PKGBUILD syntax and patch command for full explanation.

tl;dr : clone the AUR package, create a xxx.patch file with given content and apply it to AUR package with patch PKGBUILD - I xxx.patch. If you don't want to patch (or if you get an error), edit PKGBUILD file and replace < lines with > lines. You only need to update downloaded package version and its hash.

6 points
unknown author1 hidden

Deleted before we saved it.

8 points

I've been installing from here for years. TKG is the guy.

1 points

Just install nvidia-dkms-performance, nvidia-settings-performance, nvidia-utils-performance, lib32-nvidia-utils-performance. (search nvidia performance ...)

7 points
unknown author

Deleted before we saved it.

1 points

Read man 5 PKGBUILD.

-8 points

Pointing me to the manual doesn't really answer my question.

-1 points

Well I used it get it running wasn't really hard. Just get the already existing PKG build for 4xx and edit it by filling the right Sha and versions number

5 points

Have you read it though? If nit no ones is going to read for you or do your work for you. No one has time for explaining to you if you do not have time to do your own research. You are not more important than orthers or others time. If you do not read documentation and ask&wait for others to explain it to you you shall not get your answer.

-7 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.