Package Details: nvidia-390xx-dkms 390.138-7

Git Clone URL: https://aur.archlinux.org/nvidia-390xx.git (read-only, click to copy)
Package Base: nvidia-390xx
Description: NVIDIA driver sources for linux, 390xx legacy branch
Upstream URL: https://www.nvidia.com/
Keywords: 400 500 600 GeForce nvidia
Licenses: custom
Conflicts: nvidia, nvidia-390xx
Provides: nvidia-390xx=390.138
Submitter: Svenstaro
Maintainer: jonathon
Last Packager: jonathon
Votes: 41
Popularity: 5.86
First Submitted: 2020-03-11 17:30
Last Updated: 2020-10-19 00:55

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!

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

1 2 3 4 5 6 ... Next › Last »

susanne commented on 2020-10-26 09:19

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

engelmarkus commented on 2020-10-25 22:10

@susanne, as a workaround try the following:

> makepkg --nobuild

Go to the folder where your packages are usually built and open these two files:

/tmp/makepkg/nvidia-390xx-dkms/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-uvm/uvm_unsupported.c
/tmp/makepkg/nvidia-390xx-dkms/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-uvm/uvm_common.c

Replace the two lines saying "MODULE_LICENSE("MIT");" with "MODULE_LICENSE("GPL");". Then run

> makepkg --noextract -i

and you're done.

Btw, for paragraphs leave a blank line in between.

susanne commented on 2020-10-25 18:28

jonathon, thanks a lot for temporarily taking care of this package (unfortunately my skills are far too low to do the job) I got an error message, when trying to build the module for linux-rt-5.9.1 . It worked flawlessly with previous rt-versions): ..... ld -r -o /var/lib/dkms/nvidia/390.138/build/nvidia-modeset/nv-modeset-interface.o /var/lib/dkms/nvidia/390.138/build/nvidia-modeset/nvidia-modeset-linux.o LD [M] /var/lib/dkms/nvidia/390.138/build/nvidia-drm.o MODPOST /var/lib/dkms/nvidia/390.138/build/Module.symvers FATAL: modpost: GPL-incompatible module nvidia-uvm.ko uses GPL-only symbol 'migrate_enable' make[2]: [scripts/Makefile.modpost:111: /var/lib/dkms/nvidia/390.138/build/Module.symvers] Fehler 1 make[1]: [Makefile:1697: modules] Fehler 2 make[1]: Verzeichnis „/usr/lib/modules/5.9.1-rt18-2-rt/build“ wird verlassen make: *** [Makefile:81: modules] Fehler 2 .... would be great if you by chance find some minutes to have a look into it... many thanks in advance, Suse unfortunately I have no clue how to insert paragraphs for better reading :-(

m31aur commented on 2020-10-20 15:00

Works charmingly on 5.4 - 5.8 and 5.9 Thank you all.

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!

CyrIng commented on 2020-10-19 09:04

Thank you. It works with kernel 5.9.1

anjanik012 commented on 2020-10-19 05:15

Now working for 5.4.72-1-lts. Thanks for the quick fix :)

jonathon commented on 2020-10-18 23:36

Thanks to loqs this should now work for both 5.4 and 5.9.

anjanik012 commented on 2020-10-18 21:07

@SimPS For kernel 5.4.72-1-lts I downgraded PKGBUILD to commit a6dfb5c85dfb and removed some parts

diff --git a/PKGBUILD b/PKGBUILD
index b844031..6d2805f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 # Contributor: Thomas Baechler <thomas@archlinux.org>

 pkgbase=nvidia-390xx
-pkgname=(nvidia-390xx nvidia-390xx-dkms)
+pkgname=(nvidia-390xx-dkms)
 pkgver=390.138
 pkgrel=5
 pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
@@ -70,22 +70,6 @@ build() {
     make SYSSRC=/usr/src/linux module
 }

-package_nvidia-390xx() {
-    pkgdesc="NVIDIA drivers for linux, 390xx legacy branch"
-    depends=('linux' "nvidia-390xx-utils=${pkgver}" 'libglvnd')
-
-    _extradir="/usr/lib/modules/$(</usr/src/linux/version)/extramodules"
-    install -Dt "${pkgdir}${_extradir}" -m644 \
-      "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
-
-    find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
-
-    echo "blacklist nouveau" |
-        install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
-
-    install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE"
-}
-
 package_nvidia-390xx-dkms() {
     pkgdesc="NVIDIA driver sources for linux, 390xx legacy branch"
     depends=('dkms' "nvidia-390xx-utils=$pkgver" 'libglvnd')

Now the driver is working for now on lts kernel. I'll use it until there is a patch available for lts

SimPS commented on 2020-10-18 17:03

5.4.72 - lts kernel broke driver. Could you fix it please?