Package Base Details: nvidia-390xx

Git Clone URL: https://aur.archlinux.org/nvidia-390xx.git (read-only, click to copy)
Keywords: 400 500 600 GeForce nvidia
Submitter: Svenstaro
Maintainer: jonathon
Last Packager: jonathon
Votes: 50
Popularity: 7.33
First Submitted: 2020-03-11 17:30
Last Updated: 2021-01-09 14:03

Pinned Comments

jonathon commented on 2020-10-19 12:40

PACKAGE NEEDS MAINTAINER

I have adopted the 390xx packages to keep them secure. I do not run any 390xx hardware so will not notice any breakages and cannot test any changes.

Until such time as someone else steps up to maintain these packages - ideally someone who actually has 390xx hardware - I have to rely on you to tell me what changes are needed.

Don't expect a response if you post only "this doesn't work", and do not email me to complain about the package not working!

Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926

forcegk commented on 2020-03-20 02:18

Hello, I'd recommend to you all using the nvidia-390xx-dkms package. If anyone here knows how to change the script in order for the package to recompile every time linux kernel gets updated, please let me know via email. Thank you.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

iron_overheat commented on 2020-12-15 20:38

@jonathon I'm awaiting for 5.10 kernel support. Is that entirely on nvidia's side, or can you create a 5.10 patch? Once again, here are my errors, but in code format in case my previous attempt was ignored due to an external pastebin:

/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c: In function
‘__nv_drm_gem_user_memory_prime_get_sg_table’:

/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no- 
compat32

/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:50:48: error: passing 
argument 1 of ‘drm_prime_pages_to_sg’ from incompatible pointer type 
[-Werror=incompatible-pointer-types]

   50 |     return drm_prime_pages_to_sg(nv_user_memory->pages,    
      |                                  ~~~~~~~~~~~~~~^~~~~~~    
      |                                                |    
      |                                                struct page **

In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:91:59: note: expected ‘struct drm_device *’ but 
argument is of type ‘struct page **’

   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,    
      |                                        ~~~~~~~~~~~~~~~~~~~^~~

/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:51:48: warning: 
passing argument 2 of ‘drm_prime_pages_to_sg’ makes pointer from integer 
without a cast [-Wint-conversion]

   51 |                                  nv_user_memory->pages_count);    
      |                                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~    
      |                                                |    
      |                                                long unsigned int

In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:92:26: note: expected ‘struct page **’ but argument 
is of type ‘long unsigned int’

   92 |            struct page **pages, unsigned int nr_pages);    
      |            ~~~~~~~~~~~~~~^~~~~

/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:50:12: error: too few 
arguments to function ‘drm_prime_pages_to_sg’

   50 |     return drm_prime_pages_to_sg(nv_user_memory->pages,    
      |            ^~~~~~~~~~~~~~~~~~~~~

In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:91:18: note: declared here

   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,    
      |                  ^~~~~~~~~~~~~~~~~~~~~

/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:52:1: error: control 
reaches end of non-void function [-Werror=return-type]

   52 | }    
      | ^

cc1: some warnings being treated as errors

make[2]: *** [scripts/Makefile.build:279: /home/l0linux/.cache/yay/nvidia-
390xx/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-
drm-gem-user-memory.o] Error 1

make[1]: *** [Makefile:1805: /home/l0linux/.cache/yay/nvidia-390xx/src
/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel] Error 2

maxx77 commented on 2020-12-15 15:21

@jonathon Just doing


yay -S nvidia-390xx-dkms

I reinstall linux-headers but still the same error.

jonathon commented on 2020-12-15 13:28

@maxx77, /usr/src/linux is provided by linux-headers which is a makedepends of the package. Your error implies that your setup is broken or you are ignoring package dependencies during build.

maxx77 commented on 2020-12-15 12:48

Not working with kernel 5.4.80-2


Creating directory NVIDIA-Linux-x86_64-390.138-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.138....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
patching file kernel/common/inc/nv-linux.h
patching file kernel/conftest.sh
Hunk #1 succeeded at 2045 (offset 139 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file kernel/common/inc/nv-linux.h
Hunk #1 succeeded at 535 (offset 4 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file kernel/common/inc/nv-mm.h
(Stripping trailing CRs from patch; use --binary to disable.)
patching file kernel/conftest.sh
Hunk #1 succeeded at 4072 (offset 5 lines).
(Stripping trailing CRs from patch; use --binary to disable.)
patching file kernel/nvidia/nvidia.Kbuild
patching file kernel/common/inc/nv-linux.h
patching file kernel/common/inc/nv-mm.h
patching file kernel/conftest.sh
patching file kernel/nvidia-drm/nvidia-drm-drv.c
patching file kernel/nvidia-drm/nvidia-drm-gem.h
patching file kernel/nvidia-drm/nvidia-drm-utils.c
patching file kernel/nvidia-uvm/uvm8_tools.c
patching file kernel/nvidia-uvm/uvm8_va_range.h
patching file kernel/nvidia/nv.c
==> Les sources sont prêtes.
==> Création du paquet nvidia-390xx 390.138-7 (mar 15 déc 2020 13:19:26)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> ATTENTION : Utilisation de l’arbre $srcdir/ existant
==> Suppression du répertoire $pkgdir/ existant…
==> Lancement de build()…
make[1]: *** /usr/src/linux : Aucun fichier ou dossier de ce type. Arrêt.
make: *** [Makefile:81 : modules] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
error making: nvidia-390xx (nvidia-390xx-dkms)

iron_overheat commented on 2020-12-14 19:27

Sorry for asking early but is 5.10 patch coming? 5.9 patch fails to manually build using 5.10 headers. Here are my errors: https://pastebin.synalabs.hosting/#ADe8Btn_Uqdcr7lN15m9ig

riazufila commented on 2020-11-30 00:47

@anjanik012 Thanks for that info.

I have Linux Zen as my kernel. I need to install linux-zen-headers along with nvidia-390xx-dkms right? But why is the dependencies not included with linux-zen-headers? Or am I okay with linux-headers?

anjanik012 commented on 2020-11-28 11:20

@riazufila Install nvidia-390xx-dkms instead of nvidia-390xx.

riazufila commented on 2020-11-24 07:16

How to I recompile this package after every kernel update?

air-g4p commented on 2020-11-02 06:56

@jonathon - I just wanted to thank you for stepping up to become the temporary maintainer of this package which is important to many folks!

Whatever you are currently doing is working well.

nvidia-390xx-dkms 390.138-7 builds without error and my nVidia DKMS kernel modules are installing correctly, including against 5.9.3-arch1-1 (still in the testing repos), which I grabbed today.

Cheers

susanne commented on 2020-10-26 09:19

worked - many thanks @engelmarkus, you made my day :-)