Skip to content

Commit

Permalink
README.md: Simplify installation and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
es20490446e authored Sep 22, 2024
1 parent d8c3ba6 commit a0f97f0
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 30,18 @@ When requesting further info your issue may be closed. Just reopen it when done

## 💽 Installation

Remove interfering tools:
1. If you are not using the standard `linux` kernel, install the `linux-headers` package variant that matches your kernel name.

* Tools that handle switching by themselves, like the `bumblebee` package.
2. [Install the appropiate `nvidia` package](https://wiki.archlinux.org/title/NVIDIA#Installation).

* Configs generated by `nvidia-xconfig` utility or the `Save to X Configuration File` button in the Nvidia control panel, at `/etc/X11/xorg.conf`.

* The `nvidia-xrun` package and its [configs](https://wiki.archlinux.org/index.php/Nvidia-xrun#Configuration).

* Anything GPU related at `/etc/X11/xorg.conf.d/`.

* GPU monitoring apps: Uninstall or close before switching to integrated mode, as they may prevent unloading the Nvidia driver.

If using gdm:
- Install [gdm-prime](https://aur.archlinux.org/packages/gdm-prime/).
- At `/etc/gdm/custom.conf`, remove the `#` before `#WaylandEnable=false`.

In any case:
- Install the Nvidia drivers. If your card is [Turing](https://en.wikipedia.org/wiki/Turing_(microarchitecture)#Products_using_Turing) or later, favor `nvidia-open`.
- Install the `optimus-manager` package. In the AUR: [`optimus-manager-git`](https://aur.archlinux.org/packages/optimus-manager-git).
3. Install the `optimus-manager` package. In the AUR: [`optimus-manager-git`](https://aur.archlinux.org/packages/optimus-manager-git).


## 📝 Configuration

See `/etc/optimus-manager/`.
On X11 the Nvidia GPU is used for everything by default. This provides maximum performance and ease of use at the expense of power consumtion. If you want to try to optimize this, see `/etc/optimus-manager/`.

Power management is disabled by default, as it is hardware specific. For enabling it see [the guide on power management](https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options).
On Wayland the Nvidia GPU is used for high performance apps which use GLX or Vulkan. While the integrated GPU for no so demanding apps which use EGL, like the desktop itself and the web browser. This behavior is not configurable.


## 🔀 Modes
Expand Down

0 comments on commit a0f97f0

Please sign in to comment.