From bfc8efa5e35b5c8c4acf037ed0848e98cdc54622 Mon Sep 17 00:00:00 2001 From: Francois B Date: Sun, 25 Mar 2018 22:10:01 +0200 Subject: [PATCH] nvidia graphic drivers added 387+390 --- install_functions.sh | 28 ++++++++++++++++++++++++++++ menus_functions.sh | 8 ++++++++ repo_functions.sh | 8 ++++++++ yggdrasil.sh | 2 +- 4 files changed, 45 insertions(+), 1 deletion(-) diff --git a/install_functions.sh b/install_functions.sh index ab55bc5..881bab4 100644 --- a/install_functions.sh +++ b/install_functions.sh @@ -486,6 +486,34 @@ function installNvidia384Menu () { installAppsFromListMenu nvidia-384 } +# +# install Nvidia Drivers (headless) +# +function installNvidia387 () { + installAppsFromList nvidia-387 +} + +# +# install Nvidia Drivers (Menu) +# +function installNvidia387Menu () { + installAppsFromListMenu nvidia-387 +} + +# +# install Nvidia Drivers (headless) +# +function installNvidia390 () { + installAppsFromList nvidia-390 +} + +# +# install Nvidia Drivers (Menu) +# +function installNvidia390Menu () { + installAppsFromListMenu nvidia-390 +} + # # install TLP App (headless) # diff --git a/menus_functions.sh b/menus_functions.sh index 338ec6b..574203c 100644 --- a/menus_functions.sh +++ b/menus_functions.sh @@ -411,6 +411,8 @@ function showHardwareMenu () { "nvidia378" "Install Nvidia 378 graphic drivers" \ "nvidia381" "Install Nvidia 381 graphic drivers" \ "nvidia384" "Install Nvidia 384 graphic drivers" \ + "nvidia387" "Install Nvidia 387 graphic drivers" \ + "nvidia390" "Install Nvidia 390 graphic drivers" \ "tlp" "Install/Enable TLP for better power management " \ "keyid" "Add udev rules for Key-ID FIDO U2F usb key" \ "WI6320" "Fix Intel Wireless 6320 card config problem" \ @@ -444,6 +446,12 @@ function showHardwareMenu () { "nvidia384") installNvidia384Menu ;; + "nvidia387") + installNvidia387Menu + ;; + "nvidia390") + installNvidia390Menu + ;; "tlp") installTLPMenu ;; diff --git a/repo_functions.sh b/repo_functions.sh index 1c30f62..fc4b826 100644 --- a/repo_functions.sh +++ b/repo_functions.sh @@ -332,6 +332,14 @@ nvidia-384;apt;nvidia-384;nvidia-384 nvidia-settings;apt;nvidia-384;nvidia-settings nvidia-opencl-icd-384;apt;nvidia-384;nvidia-opencl-icd-384 libcuda1-384;apt;nvidia-384;libcuda1-384 +nvidia-387;apt;nvidia-387;nvidia-387 +nvidia-settings;apt;nvidia-387;nvidia-settings +nvidia-opencl-icd-387;apt;nvidia-387;nvidia-opencl-icd-387 +libcuda1-387;apt;nvidia-387;libcuda1-387 +nvidia-390;apt;nvidia-390;nvidia-390 +nvidia-settings;apt;nvidia-390;nvidia-settings +nvidia-opencl-icd-390;apt;nvidia-390;nvidia-opencl-icd-390 +libcuda1-390;apt;nvidia-390;libcuda1-390 tlp;apt;tlp;tlp notepadqq;apt;dev;notepadqq agave;apt;dev;agave diff --git a/yggdrasil.sh b/yggdrasil.sh index 97faf3f..339cc71 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -193,7 +193,7 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,T" option; do n) # latest nvidia driver (see menus if need older version) yggInit updateSystem - installNvidia384 + installNvidia390 exit ;; u)