Package Details: nvidia-beta 396.54-1

Git Clone URL: https://aur.archlinux.org/nvidia-beta.git (read-only)
Package Base: nvidia-beta
Description: NVIDIA driver for Arch's official 'linux' package (beta version)
Upstream URL: http://www.nvidia.com/
Licenses: custom:NVIDIA
Conflicts: nvidia, nvidia-173xx, nvidia-96xx
Provides: nvidia=396.54
Submitter: None
Maintainer: Det
Last Packager: Det
Votes: 341
Popularity: 0.708062
First Submitted: 2008-02-10 22:03
Last Updated: 2018-09-01 16:08

Dependencies (4)

Required by (19)

Sources (1)

Pinned Comments

Det commented on 2018-07-17 13:28

✔ OBS This is not a Vulkan package: https://developer.nvidia.com/vulkan-driver, https://devtalk.nvidia.com/default/topic/1035845

Latest Comments

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

bouhappy commented on 2018-08-18 08:10

I made a patch that builds successfully for those interested to go ahead with it. Reverted to nvidia until @Det merges it, if it's okay.

diff --git a/PKGBUILD b/PKGBUILD
index 1f5045a..fe9c4c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,7 @@ provides=("nvidia=$pkgver")
 conflicts=('nvidia-96xx' 'nvidia-173xx' 'nvidia')
 options=('!strip')
 install=$pkgname.install
+_extramodules=extramodules-ARCH
 _pkg="NVIDIA-Linux-x86_64-$pkgver-no-compat32"
 source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/$pkgver/$_pkg.run")
 md5sums=('d3556202869f629e0c251b59ad4b9bee')
@@ -42,7 +43,7 @@ prepare() {
   cd $_pkg

   # Kernel version (e.g. 4.15.0-1-ARCH)
-  _kernel=$(cat /usr/lib/modules/extramodules-*-ARCH/version)
+  _kernel=$(cat /usr/lib/modules/$_extramodules/version)

   # Loop patches (linux-4.15.patch, lol.patch, ...)
   for _p in $(printf -- '%s\n' ${source[@]} | grep .patch); do  # https://stackoverflow.com/a/21058239/1821548
@@ -61,7 +62,7 @@ prepare() {

 build() {
   # Version of 'linux'
-  _kernel=$(cat /usr/lib/modules/extramodules-*-ARCH/version)
+  _kernel=$(cat /usr/lib/modules/$_extramodules/version)

   # Build module
   cd $_pkg/kernel
@@ -70,10 +71,6 @@ build() {
 }

 package() {
-  # Version of 'linux'
-  _major=$(pacman -Q linux | grep -Po "\d+\.\d+")
-  _extramodules=extramodules-$_major-ARCH
-
   # Nvidia kernel module; provides low-level access to your NVIDIA hardware for the other components. Generally
   # loaded into the kernel when the X server is started, to be used by the X driver and OpenGL. Consists of two
   # pieces: the binary-only core, and a kernel interface that must be compiled specifically for your kernel version,
diff --git a/nvidia-beta.install b/nvidia-beta.install
index ca51309..80c7263 100644
--- a/nvidia-beta.install
+++ b/nvidia-beta.install
@@ -1,6 +1,6 @@
 _depmod() {
     # This gets auto-updated during build
-    _extramodules='extramodules-4.11-ARCH'
+    _extramodules='extramodules-ARCH'

     # Update module dependencies
     depmod $(cat /usr/lib/modules/$_extramodules/version)

rhino2rhonda commented on 2018-08-17 09:28

@bOlaE +1. Same error message while reinstalling nvidia-beta

bOlaE commented on 2018-08-17 04:56

cat: '/usr/lib/modules/extramodules-*-ARCH/version': no such as file or directory I get this error during compilation of the nvidia-beta

mozo commented on 2018-07-17 14:15

Yes I saw it. Excuse me.

Det commented on 2018-07-17 13:56

What 'actual' version? I just told you why I don't update to Vulkans. I even pinned it.

mozo commented on 2018-07-17 13:41

Yes, 396.24.10, my fault. Why you don't update this package to the actual version?

Det commented on 2018-07-17 13:33

396.24.10 you probably mean. Not extra/nvidia 396.24-10.

Also, as explained, converting this to a Vulkan package is as simple as changing the source link, pkgver, and building with --skipinteg or 'SKIP' in the md5sums.

Det commented on 2018-07-17 13:28

✔ OBS This is not a Vulkan package: https://developer.nvidia.com/vulkan-driver, https://devtalk.nvidia.com/default/topic/1035845

Det commented on 2018-07-17 13:27

@twisty, yes, the Vulkans are, and I'm not updating to those, as already explained.

mozo commented on 2018-07-17 12:51

Just used Zeioth's files to install 396.24.10 and all went fine. No I'm with 396.24.10 which is requirement for DXVK 0.62.