Installation: point to Crashes and Bugs

Crashes and Bugs: fixes
This commit is contained in:
Mihai Fufezan 2022-08-13 20:56:20 +03:00
parent 80c523c461
commit b2ec020ace
No known key found for this signature in database
GPG Key ID: 5899325F2F120900
2 changed files with 4 additions and 21 deletions

View File

@ -3,15 +3,15 @@
If you are in a TTY, and the hyprland session that crashed was the last one you
launched, the log will be printed with
```
```sh
cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log
```
feel free to send it to a file, save, copy, etc.
feel free to save it to a file, save, copy, etc.
if you are in a Hyprland session, and you want the log of the last session, use
```
```sh
cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 2 | tail -n 1)/hyprland.log
```

View File

@ -102,24 +102,7 @@ debug.
## Crash on launch
See the log, `cat /tmp/hypr/[INSTANCE_SIGNATURE]/hyprland.log`
*If you are unsure of the signature, grab the one that's the most recently
modified.*
Diagnose the issue by what is in the log:
- `sWLRBackend was NULL!` -> launch in the TTY and refer to the wlr logs in RED.
- `Monitor X has NO PREFERRED MODE, and an INVALID one was requested` -> your
monitor is borked.
- Other -> see the coredump. Use `coredumpctl`, find the latest one's PID and do
`coredumpctl info PID`.
- failing on a driver (e.g. `radeon`) -> try compiling with
`make legacyrenderer`. If that doesn't help, report an issue.
- failing on `wlr-xxx` -> try compiling with `make legacyrenderer`. If that
doesn't help, report an issue, and also refer to the TTY wlr logs in RED like
in the first point.
- failing on `Hyprland` -> report an issue.
See [Crashes and Bugs](../../Crashes-and-Bugs).
## Custom installation (legacy renderer, etc)