[Slackbuilds-users] Latest Nvidia driver 384.59

Edward Koenig kingbeowulf at gmail.com
Tue Aug 8 03:26:00 UTC 2017


> On Aug 7, 2017, at 7:05 PM, Lenard Spencer <lspencer31 at cfl.rr.com> wrote:
> 
> I guess this message should be directed to Ed since he maintains the nvidia-driver and nvidia-kernel packages.
> 
> As you all may know, the latest Nvidia long-term driver 384.59 was released a couple of weeks ago.  Since I was out of town all last week, today was the first chance I got to play with it.  I have found that there are two lines in nvidia-driver.SlackBuild that apparently not needed.  Here's the patch I came up with:
> 
> --------------------------------------------------------------------------------------------------------
> 
> --- nvidia-driver.SlackBuild.orig    2017-08-06 20:56:53.000000000 -0400
> +++ nvidia-driver.SlackBuild    2017-08-07 16:40:16.581511628 -0400
> @@ -26,7 +26,7 @@
> # see changelog.txt
> 
> PRGNAM=nvidia-driver
> -VERSION=${VERSION:-375.66}
> +VERSION=${VERSION:-384.59}
> BUILD=${BUILD:-1}
> TAG=${TAG:-_SBo}
> 
> @@ -313,11 +313,7 @@
>    cd -
> fi
> 
> -#ICDs
> -install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/
> -install -m 644 nvidia_icd.json $PKG/etc/vulkan/icd.d/
> -
> -# Remove xorg conf file since we take care of that in nvidia-driver
> +# Remove xorg conf file since we take care of that in nvidia-kernel
> rm -rf $PKG/etc/X11/xorg.conf.d
> 
> cat <<EOF > $PKG/var/log/nvidia/README.txt
> --------------------------------------------------------------------------------------------------------
> 
> The #ICDs section apparently is not needed as these two files get written when nvidia-driver is installed. (At least I haven't gotten it to fail on either stable or current.)
> 
> As a side note, the GLVND=no parameter seems to be broken ATM.
> 
> Hope this helps
> 
> 

Slave drivers, all y'all!

I started on the update especially GLVND=no issue but got distracted by a shiny bauble...

Either way, if you got the update to work without any weirdness (other than nonGLVND), then the refactoring of the script shows promise.  It will be nice if just $VERSION needs updating.

-Ed
 


More information about the SlackBuilds-users mailing list