docs: update Archguide

This commit is contained in:
Administrator 2019-11-05 23:55:20 +00:00 committed by FOSC
parent bb737ed482
commit 2f1af1ae49

View File

@ -2,7 +2,7 @@
title: Arch Linux Install guide title: Arch Linux Install guide
description: description:
published: true published: true
date: 2019-11-05T23:52:01.954Z date: 2019-11-05T23:55:19.047Z
tags: tags:
--- ---
@ -198,14 +198,18 @@ Install `nvidia` and `nvidia-utils` as normal.
These by default will hijack your screen and run everything with the NVIDIA card. The NVIDIA control panel allows you to turn the GPU off completely. These by default will hijack your screen and run everything with the NVIDIA card. The NVIDIA control panel allows you to turn the GPU off completely.
> However, this doesn't really work on some laptops, which will just blackscreen or exhibit buggy behavior. > However, this doesn't really work on some laptops, which will just blackscreen or exhibit buggy behavior.
> Plus, it drains the battery pretty much *instantly*.
{.is-warning} {.is-warning}
Install `bumblebee` so the integrated graphics have priority and activate its service: `systemctl enable bumblebeed`. Install `bumblebee` so the integrated graphics have priority and activate its service: `systemctl enable bumblebeed`.
You will need to add your user to the `bumblebee` group. Run `gpasswd -a yourusername bumblebee`.
To run programs with the NVIDIA card, run `optirun program`. For Steam games, change their executable command line to `optirun %command%`. To run programs with the NVIDIA card, run `optirun program`. For Steam games, change their executable command line to `optirun %command%`.
Finally, to allow the card to turn off completely when unused, install `bbswitch`. Finally, to allow the card to turn off completely when unused, install `bbswitch`.
> Even LESS laptops will like that. The workaround involves editing your kernel cmdline options to blacklist a little bit of Windows-specific BIOS code. > Even LESS laptops will like that. The workaround involves editing your kernel cmdline options to blacklist a little bit of Windows-specific BIOS code.
> Try adding `acpi_osi=! acpi_osi="Windows 2012"`. Try with 2009 or 2015 instead for 9xxm and 20xx series respectively if it doesn't work.
{.is-danger} {.is-danger}
More information [can be found at the usual place](https://wiki.archlinux.org/index.php/NVIDIA_Optimus) More information [can be found at the usual place](https://wiki.archlinux.org/index.php/NVIDIA_Optimus)