Skip to content

Commit

Permalink
[nvidia-inst] added info about hybrid graphics into help
Browse files Browse the repository at this point in the history
  • Loading branch information
EndeavourOS committed Jul 30, 2023
1 parent c0acf8b commit 9d55b04
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions nvidia-inst/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,7 +26,7 @@ source=(
$_url/$pkgname
$_url/$pkgname.bash-completion
)
sha512sums=('85b9f3e350977992570282beb4cca51be5616398a48bff6bf9edac3a0342beba91a23de5cfb75e70672f8c0c5d350000da8f8524f0cb0c579448e040b1a43183'
sha512sums=('4cc5051ad4263a9ce276c7f5ee3fe4860e806d2aee76cc0c52d5761633f1419aadc5a0e594b080c6f0dc2ea173612f55e6de5a13de5dbdc665b3e74e520aee4c'
'b8857ff98870ac8cff78e31c660bde3b7308752ee4e6547682340866ee59f5801f09ede41e490380a40926536f47259f5d347fd59e8e2ffa67a8cb57f07c44e6')

package() {
Expand Down
21 changes: 16 additions & 5 deletions nvidia-inst/nvidia-inst
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 9d55b04

Please sign in to comment.