Skip to content

Commit 20e451c

Browse files
committed
doc: simplify hybrid nvidia instructions
1 parent fd6ef2f commit 20e451c

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

doc/00_setup.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,9 @@ ensures that preemptive navigation works correctly.
107107
### Dual-GPU systems
108108

109109
If you have a system with an Nvidia GPU and an integrated GPU (quite common
110-
in laptops), then you are likely to run into issues with waywall.
110+
in laptops), go to the `Performance` tab and check `Use discrete GPU`.
111111

112-
- If you're on Arch, make sure that the `nvidia-prime` package is installed.
113-
- Otherwise, create a script called `prime-run` on your PATH with the following content:
114-
115-
```sh
116-
#!/usr/bin/env bash
117-
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"
118-
```
119-
120-
> [!IMPORTANT]
121-
> If you're creating the script yourself (i.e. you are not on Arch), make sure
122-
> to mark it as executable with `chmod +x`!
123-
124-
After that, change your wrapper command to `waywall wrap -- prime-run` and
125-
waywall should work correctly.
112+
![The Prism Launcher menu for enabling discrete GPU](assets/prism-discrete-gpu.png)
126113

127114
[prebuilt package]: https://github.com/tesselslate/waywall/releases
128115
[Prism Launcher]: https://prismlauncher.org

doc/assets/prism-discrete-gpu.png

52.2 KB
Loading

0 commit comments

Comments
 (0)