forge
Explore
Log in

Don't you dare go Hollow

wiki: Update getting started

Browse files at this commit

b6f6d6a7c24731fb8f03e797ade7805b76c334c6Ivan MolodetskikhParent: 5ff8b89
wiki/Getting-Started.mdmodified+3 -9
@@ -10,6 +10,7 @@ To exit niri, press <kbd>Super</kbd><kbd>Shift</kbd><kbd>E</kbd>.
1010
1111 If you're not using a display manager, you should run `niri-session` (systemd/dinit) or `niri --session` (others) from a TTY.
1212 The `--session` flag will make niri import its environment variables globally into the system manager and D-Bus, and start its D-Bus services.
13+The `niri-session` script will additionally start niri as a systemd/dinit service, which starts up a graphical session target required by some services like portals.
1314
1415 You can also run `niri` inside an existing desktop session.
1516 Then it will open as a window, where you can give it a try.
@@ -22,21 +23,13 @@ Finally, the [Xwayland](./Xwayland.md) page explains how to run X11 applications
2223
2324 ### NVIDIA
2425
25-NVIDIA GPUs tend to have problems running niri (for example, the screen remains black upon starting from a TTY).
26+NVIDIA GPUs can have problems running niri (for example, the screen remains black upon starting from a TTY).
2627 Sometimes, the problems can be fixed.
2728 You can try the following:
2829
2930 1. Update NVIDIA drivers. You need a GPU and drivers recent enough to support GBM.
3031 2. Make sure kernel modesetting is enabled. This usually involves adding `nvidia-drm.modeset=1` to the kernel command line. Find and follow a guide for your distribution. Guides from other Wayland compositors can help.
3132
32-If niri runs but the screen flickers, try adding this into your niri config:
33-
34-```
35-debug {
36- wait-for-frame-completion-before-queueing
37-}
38-```
39-
4033 ### Asahi, ARM, and other kmsro devices
4134
4235 On some of these systems, niri fails to correctly detect the primary render device.
@@ -69,6 +62,7 @@ If you still get a black screen, try using each of the `card` devices.
6962 ### Nix/NixOS
7063
7164 There's a common problem of mesa drivers going out of sync with niri, so make sure your system mesa version matches the niri mesa version.
65+When this happens, you usually see a black screen when trying to start niri from a TTY.
7266
7367 Also, on Intel graphics, you may need a workaround described [here](https://nixos.wiki/wiki/Intel_Graphics).
7468