From 9d55b04c6f207717be6e5ad9951227c1975b5f3a Mon Sep 17 00:00:00 2001 From: EndeavourOS Date: Sun, 30 Jul 2023 21:18:29 +0300 Subject: [PATCH] [nvidia-inst] added info about hybrid graphics into help --- nvidia-inst/PKGBUILD | 4 ++-- nvidia-inst/nvidia-inst | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/nvidia-inst/PKGBUILD b/nvidia-inst/PKGBUILD index 9453f231..52222d3d 100644 --- a/nvidia-inst/PKGBUILD +++ b/nvidia-inst/PKGBUILD @@ -4,7 +4,7 @@ pkgname=nvidia-inst pkgver=23 -pkgrel=6 +pkgrel=7 pkgdesc="Script to setup nvidia drivers (dkms version) in EndeavourOS" url=https://github.com/endeavouros-team/PKGBUILDS/tree/master/$pkgname _url=https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/$pkgname @@ -26,7 +26,7 @@ source=( $_url/$pkgname $_url/$pkgname.bash-completion ) -sha512sums=('85b9f3e350977992570282beb4cca51be5616398a48bff6bf9edac3a0342beba91a23de5cfb75e70672f8c0c5d350000da8f8524f0cb0c579448e040b1a43183' +sha512sums=('4cc5051ad4263a9ce276c7f5ee3fe4860e806d2aee76cc0c52d5761633f1419aadc5a0e594b080c6f0dc2ea173612f55e6de5a13de5dbdc665b3e74e520aee4c' 'b8857ff98870ac8cff78e31c660bde3b7308752ee4e6547682340866ee59f5801f09ede41e490380a40926536f47259f5d347fd59e8e2ffa67a8cb57f07c44e6') package() { diff --git a/nvidia-inst/nvidia-inst b/nvidia-inst/nvidia-inst index d20a1865..c4cf550a 100755 --- a/nvidia-inst/nvidia-inst +++ b/nvidia-inst/nvidia-inst @@ -357,15 +357,26 @@ Options: --listopts List options supported by $progname. --legacyrepo (*1) Adds a third party repository for legacy ($series_prev1 and $series_prev2 series) Nvidia drivers. -Note: - - Package nvidia-dkms will be selected for install if none of options +(*1) Option --legacyrepo is no more supported. + Instead, 'yay' can be used for installing legacy Nvidia drivers from the AUR. + +Notes: + 1. Package nvidia-dkms will be selected for install if none of options --bumblebee --nouveau --open - is used. + is used. + + 2. If you have hybrid graphics, then you may need a tool that can switch GPUs. + There are several popular tools in the AUR, e.g. + - envycontrol + - optimus-manager + - supergfxctl + just to mention a few. + See also: + - https://discovery.endeavouros.com/?s=nvidia + - https://wiki.archlinux.org/title/NVIDIA_Optimus -(*1) Option --legacyrepo is no more supported. - Instead, 'yay' can be used for installing legacy Nvidia drivers from the AUR. EOF exit 0 ;;